LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-11-2004, 07:08 PM   #1
otis2003
Member
 
Registered: Nov 2003
Location: PEI, CANADA
Distribution: Ubuntu/Fedora/Gentoo
Posts: 53

Rep: Reputation: 15
Unhappy 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)
 
Old 07-12-2004, 10:04 AM   #2
otis2003
Member
 
Registered: Nov 2003
Location: PEI, CANADA
Distribution: Ubuntu/Fedora/Gentoo
Posts: 53

Original Poster
Rep: Reputation: 15
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.
 
Old 07-12-2004, 05:46 PM   #3
me@fedora
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
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
 
Old 07-12-2004, 05:52 PM   #4
otis2003
Member
 
Registered: Nov 2003
Location: PEI, CANADA
Distribution: Ubuntu/Fedora/Gentoo
Posts: 53

Original Poster
Rep: Reputation: 15
OK ... PISS ON ALL OF YA THEN!!!

I WILL FIGURE IT OUT MYSELF!!!



[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

 
Old 07-12-2004, 06:15 PM   #5
otis2003
Member
 
Registered: Nov 2003
Location: PEI, CANADA
Distribution: Ubuntu/Fedora/Gentoo
Posts: 53

Original Poster
Rep: Reputation: 15
Quote:
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'?

User and group are both 'root' by the way.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot log into root! Nox_hand Linux - Security 3 09-21-2005 01:01 AM
How do I log in as the root? nighthawk15 Linux - Newbie 7 03-01-2005 05:21 AM
Cant only log in as root after user log-in. ADJenkins Linux - General 2 11-17-2004 04:18 PM
Log Out root Then Log In As Other User xtremcoder Linux - General 4 10-04-2004 11:01 PM
Log on as Root, or switch to Root, in MDK 9.1 - KDE 3.1.0 snorky Mandriva 3 09-01-2003 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration