View previous topic :: View next topic |
Author |
Message |
Thomas Carrie n00b
Joined: 19 Apr 2004 Posts: 70
|
Posted: Wed Mar 09, 2005 7:15 pm Post subject: Autostart X |
|
|
I would like to start X without using xdm, kdm or gdm so that when I log X starts automatically
How can I do this ?
Thank you |
|
Back to top |
|
|
zsoltika l33t
Joined: 13 Nov 2003 Posts: 634 Location: Budapest, Hungary
|
Posted: Wed Mar 09, 2005 7:29 pm Post subject: Re: Autostart X |
|
|
Thomas Carrie wrote: | I would like to start X without using xdm, kdm or gdm so that when I log X starts automatically
How can I do this ?
|
This isn't the needed answer choose entrance instead of above ones
This is the answer:
try adding to the last line to your users .bashrc file in his/her HOME directory. If you are a bash user.
HTH,
Zsoltika
Last edited by zsoltika on Thu Mar 10, 2005 8:41 am; edited 1 time in total |
|
Back to top |
|
|
lamaistres Apprentice
Joined: 17 Dec 2002 Posts: 268 Location: Seattle
|
Posted: Wed Mar 09, 2005 11:15 pm Post subject: |
|
|
If you mean to autologin to a WM from a fresh boot/reboot then this article should help you.
In "Initiating the desktop on login" section, apply these lines to .bash_profile instead of the lines in the article.
Code: |
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/vc/1 ]; then
startx
fi
|
Read directions carefully and good luck. |
|
Back to top |
|
|
|