Re: Enabling X on headless server via network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Dotan Cohen wrote:
> On Sun, Jul 25, 2010 at 18:26, Hakan Koseoglu <hakan@xxxxxxxxxxxx> wrote:
>> I'm not sure what you are trying to do. Using VNC server or ssh with
>> X11 tunneling (-X or -Y) would make more sense.
>> You don't need X itself running for either of these.
>>
> 
> Yes, my intention is to ssh in then run the app like this:
> local$ ssh -X user@remote
> remote$ firefox
> 
> However, when I do this I get no response (no firefox window opens, no
> terminal output), even after several minutes. I figured that was
> because X is not running.

I think you need to use -Y instead of -X these days but I've never understood 
which apps care.  Also, firefox is unusual in that if it is already running for 
a user it will try to tell the running copy to open a new window in its existing 
context instead of opening a new one that can be forwarded (but you'd only see 
that if you had X running elsewhere).

What you are trying should work without running X at the console, but you might 
like the freenx/NX client even better.  That gives you a complete remote X 
desktop with very good performance that you can disconnect and reconnect with 
everything still running.  See www.nomachine.com for the client 
(linux/windows/mac) details but you can get freenx from the epel repo.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux