Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

I just run a full remote mate based Ubuntu desktop that I connect to via chrome remote desktop or x2go. I made a quick script that I run inside a vps instance or container to build it:

https://github.com/kstenerud/ubuntu-dev-installer/blob/maste...



sort by: page size:

I've built something vaguely similar to give me a virtual desktop that I can access from anywhere over Chrome Remote Desktop: https://github.com/kstenerud/ubuntu-dev-installer/blob/maste...

It installs mate or lubuntu desktop inside an LXC container, allows access via x2go, and pre-downloads chrome remote desktop, which can be configured in less than a minute (run chrome, log in, open remote desktop, enable connections).

It was spawned out of my virtual builders (https://github.com/kstenerud/virtual-builders) project, to allow me to get my Ubuntu development environment installed, configured, and running, from a fresh install even, on any LXD capable machine, in short order.

Even if my dev box dies completely, I can be back up and running on another machine or hard drive within an hour. I can set up as many of these desktops as my machine has CPU and RAM.


There isn't any such complete system, but you can set up a virtual desktop on a VPS that you connect to over x2go or chrome remote desktop. I run a bunch of local and remote desktops this way, inside containers or VMs, based off a common setup script [1]. I mount my homedir to something external (mounted LXD volumes, docker mounts, iscsi, whatever) so that I can blast away the container/VM and rebuild it without destroying my homedir.

[1] https://github.com/kstenerud/ubuntu-dev-installer/blob/maste...


Yes, I forgot about Chrome Remote Desktop - I'll take a look. Thanks

Chrome Remote Desktop.

Chrome Remote Desktop.

I also experimented a lot with remote desktop solutions.

# For client, I use:

- Remmina - https://remmina.org/

- Apache Guacamole (HTML5, browser based) - https://guacamole.apache.org/

# For server on Linux I use:

- X11: xrdp - for a KDE guide, see https://pilabor.com/blog/2021/05/remote-desktop-with-xrdp-an...

- Wayland / GNOME: Already integrated (alpha state, some caveats) - for a guide, see https://gitlab.gnome.org/-/snippets/1778 (read the comments first, there is some good additional info and I think someone has crafted a script)

# Further notes:

- RDP Server on Linux is very fiddly to get working reliable, while on X11 systems I found xrdp pretty straight forward - this link was pretty helpful: http://c-nergy.be/blog/?cat=79

- On modern GNOME systems the RDP server is already integrated, but there is a lot of missing stuff and I did not find a solution for a working RDP after reboot

- Remmina as RDP client is good, but it takes some fiddling, if you are using HiDPI

- Guacamole is not as good, but I use it as backup, which works in the browser


yeah, Chrome Remote Desktop is a wonderful piece of engineering. Pretty much just works and was trivial to install. Needed it to remote into a physical machine that sometimes would have no internet, so I'd use an old MacBook Pro running Chrome Remote Desktop to "kick off" the VM before figuring out a better way to accomplish this entire process altogether. I am fairly surprised that they haven't made it a paid feature of G Workspaces or whatever its called now lol

FTA:

sudo /etc/init.d/chrome-remote-desktop stop sudo /etc/init.d/chrome-remote-desktop start

You have to install chrome remote desktop on linux and start the service on the machine before you can connect to it elsewhere. I don't see how this is any different than any other remote desktop other than the client is built into chrome now.


X2Go [1] and NoMachine (proprietary) [2] are the best bets for somewhat decent remote desktop experience in Linux.

[1] http://wiki.x2go.org/doku.php

[2] https://www.nomachine.com/


Another trick to do that is to use the VPS's rescue mode, download qemu, and start it with the remote desktop / VNC console. Then, do the install from there. Poor man's IPMI.

If you're using Chrome, I've had good luck with Chrome Remote Desktop.

My guess is that this project is very poorly advertised...

A couple of months ago I was playing with remote desktops and did not find this marvel.

I ended up playing with X2Go, which is nice BTW.

I am wondering... Assuming I have a Linux remote desktop, can I disconnect and reconnect after a while BUT leave all of my applications running? I mean, without logging out.


I'd be a big fan if that worked, but I haven't found an open remote desktop solution on Linux that works out of the box and acceptably fast¹, to the point that I have to use proprietary software to perform remote desktop sessions - there is a huge gap between the open solutions and the proprietary ones².

¹=they're all either incredibly slow, or clunky to configure/use. interestingly, X2Go, which I think was working out of the box, but was too slow, is based on an old version of the Nomachine (NX) protocol.

²=the recent RustDesk tries to fill that gap.


Chrome Remote Desktop, if you use chrome.

In case of Linux, the best results so far I had with X2Go using the virtual desktop mode.

More about it here: https://cepa.io/2018/08/05/building-an-ultimate-remote-linux...

For Win & Lin, NoMachine works reasonably okeyish if your link is fast enough to stream in high quality.


Chrome remote desktop

Have you tried 'Chrome remote desktop'?

I've used Chrome remote desktop for a while: https://chrome.google.com/webstore/detail/chrome-remote-desk...

Wow, I didn't know about this. I often need remote desktop and its been a real pain in the past to get it running and to get it running well.
next

Legal | privacy