I use the remote-X method and don't have performance issues. Here's my script:
$ more ~/bin/thunderbird.sh
Code:
#!/bin/bash
# FJ_OPTS="--dns=172.22.22.81 --rlimit-as=3500000000 --ignore=seccomp --ignore=protocol" # This doesn't work anymore
FJ_OPTS="--dns=172.22.22.81 --rlimit-as=4700000000 "
TB_OPTS="-no-remote "
# limit RAM VSS to 4.7G
PID=$(/usr/bin/ssh -X deneb /usr/bin/firejail $FJ_OPTS /usr/bin/thunderbird $TB_OPTS $@ & )
exit;
Deneb is a VM running Linux Mint. It runs thunderbird, Firefox, and a few other desktop apps that I don't like Ubuntu to run. When I'm traveling, it is the remote desktop I use via x2go - this leaves the data at home, not traveling with me.
The VM looks like this:
Code:
$ inxi
CPU: 2x 1-core AMD EPYC-Rome (-SMP-) speed: 4200 MHz
Kernel: 5.15.0-105-generic x86_64 Up: 11d 18h 3m
Mem: 5318.6/5873.9 MiB (90.5%) Storage: 76.16 GiB (27.6% used) Procs: 241
Shell: Bash inxi: 3.3.13
I suppose you could use a Linux Container, but allowing a GUI to work inside a container is a little more complex. Others here have done it. I don't use Wayland, so perhaps that's the issue? IDK.
Bookmarks