LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-09-2021, 05:59 AM   #1
tonj
Member
 
Registered: Sep 2008
Posts: 546

Rep: Reputation: 37
remote desktop server software


I was wondering if there is any software out there that makes a linux pc (centos 7) act as a remote server for other computer5s to connect to one another in the same way that aeroadmin or teamviewer does. I don't need remote access to the server itself, I can do that with tigervnc but I'd like my server to provide this remote connection to other computers so they can connect. thanks for any advice.
 
Old 11-09-2021, 06:15 AM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,471
Blog Entries: 7

Rep: Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573
remote desktop server software

OpenVPN can do this if you enable IP forwarding on the server.
 
Old 11-09-2021, 07:55 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,691
Blog Entries: 4

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
You bring up a very interesting subject ...

First of all, Linux clients do exist for Microsoft's "Remote Desktop" protocols, and all of them work very well. But, Linux does things differently.

Linux actually uses a client/server strategy for windowing. This is called XWindows (the name is coincidental), or lately, XOrg. On a single computer, both the client and the server are running at the same time. (Betcha never knew that until now ...)

This strategy was inherited from Unix®, and it is actually many years old now. (Macintoshes, although built on Unix, provide a client application but do not use it all the time: if you run an app that needs it, it will silently and automatically start, and run as long as it is needed.)

"The server tells the client what to draw, and the client draws it." This means that you can remotely connect to a "headless" server that doesn't even have a graphic card, then conduct a full GUI session with it, and do so very efficiently. The only requirement is that the server is running the "server" process, and that you are running the "client" process. The compressed data stream which passes between the computer consists of mouse/keyboard events and drawing commands.

Microsoft Windows® implemented things in an entirely different way, so their "remote desktop" protocol – even though it works well enough – is noticeably less efficient when used over a busy network. Remote Desktop has to futz around with bitmaps: very clumsy by comparison.

Last edited by sundialsvcs; 11-09-2021 at 08:04 AM.
 
Old 11-10-2021, 09:38 AM   #4
tonj
Member
 
Registered: Sep 2008
Posts: 546

Original Poster
Rep: Reputation: 37
thankyou but I'm talking about a 3-computer setup here, not a 2 computer. computer A wants to connect remotely to computer B but it does it through a third computer - server C. this is how services like aeroadmin and teamviewer work. I wanted to know if there was any linux software I could run on my server (server C) that would enable A and B to connect.
 
Old 11-10-2021, 10:14 AM   #5
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,177

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Tailscale is kind of like this, but it drops the 3rd server out of the loop once the tunnel is made.
 
Old 11-10-2021, 04:29 PM   #6
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,471
Blog Entries: 7

Rep: Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573
Quote:
Originally Posted by tonj View Post
computer A wants to connect remotely to computer B but it does it through a third computer - server C.
"OpenVPN is a virtual private network system that implements techniques to create secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities." Wikipedia.

If you run OpenVPN on your Linux machine, and configure it accordingly, it will allow you to connect to your LAN from a remote computer anywhere in the world.

You will then be able to access any Windows machine within that LAN using RDP.

Is that what you're looking for?

Last edited by rkelsen; 11-10-2021 at 04:33 PM.
 
Old 11-10-2021, 06:27 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,783

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
Per Teamviewer
Quote:
TeamViewer determines the optimal type of connection. After the handshake through our master servers, a direct connection via UDP or TCP is established in 70% of all cases (even behind standard gateways, NATs and firewalls). The rest of the connections are routed through our highly redundant router network via TCP or https-tunnelling. You do not have to open any ports in order to work with TeamViewer!
While you can consider using a VPN similar its two processes versus running just one. Teamviewer is easy to use for the layperson, openvpn can be fairly complicated to setup plus you need to create certificates for the clients etc. Tailscale uses wireguard VPN which is supposed to be much easier to configure. In comparing remote desktop applications I think the key feature is NAT pass though although I don't think the wikipedia article is totally accurate for some of the software.

https://en.wikipedia.org/wiki/Compar...sktop_software

I have not found anything yet.
 
Old 11-10-2021, 08:06 PM   #8
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,471
Blog Entries: 7

Rep: Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573
Quote:
Originally Posted by michaelk View Post
While you can consider using a VPN similar its two processes versus running just one. Teamviewer is easy to use for the layperson, openvpn can be fairly complicated to setup plus you need to create certificates for the clients etc.
OpenVPN is not easy to set up if you're not used to the command line and/or don't understand how routing works. Their documentation is excellent, though, and it enabled me to set it up without needing external help. I had only a shallow understanding of network routing beforehand. It is widely used, so there are also many online 3rd party guides and videos which will help you to learn how to set it up.

Once it is set up, it is even easier for the end users than TeamViewer... It's literally just an on/off switch.

Many routers now have a VPN function built in, which is easier to set up and probably works just as well although maybe not as secure.

The problem with services like TeamViewer, AeroAdmin or even Google Remote Desktop is that there is an intermediary in your connection. With a VPN server, your connection is directly to the network you're trying to access.
 
Old 11-10-2021, 08:29 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,783

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
Not disagreeing with you except we do not know why the OP is wanting to use an intermediary server. During the COVID lock down I had to setup a openvpn VPN so I get it.

Now days there are some ISPs that do not provide a public IP address which means a direct connection is not possible. For a in frequent remote desktop help someone fix a problem I use Teamviewer.

Last edited by michaelk; 11-10-2021 at 08:38 PM.
 
1 members found this post helpful.
Old 11-10-2021, 09:14 PM   #10
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,471
Blog Entries: 7

Rep: Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573
Quote:
Originally Posted by michaelk View Post
Now days there are some ISPs that do not provide a public IP address which means a direct connection is not possible.
Really? Wow.
Quote:
Originally Posted by michaelk View Post
For a in frequent remote desktop help someone fix a problem I use Teamviewer.
Yeah, same. I use TV to help family when they need it... It's easy to get parents to click an icon on the desktop and read out the password over the phone.
 
  


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
Best Remote Desktop software to remote to Win 7 PC's on home network? Chris Wilson Linux - Newbie 1 10-09-2019 08:59 AM
LXer: 'Chrome Remote Desktop' A Linux Remote Desktop App LXer Syndicated Linux News 0 08-13-2016 04:15 PM
Installing a linux-distro remote desktop on an already remote debian server... errr? Sabinou Linux - Newbie 2 04-26-2012 05:29 PM
SSH shell disabled + Remote desktop NX (or another remote desktop software) zoltan32 Linux - Software 2 04-12-2011 03:36 AM
Cross-platform remote control / remote desktop software trafikpolisen Linux - Software 5 01-24-2010 12:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:11 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
Open Source Consulting | Domain Registration