[SATLUG] Automatically starting X after logging in at command
line?
Jim Wells
jfw5cpa at gmail.com
Fri Oct 27 06:23:29 CDT 2006
Bruce Dubbs wrote:
> I don't think it does. Changing the runlevel to 5 starts (x,k,g}dm and
> I don't think that is what was wanted.
Correct!
> I will note that the solution of putting startx into ~/.bash_profile is
> not very robust. It would try to run X when a remote login via ssh is
> done. That may not be an issue for this situation.
This is not an issue as I have no current plans to setup a remote login
using ssh, since the computer is on only when I am home.
> Personally, I don't like any of the graphical logins because I do a lot
> of fiddling with X and the last thing I want is a recursive problem when
> starting X. My solution is to type startx from the command line when I
> want to start X, but thats me.
>
> -- Bruce
My everyday user account is the only one that I need X for since I don't
run X when I login as root. Simply put, I was trying to be lazy and
avoid having to manually type startx each time I logged in as my
everyday account. The solution of putting startx into the bash profile
is exactly what I was looking for and it seems to be working so far.
Thanks,
Jim
More information about the SATLUG
mailing list