You are not logged in.
I've installed gdm and gnome into my arch linux and I've added gdm to the list of deamons. But I forgot to install the sudo program. Now I'm not able to perform any superuser activities since gdm, by default, does not allow root user login. I tried to switch to virtual consoles from gnome-session using keyboard shortcuts like ALT-CTRL-Fn and ALT-CTRL-SHIFT-Fn. But none of them seem to work. Now, how can I move into virtual terminals or is there some other way to login as root user?
PS: I'm running my arch in vmware.
Last edited by nidhin (2012-05-20 05:33:05)
Offline
In a terminal try executing the "su" command. That should elevate that terminal to root privileges and if so you can then install sudo.
Edit: I don't mean one of the virtual terminals, I mean the "gnome-terminal" in your accessories menu.
Last edited by headkase (2012-05-20 05:20:29)
Offline
In a terminal try executing the "su" command. That should elevate that terminal to root privileges and if so you can then install sudo.
Edit: I don't mean one of the virtual terminals, I mean the "gnome-terminal" in your accessories menu.
I tried that and its showing su: incorrect password (tried both my user password and root password).
Offline
"su" takes your root password. Are you absolutely sure you are entering it correctly?
Offline
"su" takes your root password. Are you absolutely sure you are entering it correctly?
Yes, I'm. Infact I did not supply any password for root during installation.
Offline
Try booting in runlevel 1 and resetting your root password for starters.
Burninate!
Offline
Try booting in runlevel 1 and resetting your root password for starters.
Yeah It worked. I changed my root password by booting in runlevel 1 and then logged in as a normal user. Now I was able to run su properly. I guess password is mandatory for su. Originally I didn't had a root password.
And can somebody tell me how can I switch to virtual terminal from gnome-session? I tried various keyboard shortcuts like ALT-CTRL-Fn, ALT-CTRL-SHIFT-Fn etc..None of these worked.
Last edited by nidhin (2012-05-20 08:12:08)
Offline
And can somebody tell me how can I switch to virtual terminal from gnome-session? I tried various keyboard shortcuts like ALT-CTRL-Fn, ALT-CTRL-SHIFT-Fn etc..None of these worked.
So you basically just want to switch to another tty? Within vmare, this is done through Alt-F1, Alt-F2,... if I'm not mistaken.
Burninate!
Offline
So you basically just want to switch to another tty? Within vmare, this is done through Alt-F1, Alt-F2,... if I'm not mistaken.
Alt-Fn could only switch me between VTs only when I'm already working on one of them. But I need to switch to a VT from gnome session. I remember ALT-CTRL-SHIFT-Fn used to do the same in ubuntu.
Offline
Shouldn't the shortcut be CTRL-ALT-Fn to go to the ttys?
Offline