I have two computers running Kubuntu 18.04.
From the client, I connect to the server with ssh, all is going well:
ssh -X $SERVER_IP 'export $(dbus-launch); plasmashell'
I'm able to interact with the desktop as if I was on the server.
But the problem is that I have two plasma shell at the same time, the client's and the server's.
So I tried to create an
.desktop file to launch
ssh instead of
kde on the client.
I'm able to launch a graphical program (like
xterm) in which I launch
ssh but in that case, I have no window manager, so I can't close the windows I open.
So my question is:
How to construct a
/usr/share/xsession/remote.desktop file that would be able to:
- launch the kde WM:
- launch a SSH session:
/usr/bin/ssh -X .....
Note: I perform all my test on virtualbox computers.