Skip to main content
Improve formatting
Source Link
AdminBee
  • 23.6k
  • 25
  • 56
  • 77

Can you confirm that the $XAUTHORITY$XAUTHORITY environment variable is correctly set on the server to point to the current X session's authority file?

echo $XAUTHORITY
echo $XAUTHORITY

Configure the SSH client: When connecting to the server, explicitly specify the X authority file

ssh -X user@ip "env XAUTHORITY=$XAUTHORITY app"
ssh -X user@ip "env XAUTHORITY=$XAUTHORITY app"

Replace appapp with any other graphical application you want to run. This command should make use of the X authority file set in the $XAUTHORITY$XAUTHORITY variable.

Can you confirm that the $XAUTHORITY environment variable is correctly set on the server to point to the current X session's authority file?

echo $XAUTHORITY

Configure the SSH client: When connecting to the server, explicitly specify the X authority file

ssh -X user@ip "env XAUTHORITY=$XAUTHORITY app"

Replace app with any other graphical application you want to run. This command should make use of the X authority file set in the $XAUTHORITY variable.

Can you confirm that the $XAUTHORITY environment variable is correctly set on the server to point to the current X session's authority file?

echo $XAUTHORITY

Configure the SSH client: When connecting to the server, explicitly specify the X authority file

ssh -X user@ip "env XAUTHORITY=$XAUTHORITY app"

Replace app with any other graphical application you want to run. This command should make use of the X authority file set in the $XAUTHORITY variable.

Source Link

Can you confirm that the $XAUTHORITY environment variable is correctly set on the server to point to the current X session's authority file?

echo $XAUTHORITY

Configure the SSH client: When connecting to the server, explicitly specify the X authority file

ssh -X user@ip "env XAUTHORITY=$XAUTHORITY app"

Replace app with any other graphical application you want to run. This command should make use of the X authority file set in the $XAUTHORITY variable.