I use Synergy to control both of my desktops from the same keyboard and mouse. Is there a way to send Alt+Ctrl+F1 (or related combinations) to the client desktop using Synergy?

I tried using the suggestion below, but got:

$ chvt 1
Couldn't get a file descriptor referring to the console

Other ideas? I would still prefer a way to send the actual keystrokes over synergy, but if that's not possible, a work around that works will be accepted.


You need to run:

sudo chvt 1

Changing virtual tty's requires administrative privileges.

  • Ah. This did switch terminals. HOWEVER, synergy stops working. With a little digging, this is because synergy requires X, so it can't work in a non-X environment, like one of the other virtual TTY's... Thanks for your answer! – David Oneill May 12 '12 at 17:32

I don't know Synergy, but...

I guess with Alt+Ctrl+F1 you intend to switch from the X-Screen to the console. First guess for synergy: that will not work. But to answer that particular: you can open up a terminal on the computer you want to invoke Alt+Ctrl+F1 and enter

chvt 1

to change to virtual terminal number 1.

  • sorry, not sure if this really IS an answer to your question, I should have commented on your question instead... – Tobias Apr 11 '12 at 11:45
  • Yes, I am trying to switch to console number 1. However, this didn't work. See my edit... – David Oneill Apr 16 '12 at 19:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.