1

I 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.

Rui F Ribeiro
  • 55,929
  • 26
  • 146
  • 227
Alexander Grosse
  • 93
  • 1
  • 1
  • 4

1 Answers1

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

dawebber
  • 121
  • 3
  • 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)](http://unix.stackexchange.com/questions/3063/how-do-i-run-a-command-as-the-system-administrator-root); [more specific Grub instructions](http://unix.stackexchange.com/questions/4027/how-do-i-prevent-grub-from-using-starting-any-graphical-ui/4030#4030), – Gilles 'SO- stop being evil' Apr 28 '11 at 20:33