anyone know how to have x start automaticly after user login?
Printable View
anyone know how to have x start automaticly after user login?
Well, one way of doing precisely that is to add it to your "~/.bash_profile". However, I suggest starting a real display manager instead. Try "telinit 5" as root, and if that does nothing, just start gdm.
what do you mean a real display manager? and i add it? how?
one other thing i've been thinking about, can i auto loggin? when my pc starts up have it auto loggin and auto start x.
go to /etc/initab
you should see this line
id:3:initdefault:
change it to
id:4:initdefault:
that will start a graphic login manager for you.
Runlevel 5 is the graphic defaultrunlevel....
That's different in different distros. RH-based distros and Gentoo do seem to use RL 5 for the display manager availability, but I know for a fact that eg. Debian does differently, and I suspect that Slackware does too.Quote:
Originally Posted by andutt
A display manager is the graphical login manager, and also manages different displays (X servers, essentially). If you have a graphical workstation, it's generally the preferred way to log in.Quote:
Originally Posted by ravenstyles
That depends on the distro. In RH-based distros (RH, Mdk, etc.), you don't have to add it at all. Just switch to runlevel 5 to make it start. Do that by running "telinit 5" as root.Quote:
Originally Posted by ravenstyles
Some other distros (such as Debian) do it differently, and unfortunately I don't know exactly how. Tell us your distro, and someone might be able to answer.
That depends on the display manager. GDM (the Gnome DM) allows that. I don't think that XDM has that feature. I would guess that KDM has, but I don't use KDM, so I can't tell for sure.Quote:
Originally Posted by ravenstyles
since raven had a slackware pic I asumed slackware. So for slackware in the inittab its a default runlevel of three. Here is another question. I start up with gdm but I stall want my other 5 consoles to do other work in. How can I do both.
They still do. Press Ctrl+Alt+F[1-6] to get to them.
the thing is the only one that works is f6. f2-f5 just give me a blck screen that does nothing.
In that case, your /etc/inittab is probably set incorrectly. Could you post it here?