Mailing List Archive

Support open source code!


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

Re: tlug: automated login & startx, etc



On Wed, 19 Jan 2000, BOTi wrote:

> Greetings,
> 
> I'm new on this list so I guess I should introduce myself. My name is
> Botond Botyanszki, I'm studying comp science at Kobe University as a
> monbusho scholarship student. I've been using linux for about 3 years
> now. My current distro is mandrake-jp. A couple days ago I stumbled into
> the Tlug website and was surprised to see that this list is in English.
> Now that I'm through with the formalities let me ask some questions.
> 
> 1)
> Since I'm the only user of my home computer I'd like to get X started as
> user boti without logging in.  I'm kinda tired of logging in every time
> and wait for X to load up.
> I've been looking for a solution to this but still haven't found one
> yet.
> I tried to put the following line into /etc/inittab :
> 1:2345:once:/bin/su -m - boti -s /bin/bash -m /usr/X11R6/bin/startx
> But it doesn't work correctly because X needs a shell with job control
> and bash started up this way has no job control.

this is kind of ugly.  Why don't you just make runlevel 5 your default
runlevel (edit the 'initdefault' line in /etc/inittab)?  On all linux
distros that I've seen, this starts up X at boot and gives you an xdm
login screen.


--------------------------
Scott M. Stone, CCNA <sstone@example.com>
UNIX Systems and Network Engineer
Taos - The SysAdmin Company 

--------------------------------------------------------------------
Next Nomikai Meeting: February 18 (Fri) 19:00 Tengu TokyoEkiMae
Next Technical Meeting:  March 11 (Sat) 13:00 Temple University Japan
* Topic: TBD
--------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links