X redirect over ssh [solved]

Hi folks.

Curious if anyone has configured a raspberry pi 3 running OSMC to allow X redirect over ssh?

My hope is to control audacity from another pc to do some recordings ujsing a USB DAC interface …

I’ve checked that /etc/ssh/sshd_config has “ForwardX11 yes”, yet I receive error “Unable to initialize GTK+, is DISPLAY set properly?” when connecting via ssh -X and trying to run audacity.

So, how to configure DISPLAY properly?

google is your friend, this is a simple and general answer since i dont know your setup:

To get X11 forwarding working over ssh, you’ll need 3 things in place.

Your client must be set up to forward X11.
Your server must be set up to allow X11 forwarding.
Your server must be able to set up X11 authentication.

If you have both #1 and #2 in place but are missing #3, then you’ll end up with an empty DISPLAY environment variable.

Ahah, found the solution – needed to install xauth. All set now! :slight_smile:

Joakim – it was the third item, X11 authentication that isn’t part of OSMC default install.