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

Re: Root login to Windows X



Francisco Castellon wrote:

Hello list:

I just finished installing my first Debian system and I seem to not be able to log on to Windows X using the root account, I can easily log in with any other account though. I have tried choosing different types of sessions (Gnome, Debian, KDE, etc...) at the log in screen and it still keeps on saying: "The system administrator is not allowed to login from this screen."

I have no problems when I switch back to the command line (using ctrl+alt+F1) and log in as root, however I cant start X from there since there using the "startx" is already a version of X running. I am trying to do some administrative tasks but I want to do them through the desktop since they are far simpler that way. I know that I can log in with a regular user account and then use the "su" command in the Kommand terminal but then again that would be back to using the command line. Is there a way that I can get to the desktop with the root account? Thanx!

Francisco

You're running some sort of X Session Manager (xdm, kdm, gdm, wdm); it will have some configuration files that will allow root logins or not. You can run "ps ax | grep dm" to find out which session manager is running, and then someone on the list can probably tell you exactly which file to edit (or which gui tool to use) to make the change.

Really though, you should not run X as root.

If you want to run a second instance of X (like from the command line), you can do a command like "startx -- :1" to start X on the second VT. Your session manager is running on the first VT (:0). A third X session can be started like "startx -- :2"; a fourth like "startx -- :3", etc.

You can also kill your session manager with a command like "/etc/init.d/kdm stop" or "/etc/init.d/gdm stop".

Kent





Reply to: