From c19c321670b70cddc25162c1b5158c95a44d79a0 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Fri, 20 Mar 2020 02:00:45 -0600 Subject: write blog post for mobaxterm --- _posts/2020-03-20-mobaxterm-desktop-session.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 _posts/2020-03-20-mobaxterm-desktop-session.md (limited to '_posts') diff --git a/_posts/2020-03-20-mobaxterm-desktop-session.md b/_posts/2020-03-20-mobaxterm-desktop-session.md new file mode 100644 index 0000000..ae12a98 --- /dev/null +++ b/_posts/2020-03-20-mobaxterm-desktop-session.md @@ -0,0 +1,15 @@ +--- +layout: default +title: "Lifehack: Running An Entire Desktop Session Remotely With MobaXterm" +--- +Since my university has gone as remote as possible due to coronavirus, I was looking at ways to run an entire desktop session remotely over SSH, using MobaXterm because it is very cool. +Here are the two steps to doing that. + +1. Open your MobaXterm settings, go to the X11 tab, and make sure that the server display mode is set to windowed mode. +If you run individual programs over X11 forwarding, this is worse, but for an entire desktop session it is better. +2. Duplicate your regular command line session that already works, and under the "Advanced SSH settings" tab, set "Execute command" to `env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu`. +(If you're not running the same setup I am, look around in `/usr/share/xsessions/`, pick something that looks reasonable, and use everything after `Exec=` on the line with that.) + +At this point, you should be set. +You'll need to hit the "log out" button to smoothly exit the connection. +For me, this is extraordinarily slow, but that could easily be just because the machines I'm connecting to are being used a lot. -- cgit v1.2.3