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! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com
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
Hakan Koseoglu
2010-Aug-06 09:31 UTC
[CentOS] Remote nautilus, X display forwarding problem
Dotan, Do not do these steps: On 6 August 2010 09:24, Dotan Cohen <dotancohen at gmail.com> wrote:> [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:0When you connect with sssh -X, it will create the tunnel and assign a DISPLAY variable. hakan at hakan-laptop:10:29:51:~$ ssh -X hobbit Last login: Thu Aug 5 09:45:59 2010 from 10.15.1.99 more cowbells! _________________________________________ / It is impossible to defend perfectly \ | against the attack of those who want to | \ die. / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || [hakan at hobbit ~]$ echo $DISPLAY localhost:10.0 and then you can run Nautilus w/o a problem, with no options necessary. -- Hakan (m1fcj) - http://www.hititgunesi.org
Eero Volotinen
2010-Aug-07 11:56 UTC
[CentOS] Remote nautilus, X display forwarding problem
2010/8/6 Dotan Cohen <dotancohen at gmail.com>:> 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!install xorg-x11-xauth on server and then just ssh -X user at ip -- Eero