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

Linux

81 readers
17 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu 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?

top 30 comments
sorted by: hot top controversial new old
[–] onlinepersona@programming.dev 8 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@programming.dev 3 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

[–] SwingingTheLamp@midwest.social 4 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?

[–] notfromhere@lemmy.one 3 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.

[–] SwingingTheLamp@midwest.social 2 points 1 year ago (1 children)

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

[–] notfromhere@lemmy.one 1 points 1 year ago

Sounds like a good option then!

[–] thejodie@programming.dev 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.

[–] notfromhere@lemmy.one 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@programming.dev 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.

[–] notfromhere@lemmy.one 1 points 1 year ago

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

[–] lambda@programming.dev 2 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.

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.

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

Check out rustdesk, would that suit?

[–] lambda@programming.dev 2 points 1 year ago

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

[–] lambda@programming.dev 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?

[–] stewie410@programming.dev 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.

[–] essellburns 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!

[–] disheveledWallaby@lemmy.ml 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@programming.dev 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.

[–] disheveledWallaby@lemmy.ml 1 points 1 year ago (2 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@programming.dev 2 points 1 year ago

Great, I'll check it out!

[–] notfromhere@lemmy.one 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.

[–] disheveledWallaby@lemmy.ml 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.

[–] notfromhere@lemmy.one 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

[–] disheveledWallaby@lemmy.ml 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!

[–] notfromhere@lemmy.one 2 points 1 year ago

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

[–] notfromhere@lemmy.one 2 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@programming.dev 1 points 1 year ago

Insightful thanks!

[–] moonpiedumplings@programming.dev 1 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@programming.dev 1 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..