[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X client from Wayland to X11 through ssh



On Fri, 4 Apr 2025 17:00:09 -0400
Eben King <eben@gmx.us> wrote:

> > to run synaptic you would need to do this on the computer itself,
> > not remotely unless you are using a remote X or Wayland client like
> > VNC.  
> 
> So ssh is right out?  That sucketh much.  It's not all X clients that
> don't work, so what's the determinant for not working?  Those that use
> root?  GTK?

Not necessarily. I routinely ssh into all my computers, to their root
and user accounts, and then use GUI programs which display properly on
the machine from which I SSHed in. The trick is in setting up your
target computer's ~/.ssh/config correctly. E.g:

host dragon
        Protocol 2
        ForwardX11 yes
        ForwardX11Trusted yes

and similarly for the target's /root/.ssh/config.

This may also involve setting up the target's /etc/ssh/sshd_config
correctly; I don't remember.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


Reply to: