[xubuntu-users] 22.04 - allowing remote X11 access to my display?

Peter Flynn peter at silmaril.ie
Wed Feb 1 11:34:34 UTC 2023


On 31/01/2023 21:45, Larry McVoy wrote:
> I'm sorry people, I spent the day googling and I can't figure out how to
> do this.  I recently upgraded from 16.04, where I had it working, but for
> the life of me I can't figure it out how.
> 
> Things I've tried:
> 
> I found some config settings and added them to
> /etc/lightdm/lightdm-gtk-greeter.conf
> and that didn't work.
> 
> Tried creating /etc/lightdm/lightdm.conf with those configs and that
> hung my display.
> 
> Even tried replacing X with a shell script that pruned the -nolisten tcp,
> that worked but there was no listening tcp socket.
> 
> Help a boomer out, please!

Do you have the packages openssh-client and openssh-server installed?

For me, after installing those, it "just worked", and I can use
ssh -X user at host
(or -Y, depending on your network) and fire up X applications on <host> 
for display on my own system, and vice versa.

Be aware that some applications mess with this: trying to start Firefox 
on the remote host and assuming it will execute it there and display on 
your screen doesn't work — instead it's your *local* FF binary that 
executes. I don't know why it does this. FF has an option to force 
remote execution (but I can't remember what it is, it's so long since I 
ditched FF).

Peter


More information about the xubuntu-users mailing list