1830241 Members
1444 Online
109999 Solutions
New Discussion

Re: X Networking

 

X Networking

I'm running Mandrake 8.1 on one PC and W2k on another. I have a copy X-Win32 and would like to be able to export a display to the PC but I am having loads of problems. Whenever I try to add a machine or user to Xhosts I just get the error 'unable to open display""'. I have exported the Display but still no luck. I know that X-Win32 is configured correctly.

Can anyone give me any hints or at least point me to a tutorial that tells me how to set this up?

Thanks in advance,

Christian Briddon
3 REPLIES 3
Bill McNAMARA_1
Honored Contributor

Re: X Networking

on the windows box try to

#xhost +
#export DISPLAY=linux:0.0
#xclock

or IP address if the lookup fails.

on the windows and linux box.

#ping windows
.... okay
#xhost +
#export DISPLAY=windows:0.0
#xclock

to test.

This CLI will work in the ksh,
you might want to change your shell so that the command works.

Make sure port 6000 is not blocked by firewall or you'll need dxcp

Later,
Bill
It works for me (tm)
support_5
Super Advisor

Re: X Networking

Hi,

Remember that you can only modify the X server configuration when logged into the machine where the X server runs. So, for example, you will need to be logged into your windows machine and modify the authentication there. I don't know how X Win does it, but the software probably has a configuration utility that came with it, and it is just a simple windows program to modify the X server. Under Unix, you run a xhost + to add a host to the authentication list, or xhost - to remove it.

You can't run the X server on your windows machine and log into the linux machine and run xhost commands, because it won't work...it will be modify the linux X server instead (if it has one) of the windows X server.

Cheers,

- Andy Gray
Alex Glennie
Honored Contributor

Re: X Networking

vi /etc/Xn.hosts file and add their names there ! on the linux host - See man Xserver on your linux system for further details .

For this to work however your networking / hostname resolution between pc and pc need to be working .