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.

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
add comment

2 Answers 2

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
add comment

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

#!/bin/sh
metacity &
xterm

(I avoid to call it ~/.xinitrc to not interfer 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
add comment

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.