Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am new to Linux, installed Gnome, and unable to login, as only root is set, and disabled, I think after reading on the Internet.

Now how do i get back to the command line, at least so I can deal with that and fix my issues from there? I am unable to bypass the Gnome login screen.

share|improve this question

migrated from stackoverflow.com Apr 28 '11 at 15:16

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer 1

Pressing CTRL+ALT+F1 should get you to console TTY. You can login from there, and add a regular user for yourself, etc. If that doesn't work, you'll have to boot in single-user mode. Just follow the steps here and then add user using the syntax below:

useradd -m -s /bin/bash userName
passwd userName

where userName is the name of the user to create. You can then reboot into normal mode if you booted in single-user mode or switch consoles to graphical console by hitting ALT+F7

share|improve this answer
    
You'll need control-alt-F1 to get back to the console. –  Shadur Apr 28 '11 at 19:00
    
@Shadur, duly noted, I was messing with formatting and deleted the beginning of the sentence. I edited the answer to reflect your comment. –  dawebber Apr 28 '11 at 20:06
    
Links about single user mode on this site: How do I run a command as the system administrator (root); more specific Grub instructions, –  Gilles Apr 28 '11 at 20:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.