RE: Hp - linux X-Application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try this 

TERM=vt100; export TERM
setenv DISPLAY localhost:0.0
xclock






"Padiyath Sreekumaran" <kumar.padiyath@xxxxxx> 
Sent by: redhat-list-bounces@xxxxxxxxxx
05/15/2007 08:38 AM
Please respond to
General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>


To
<redhat-list@xxxxxxxxxx>
cc

Subject
RE: Hp - linux X-Application








Hi,
Many thanks for your fast answer. Since we have got Tru64
Systems I did the following on that machine.

1. login on Tru64
2. xhost +
3. telnet hp0000
4. TERM=xterm(during logging)
5. setenv DISPLAY tru64:0
6. xclock 
    This worked beautifully. In our internal network we donot have No
Firewall.
    When I execute the following command on tru64, I see the port number
6000

    netsta -a|grep 6000

tcp        0      0  *.6000                    *.*
LISTEN

  When I execute the following command on hp after logging from tru64
via telnet
  I get an error:

  % X -query tru64
   Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't
already running

   Eventhough it gives error I can run xclock application.


   If I do the above steps from Linux to hp

 1.login on linux
 2.xhost +
 3.telnet hp0000
 4.TERM=xterm
 5.setenv DISPLAY linux:0
 6.xclock
    Then I get an Error : can not open Display: linux:0

 
   netstat -a|grep 6000 gives only the user prompt back on linux which
is different on Tru64.How can I open this port
   on linux just for a test? I get the same error as given above for "X
-query linux" command.
   I think this is a problem on linux configuration. 
   Regards,
   Kumar

-----Original Message-----
From: Andrei Pascal [mailto:andrei@xxxxxxxxx] 
Sent: Dienstag, 15. Mai 2007 13:46
To: General Red Hat Linux discussion list
Cc: Padiyath Sreekumaran
Subject: Re: Hp - linux X-Application

On Tue, 2007-05-15 at 13:12 +0200, Padiyath Sreekumaran wrote:
>   Hello,
>   I have the following problem. I want to use a SW which is installed 
> on a HP.
>   My desktop is a RedHat installed linux machine. Iam logging with 
> telnet
>   (ssh is not installed on HP!)on HP. I did the following on my
desktop.
>   Executed "xhost + " before logging to HP. Logged with telnet on HP 
> and executed
>   the command setenv DISPLAY linuxxx:0. When I run "xclock" I get the 
> following
>   error:
>   "Error: Can't open display: linuxxx:0"


Hi Padiyath,

Make sure you don't have a firewall in place on your desktop. If you
have the default FW, it is blocking tcp:6000. Take it down, at least
temporarily (iptables -F INPUT) and try again.

Also try 'X -query linuxxx', check if it shows things ok.

Good luck,
Andrei



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux