102
submitted 1 year ago by macabrett@lemmy.ml to c/linux@lemmy.ml

Not just the terminal, I mean a full remote desktop. What's the best method? Not just from one linux machine to another machine, but also remoting from a windows machine to a linux machine.

I'm a bit of a linux novice, but trying to do more.

top 50 comments
sorted by: hot top controversial new old
[-] Lettuceeatlettuce@lemmy.ml 46 points 1 year ago

I've been using Rust Desk for a few months now and it's awesome. Works on Linux, Windows, Mac, iOS, and Android.

It's open source and super easy to setup and configure. For limited use cases, you can just use their freely provided servers, but you can also host your own server if you want.

I've been really impressed with the connection speeds and features, it has everything I need including end-to-end encryption for all network traffic, so your remote connection is at far less risk of getting snooped.

[-] Unmapped@lemmy.ml 6 points 1 year ago* (last edited 1 year ago)

I was looking into rust desk. It looked like the perfect solution for remotly helping my family members. The problem is I have them running silverblue. I don't think rust desk supports Wayland. There is a experimental way I was going to try, but I'm not sure how to install it since its not in Fedora repo or flatpak.

[-] sxan@midwest.social 5 points 1 year ago

Just a data point: OP is looking for a desktop solution, and Rust Desk may be fine for that; I was pretty impressed with it. However, I caution about using it to share out on Android. I traced down random crashes and reboots into safe mode to Rust Desk running on a Pixel. It took me a while to figure out which app was causing it; it seemed to have no correlation to use, time, or anything else I could discern. They only went away after I completely uninstalled Rust Desk (which is why it took so long; I couldn't correlate it to running Rust Desk, so I didn't suspect it).

The reboots into safe mode turned me off to it on mobile - I had no issues at all running the desktop client on Linux. Android aside, it's a really nice bit of work, and I fancy even nicer than VNC, which for me is saying a lot.

That said, on a fast network, I still prefer a good old X client over ssh to VNC, if for no other reason than easier per-app windows - but I like the L&F and performance of X on a fast pipe.

[-] Unmapped@lemmy.ml 3 points 1 year ago

Good to know since I'm using a pixel as well. For remoting to my own devices. Since they are all running Wayland now. I plan to try out waypipe soon. I read it's like a replacement for running X over ssh.

For helping family members I was looking for something more user friendly. Which is why I was looking into rust desk.

[-] sxan@midwest.social 2 points 1 year ago

Well, don't let me put you off of it; Rust Desk is pretty nice, and user friendly. Just... keep any eye on it if you run it on your phone. Maybe you won't have any problems, but if you start noticing reboots, you'll have an idea of why.

[-] Lettuceeatlettuce@lemmy.ml 4 points 1 year ago* (last edited 1 year ago)

Nyfure is right. Wayland support is experimental but has been added to Rust Desk since earlier this year.

I haven't tested it on Wayland myself, and remote login isn't yet supported according to their GitHub documentation, but if you just need a reliable way to provide remote support to your fam, it's a really solid option.

Wayland is quickly becoming the standard, and Rust Desk seems to be on that train which is good. I wouldn't be surprised to see full Wayland support or close to it by the end of next year.

Also, I just use the .appimage file and it works fine for me. Just make sure to set it as executable with chmod +x or in the file permissions tab in your GUI.

[-] Unmapped@lemmy.ml 4 points 1 year ago* (last edited 1 year ago)

Oh! I didn't see that app image was an option. I'm definitely going to give it a try now. For my use case I don't need remote login so that works out fine. Thanks.

[-] Nyfure@kbin.social 4 points 1 year ago

This. You can also directly connect via IP address when enabled on the target, very handy.

Its probably also one of the few which have started developing Wayland support on the host side.
Currently only clipboard and video sharing works, mouse and keyboard are close..
wayland is very restrictive and things like full keyboard/mouse reading/writing need special handling (and afaik a mouse write method wasnt really available from user permissions so far)

load more comments (1 replies)
[-] cizra@lemm.ee 31 points 1 year ago

I'm using VNC over an SSH tunnel. TigerVNC's vncviewer even has the -via parameter you can use to make creating the tunnel seamless.

[-] eager_eagle@lemmy.world 18 points 1 year ago* (last edited 1 year ago)

I avoid it at all costs as no solution is really seamless, but NoMachine gave me the best (perceived) latency out of VNC, TeamViewer, and a couple others I tried a couple years ago. It's also cross platform, but if the machines are in different networks (behind a NAT), you'll likely need to configure port forwarding manually or via their GUI.

edit: I just remembered I even played youtube videos and the transport fever 2 game via NX (NoMachine) for a few hours and it worked well, while other protocols had either too much of a degraded quality or latency.

How intensive is nomachine? I've used it on decent hardware and it's performance was pretty good. But I'm thinking of setting it up on the raspbery pis at work since VNC is painful to use.

[-] eager_eagle@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

I don't know how it compares, but I've used it on the Pi and on Android before, and both work.

[-] VerbTheNoun95@sopuli.xyz 1 points 1 year ago

I’ve used it on my pi before I disabled the display manager because I barely used it, but performance was fine. I could log in from my desktop, phone, laptop, another pi, anything really, which was nice to have.

[-] Unforeseen@sh.itjust.works 1 points 1 year ago

I use NoMachine as well as it has been the most responsive solution for me.

My biggest problem that I finally figured out was that NoMachine was attaching to a VNC console instead of creating its own display when I was using it with Unraid VMs (KVM)

[-] Slapplebags@lemmy.world 11 points 1 year ago

I use this script to deploy xrdp. Works well for local stuff or over vpn / ssh tunnel and plays nice with rdp

https://c-nergy.be/blog/?p=19228

[-] Magister@lemmy.world 6 points 1 year ago

absolutely, xrdp and remmina, what's the problem with remote desktop?!?

[-] phx@lemmy.ca 11 points 1 year ago

xrdp tends to work well enough, and plays nicely with both the windows remote desktop application and various Linux clients

[-] Squidious@lemm.ee 4 points 1 year ago

I have been using xrdp on the "server" and remmina on the "clients". Both ends worked beautifully "out of the box" (i.e. apt install). Occasionally I might have had to open the firewall for xrdp?

[-] dditty@lemm.ee 2 points 1 year ago

I use xrdp and remmina as well. I don't open ports though, I just use my VPN to get into my home network first. much safer

[-] Bitrot@lemmy.sdf.org 2 points 1 year ago

It also doesn’t require a session to be logged in at the local console.

[-] phx@lemmy.ca 1 points 1 year ago

Yeah that's true. I think some VNC options can start at the DM login screen but that's a passion to setup and may not be overly secure

[-] CraigeryTheKid@lemm.ee 1 points 1 year ago

I honestly thought this was the default/classic answer, and am surprised at how far down it was.

I too just started Linux 2 weeks ago, and my search results led me to xrdp on host, and remmina on client.

[-] Nisaea@lemmy.sdf.org 1 points 1 year ago

If xrdp works well enough, NoMachine us blazing fast in comparison. Have you given it a try?

load more comments (1 replies)
[-] gratux@lemmy.blahaj.zone 9 points 1 year ago

I'm a bit inexperienced in this aspect, but:

  • if you are on a trusted network (i.e. local/vpn only) you could give VNC a try. It's somewhat simple, but far from secure.
  • the gnome desktop environment should offer built in RDP support, but i have not tried it yet. Also, just like VNC, i wouldn't use RDP over the open internet.
[-] floofloof@lemmy.ca 8 points 1 year ago

To secure VNC you can tunnel it over SSH.

[-] ArtVandelay@lemmy.world 8 points 1 year ago

I'll add to the mix, if it's Gnome DE, rdp is built in now, it's under settings > sharing > enable rdp. Then you can use any rdp client, including windows. (Or remmina if from another Linux box)

[-] starlord@lemm.ee 7 points 1 year ago
[-] ShortN0te@lemmy.ml 9 points 1 year ago

RustDesk

With the shit they pulled on 'fixing' wayland support i would not recommend using their code ever.

https://github.com/rustdesk/rustdesk/blob/1.1.9/src/platform/linux.rs#L411-L422

[-] SciPiTie@iusearchlinux.fyi 1 points 1 year ago

Do you have any context links? That sed looks like something I'd do after 20h not finding the issue at first glance...

[-] starlord@lemm.ee 1 points 1 year ago

Interesting. I found RustDesk recommended as an alternative to AnyDesk. Do you have alternate suggestions?

[-] possiblylinux127@lemmy.zip 7 points 1 year ago

Do you need low latency? I use Rustdesk and moonlight/sunshine

[-] redcalcium@lemmy.institute 7 points 1 year ago* (last edited 1 year ago)

Sometimes I use Steam Remote Play to access my personal linux desktop remotely. It's actually works pretty great and can automatically reduce stream quality to match your current bandwidth. It also has a lot less input latency than VNC or RDP, though it consumes a lot more bandwidth.

[-] Hairyblue@kbin.social 5 points 1 year ago

If you were looking for a Remote Desktop program to help a customer or other user, TeamViewer worked for me on Ubuntu. It was a great way to fix an issue remotely with a Windows user.

But you may not be looking for this type of connection.

[-] Pantherina@feddit.de 7 points 1 year ago

RustDesk is a great alternative, FOSS and in Rust. Both only support X11

[-] phloatingman@monero.town 5 points 1 year ago

For gaming, sunshine server and moonlight client. Zerotier or tailscale to get around firewalls.

[-] testman@lemmy.ml 5 points 1 year ago* (last edited 1 year ago)

>Ctrl+F cockpit
>0 results
my dudes, I am dissapoint
https://cockpit-project.org/

but ok, yes, for actual remote desktop, VNC or RustDesk, despite RustDesk being some open-core implementation that holds the good stuff in the proprietary release. At least it was when I last checked it out.

[-] flashgnash@lemm.ee 3 points 1 year ago* (last edited 1 year ago)

I don't think OP is looking to remote into servers here, personally for servers ssh is great but for accessing my laptop from desktop/vice versa the terminal can be a bit awkward when there are applications with no cli behind them which is where a graphical remote desktop comes in handy

[-] detalferous@lemm.ee 5 points 1 year ago

X2go is a great option.

[-] sun_is_ra@sh.itjust.works 4 points 1 year ago

vnc works on windows on linux

[-] lurch@sh.itjust.works 4 points 1 year ago* (last edited 1 year ago)

The best way used to be XPRA. You can also tunnel it thru SSH, but not necessary in a trusted LAN. XPRA is like a per application display proxy that keeps an app running even if the connection is interrupted and enables reconnects as well as transfers of Xclient windows to other Xservers, i.e. you can transfer the remote window from your notebook to your workstation Xserver whithout having to restart the app.

[-] lemmyvore@feddit.nl 3 points 1 year ago

Install x2go on the client machine. You need X and SSH on the target machine. That's it, when you connect it will open a new desktop session on the server.

If you want to connect to an existing desktop session you need x2godesktopsharing installed on the target, you need to activate sharing in x2godesktopsharing, and in x2go client you need to select "session type" as "X2Go/X11 desktop sharing".

[-] maniel@beehaw.org 2 points 1 year ago

x forwarding is the way to go, i mean i remember i've run NetBeans IDE on linux, forwarded it via ssh to my windows netbook (netbook!!!, it was 2009?) to show my project to my professor at college, i remember i used Xming on Windows

[-] milkjug@lemmy.wildfyre.dev 2 points 1 year ago

I have had some success in the past with Rustdesk, which works alright amongst all the other options I’ve tried. However, one word of caution is to temper your expectations on the performance side of things. Visually, it is nowhere near a native experience regardless of software or protocols I’ve tried.

It’s unfortunate that Parsec still doesn’t support hosting on Linux. It is the best implementation of Remote Desktops I’ve used so far, and I tried almost all of them.

It’s first-class in every metric, except it doesn’t host Linux (only as clients), sadly.

[-] interceder270@lemmy.world 1 points 1 year ago

I would use Remmina VNC.

[-] kittenroar@beehaw.org 1 points 1 year ago* (last edited 1 year ago)

nomachine works well in my experience; it's pretty straightforward to set up. And it offers nice performance. It's free (as in beer), but it is proprietary software -- they make their $$ selling enterprise features on their website.

[-] Nisaea@lemmy.sdf.org 1 points 1 year ago

NoMachine is what you're looking for. Full login remote desktop multiplatform solution like rdp/xrdp, but wayyy smoother.

load more comments
view more: next ›
this post was submitted on 29 Nov 2023
102 points (94.7% liked)

Linux

48376 readers
1072 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS