Go Back   The macosxhints Forums > OS X Help Requests > UNIX - General



Reply
 
Thread Tools Rate Thread Display Modes
Old 01-28-2002, 08:14 PM   #1
pavel_gaijin
Prospect
 
Join Date: Jan 2002
Posts: 6
Unhappy fink -> sawfish -> gnome : no joy

Well, not happy with puzzling Oroborosx, so trying Gnome on the suggestion of a Linux geek coworker.

Used fink to install sawfish and gnome with apt-get install.

Now Xdarwin shuts down and when I try from OS X terminal I get
[localhost:/etc/X11/xinit] me% gnome-session

Gtk-WARNING **: cannot open display:
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
SESSION_MANAGER=local/localhost:/tmp/.ICE-unix/22968

Gtk-WARNING **: cannot open display:

Any clues? Does fink do all the configuring? What needs to be done to prepare Gnome and Sawfish?

Drowning in the lack of documentation....

Paul
pavel_gaijin is offline   Reply With Quote
Old 01-28-2002, 09:23 PM   #2
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Gnome

Please tell me your fink, XFree86, XDarwin. MacOS X version.

Also, have you installed the Developer Tools ?

Run :

"fink list gnome" and tell me which packages did you installed.

If you want to start gnome in XFree, type in an xterm "gnome-session"

If you want to start with gnome put the following at the end of your .xinitrc file:

"exec gnome-session"

Cheers...
sao is offline   Reply With Quote
Old 01-28-2002, 09:50 PM   #3
pavel_gaijin
Prospect
 
Join Date: Jan 2002
Posts: 6
Fink won't even run now. Xdarwin is 1.1; Xfree86 is 4.2.0; OS X.1.2

I'm off to reinstall fink. Can't figure out why it "went away". Like darwin's never heard of fink, dselect, apt-get...

BTW, Had some wonderful fun times in SG...it's a FINE city.

Here's another symptom:

[localhost:~] me% startx -- -quartz

2002-01-28 22:46:10.623 XDarwin[23149]
XDarwin 1.1
Running in parallel with Mac OS X Quartz window server.

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
If the server is older than 6-12 months, or if your hardware is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/FAQ)
Operating System: Darwin
Using keymapping provided in /System/Library/Keyboards/USA.keymapping.
Display mode: Rootless Quartz
Screen 0 added: 1024x747 @ (0,21)
Screen 0 placed at X11 coordinate (0,0).
cat: /Users/me/.Xauthority: No such file or directory

waiting for X server to shut down Quitting XDarwin...
pavel_gaijin is offline   Reply With Quote
Old 01-28-2002, 11:12 PM   #4
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Thanks...

Some people are having the same problems after upgrading to XFree86 4.2, and XDarwin 1.1.

Can I ask how did you upgraded ? (Through Fink?)

My suggestion is you post your problem in the Fink-beginners list at sourceforge.net

Cheers...
sao is offline   Reply With Quote
Old 01-29-2002, 03:59 AM   #5
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Found the error in your first post:

<From the Fink site : running X11-Troubleshooting page >

Error messages. These are essential in pinpointing the particular problem you experience. How you get the error messages depends on how you started XDarwin. If you ran startx from a Terminal window, you'll have the messages right there in that window. Remember that you can scroll up. If you started XDarwin by double-clicking the icon, the messages end up in the system log, which you can access through the Console application in the Utilities folder. Be sure to pick the right set of messages, i.e. the last one.

We'll start with a list of the messages you may see:

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root

Class: Harmless. X11 creates hidden directories in /tmp to store the socket "files" for local connections. For security reasons, X11 prefers if these directories are owned by root, but since they are world-writable anyway it will still run without any problems. (Note: It's quite hard to have these dirs owned by root, as Mac OS X wipes out /tmp on reboots and XDarwin doesn't run with root privileges and doesn't need to.)

From your second post:

The usual fix is to delete the .Xauthority file (which stores the authentication data) in your home directory and re-create an empty file:

cd
rm .Xauthority
touch .Xauthority


Then maybe you simplify your .xinitrc file to have only this:

source /sw/bin/init.sh
exec gnome-session

And if you start from terminal.app just run :


startx -- -quartz

That will start up the server in fullscreen mode, plus the clients in your .xinitrc

or

If the server you have supports rootless operation, you can start it in rootless mode with the -rootless option:

startx -- -rootless

Have you installed icewm or enlightment ?

Cheers...

Last edited by sao; 01-29-2002 at 07:33 AM.
sao is offline   Reply With Quote
Old 01-31-2002, 06:32 PM   #6
pavel_gaijin
Prospect
 
Join Date: Jan 2002
Posts: 6
sao,

Thanks for your help.

Currently have XDarwin working from both terminal and the dock. Fink looks good too. 4.2.0 and 0.9.7-1 versions.

Now I'm going off to get a windowmanager and then gnome.

Regards
pavel_gaijin is offline   Reply With Quote
Old 01-31-2002, 07:23 PM   #7
pavel_gaijin
Prospect
 
Join Date: Jan 2002
Posts: 6
OK... so I had an XDarwin that would work, but now I tried to get Icewm in order to use Gnome, but now I get this in the console

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
If the server is older than 6-12 months, or if your hardware is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/FAQ)
Operating System: Darwin
Using keymapping provided in /System/Library/Keyboards/USA.keymapping.
Display mode: Rootless Quartz
Screen 0 added: 1024x747 @ (0,21)
Screen 0 placed at X11 coordinate (0,0).
Warning: no access to tty (Inappropriate ioctl for device).
Thus no job control in this shell.

Using keymapping provided in /System/Library/Keyboards/USA.keymapping.
Display mode: Rootless Quartz
Screen 0 added: 1024x747 @ (0,21)
Screen 0 placed at X11 coordinate (0,0).


waiting for X server to shut down


Quitting XDarwin...

My thoughts are that I need to configure Icewm somehow. Gasp, no documentation. Any help would be heroic.

Regards
pavel_gaijin is offline   Reply With Quote
Old 02-01-2002, 10:10 AM   #8
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Error message:
----

"Warning: no access to tty (Inappropriate ioctl for device).
Thus no job control in this shell."


<<Class: Mostly harmless. XDarwin 1.0a2 and later launch an interactive shell behind the scenes to run your client startup file (.xinitrc). This was done so that you don't have to add statements to set up PATH in that file. Some shells complain that they're not connected to a real terminal, but that can be ignored since that shell instance is not used for anything that requires job control or the like.>>

----

Did you install icewm with:

"fink install icewm"

If you did, what version did you installed?

Did you wrote "exec icewm" in your .xinitrc file and commented (#)gnome-session ?

Cheers...
sao is offline   Reply With Quote
Old 02-01-2002, 03:38 PM   #9
pavel_gaijin
Prospect
 
Join Date: Jan 2002
Posts: 6
Success.

Gnome w/ WindowMaker X-window manager.

Now to get Gnome apps.

Regards
pavel_gaijin is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 01:39 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.