this post was submitted on 06 Nov 2023
18 points (100.0% liked)

Linux

5278 readers
708 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 1 year ago
MODERATORS
 

I have a few family members that I help support. For instance, I installed Linux Mint on my grandmother's PC. She doesn't know any different and my young cousin doesn't understand it so he finally stopped giving it viruses. I used to use TeamViewer to take over her PC when she needed support but I got my account banned because they believed I was using it commercially. Oh well!

I have Tailscale installed on the computers. This gives me SSH access. What would you suggest? RDP? Something else?

all 42 comments
sorted by: hot top controversial new old
[–] onlinepersona 9 points 1 year ago (1 children)

VNC over SSH and you should be set.

You can forward the VNC port with a local port forward e.g ssh -L $yourPort:localhost:$vncPort $grandmasMachine. Then open Remmina (or KRDC, or some other VNC client).

I do hope your grandma has good upload speeds though.

Bless you for spreading the word of the penguin and being the support of your family. Props to you.

[–] lambda 4 points 1 year ago* (last edited 1 year ago)

Thanks for the info and link.

I don't need any props. I'm not spreading any word. It's for selfish reasons. My grandparents only use the web browser, so they don't know/care what an OS is. The reason I did it in the first place (they've been running Linux Mint for almost 10 years now) was my cousin kept trying to install Minecraft Mods and giving them viruses. XD

[–] [email protected] 5 points 1 year ago (2 children)

I believe that Linux Mint supports RDP, built in. You just enable it in the System Settings. Is that not workable?

[–] [email protected] 4 points 1 year ago (2 children)

In my experience, RDP locks the screen for anyone at the physical machine. It sounds like OP is wanting a simultaneous screen sharing.

[–] [email protected] 3 points 1 year ago (1 children)

That's odd. It does not lock the local user out on Ubuntu, and allows simultaneous use.

[–] [email protected] 1 points 1 year ago

Sounds like a good option then!

[–] thejodie 1 points 1 year ago* (last edited 1 year ago) (1 children)

I think that screen lock is really only the case in Windows. Most linux vnc and rdp servers either run their own completely separate X session or share the console session.

[–] [email protected] 1 points 1 year ago (1 children)

True enough for VNC but we’re specifically talking about RDP, which is supported by Linux Mint.

[–] thejodie 1 points 1 year ago (1 children)

That's on me for typing vnc when I meant rdp, but nevertheless it's true for both.

[–] [email protected] 0 points 1 year ago

I see. GP said the same. Thanks for sharing!

[–] lambda 3 points 1 year ago (1 children)

I hadn't tried it yet. I was just asking to get a census of what's popular before I dug in too deep.

[–] [email protected] 2 points 1 year ago

Gotcha. As usual with Linux, there are lots of ways to crack the nut. I would be inclined to go with the built-in option, in this case. Less likely to break.

[–] [email protected] 4 points 1 year ago (2 children)

Check out rustdesk, would that suit?

[–] lambda 2 points 1 year ago

I'll look more into it. Multiple have suggested it now

[–] lambda 1 points 1 year ago (2 children)

The thing about rustdesk is I don't see how I could run it unless I am at the computer. Ideally, I'd like to be able to take control without having to walk through like, "look for an app called "rust desk". Is there a way to open a desktop application through SSH so that it opens on their open desktop?

[–] [email protected] 2 points 1 year ago

I've not run it on that platform, I would imagine they have similar capabilities in the Linux version.

It runs in portable mode by default, as you suggest this means it needs to be run each time.

So for unattended windows machine I installed it as a service and activated a permanent password for it. Problem solved!

[–] stewie410 2 points 1 year ago

Alternatively, you could set rustdesk to run on startup/login, so neither you nor the user needs to manually start it.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

I think VNC protocol over your tailscale tailnet would work well. It shares the screen without locking out the in-person user.

You could also try Steam remote play, it shares the desktop like what you’re asking, but would require a bit if setup (custom “game” added which would expose the entire desktop for e.g.), and wouldn’t be useful without someone relaunching it after a reboot, so wouldn’t be very useful for remote management without grandma available at the machine.

I would stay away from X11 over SSH because X11is deprecated in favor of Wayland and will stop working as you upgrade the OS (if it even works now).

RustDesk looks promising but it sounds like it may lock the screen for the in-person user, but I’ve never used it so can’t say for sure.

[–] lambda 1 points 1 year ago

Insightful thanks!

[–] [email protected] 3 points 1 year ago (1 children)

Perhaps rustdesk. It works as a server /client model, and you can self host the server. Works quite well.

[–] lambda 1 points 1 year ago* (last edited 1 year ago) (1 children)

Do you run it personally? How lightweight is the server?

[–] [email protected] 2 points 1 year ago (1 children)

I do, and I've used it for a customer.

Server is a VPS running several other services and it doesn't load them much at all. I think the server provides the handshake, and the rest is done on the two clients.

[–] lambda 1 points 1 year ago (1 children)

Can you take over the remote without them having to supply a code?

[–] [email protected] 1 points 1 year ago (1 children)

I believe you can set it up to auto accept. I'm pretty sure I did that as it was my intention to use it to bring my desktop to my android tablet (which also works well btw).

Ping me tomorrow and I'll double check for you.

[–] lambda 1 points 1 year ago (1 children)

That sounds pretty good. Let me know 🙂

[–] [email protected] 1 points 1 year ago

Yes. You can set a permanent password. So long as the machine is on, rustdesk is running, and you have the password, you'll get in.

[–] [email protected] 3 points 1 year ago

If you really want a GUI, TightVNC over an ssh tunnel.

[–] [email protected] 2 points 1 year ago (1 children)

ssh is what I would use. You can setup X forwarding if your not that comfortable in the terminal.

[–] lambda 2 points 1 year ago (1 children)

Well, I want to be able to see the screen so that I can talk my grandma through stuff. I have fixed things through SSH and run updates that way too.

[–] [email protected] 0 points 1 year ago (3 children)

X forwarding should let you use GUI apps from the remote computer. Its not quite a full remote desktop experience though. You can see how to set up and use x forwarding on YouTube.

[–] lambda 2 points 1 year ago

Great, I'll check it out!

[–] [email protected] 2 points 1 year ago (1 children)

I’ve used X11 over SSH before and it works great for some use cases, however it does not work with Wayland, so if their system supports it now, there’s no guarantee it will work after a major system update.

[–] [email protected] 1 points 1 year ago (1 children)

I was curious about that as I haven't tried Wayland yet and its been a while since I've had any reason for an x session via ssh. Glad someone with first hand knowledge could chime in for OP and others as well as myself.

[–] [email protected] 2 points 1 year ago (1 children)

I have heard they are either working on a similar thing for Wayland or already solved it.

This looks promising, but I have not used it before.

waypipe is a proxy for Wayland[0] clients. It forwards Wayland messages and serializes changes to shared memory buffers over a single socket. This makes application forwarding similar to ssh -X [1] feasible.

[0] https://wayland.freedesktop.org/ [1] https://wiki.archlinux.org/title/OpenSSH#X11_forwarding

[–] [email protected] 1 points 1 year ago (1 children)

How quickly things progress. I'm stuck using X due to nvidia. All will get sorted in time. Thanks for the info!

[–] [email protected] 2 points 1 year ago

Yep that’s why I use KDE. It has nVidia support for Wayland.

[–] [email protected] 2 points 1 year ago (1 children)

X forwarding still won't show Grandma's point of view to work through the problem in front of her. It's not a remote desktop experience at all.

[–] [email protected] 0 points 1 year ago

Sorry it doesn't work for you. There are other options in this thread to try. Best of luck.

[–] moonpiedumplings 2 points 1 year ago (1 children)

I use meshcentral to manage a few (like 6) computers and do remote assistance. Best solution for your usecase imo.

[–] lambda 2 points 1 year ago

I looked at the documentation for that. It looks like exactly what I want. I'm between that and Rust Desk..

[–] [email protected] 1 points 1 year ago

I also had my TeamViewer account flagged as commercial. I just appealed and they reinstated with no issues. You could try that.