View previous topic :: View next topic |
Author |
Message |
srasku n00b
Joined: 08 Apr 2005 Posts: 10 Location: Vancouver, BC
|
Posted: Wed Jun 04, 2014 3:00 pm Post subject: How to exit 'startx' on VirtualBox |
|
|
I have a Gentoo guest on OS X host.
I've used these instructions to configure X on my VM:
https://wiki.gentoo.org/wiki/Xorg/Configuration
It starts up and I have three xterm windows which I can type in. How do I exit X? There are no instructions on how to do that on the above page. I am used to using Ctrl-Alt-Backspace for Linux on native hardware but that sequence is being ignored by VirtualBox. I think it may be captured by the OS. The backspace key is actually labelled "delete" on my Mac keyboard. |
|
Back to top |
|
|
keet Guru
Joined: 09 Sep 2008 Posts: 570
|
Posted: Wed Jun 04, 2014 3:54 pm Post subject: |
|
|
If you close the three xterm windows, it should exit. You can type 'exit' and press Enter in each one. |
|
Back to top |
|
|
nenemsis5 n00b
Joined: 23 Oct 2007 Posts: 72
|
Posted: Wed Jun 04, 2014 8:21 pm Post subject: |
|
|
enter in the biggest terminal:
and u will get out of the X |
|
Back to top |
|
|
Pearlseattle Apprentice
Joined: 04 Oct 2007 Posts: 162 Location: Switzerland
|
Posted: Wed Jun 04, 2014 9:54 pm Post subject: |
|
|
in one of 3 xterm windows enter "killall X" |
|
Back to top |
|
|
russK l33t
Joined: 27 Jun 2006 Posts: 665
|
Posted: Wed Jun 04, 2014 10:07 pm Post subject: |
|
|
I'm using VirtualBox 4.3.10, and there is the option from the Machine menu, "Machine->Insert Ctrl-Alt-Backspace", that also suggests Host+Backspace will do the same. "Host" is typically the Right-Ctrl key.
Hope this helps. |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Wed Jun 04, 2014 10:54 pm Post subject: |
|
|
X doesn't respond to Ctrl-Alt-Backspace anymore unless you enable the behavior.
For testing purposes I usually prefer startx &; sleep 10; killall X This series of commands will allow 10 seconds of X to test and then kill the server for better or worse. Often I skip testing the X server unless the WM I want doesn't work.
You can also use alt+shift+F1 to get back to your login session and use control+c to kill it that way. _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Thu Jun 05, 2014 12:30 am Post subject: |
|
|
The Doctor wrote: | X doesn't respond to Ctrl-Alt-Backspace anymore unless you enable the behavior. |
Yes, I have the following in ~/.xinitrc ... though I'm not sure if this will be recieved while using virtualbox.
Code: | setxkbmap -option terminate:ctrl_alt_bksp |
HTH & best ... khay |
|
Back to top |
|
|
russK l33t
Joined: 27 Jun 2006 Posts: 665
|
Posted: Thu Jun 05, 2014 12:31 am Post subject: |
|
|
Right, Ctrl-Alt-Backspace doesn't work with my gentoo install, but it worked with a RedHat install that I have in a VirtualBox.
Also, 'killall X', may not work, you might need 'killall Xorg', that's what happened with my gentoo install. |
|
Back to top |
|
|
srasku n00b
Joined: 08 Apr 2005 Posts: 10 Location: Vancouver, BC
|
Posted: Wed Jun 11, 2014 12:52 am Post subject: |
|
|
Thanks for the replies. I was able to exit X. Now to configure GNOME... |
|
Back to top |
|
|
|