Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Specifically, I have an Ubuntu 10.04 system with a headless Ubuntu 12.04 virtual machine, and I'm looking for a way to have it set up so pressing Ctrl+alt+F8 will take me into another X client which is connected to an X server on the VM (with gdm appropriately displayed at startup, etc.). As in, my startup script should spin up the headless machine and then immediately perform a startx pointed at the vm.

share|improve this question

1 Answer 1

If you enable XDMCP in the guest's DM then you can use X :1 -query ... in the startup scripts on the host to request a XDMCP connection to the X server running in the guest. This will open :1 onto your guest, starting from the login screen. See the Xserver(1) man page for details.

share|improve this answer

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.