this post was submitted on 30 Aug 2023
29 points (93.9% liked)

Selfhosted

40313 readers
227 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hi everyone

I've got a capable Ubuntu server hosting Docker, using Portainer to manage many stacks and containers. I'm about to add a couple machines to a swarm for a little fault-tolerance.

Before this, Docker was Windows hosted which gave me a useful addition; a handy remote desktop for those times when I wanted to do something remotely using a GUI at home.

https://hub.docker.com/r/linuxserver/rdesktop seems to work OK but I wondered if the community here have any suggested alternatives. Instead of running within Docker, has anyone simply installed a GUI on the Ubuntu host?

Thanks in advance for your input.

top 16 comments
sorted by: hot top controversial new old
[–] SheeEttin@lemmy.world 14 points 1 year ago (1 children)

A GUI desktop for what? I've never installed a Linux server with a GUI.

But you can certainly do it. I'm sure there's a metapackage or something that will pull in all the requirements.

[–] Sim 1 points 1 year ago

This is not to manage or work on the server, I use terminal and web-based UIs for all of that.

This to host a desktop I can use remotely. Sometimes using my local desktop isn't what I want to do; I might be running a lower power machine, or want to do something I can't on the machine I'm actually using. Or I might want to use a remote Linux desktop from a Windows machine. Sometimes the other way around.

[–] PuppyOSAndCoffee@lemmy.ml 9 points 1 year ago (2 children)

if you just want a desktop, kasm is def on the swankier side

remember you can always use x-windows on a local computer to run things directly on a remote box.

[–] lemann@lemmy.one 5 points 1 year ago

I'm worried about if/how Wayland is going to affect X11 forwarding TBH... It's a really useful linux feature that i'm susprised gets very little use

[–] Sim 2 points 1 year ago

kasm looks good, thanks - it's definitely in the area; desktop as a service. I want something I can suspect and go back to, not sure if I can do that on kasm or not but a good tip, I'll check it out.

[–] psmt@lemmy.pcft.eu 5 points 1 year ago (1 children)

More server oriented than a classical desktop: https://cockpit-project.org/

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

Very useful, reminds me of another browser based Linux manager I forget the name of. Not specifically what I'm trying to achieve but very handy to know, I'll try it. Thanks.

[–] Maruki_Hurakami@lemm.ee 5 points 1 year ago (1 children)
[–] Sim 1 points 1 year ago

Yes, that's it!

[–] constantokra@lemmy.one 1 points 1 year ago (1 children)

What are you trying to do? Don't take this the wrong way, but I can't imagine anything i'd do on a server where i'd want a GUI.

Even where I could imagine it, there are other options. If you want a graphical file manager, run one in docker or use sshfs to mount it whenever you want. Change config files? Vim. Or nano or whatever if you hate vim. Or spin up a full coding environment whenever you need it and mount in your config files. Just don't leave it running and don't expose it. If you just need a linux desktop for a while, and it's not actually for your server, install a linuxserver.io webtop.

What are you trying to do?

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

I want my server to host a desktop that I can use remotely. Not for managing the server itself; like you describe, I use common tools for managing it.

I just need a desktop for a while - sometimes I want to work on a machine that's not the one I'm physically using. At the moment I simply have an old desktop running Windows; I VPN to home and RDP to to the machine which works very well, but it seems a waste to have a machine running for this purpose only. I could add the machine to the swarm if I could host a desktop in Docker but that's not really the intent of Docker and doesn't yield great results.

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

In that case, use linuxserver's webtop container. I use one for exactly that. Runs in a browser. I mounted the home directory to a folder so it keeps any files and settings I have, but I haven't mounted anything else to a volume, so whenever I restart the container it's fresh. Makes it really easy to try out software or configurations.

[–] mypasswordis1234@lemmy.world 4 points 1 year ago (1 children)

Check out this: https://github.com/linuxserver/docker-webtop You can stream the GUI directly to your web browser! This is so sick 😅

[–] Sim 1 points 1 year ago

RDP is fine but a brower stream is just as good if the performance works out, I'll give it a look, thanks.

[–] uninvitedguest@lemmy.ca 2 points 1 year ago (1 children)

Orb is a project I've been meaning to check out. It may meet your needs.

https://gitlab.com/hsleisink/orb

It's not yet in Docker, however. See the top comments from a couple months back: https://www.reddit.com/r/selfhosted/comments/146og6f/orb_v021_has_been_released/

[–] Sim 1 points 1 year ago

Cool project, thanks!