Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Newbie question: problems setting DISPLAY to X server

 
   Soft32 Home -> Linux2 Arch -> Setup RSS
Next:  Winmodems  
Author Message
jose_luis_fdez_diaz_news

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
Login to vote
jose_luis_fdez_diaz_news

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
Login to vote
jose_luis_fdez_diaz_news

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
Login to vote
Laurenz Albe

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
Login to vote
Laurenz Albe

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
Login to vote
Michael Heiming

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
Login to vote
Display posts from previous:   
Related Topics:
Newbie Samba server configuration question? - Hi all, Can anybody provide me some pointer to learn how to configure Samba server? I'm using Mandrake 8.2, and XP on....

Newbie Question: Multiple users (server-client) ... - Hello: I am a Win200 / WinXP user (four networked computers at home) considering a switch to Linux. I have done a bit o...

Newbie needs help with setting computer name - I have a simple home network in which two computer are connected through a dhcp router. The router is connected to a..

Newbie Setting Up Printer With Card Reader - I have a USB HP Photosmart Printer with card reading capabilities, and I was wondering how to select this printer as th...

Weird display problem setting up RH9 - Hello, all! I was just installing a copy of RH9 on my PC to replace WinXP, but am having a weird issue with the..

Question About Setting Up Linux Workstation - I've been using Linux as a multi-purpose OS on a single PC. I now have several PCs that I need to setup in a..
       Soft32 Home -> Linux2 Arch -> Setup All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
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

Categories:
 Windows
 Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]