LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-27-2023, 06:39 PM   #1
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,566

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
better program than barrier?


https://www.raspberrypi.com/news/sha...-with-barrier/

Is there any other thing I can use besides barrier to share the same keyboard and mouse between my desktop (slackware current) and a raspberry pi 4b? I'm a bit lazy, and I really don't want to go through the trouble of installing avahi on slackware. Or is it worth the 20 bucks for a KVM switch? (I don't need monitor.)

If I go the hardware route, I could add on a new gamepad for free shipping, since my gamepad is older than two of my nieces, both of which are teenagers now.
 
Old 12-27-2023, 07:09 PM   #2
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
x2x will also work, but ... you'll still have to install something, so I don't know if it will be any benefit over barrier?

I do not know how avahi fits in with all this, though. Maybe x2x will work for you.
 
Old 12-27-2023, 07:26 PM   #3
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,566

Original Poster
Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
Cool, thanks! Will check it out.
 
Old 12-28-2023, 01:04 AM   #4
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 978

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Why would barrier be needed? Why not simply connect by ssh instead of barrier if you are running your raspberry pi headless? With X port forwarding in ssh you will be able to put graphical Windows from your raspberry pi on your Linux PC desktop. If you want an entire raspberry pi desktop in a Window on your Linux PC you could use something like Xnest or Xephyr.

I don't know if the login manager on raspberry pi supports xdmcp, but if it does, and your login manager on your Linux PC also supports xdmcp, you can use your Linux PC login manager to connect to your raspberry pi desktop. However, as xdmcp is an unencrypted protocol it should only be used in secure trusted networks.

regards Henrik
 
Old 12-28-2023, 06:37 AM   #5
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Quote:
Originally Posted by henca View Post
Why would barrier be needed? Why not simply connect by ssh instead of barrier if you are running your raspberry pi headless?
Garpu's not running it headless. Garpu just means that he doesn't need the "monitor" part of a KVM switch. Each of the two different computers is attached to its own monitor.

Normally, with a KVM switch, you share a single monitor with both computers. When you "switch", you switch which computer your Keyboard, Video monitor, and Mouse are attached to.

But in this situation, the KVM switch is only being used to switch Keyboard and Mouse. The Video monitor ports on the KVM switch are simply left unplugged.
 
Old 12-28-2023, 11:12 AM   #6
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,566

Original Poster
Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
Yes, I've got a monitor plugged into each. The KVM would be for mouse and keyboard only. It does seem like a hardware solution would be the easiest in this case. Thanks for the suggestions!
 
Old 12-28-2023, 12:57 PM   #7
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 978

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Quote:
Originally Posted by IsaacKuo View Post
Normally, with a KVM switch, you share a single monitor with both computers. When you "switch", you switch which computer your Keyboard, Video monitor, and Mouse are attached to.

But in this situation, the KVM switch is only being used to switch Keyboard and Mouse. The Video monitor ports on the KVM switch are simply left unplugged.
In my experience, most people that I know with monitors connected by DisplayPort choose to only use the KVM switch for keyboard and mouse and prefer to have multiple monitors to avoid an annoying delay when switching between computers. This delay did not exist when the monitors and KVM-switches were connected by DVI.

regards Henrik
 
Old 12-28-2023, 03:29 PM   #8
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,566

Original Poster
Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
Quote:
Originally Posted by IsaacKuo View Post
Garpu's not running it headless. Garpu just means that he doesn't need the "monitor" part of a KVM switch. Each of the two different computers is attached to its own monitor.
She, by the way.
 
3 members found this post helpful.
Old 12-28-2023, 07:38 PM   #9
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Ah, thanks for the correction! Sorry I assumed without thinking.
 
1 members found this post helpful.
Old 12-28-2023, 09:30 PM   #10
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,566

Original Poster
Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
It's all good.
 
1 members found this post helpful.
  


Reply



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
[SOLVED] When do you need more than 1 pthread barrier variable? kvm1983 Programming 8 09-03-2009 03:36 PM
POSIX Barrier?? MeMooMeM Programming 5 05-26-2005 02:19 PM
32 Gb barrier using fdisk the_geezus Slackware 4 11-20-2004 09:12 AM
hard drive barrier problem nobodynowhere Linux - Hardware 2 12-12-2003 11:45 AM
hard disk barrier problem nobodynowhere Debian 1 12-12-2003 09:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:36 PM.

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
Open Source Consulting | Domain Registration