I have a logitech wireless keyboard/mouse, but just lost the tiny usb wireless receiver.

I want to use my laptop as the keyboard for the other machine (Ubuntu 10.10) until I replace the keyboard and mouse.

Is it possible to control the console session's keyboard over ssh? I only want keyboard control, I don't want to use something like VNC because the video is too slow.

EDIT: I'd like to be clear that I want to be able to control gui applications running on the console session, so something like gnu screen won't (as far as I know) help with that.

link|improve this question
feedback

migrated from stackoverflow.com Aug 13 '11 at 11:13

This question came from our site for professional and enthusiast programmers.

3 Answers

up vote 3 down vote accepted

x2x does exactly what you want:

$ ssh -X othermachine x2x -west -to :0

Now you can move your mouse to the left of your laptop and it wii appear in that other machine. Keyboard 'goes' there too.

You'll need to enable X forwarding in that other machine's sshd.

link|improve this answer
Read more about x2x here: linux.com/archive/feature/148824 – holygeek Aug 13 '11 at 8:25
feedback

Use something like tmux or screen. These programs will start a console session that can be attached to from any ssh connection or local terminal. Additionally, they let you open multiple console sessions inside the same parent screen/tmux session, allowing you to interact with multiple shells and console programs over a single connection.

link|improve this answer
feedback

Synergy is a client/server application so you can share the keyboard+mouse on one (the server) with multiple other desktops (clients). I've used it for years and it's fairly easy to configure.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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