FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 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!
Originally posted by me@fedora 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
Just looking at the permissions on the /tmp directory. It has rwx for both user and group, but has rwt for other. What is 't'?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.