Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Autostart X
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Thomas Carrie
n00b
n00b


Joined: 19 Apr 2004
Posts: 70

PostPosted: Wed Mar 09, 2005 7:15 pm    Post subject: Autostart X Reply with quote

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
View user's profile Send private message
zsoltika
l33t
l33t


Joined: 13 Nov 2003
Posts: 634
Location: Budapest, Hungary

PostPosted: Wed Mar 09, 2005 7:29 pm    Post subject: Re: Autostart X Reply with quote

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 :D

This is the answer:
try adding
Code:
startx
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
View user's profile Send private message
lamaistres
Apprentice
Apprentice


Joined: 17 Dec 2002
Posts: 268
Location: Seattle

PostPosted: Wed Mar 09, 2005 11:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum