Re: stand-alone GNome
- From: Jeff Stuart <jstuart-gnome computer-city net>
- To: gnome-list gnome org
- Subject: Re: stand-alone GNome
- Date: 28 Feb 2002 17:24:30 -0500
Yes, you can configure GDM to auto login. I have it setup so that it
auto logs me in after 5 seconds. It's on the expert preferences I
believe the login tab.
On Thu, 2002-02-28 at 06:32, kodiak theministryofdefence com wrote:
> 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:
>
> #!/bin/sh
> X :0 >/dev/null 2>&1 &
> sleep 10
> export DISPLAY=:0
> gnome-session
> 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/gnomeX.sh
>
> 2) change inittab to run: su -l -e "/root/gnomeX.sh"
>
> Ie to change it to another user, put gnomeX.sh 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 http://another.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]