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

Selfhosted

39251 readers
247 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.

you are viewing a single comment's thread
view the rest of the comments
[–] 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@lemmy.nz 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.