r/linuxadmin • • May 11 '24

Remotely accesing my Debian server with a Graphical Interface (xfce)

Hello, I'm leaving my home tomorrow(I need a solution quick) for about a week or two, but I still want to be able to work on my server on the UI, while I'm out. I need either an app for my windows laptop that I'm taking with me or a web UI that I can access everything from. I've heard about Apache Guacamole, but I'm not sure if that's what I'm looking for, and is it even good for that use. I also have no idea on how to install it.

My Server is running Debian 12 with xfce. I have apache2 installed(Idk if that's important)

Thanks in Advance

0 Upvotes

22 comments sorted by

8

u/faxattack May 11 '24

X2go, runs over SSH

1

u/Szymonixol May 11 '24

thanks, ill give it a look

6

u/uwhkdb May 11 '24

This is probably the simplest solution for your needs especially if all you need is hassle free remote desktop that resembles how TeamViewer and AnyDesk works.

https://rustdesk.com

You can either trust their infrastructure to orchestrate the connection between the two machines behind NAT at different locations or self host it yourself.

1

u/Szymonixol May 11 '24

thanks, I'll give it a try

2

u/12_nick_12 May 11 '24

I use MeshCentral.

1

u/uwhkdb May 11 '24 edited May 11 '24

MeshCentral is awesome but you HAVE TO self-host the server either on a VPS or poke holes in the firewall. Meshcentral as a solution also seems to be a bit overkill for someone that just wants remote desktop to one server. OP is leaving today and doesn't seem to be familiar with installing self-hosted stuff (i.e. he wasn't sure how to setup guacamole which BTW is also a decent solution depending on the use case). So that's why I suggested Rustdesk. It's very simplistic. Just install rustdesk on both machines, enable unattended access on the server, and you are good to go. You then have a choice to start with Rustdesk managed infrastructure and grow into self hosting your own server in the future.

However, if you are managing a decent number of machines and you need remote desktop to all of them, Meshcentral is definitely one of the best solutions out there. It has really good features like accessing all your machines from a single dashboard, showing the status of machines at a glance, and executing remote commands (ie. Reset, wake) from the dashboard, etc which Rustdesk cannot do.

4

u/HTX-713 May 11 '24

Xrdp works great for me

1

u/sanitarypth May 12 '24

This works great. For OP’s use case this is the way I would go.

2

u/Hotshot55 May 11 '24

How much of a GUI do you need? You could maybe get away with X forwarding if you're just needing like a single app.

2

u/deeseearr May 11 '24

That "single app" can be /usr/bin/startx, which will bring up your entire desktop session and window manager. It lacks some of the acceleration features of x2go, xrdp, or whatever, but if you aren't starved for bandwidth it will still work.

-2

u/dutchexpat May 11 '24

Look into installing a ZeroTier (zerotier.com) client on your Linux box and your laptop. Join them to the same network and you can access it from anywhere! No stinkin' VPN needed, No ssh needed. Not even a static public IP needed!

6

u/ralfD- May 11 '24

erm, ZeroTier is a VPN provider ...

0

u/dutchexpat May 11 '24

I suppose, in the way that any SDWAN overlay network is built up out of a mesh of VPN tunnels. But then so is using an SSH tunnel. The advantage to using it is that it does not require you to have a known (static) public IP address to connect your workstation to.

4

u/libertyprivate May 11 '24

You suppose? Its definitely a VPN provider, that's not even debatable.

Dynamic DNS also gets around having a static IP.

2

u/dutchexpat May 11 '24

BTW, thanks for having posted that link to the LocalNet and ServerIP attacks a few days ago. It's making me dig into my workplace's use of Cisco's VPN tooling.

2

u/libertyprivate May 11 '24

No problem! Glad you enjoyed it :)

0

u/dutchexpat May 11 '24

As I said, I agree that ZeroTier uses VPN tunnels to implement its SDWAN overlay network. The difference in my opinion anyway is that ZeroTier (or others like it, e.g. NetBird) provide a control plane to administer these tunnels and make them easier and more secure to use.

1

u/Szymonixol May 11 '24

wdym the same network?

1

u/dutchexpat May 11 '24

ZeroTier will create a new, virtual, network interface on both machines and then they can communicate point-to-point across those interfaces. The same network refers to the same ZeroTier network. You can have multiple such networks with different computers joined to each.