I just went through this myself. I might have some pointers.
First of all, to see your .xinitrc file, type "ls -a" in your user folder
(/users/xxx (that would be your home folder)). That command shows all of the
files.
Second, as .xinitrc is invisible to OS X (at least that is how it is on my
system even though I am the administrator), I used the text editor in
Darwin- vi. I learned some vi commands before doing it. You can do all these
with the Terminal application.
This is how my .xinitrc file look like:
#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
source /sw/bin/init.sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# start some nice programs
exec gnome-session
Basically, I added "source /sw/bin/init.sh" on the third line; deleted four
(?) lines after "# start some nice programs" and replace them with "exec
gnome-session". Once you have Gnome going, then you can select sawfish as
the window manager.
One word of advice, I did have to install everything that's related to gnome
on the Fink web site before "exec gnome-session" would work. Before then, X
Darwin just quits.
Also, I have X Darwin installed on OS X so that I don't have to type
"startx" from the Terminal.
Hope that this works.
Chia
On 04/03/02 4:07 PM, "dstubb" <[EMAIL PROTECTED]> wrote:
> OK - I've been trying to get sawfish running as my window manager in x for
> about two weeks. I finally got everything to install and compile properly,
> but when I start Xdarwin, it just quits. I looked at the fink page for some
> help on this, but couldn't find a similar issue. Here's the output I get
> when I type "startx" in Terminal:
>
> --
> Welcome to Darwin!
> [localhost:~] name% startx
>
>
> 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.
> _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
> Display mode: IOKit
> Failed to connect to the HID System as the window server!
>
> Fatal server error:
> Quit the Mac OS X window server or use the -quartz option.
>
> OsVendorFatalError
> AbortDDX
> Quitting XDarwin...
> giving up.
> xinit: Connection refused (errno 61): unable to connect to X server
> xinit: No such process (errno 3): Server error.
> ----
>
>
> I also tried to edit my .xinitrc, but it is an invisble file that I can't
> seem to open even when logged in as root.
>
> Can someone help?
>
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners