Changing VT using a command line ?

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


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

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

Yup. 

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.

Peter

-- 
"INX Is Not X" Live CD based on Ubuntu 7.04 : http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080203/9f36c604/attachment.pgp>


More information about the ubuntu-users mailing list