this post was submitted on 11 Feb 2024
84 points (91.2% liked)

Linux

48216 readers
710 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
 

Whenever I try to remote into my Linux machines I get an image that looks like attached the. Remotings into Windows works fine. Do u have to use another application? What do y'all recommend?

all 50 comments
sorted by: hot top controversial new old
[–] pixxelkick@lemmy.world 24 points 9 months ago (3 children)

So far any use case I've solved with just SSH.

What specifically do you need to rdp in for?

[–] NateNate60@lemmy.world 29 points 9 months ago (2 children)

The remote access game is just completely different in Windows versus Linux. Windows has excellent graphical remote control options (RDP, Quick Access) and Linux has a hodgepodge of options that all only half work. Linux has excellent remote terminal capabilities (SSH), whereas remote Windows terminals are a joke. Both of these facts are very fitting, because the Linux terminal is powerful, while on Windows you need the GUI to do anything.

[–] funkajunk@lemm.ee 11 points 9 months ago (1 children)

I just install openssh on my Windows machines and then I can use RDP or SSH for whatever I need.

[–] Nyfure@kbin.social 9 points 9 months ago (3 children)

The question then is, how much can you actually do in the shell.
Good luck setting up many programs that way when they soley rely on the GUI and documentation about configs or their database structure is nonexistant.

[–] funkajunk@lemm.ee 4 points 9 months ago

I'm a sysadmin and do most everything in Powershell, there's very few things that I need a GUI for.

If it's something not documented, I usually run the program on a test bench while using procmon, that will show me which registry key or config file needs to be modified, which can then be done from the command line.

[–] pixxelkick@lemmy.world 4 points 9 months ago

What CLI tools do you find have install problems on Powershell?

Everything I've used can be installed "headless", often using winget now.

But powershell just sucks and windows file system is cumbersome, so limux is still better.

[–] anamethatisnt@lemmy.world 1 points 9 months ago* (last edited 9 months ago) (1 children)

I find many programs meant for servers and businesses have no problem being CLI installed, though the install is most often installed silently through intune or group policy when that's the case.

[–] phx@lemmy.ca 1 points 9 months ago

Yeah MS has actually gotten a lot better with what can be done headless and even just remote PowerShell commands can do a lot these days.

Heck, you can install PowerShell on Linux to manage windows boxen if you're so inclined

[–] UnityDevice@startrek.website 2 points 9 months ago

Xfreerdp and gnome work really well together for me. Extremely reliable and very quick. My only complaint is lack of multi monitor support.

[–] phx@lemmy.ca 4 points 9 months ago (1 children)

Not the OP, but I'll add my 2c

I've got various components on my server that do have CLI counterparts, but functionality is limited or annoying at best.

For example, managing stuff under KVM can be done with "virsh", editing a bunch of XML, and configuring SSH from the master to every underlying system... Or I could just RDP/X11-forward from my other device and do it in a couple clicks.

That said, SSH (or a VPN) is still partly the answer as I don't like exposing RDP/VNC services to the internet, but XRDP or x11vnc etc with port forwarding through SSH work nicely.

If one is connecting from Android then ConnectBot supports port forwarding and can also be used with an X server application (i.e X11 XSDL) if you wanted to just go with just SSH+X-Forwarding

[–] possiblylinux127@lemmy.zip 1 points 9 months ago (1 children)

You can use virtual manager to do remote access over ssh.

[–] phx@lemmy.ca 1 points 9 months ago (1 children)

Yeah I'm using it with X-Forwarding currently for that but I have found that RDP/VNC are a bit more responsive for some stuff.

That and there's one Debian host I've got which periodically crashes back to lightdm when accessed via virt-manager, but works fine via xRDP.

[–] possiblylinux127@lemmy.zip 1 points 9 months ago (1 children)

That's not what I meant. The virtual manager application on your device can connect to a remote instance of libvirtd over ssh. The effect is you get a local desktop app that can manage remote virtualization.

[–] phx@lemmy.ca 1 points 9 months ago (1 children)

So virt-manager binary run locally but connecting to the remote host. I've done that before on Linux but haven't seen a binary/client available for other OS's

[–] possiblylinux127@lemmy.zip 1 points 9 months ago* (last edited 9 months ago) (1 children)

Oh, I just assumed you were on Linux

[–] phx@lemmy.ca 1 points 9 months ago

Linux Desktop, Android Phone, sometimes Windows if I'm hitting something from work etc

[–] Pantherina@feddit.de 1 points 9 months ago (1 children)

ssh only works for X11, not for Wayland

[–] isVeryLoud@lemmy.ca 2 points 9 months ago* (last edited 9 months ago) (1 children)

Works for Wayland as well, it's just a bit different with Waypipe.

[–] Pantherina@feddit.de 2 points 9 months ago

Cooool! Have to try.

KASM VNC supports Wayland only for single window apps. But that is fancy fast VNC, not SSH.

[–] MiserableConstruct@beehaw.org 14 points 9 months ago (2 children)
[–] scorpiosrevenge@lemmy.ml 6 points 9 months ago (2 children)

+1 for rustdesk same here, also great for cross platform including mobile

[–] I_Miss_Daniel@kbin.social 3 points 9 months ago

Yep. It's nice to know you're in control of it. Not like bloody AnyDesk which decided one day out of the blue to remove the TCP Tunneling feature I was using.

[–] d3Xt3r@lemmy.nz 1 points 9 months ago

How good is its Wayland support these days?

[–] biscuitswalrus@aussie.zone 2 points 9 months ago

I self host rustdesk privately via tailscale and strongly recommend it. I don't always need a desktop but when I do, I'm glad I can use rustdesk.

[–] mub@lemmy.ml 13 points 9 months ago

I'll add a requirement. That supports remotes running Wayland.

[–] sovietknuckles@hexbear.net 12 points 9 months ago
[–] possiblylinux127@lemmy.zip 12 points 9 months ago (1 children)

Honestly don't use RDP to access Linux unless its built into the desktop. I personally use Rustdesk and Moonlight/sunshine

[–] ikidd@lemmy.world 1 points 9 months ago (1 children)

AFAIK, Rustdesk is only for X11, so there's that limitation which is getting more relevant as time goes on.

[–] possiblylinux127@lemmy.zip 2 points 9 months ago

True but wayland support is experimental but semi usable

[–] kelvie@lemmy.ca 7 points 9 months ago (1 children)

I use sunshine and moonlight. It's designed for games but works far better because of it, as in if it's good enough for games, the latency will be far better than other RDP protocols.

It doesn't do clipboard sharing though.

[–] possiblylinux127@lemmy.zip 0 points 9 months ago

Moonlight isn't RDP

[–] infeeeee@lemm.ee 7 points 9 months ago (1 children)

I use "aRDP free". I had to enable the advanced option "RDP Gfx", and set the resolution manually in the app to the resolution of my monitor, and everything works. Pc is wayland, gnome, arch.

[–] Blxter@lemmy.zip 3 points 9 months ago

Cheers thanks this works like a charm.

[–] nightwatch_admin@feddit.nl 7 points 9 months ago (2 children)
[–] bizdelnick@lemmy.ml 6 points 9 months ago (1 children)

Is it still alive? X2go is its FOSS alternative (fork).

[–] nightwatch_admin@feddit.nl 2 points 9 months ago
[–] Tippon@lemmy.dbzer0.com 1 points 9 months ago (1 children)

Yep, this is what I use too. The display quality can drop if you've got a slow connection, but it works well.

The downsides are, I don't think it's FOSS, but it is free for home use, and if a machine has been off for long enough to drop off the connection list, you have to wait for NoMachine to detect it again. It needs a way to force it to check for systems instead of waiting.

[–] nightwatch_admin@feddit.nl 4 points 9 months ago* (last edited 9 months ago) (1 children)

It is indeed not FOSS. I should have asked OP how important that is - some people need a robust, ready-to-roll solution, preferably non-Microsoft, others a full FOSS license and figure stuff out on their own. Someone else mentioned X2Go, I have no experience with it but it is worth a look.

[–] Blxter@lemmy.zip 2 points 9 months ago

Will give both a look thanks

[–] anamethatisnt@lemmy.world 6 points 9 months ago* (last edited 9 months ago) (2 children)

GUI:
kvm/qemu hypervisor (Debian Bookworm with GNOME in my case) with a real GPU - Sunshine server (https://github.com/LizardByte/Sunshine ) and Moonlight client (https://github.com/moonlight-stream/moonlight-qt ), requires a powered on monitor or a hdmi dummy plug though.
VM Server - Libvirt virt-manager from the kvm/qemu hypervisor.

Terminal:
I know I can just SSH but I usually use Cockpit (cockpit-project.org) for all my administrative/maintenance.

[–] Blxter@lemmy.zip 4 points 9 months ago (1 children)

I will give moonlight/sunshine another go I tried to get it working for another Linux laptop just to try but couldn't get drivers or something to work.

[–] anamethatisnt@lemmy.world 1 points 9 months ago

The logs from Sunshine (found here https://localhost:47990/troubleshooting) and Cockpit (found here: http://localhost:9090/system/logs) are a godsend for troubleshooting. Cockpit for more than just Sunshine, having all logs collected and filterable in a webui is splendid.

[–] squid_slime@lemmy.world 3 points 9 months ago

I use sunshine and moon light too, great set of applications!

[–] maxmalrichtig@discuss.tchncs.de 6 points 9 months ago
[–] crispy_kilt@feddit.de 0 points 9 months ago (1 children)
[–] possiblylinux127@lemmy.zip 2 points 9 months ago

Honestly yes