hi alex .xinitrc is used when you run xinitrc or startx to bring up X11
.xsession is used when you log into the X11 screen ( xdm ) if you want your gui and x11/windows to look the same no matter how you login... make the two files the same ( symlink one to the other ) c ya alvin On Sun, 10 Jun 2001, Alex Suzuki wrote: > Hello friends, > > I wanted to ask you guys what ~/.xinitrc and ~/.xsession are all about. > I run Debian woody, GNOME and sawfish as my windowmanager (sawfish-gnome > package). > Somehow GNOME just can't remember its settings, and I think I screwed up > those files anyway. Which one gets read when I start X with startx? > I don't use a display manager like xdm or gdm or whatever. > > this is what my .xinitrc looks like: > > galeon -s & > xsetroot -solid black & > exec sawfish & > panel > > > This is what .xsession looks like > > #!/bin/sh > > xsetroot -solid slategrey & > xrdb -load $HOME/.Xdefaults > exec /usr/bin/gnome-session > > > Could anybody solve this puzzle for me? Can anyone with a similar > configuration (GNOME/sawfish) post his/her .xinitrc and .xsession?