LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 01-29-2013, 01:17 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: Debian Land
Posts: 1,389

Rep: Reputation: 88
One keyboard and 2 Linux machines?


Hello,

It is not so much related, but well, there is Linux machines.

I would like to use my keyboard on two machines. Have you heard of a switch for keybaords?

It exists for monitors. 1 monitor and 2 pc's.


I would be looking for a switch, similar, for : 1 keyboard and 2 pc's.

If you heard of sthg, please let me know.

Kind regards
 
Old 01-29-2013, 01:21 AM   #2
pan64
Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 5,159

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
I do not really understand it, but of course you can open remote terminals and also you can use 2 DISPLAYs and also you can redirect stdout, stderr....
 
Old 01-29-2013, 01:26 AM   #3
jamesf
Member
 
Registered: Dec 2004
Location: USA
Distribution: Slackware 12 and higher
Posts: 229

Rep: Reputation: 51
The device you're looking for is called a KVM (Keyboard / Video / Mouse) "switch". They exist for both USB and PS/2-style keyboards and mice. They're for sharing keyboard, video, and mouse between multiple machines.

Some motherboards don't like the keyboard and mouse being switched away and some of the better KVMs have hardware that makes the mouse and keyboard appear to exist for all connected computers but only send the keyboard and mouse events to the selected computer. Those are the better KVMs.

You could also use a program like VNC, or log in to from one box to the other via XWindows / XDMCP. You could also use a program like Synergy (http://synergy-foss.org) to "share" the keyboard and mouse with the computer whose screen you move the mouse to.

good luck!
 
Old 01-29-2013, 03:19 AM   #4
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 583

Rep: Reputation: 129Reputation: 129
If you have 2 pc's with each their own monitor you could use synergy. It enables you to share the keyboard and the mouse, unfortunately it only works under X.
 
Old 01-29-2013, 05:40 AM   #5
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,570

Rep: Reputation: 805Reputation: 805Reputation: 805Reputation: 805Reputation: 805Reputation: 805Reputation: 805
You can also use vnc and x2vnc to control one machine from the other by sliding the mouse pointer across to it. It can be confusing though and it's not always completely straightforward to set up.
 
Old 01-29-2013, 05:42 PM   #6
jefro
Guru
 
Registered: Mar 2008
Posts: 12,087

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
I guess if the keyboard is usb then a usb sharing device may work. Most times one uses a kvm for all of it. I'd guess a kvm would still work for just the keyboard.
 
Old 02-03-2013, 04:42 AM   #7
Xeratul
Senior Member
 
Registered: Jun 2006
Location: Debian Land
Posts: 1,389

Original Poster
Rep: Reputation: 88
http://synergy-foss.org/img/splash/splash-en.jpg

this is like using ssh -X over different distant machines. so a regular thing, right`?

In my case, one is windows xp and the second is Debian
 
Old 02-03-2013, 04:53 AM   #8
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,570

Rep: Reputation: 805Reputation: 805Reputation: 805Reputation: 805Reputation: 805Reputation: 805Reputation: 805
I still think win2vnc or x2vnc might be the thing you need:
http://sourceforge.net/projects/win2vnc/
http://linux.die.net/man/1/x2vnc
You set up a VNC server on the machine without a mouse and keyboard and control it from the other machine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VSFTPD files/folders uploaded by OSX machines can only be deleted by OSX machines rjo98 Linux - Server 11 03-16-2012 03:09 PM
Communicating between 2 linux machines / windows-lunux machines xombboxer Linux - Newbie 2 03-15-2012 04:57 AM
Samba / slow data transfer between Linux machines, Win<-->Linux ok KMBS Linux - Networking 6 04-30-2010 11:34 AM


All times are GMT -5. The time now is 04:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration