 |
|
 |
|
Next: Winmodems
|
| Author |
Message |
External

Since: Feb 24, 2005 Posts: 10
|
(Msg. 1) Posted: Mon Apr 18, 2005 11:38 pm
Post subject: Newbie question: problems setting DISPLAY to X server Archived from groups: comp>os>linux>setup (more info?)
|
|
|
Hi,
On my local machine (llamas.hi.inet: Linux FC3):
[jdiaz@llamas ~]$ xhost +
access control disabled, clients can connect from any host
[jdiaz@llamas ~]$
On the remote machine:
opmxopge@sgbe2 : po_co_ordcorba.ss > export DISPLAY=llamas.hi.inet:0.0
opmxopge@sgbe2 : po_co_ordcorba.ss > xclock
Error: Can't open display: llamas.hi.inet:0.0
opmxopge@sgbe2 : po_co_ordcorba.ss > ping -s llamas.hi.inet
PING llamas.hi.inet: 56 data bytes
64 bytes from llamas.hi.inet (10.95.27.186): icmp_seq=0. time=0. ms
64 bytes from llamas.hi.inet (10.95.27.186): icmp_seq=1. time=1. ms
^C
----llamas.hi.inet PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/1
opmxopge@sgbe2 : po_co_ordcorba.ss >
Any hint ?
Thanks in advance,
Jose Luis. |
|
| Back to top |
|
 |  |
External

Since: Feb 24, 2005 Posts: 10
|
(Msg. 2) Posted: Tue Apr 19, 2005 2:00 am
Post subject: Re: Newbie question: problems setting DISPLAY to X server [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Laurenz Albe wrote:
> jose_luis_fdez_diaz_news.DeleteThis@yahoo.es wrote:
> > On my local machine (llamas.hi.inet: Linux FC3):
> >
> > [jdiaz@llamas ~]$ xhost +
> > access control disabled, clients can connect from any host
> > [jdiaz@llamas ~]$
> >
> > On the remote machine:
> >
> > opmxopge@sgbe2 : po_co_ordcorba.ss > export
DISPLAY=llamas.hi.inet:0.0
> > opmxopge@sgbe2 : po_co_ordcorba.ss > xclock
> > Error: Can't open display: llamas.hi.inet:0.0
> > opmxopge@sgbe2 : po_co_ordcorba.ss > ping -s llamas.hi.inet
> > PING llamas.hi.inet: 56 data bytes
> > 64 bytes from llamas.hi.inet (10.95.27.186): icmp_seq=0. time=0. ms
>
> Possibilities:
> - 10.95.27.186 is not the X server (naming problem).
> - The X server is not listening on TCP port 6000.
> try a 'telnet llamas.hi.inet 6000' and see if you get an error.
opmxopge@sgbe2 : bin > telnet llamas.hi.inet 6000
Trying 10.95.27.186...
telnet: Unable to connect to remote host: Connection refused
opmxopge@sgbe2 : bin >
On local it doesn't run neither:
[jdiaz@llamas etc]$ telnet localhost 6000
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
> - The display is not started on :0
> Try with DISPLAY=:0.0 from the X server.
>
> Yours,
> Laurenz Albe
Regards,
Jose Luis. |
|
| Back to top |
|
 |  |
External

Since: Feb 24, 2005 Posts: 10
|
(Msg. 3) Posted: Tue Apr 19, 2005 3:19 am
Post subject: Re: Newbie question: problems setting DISPLAY to X server [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
That was the problem.
Best Regards,
Jose Luis.
Laurenz Albe wrote:
> jose_luis_fdez_diaz_news.TakeThisOut@yahoo.es wrote:
> >>> Error: Can't open display: llamas.hi.inet:0.0
> >
> > opmxopge@sgbe2 : bin > telnet llamas.hi.inet 6000
> > Trying 10.95.27.186...
> > telnet: Unable to connect to remote host: Connection refused
>
> Well, start your X server with TCP listening support.
> It is probably started with '-nolisten tcp' in some xserverrc file
> or similar.
>
> Yours,
> Laurenz Albe |
|
| Back to top |
|
 |  |
External

Since: Apr 11, 2005 Posts: 112
|
(Msg. 4) Posted: Tue Apr 19, 2005 8:27 am
Post subject: Re: Newbie question: problems setting DISPLAY to X server [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
jose_luis_fdez_diaz_news.RemoveThis@yahoo.es wrote:
> On my local machine (llamas.hi.inet: Linux FC3):
>
> [jdiaz@llamas ~]$ xhost +
> access control disabled, clients can connect from any host
> [jdiaz@llamas ~]$
>
> On the remote machine:
>
> opmxopge@sgbe2 : po_co_ordcorba.ss > export DISPLAY=llamas.hi.inet:0.0
> opmxopge@sgbe2 : po_co_ordcorba.ss > xclock
> Error: Can't open display: llamas.hi.inet:0.0
> opmxopge@sgbe2 : po_co_ordcorba.ss > ping -s llamas.hi.inet
> PING llamas.hi.inet: 56 data bytes
> 64 bytes from llamas.hi.inet (10.95.27.186): icmp_seq=0. time=0. ms
Possibilities:
- 10.95.27.186 is not the X server (naming problem).
- The X server is not listening on TCP port 6000.
try a 'telnet llamas.hi.inet 6000' and see if you get an error.
- The display is not started on :0
Try with DISPLAY=:0.0 from the X server.
Yours,
Laurenz Albe |
|
| Back to top |
|
 |  |
External

Since: Apr 11, 2005 Posts: 112
|
(Msg. 5) Posted: Tue Apr 19, 2005 9:25 am
Post subject: Re: Newbie question: problems setting DISPLAY to X server [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
jose_luis_fdez_diaz_news DeleteThis @yahoo.es wrote:
>>> Error: Can't open display: llamas.hi.inet:0.0
>
> opmxopge@sgbe2 : bin > telnet llamas.hi.inet 6000
> Trying 10.95.27.186...
> telnet: Unable to connect to remote host: Connection refused
Well, start your X server with TCP listening support.
It is probably started with '-nolisten tcp' in some xserverrc file
or similar.
Yours,
Laurenz Albe |
|
| Back to top |
|
 |  |
External

Since: Aug 19, 2003 Posts: 2577
|
(Msg. 6) Posted: Tue Apr 19, 2005 12:53 pm
Post subject: Re: Newbie question: problems setting DISPLAY to X server [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In comp.os.linux.setup jose_luis_fdez_diaz_news RemoveThis @yahoo.es:
> [jdiaz@llamas ~]$ xhost +
> access control disabled, clients can connect from any host
This is a major security problem you are opening here, there's no
reason, simply use 'ssh' and request X11 forwarding, see 'man
ssh'. You don't need to care about $DISPLAY/xauthority, ports
blocked by some firewall and alike. Anything will be done for you
auto-magically and X11 securely tunneled from ssh, even through
multiple systems.
Good luck
[..]
--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry RemoveThis @urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 48: bad ether in the cables |
|
| Back to top |
|
 |  |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|