Re: stand-alone GNome

Erm, you can do 1 of 2 things.

1) Use autologin! (don't know if it is available in anything other than Mandrake though)

2) Change the inittab file, so instead of it running prefdm, make it run your own script (ie:

X :0 >/dev/null 2>&1 &
sleep 10
export DISPLAY=:0
killall X

:: This should then load up X, wait for it to load (depending on your machine you can play around with the sleep setting, to see how long it takes), and run gnome-session. Gnome-session is the command that will start gnome up for you. Note, this should start gnome as the current user (which is nothing - if I remember properly and so the files will be created in the (/) directory), so what you should do is (ie to start it as root:)

1) Make this script and save it somewhere, ie /root/

2) change inittab to run: su -l -e "/root/"

Ie to change it to another user, put in their home directory, and su with that user name (because su defaults to root, so you don't need his name).

Erm, hope this was clear enough because this came right off the top of my head.

Get personalised email addresses at

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]