chvt magic

| 5 TrackBacks
Arch Linux logo

Arch Linux logo (Photo credit: Wikipedia)

Found out about a nice new command - chvt. I am using Synergy these days instead of my KVM (something that will be the subject of another, much longer post), which doesn't send Ctrl-Alt-Fn to the client machines. Which normally isn't a problem, because it only works if you are running X, so it wouldn't work anyway from a virtual terminal.

But in this case, it is a virtual machine running Arch Linux (the Synergy client machine is running Windows 7), so changing virtual terminals would be fine. So I needed to find a way to change virtual terminals besides using the Ctrl-Alt-Fn keystrokes.

Enter the 'chvt' command. It needs to be run as the superuser, so issuing this command swaps the virtual terminal to terminal 2:

$ sudo chvt 2

So now I can swap virtual terminals in virtual machines even if I can't get the fancy keystrokes to go through to them.

chvt(1): change foreground virtual terminal - Linux man page

Enhanced by Zemanta

5 TrackBacks

TrackBack URL: http://linux.amazingdev.com/cgi-bin/mt/mt-tb.cgi/558

click the up coming internet site from click the up coming internet site on October 11, 2014 9:25 PM

chvt magic - Daemon Dancing in the Dark Read More

????? T??? ?? from ????? T??? ?? on October 12, 2014 1:15 AM

Trainer wristlets come in a lot of the same designs Coach hand bags appear in. You can buy matching bags and use them together. Read More

Discipline wristlets come in almost all same designs Coach hand bags come in. You can buy related bags and use these folks together. Read More

????? ????? ????? from ????? ????? ????? on October 14, 2014 8:06 PM

Guru wristlets come in most of the same designs Coach hand bags include. You can buy corresponding bags and use them together. Read More

????? ?????? from ????? ?????? on November 8, 2014 4:23 AM

American design meets all U . s citizens girlthat's a fabulous combination i cannot wait to wear. Read More

About this Entry

This page contains a single entry by Jonathan published on October 18, 2012 9:35 AM.

Shuffling Wallpaper was the previous entry in this blog.

7 Ways To More Info is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.