On 09/01/2016 05:20 PM, Vincent Lefevre wrote: > On 2016-09-01 16:44:40 +0200, Christian Seiler wrote: >> On 09/01/2016 04:24 PM, Vincent Lefevre wrote: >>> When I connect to some machine with ssh and X11 forwarding (e.g. >>> "ssh -X hostname"), CSD are not disabled. The cause is that >>> $LD_PRELOAD is not defined (does not contain libgtk3-nocsd.so.0). >>> >>> I don't think that gtk3-nocsd can make this work automatically, >> >> No, because we don't know if gtk3-nocsd is installed on a remote >> system. > > I meant when it was installed on the remote system. But there > aren't system-wide startup scripts for ssh (/etc/ssh/sshrc > doesn't count), like there are for X login (the equivalent of > /etc/X11/Xsession.d). This is what I was thinking of.
But even if there were: you can't know for sure what DE the user is using on the other side - in contrast to local sessions, where you do know that information, and don't have to guess. There's a good reason why I make sure in the integration logic that nothing happens under GNOME. ;-) Regards, Christian