On 01/12/2011 05:12 AM, Mark Knecht wrote:
On Tue, Jan 11, 2011 at 5:50 PM, Nikos Chantziaras<rea...@arcor.de> wrote:
On 01/12/2011 01:40 AM, Mark Knecht wrote:
[...]
The problem was I built a VM that started X but only had KDE in the VM
and no user accounts yet. KDE starts and runs in the VM but KDE
wouldn't allow a root login so there wasn't a way for me to get a user
account added without stopping at the login like this.
Uhm, CTRL+Alt+F1 will switch you to the first console so you can login as
root. If you're on VMWare, that shortcut becomes CTRL+Alt+Space, release
them, then press F1.
That's what I do on a physical Gentoo box and it works fine. (Either
Alt-Ctrl-F1 or Alt-F1)
Ctrl is needed when in X11. When in a console, only Alt is needed.
This VM, running in Virtualbox-4.0.0 on Win 7 didn't work. A more or
less identical Gentoo VM running on a Gentoo server (yes, Gentoo
within Gentoo) didn't switch to the VM's console but switched to the
server's console. Assuming I was actually capturing keyboard strokes
by the VM that doesn't make sense to me but possible things like Alt&
Alt-Ctrl sequences are handled differently by Linux. Dunno..
Anyway, the gentoo=nox solution worked great for my needs.
It's always good to be able to switch to the consoles without needing a
reboot. Since you're on VirtualBox, maybe this helps:
http://wiki.debian.org/VirtualBox#Switchingconsoles