LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Ubuntu stuck in root mode, help! (https://www.linuxquestions.org/questions/linux-general-1/ubuntu-stuck-in-root-mode-help-776325/)

koppes 12-17-2009 01:31 AM

Ubuntu stuck in root mode, help!
 
Lately my Ubuntu has been starting in root mode, and I can't get out of it. Reboot doesn't work. Although I'm a bit of a linux newbie, I'm not entirely computer illiterate, but this has me stuck.

Any suggestions?

evo2 12-17-2009 02:06 AM

What do you mean by starting in root mode?

By default, the root account is not even enabled on Ubuntu. Do you recall changing anything?

Evo2.

koppes 12-17-2009 12:42 PM

When I start my Ubuntu, I see the brown and white ubuntu logo, and then the screen turns black and asks for my username and password in a command prompt.

The only thing I did in my last session was copy and paste a picture; however I don't believe that had an effect because it started like this once before I did that. Also, it even froze on me once before.

I'm thinking that I'll just wait until I reformat the hard drive and reinstall Ubuntu. I didn't store data on that partition anyway.

kofucii 12-17-2009 04:16 PM

First chech <CTRL> + <ALT> + <F7> keys. What happens?
Second, log in as root, and type "gdm". What happens?

koppes 12-17-2009 06:36 PM

Nothing happens when I press <ctrl>+<alt>+<f7>

when I type "gdm", I get a message that goes, "Failed to acquire org.gnome.DisplayManager... some gibberish... Warning: Could not acquire name Bailing out."

syg00 12-17-2009 11:39 PM

A non-GUI boot is not "root mode" - you still log on as yourself. Try booting with the recovery option, and see what the last few messages are. At the menu, try continuing to a normal boot and see if it comes up. Else try looking at /var/log/Xorg.0.log - especically for EE entries.

MTK358 12-18-2009 07:54 AM

I don't get it. What is root mode? Does it mean that you are logging in as root user?

To know what user you are, open a terminal and enter the command "whoami" (no quotes).

koppes 12-18-2009 10:21 AM

well, when the computer starts I can login to my username, but there's no visual desktop, just command lines. I can start in root mode through the recovery option...

anyway, I'm just going to reformat... it's about that time.


All times are GMT -5. The time now is 09:05 PM.