Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: It's probably something simple but..... I can't login to Root anymore in GUI

  1. #1
    Join Date
    Aug 2010
    Location
    Northern Bay Area, California
    Posts
    8

    Default It's probably something simple but..... I can't login to Root anymore in GUI

    I know.... There are HUNDREDS of posts asking for help with root, but this one is a little different. (I hope)

    About one month ago, I was logged in as root, made some changes to my users and think I may have inadvertently changed root somehow. Ever since then, my machine runs just fine, I can sudo, Yast, etc without any issues. (Root password is fine) but when I try to log in as root, the system changes the screen display, as if it's going to login, then returns me back to the login prompt without error. If I "ctl+alt+F1", I drop out to the console and can login as root, but cannot startx because the display is already in use.... So, I removed the .X0-lock, but still cannot get the GUI to load. (after running rm /tmp/./X0-lock, I get a fatal error, "can't establish any listening sockets..." "Ctl+Alt+F7" brings me back to the GUI where I am logged in as myself in Gnome) if I login with my user account, everything runs fine and all is well.

    I have read and read, and read.... Now, I ask for help.

    I am running Suse 11.2. Where do I begin to diagnose this???

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,743
    Blog Entries
    20

    Default Re: It's probably something simple but..... I can't login to Root anymore in GUI

    First off, I have never logged in as root and I can't imagine why you even need to.
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Aug 2010
    Location
    Northern Bay Area, California
    Posts
    8

    Default Re: It's probably something simple but..... I can't login to Root anymore in GUI

    well, this is the "get help" section... Right?

    Admittedly, I am a Linux newbie. Maybe I should just re-install the distribution and go from there.

    It's just, I'd rather figure out what is happening, so I can fix it and not have to waste time reconfiguring my system, adding repositories, updating software, grabbing my addons, etc. again.

    I really expected more than cold judgment from this forum.

  4. #4
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,235

    Default Re: It's probably something simple but..... I can't login to Rootanymore in GUI

    On 08/29/2010 11:36 AM, swatcop wrote:
    >
    > well, this is the "get help" section... Right?
    >
    > Admittedly, I am a Linux newbie. Maybe I should just re-install the
    > distribution and go from there.
    >
    > It's just, I'd rather figure out what is happening, so I can fix it and
    > not have to waste time reconfiguring my system, adding repositories,
    > updating software, grabbing my addons, etc. again.
    >
    > I really expected more than cold judgment from this forum.


    First of all, there are many, many posts here that tell users NEVER NEVER NEVER
    log into the GUI as root, thus your inability to log into the GUI as root is not
    a problem from our point of view, but a feature. You could probably fix it with
    an update from the DVD or NET install media without doing a full install.

    The usual effect of logging into the GUI as root is to destroy the user's login,
    which is obviously a problem. You were lucky here.

    To have access as root in some way not covered by sudo, you should issue the "su
    -" command (the minus is important) or switch to an alternate console
    (CTRL-ALT-FX, where X is 1-6) and login there. CTRL-ALT-F7 gets you back to the
    X window and CTRL-ALT-F10 gets a logging console.

  5. #5
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: It's probably something simple but..... I can't login to Root anymore in GUI

    swatcop wrote:

    >
    >
    > I really expected more than cold judgment from this forum.
    >

    It is one of the big sins to login from the gdm or kdm as root ;-)
    A decade ago I did the same due to laziness and happily destroyed my system
    (I had not even the excuse at that time to be a complete newbie after 5
    years playing with linux, but obviously I still was).
    The tendency to try things which are possible (but should not be done) is
    always there and therefore I do not judge on what you did.

    First thing: Do not use the root login to the gui in the future.
    Second thing: You want to find out what is screwed, most likely something
    which has to do with some of your configuration files, maybe problems with
    the rights on some files changed by the root login.
    The first attempt to find the files which are in question is: login as root
    from the command line.
    Go to the /root folder (the "home directory" of root) and show all files
    including the hidden ones (the ones which start with a . dot).
    Open a terminal

    Code:
    su -
    pwd # should show /root
    ls -al
    there should not be to much, post it here.

    --
    openSUSE 11.2 64 bit | Intel Core2 Quad Q8300@2.50GHz | Gnome 2.28 | GeForce
    9600 GT | 4GB Ram
    openSUSE 11.3 64 bit | Intel Core2 Duo T9300@2.50GHz | Gnome 2.30 | Quadro
    FX 3600M | 4GB Ram


  6. #6
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,814

    Default Re: It's probably something simple but..... I can't login to Root anymore in GUI

    It is really hard to tell what the problem is. You may have corrupted something in the /root directory. /root is the root users home. Can you log in as root in a terminal? At boot screen press 3 then boot as normal. This will take you to terminal mode. Try logging in as root there.

    Try deleting the /root/.gnome directory. This will bring gnome back to default for the root account.

    You can reinstall and tell the installer to NOT format the /home partition where your personal data and settings are.

    Last DO NOT LOG INTO A GUI AS ROOT! There is nothing you can do in a GUI as root that you can not do as a normal user becoming root. And you have a wonderful chance of randomly messing things up as you have found out.

  7. #7
    Join Date
    Jun 2009
    Location
    Pennsylvania, USA
    Posts
    233

    Default Re: It's probably something simple but..... I can't login to Root anymore in GUI

    Did you look in ~root/.xsession-errors when you log in from the console? That should give the history of the last root GUI login.

    Remember: outside of the kernel, root is Just Another User. If you have login problems, they should be fixed with the same methods as other users; and if something is broken, you may need to file a bug report.
    Use the Source, Luke

  8. #8
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: It's probably something simple but..... I can't login to Rootanymore in GUI

    swatcop wrote:
    > I really expected more than cold judgment from this forum.


    no, it wasn't a cold judgement...well, i guess it sounded that way,
    but i know caf and it wasn't!

    all you need to do is to never ever log into Gnome (or KDE or LXDE or
    anyother Linux DE) as root..

    and, since that is your 'problem' you have no problem EXCEPT figuring
    out how to do root required things without ever breaking that rule..

    so, *instead* always log in as *yourself* and become root by either
    using a console and the "su -" command OR by running the kind of
    application you need to use to do what you need to do as root..

    like, you can run Nautilus as root by:

    -hold down Alt and press F2
    -in the pop up type/enter
    Code:
    gnomesu nautilus
    -give the root pass when asked
    -bingo, up pops Nautilus with magic root powers!!

    wanna edit a config file as root? just do the same but

    gnomesu gedit

    etc etc etc

    lots about that here: http://en.opensuse.org/SDB:Login_as_root

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

  9. #9
    Join Date
    Nov 2009
    Location
    Mnchen
    Posts
    295

    Default AW: Re: It's probably something simple but..... I can't login to Root anymore in GUI

    Its forbidden to login into the root gui!

  10. #10
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: It's probably something simple but..... I can't login to Rootanymore in GUI

    GeoBaltz wrote:
    > Did you look in


    i just sent you a private message via the forum..

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •