Saturday 31 July 2010

enabling remote X-over-SSH on a minimal Fedora build

I installed a (really) minimal build and wanted to run an X-based application over SSH (the system doesn't have a monitor attached and not much of X is installed anyway). Installed xterm to test.

ssh -X -C {server}
sudo yum install xterm
xterm &

...nothing happens.
Checked my /etc/ssh/sshd_config, and forwarding is set.
Reconnect via SSH with 'verbose' set...

ssh -X -C -v {server}
... 
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Remote: No xauth program; cannot forward with spoofing. 

Like I said, Not much of 'X' installed...
Somebody describes the same problem here: 
 
so;
yum install xorg-x11-xauth*
logout, login 
xterm & 
and xterm starts nicely.