[CentOS] Remote nautilus, X display forwarding problem

Simon Billis simon at houxou.com
Fri Aug 6 08:43:57 UTC 2010


Hi Dotan,


> I need to open a Nautilus window on a headless server, but no matter
> what I try it complains about the display:
> 
> ✈dcl:~$ xhost + localhost
> localhost being added to access control list
> ✈dcl:~$ ssh -X user at ip.address
> [user at CentOS-55-32-minimal ~]$ export DISPLAY=localhost:0.0
> [user at CentOS-55-32-minimal ~]$ nautilus --display=0:0
> cannot open display: 0:0
> Run 'nautilus --help' to see a full list of available command line
> options.
> [user at CentOS-55-32-minimal ~]$
> 
> Googling the situation it looks like I've covered all the steps:
> enabling remote X, X forwarding, display export and telling Nautilus
> which display to use. Any other ideas? Thanks!

Check that you have X11Forwarding yes in sshd.conf

Rgds

Simon





More information about the CentOS mailing list