[CentOS] Remote nautilus, X display forwarding problem

Fri Aug 6 09:59:20 UTC 2010
Dotan Cohen <dotancohen at gmail.com>

On Fri, Aug 6, 2010 at 12:31, Hakan Koseoglu <hakan at koseoglu.org> wrote:
> 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:0
>
> When 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.
>

For some reason, now I can just SSH -X in and then start Nautilus.
This was _not_ working earlier, which is why I hit google and found
the "display" playthings. Maybe I was forgetting the -X (I don't have
a history to check, arh!). I don't know, but it works now.

Thanks, sorry for the noise.


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com