Changing VT using a command line ?

Peter Garrett peter.garrett at
Sat Feb 2 15:43:07 UTC 2008

On Sat, 2 Feb 2008 13:59:43 +0100
Vincent Trouilliez <vincent.trouilliez at> wrote:

> So I was thinking, is there some linux command I could type at the
> command line, that allows to switch VT ?


chvt 1
chvt 7

If you see
"Couldn't get a file descriptor referring to the console", you can use sudo

sudo chvt 1
sudo chvt 7

... and so on.


"INX Is Not X" Live CD based on Ubuntu 7.04 :
Screenshots slideshow:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the ubuntu-users mailing list