Cannot log into X as root
I realize that logging into the X server as root is not for everyday use and can be dangerous. That being said, it is sometimes easier to do sys admin work as root in a graphical environment when offline, etc.
Anyway, I am not sure why, but I can no longer log in from the GDM as root. In fact, I had not done it in a long time, but when I attempt now I get: --------------------------------------------- "Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean that there is some installtion problem or that you may be out of diskspace. Try logging in with one of the failsafe sessions to see if you can fix this problem." /etc/X11/gdm/PreSession/default: Registering your session with wtmp and utmp /etc/X11/gdm/PreSession/default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "root" --------------------------------------------- I am not out of disk space - not even close. Anyone have any ideas? Thanks. (Fedora Core 2 - kernel 2.6.6-1.435.2.1) |
I can't believe I am the only one ....
Hasn't anyone had this problem?
Anyway ... I tried reinstalling GDM, but still nothing. I am beginning to think it's a problem with X.org. Some config file or start up script or something. I don't know. Any ideas would be most helpful. |
Have you looked at your /tmp directory permissions. use chmod 777 /tmp to set it and then you will be able to log in as root.
me |
OK ... PISS ON ALL OF YA THEN!!!
I WILL FIGURE IT OUT MYSELF!!! :D [kidding] I added the user 'sysadmin' with root privileges. and that seems to work ... and 'sys admin' uses 'root's' home directory. So, it seems that I now have 2 'roots'. Don't tell anyone from Australia this, or they will laugh! HA :cool: |
Quote:
User and group are both 'root' by the way. |
All times are GMT -5. The time now is 03:06 PM. |