Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to run R in a virtual console and RCommander in a separate virtual console. Or maybe I want to run a game in a virtual console and shut off the desktop. Or maybe I want to pipe an ssh -x terminal to a virtual console.

How can I tell Virtual Console 3 to open a graphical virtual console in Virtual Console 9?

share|improve this question
up vote 1 down vote accepted

The "graphical virtual console" you want is an X server instance. You can start a new one as root with

$ X :1
share|improve this answer

Create a client startup script, for example call it ~/myxinitrc:

metacity &

(I avoid to call it ~/.xinitrc to not interfere with other operations).

Then, assuming you already have a server running on :0 and corresponding to vt7, this is how you can start a server on :1 and vt8. Go to vt1 and execute:

XINITRC=~/myxinitrc xinit -- :1 vt8

from the xterm you get, you can start other applications of your preference.

share|improve this answer

Your Answer


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.