Re: Xterm Error

From: Mike Viscount (mikev_at_EMAIL.UNC.EDU)
Date: 12/22/03

  • Next message: Bill Verzal: "Re: Xterm Error"
    Date:         Mon, 22 Dec 2003 14:35:03 -0500
    To: aix-l@Princeton.EDU
    
    

    Make sure that on host x.x.x.x you have allowed the Xterm to be displayed
    by doing an xhost +[machine_where_xterm_is_running]

    Also, the X traffic goes through ports in the 6000 range I believe. I'm not
    exactly sure but it should be trivial to find out.

    Since you got the "Can't open display..." error I'm thinking your DISPLAY
    variable is already properly set as long as x.x.x.x is the host your want to
    display the xterm window on.

    Mike

    Blanchette, Mike wrote:
    > if the x.x.x.x is your workstation ip address try, in ksh,
    > export DISPLAY=x.x.x.x
    >
    > Mike B.
    >
    > -----Original Message-----
    > From: Patrick B. O'Brien [mailto:pobrien@DOIT.NV.GOV]
    > Sent: Monday, December 22, 2003 12:46 PM
    > To: aix-l@Princeton.EDU
    > Subject: Xterm Error
    >
    >
    > I moved this 5.2.02 Box into our DMZ. I locked down inetd ports, but feel I
    > have re-opened them up again.
    >
    > Now, trying to Xterm in, I get the following. I wonder if my firewall guy is
    > stopping me?
    >
    > Any help today? TIA!!!
    >
    >
    > ksh: @: not found.
    > /usr/bin/X11/xterm Xt error: Can't open display: x.x.x.x:0.0
    >
    > Ports that are open:
    >
    > netstat -a|grep LI
    > tcp 0 0 *.ftp *.* LISTEN
    > tcp4 0 0 *.ssh *.* LISTEN
    > tcp 0 0 *.telnet *.* LISTEN
    > tcp4 0 0 *.smtp *.* LISTEN
    > tcp4 0 0 *.sunrpc *.* LISTEN
    > tcp 0 0 *.exec *.* LISTEN
    > tcp 0 0 *.login *.* LISTEN
    > tcp 0 0 *.shell *.* LISTEN
    > tcp4 0 0 *.523 *.* LISTEN
    > tcp4 0 0 *.klogin *.* LISTEN
    > tcp4 0 0 *.kshell *.* LISTEN
    > tcp4 0 0 *.587 *.* LISTEN
    > tcp4 0 0 *.db2c_db2 *.* LISTEN
    > tcp4 0 0 *.2306 *.* LISTEN
    > tcp4 0 0 *.wsmserve *.* LISTEN


  • Next message: Bill Verzal: "Re: Xterm Error"

    Relevant Pages

    • Re: X11 and Solaris-5.9?
      ... > (if display is not set to locat host before xterm) ...
      (comp.unix.solaris)
    • Re: X11 and Solaris-5.9?
      ... > (if display is not set to locat host before xterm) ... Use a few "-v"s as options for your ssh command will show whether the X is being ...
      (comp.unix.solaris)
    • Re: X11 and Solaris-5.9?
      ... xterm xt error: can't open diaplay: ... (if display is not set to locat host before xterm) ...
      (comp.unix.solaris)
    • Re: X11 and Solaris-5.9?
      ... > ssh -X user@host ... > (if display is not set to locat host before xterm) ...
      (comp.unix.solaris)
    • Re: Confused newbie
      ... > How do I determine which ports should be open and which are unnecessary? ... arp - Used to view the arp cache. ... It will display an IP address of 0.0.0.0 and DHCP address of 255.255.255.255 ... possible protocol includes TCP and UDP. ...
      (alt.computer.security)