ssh -X doesn't work on CentOS

Posted on Thu 13 October 2011 in Linux

If you installed the server without GUI it may is useful sometimes to have a GUI output via ssh on an different computer.

You can connect with ssh to the server and present the output on you local machine by using ssh with the option -X. You need to be sure that the package xauth is installed on the target machine to do this. Maybe for some types of software you need some additional libraries aswell but they should be installed by yum automatically.

Install xauth like this:

sudo yum install xauth