Hi,
From my workstation (win XP)I open a telnet session on Linux(Red Hat) server.
When I issue :
[root@server ~]# xclock
I have :
Error: Can't open display:
Then :
[root@server ~]# export DISPLAY=192.16.1.87:0.0
[root@server ~]# xclock
Error: Can't open display: 192.16.1.87:0.0
Do you have an idea ?
Thank you. It is runing and on the server when I type xclock the clock appears on monitor. How to make server accept connection on 192.16.1.87 ?
Regards.
If connecting by telnet you need to set DISPLAY on remote machine and allow it to connect to your local machine by issuing
xhost _addr_
on local machine.
Of course local XServer should listen on port 6000 (i.e. not be started with '-nolisten') and both firewalls [if any] should be suitable configured.
Try also modern way with "ssh -X" -- on Win machines "plink" is equivalent.