LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ssh and x client (https://www.linuxquestions.org/questions/linux-networking-3/ssh-and-x-client-71065/)

jtdwyer 07-08-2003 03:51 PM

ssh and x client
 
Hi,

I'm trying to run a remote application using SSH. When I connect to the remote box (I believe it's a Sun), I enter the command "netscape &", and I get the following message:

Xlib: connection to 10.3.22.59 refused by server
Xlib: no protocol defined

error: Can't open display: 10.3.22.59:0.0

10.3.22.59 is the address of my local box (RedHat 9.0). I'm initializing the session via "ssh -X", which I thought would forward the X session to my local box.

I'm guessing I need to run some sort of Xclient on my local box. (It works on my Windows box when I run Hummingbird's Exceed prior to starting my SSH session.)

Any help would be appreciated
thanks,
john dwyer
jtdwyer@sonic.net

david_ross 07-08-2003 03:54 PM

On your machine you need to type:
xhost +

to allow all machines to connect or:
xhost + ip.of.remote.box

Then try again.

jtdwyer 07-08-2003 04:00 PM

That worked!

Thanks for your help!
john


All times are GMT -5. The time now is 06:25 AM.