6

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.

2 Answers 2

2
+50

You need to run:

sudo chvt 1

Changing virtual tty's requires administrative privileges.

1
  • 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! May 12, 2012 at 17:32
1

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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .