no problem... I know it for kde, but can't be that diferent fro gnome:
make a script something like
X :0 & startkde
save it somewhere like /usr/local/bin/myscript
make sure your user can run it. If you're root
chmod 755 /usr/local/bin/myscript
you need to become our user before you run it so in /etc/conf.d/local
add something like
su -c /usr/local/bin/myscript - myusername
and that should about do it.
You won't be runnign a kdm login, just a pure kde session. You don't have the ability to logout or switch users in the usual way. To do that you have to kill X, cntrl-backspace twice fast, login from a console as another user... and run the script again.
You might be able to find a startx script somewhere that starts X a little better than this, it may already be installed even, but this should work.
there is a startx command, so try that instead of the script. You'll still want the conf.d/local but can maybe replace your script with startx. I can't test now cause startx is default configured to run on display 0 and I am using my display 0. You may need to play with some configs to get the window manager you want to start. alot of this stuff should be in /etc/X11. in the xinit subdirectory you'll find xinitrc that startx runs. You can by hand force the window manager there or paly with getting the variables setup for chooser to get it right. been awhile since I played with that. startx is likely to still sttart gdm if you don't get it configure right. Once upon a time... this was just how it was done.
Last edited by dagurasu
on Tue Apr 28, 2009 19:51, edited 3 times in total.