Exporting display over ssh

To export the display from a remote server over ssh:

ssh -X user@host

Just made sure that, X11 forwarding is enabled on the sshd_config .

Once the connection is made, you can make sure the display is exported using:

# echo $DISPLAY
localhost:10.0

if the value is empty, make sure you have the necessary package (mkxauth) installed to create .XAuthority file.

./arun

Leave a Reply

Your email address will not be published. Required fields are marked *


*