[SATLUG] Automatically starting X after logging in at command line?

Tom Weeks tweeksjunk2 at theweeks.org
Mon Oct 30 23:17:34 CST 2006


On Thursday 26 October 2006 22:28, Matt Valdes wrote:
> On Thursday 26 October 2006 20:45, Tom Weeks wrote:
> > On Thursday 26 October 2006 13:33, Jim Wells wrote:
> > > Matt,
> > > Thank you very much.  This was EXACTLY what I was looking for!
> > > Jim
> >
> > Actually.. using the runlevel in inittab is the more correct way to do
> > it.. Unless there are special multiuser requrements.
> >
> > Tweeks
>
> Since this solution has now been offered twice, I am curious how it
> satisfies the requirement(s) specified in the original question.

Putting startx int he .bashrc is wrong minded since the X server runs local to 
the keyboard and mouse and CRT.  Remote logins will cause problems (assuming 
one isn't purely relying on something like VNC to simulate console access).

The more correct way to achieve "auto-GUI-login" is to use the system as it 
was designed.. with local access using runlevel 5 to spawn X.  If it's a 
matter of not wanting to log in, then yes.. one can bypass all security and 
have XDM autologin.  While a HUGE security risk, this would do what it sounds 
like he wants (i.e. meet his requirements).  Both KDE and Gnome feature 
auto-login I believe, although I have not used it anywhere except on my 
MythTV appliance.  

Tweeks


More information about the SATLUG mailing list