Re: Can't open display -- SOLVED

From: Paul Howarth (paul_at_city-fan.org)
Date: 07/01/05

  • Next message: Benjamin Sher: "Re: Screensaver Help"
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Fri, 01 Jul 2005 21:44:04 +0100
    
    

    On Fri, 2005-07-01 at 14:10 -0500, Wojciech Komornicki wrote:
    > I was getting the message
    > Can't open display: xxx.xxx.xxx.xxx:0.0
    > It terns out that by default on my FC4, X does not listen to tcp. You
    > can enable listening to the TCP port by running
    > gdmsetup
    > as root or be editing the file
    > gdm.conf
    > The relevant setting is
    > DisallowTCP
    > If you want X to listen the tcp set this to false
    >
    > You will have to restart the X server after making changes. To run a
    > program (prog) on the client (light.unix) which will have its display on
    > the server (dark.unix) you need to
    > 1) tell the server that you allow light.unix to talk to it with
    > xhost +light.unix
    > 2) start prog (on light.unix) with the command
    > prog -display dark.unix:0.0
    > (or you can set the DISPLAY environment variable)
    >
    > I have not been able to get authentication working using xauth which
    > should allow you to run programs without using xhost.

    Why don't you use "ssh -X light.unix" on dark.unix, opening a secure
    connection from dark to light with X forwarding (i.e. running "prog"
    just works), so that you don't need to set up the tcp listening and
    don't have to mess about with "xhost" and $DISPLAY?

    Paul.

    -- 
    Paul Howarth <paul@city-fan.org>
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Benjamin Sher: "Re: Screensaver Help"

    Relevant Pages

    • Re: Why does DNS.EXE listen on a ephemeral TCP port?
      ... Right, but when my name server makes a query to another name server, ... via UDP to my server and then my server originates a TCP connection. ... server) I understand why my server listens on a UDP port, ... don't think this explains why my server is LISTENING on a TCP port. ...
      (microsoft.public.windows.server.dns)
    • Re: Why does DNS.EXE listen on a ephemeral TCP port?
      ... Right, but when my name server makes a query to another name server, and the ... server and then my server originates a TCP connection. ... local TCP port to a destination of TCP 53 on the server) I understand why ... In order for a TCP listening port to be ...
      (microsoft.public.windows.server.dns)
    • Re: Strange X-Windows behaviour
      ... > i tried xhost + to no avail. ... Are you running the X server with the "-nolisten tcp" flag? ... Lew Pitcher, IT Specialist, Enterprise Data Systems ...
      (comp.os.linux.misc)
    • RE: why cant I connect to server from a remote machie?
      ... between your client and the machine that is blocking your connection ... To verify that the server is listening on TCP: ...
      (microsoft.public.sqlserver.security)
    • [SLE] X Server listening on loopback
      ... so that my X server won't listen to tcp connetions. ... netstat I don' t longer see any line listening on port 6000. ...
      (SuSE)