f



xclock fail with "Error: Can't open display" on "ssh -X"

I can ssh -X to a RHEL4 linux and a HP-UX B.11.23 U ia64 computer
from a FC6 linux computer.
I can run
xclock or xterm
on the RHEL4 linux computer.
However, running
xclock or xterm
on the HP-UX B.11.23 U ia64 computer has these errors:
bash-3.2# xclock
Error: Can't open display:
Error: Couldn't find per display information

bash-3.2# xterm
xterm Xt error: Can't open display: %s

bash-3.2# sshd -version
sshd: illegal option -- v
OpenSSH_4.5p1+sftpfilecontrol-v1.1-hpn12v14, OpenSSL 0.9.7l 28 Sep
2006
HP-UX Secure Shell-A.04.50.021, HP-UX Secure Shell version

Using "ssh -Y" to login to the RHEL4 and HPUX computer get the same
result.

Please help so that I can run xclock or xterm on the HPUX computer.
0
1/6/2009 1:34:57 AM
comp.security.ssh 4228 articles. 0 followers. terra1024 (490) is leader. Post Follow

5 Replies
557 Views

Similar Articles

[PageSpeed] 3

On Mon, 5 Jan 2009 17:34:57 -0800 (PST), TsanChung wrote:
> I can ssh -X to a RHEL4 linux and a HP-UX B.11.23 U ia64 computer
> from a FC6 linux computer.
> I can run
> xclock or xterm
> on the RHEL4 linux computer.
> However, running
> xclock or xterm
> on the HP-UX B.11.23 U ia64 computer has these errors:

might try 
    xhost +localhost
    ssh RHEL4.ip.here

You may want to verify your hupx login script(s) does not hard code $DISPLAY

0
BitTwister2 (1376)
1/6/2009 2:01:10 AM
On Jan 5, 9:01=A0pm, Bit Twister <BitTwis...@mouse-potato.com> wrote:
> On Mon, 5 Jan 2009 17:34:57 -0800 (PST), TsanChung wrote:
> > I can ssh -X to a RHEL4 linux and a HP-UX B.11.23 U ia64 computer
> > from a FC6 linux computer.
> > I can run
> > xclock or xterm
> > on the RHEL4 linux computer.
> > However, running
> > xclock or xterm
> > on the HP-UX B.11.23 U ia64 computer has these errors:
>
> might try
> =A0 =A0 xhost +localhost
> =A0 =A0 ssh RHEL4.ip.here
>
> You may want to verify your hupx login script(s) does not hard code $DISP=
LAY

I try on the FC6 linux computer
xhost +localhost

I do
bash-3.2# ps -ef |grep sshd
   root 20369     1  0 09:51:35 ?         0:00 /opt/ssh/sbin/sshd
....

Then
bash-3.2# kill -HUP 20369
to restart sshd

I ssh to the hpux computer but still get the same error.
0
1/6/2009 2:58:10 PM
On Mon, 05 Jan 2009 17:34:57 -0800, TsanChung wrote:

> Error: Can't open display:

Try:

	echo $DISPLAY

It appears as if the server has X forwarding disabled (since you 
explicitly requested X forwarding of the client), but this echo would 
help determine if this was so.

	- Andrew
0
c182driver1 (154)
1/6/2009 6:18:39 PM
On Jan 6, 1:18=A0pm, Andrew Gideon <c182driv...@gideon.org> wrote:
> On Mon, 05 Jan 2009 17:34:57 -0800, TsanChung wrote:
> > Error: Can't open display:
>
> Try:
>
> =A0 =A0 =A0 =A0 echo $DISPLAY
>
> It appears as if the server has X forwarding disabled (since you
> explicitly requested X forwarding of the client), but this echo would
> help determine if this was so.
>
> =A0 =A0 =A0 =A0 - Andrew

# echo $DISPLAY
sh: DISPLAY: Parameter not set.
# export DISPLAY=3Dlocalhost:10.0
# xclock
X connection to localhost:10.0 broken (explicit kill or server
shutdown).
0
1/8/2009 10:12:36 PM
On Thu, 08 Jan 2009 14:12:36 -0800, TsanChung wrote:

> # echo $DISPLAY
> sh: DISPLAY: Parameter not set.

Right.  Something is preventing the forwarding.  Best guess: server 
configuration.

> # export DISPLAY=localhost:10.0

That won't work if SSH isn't already listening for the packets to forward.

> # xclock
> X connection to localhost:10.0 broken (explicit kill or server
> shutdown).

	- Andrew

0
c182driver1 (154)
1/10/2009 2:34:21 AM
Reply:

Similar Artilces:

""""""""""""""""""""""ADD ME""""""""""""""""""""
Hi , Hope you are doing great. Please let me take this opportunity to introduce myself, Iam Karthik working with BhanInfo Inc, a NY based company. We have consultants on our bench on various technologies, my request is to add me to your distribution list and kindly do send me the requirements. i have the below list available 1. Mainframe 2. Java 3.. Financial Analyst 4. Data Architect If there is any vendor ship agreement which has to be signed then I would like to take an opportunity to represent my company and expect your cooperation... We look forward to build a ve...

"""""""""ADD ME""""""""""
Hi , Hope you are doing great. Please let me take this opportunity to introduce myself, Iam Karthik working with BhanInfoi Inc, a NY based company. We have consultants on our bench on various technologies, my request is to add me to your distribution list and kindly do send me the requirements. i have the below list available 1. Mainframe 2. Java 3.. Financial Analyst 4. Data Architect If there is any vendor ship agreement which has to be signed then I would like to take an opportunity to represent my company and expect your cooperation... ...

Another variant of "ssh" working interactively, but "ssh cmd" and "scp" failing
hello, world\n I've read the SSH and OpenSSH FAQ (motd/.profile issue), googled left and right and still could not find a solution to the problem. I've got an embedded box named FOO running OpenSSH_3.7.1p1 on Linux 2.4 on PowerPC, the shell is a busybox, but using bash does not change anything. No PAM. This is the situation: ssh root@FOO -- works ssh root@FOO ls -- fails, no output, no matter what command is given scp file root@FOO: -- fails, "lost connection" Here's the debug output for the client and the server. I have also appended the /etc/ssh/sshd_config....

Urgent Requirement in """""""""""""NEW YORK""""""""""""""""
Hello Partners, Please find the requirement below. Please send the updated resume along with rate and contact no. REQ#1: Title : Java Developer ( Rating Project) Duration : 6 months Rate : open Location : NY strong java, WebLogic 9.2, Web Services, Oracle REQ#2: Title : Java Developer Duration : 4 months Rate : open Location : NY Strong java, SQL REQ#3: Title : VB.Net Consultant Location : NY Duration : 4 months Rate : open Primarily looking at someone who has Excel, VB.net and Oracle (good to have). Req #4: Title : Java Developer (MSA Project) Duration : 6+ months Rate : open Location : NY Note : Please send your updated resume along with contact no karthik@bhaninfo.com : No phone calls please. Thanks & Regards Karthik BhanInfo karthik@bhaninfo.com ...

"or" and "and"
Hi, I'm just getting to discover ruby, but I find it very nice programming language. I just still don't understand how the "or" and "and" in ruby... I was playing with ruby and for example made a def to print Stem and Leaf plot (for those who didn't have a statistics course or slept on it, e.g. http://cnx.org/content/m10157/latest/) Here is the Beta version of it: class Array def n ; self.size ; end def stem_and_leaf(st = 1) # if st != (2 or 5 or 10) then ; st = 1 ; end k = Hash.new(0) self.each {|x| k[x.to_f] += 1 } k = k.sort{|a, b| a[0].to_f <=&g...

"out" and "in out"
Hi i found the following explaination: In Ada, "in" parameters are similar to C++ const parameters. They are effectively read-only within the scope of the called subprogram. Ada "in out" parameters have a reliable initial value (that passed in from the calling subprogram) and may be modified within the scope of the called procedure. Ada "out" parameters have no reliable initial value, but are expected to be assigned a value within the called procedure. What does "have no reliable initial value" mean when considering the "out" parameter? By c...

about "++" and "--"
why this program snippet display "8,7,7,8,-7,-8" the program is: main() { int i=8; printf("%d\n%d\n%d\n%d\n%d\n%d\n",++i,--i,i++,i--,-i++,-i--); } > why this program snippet display "8,7,7,8,-7,-8" Ask your compiler-vendor because this result is IMHO implementation-defined. Check this out: http://www.parashift.com/c++-faq-lite/misc-technical-issues.html#faq-39.15 http://www.parashift.com/c++-faq-lite/misc-technical-issues.html#faq-39.16 Regards, Irina Marudina fxc123@gmail.com wrote: > why this program snippet display "8,7,7,8,-7,-8&q...

"/a" is not "/a" ?
Hi everybody, while testing a module today I stumbled on something that I can work around but I don't quite understand. >>> a = "a" >>> b = "a" >>> a == b True >>> a is b True >>> c = "/a" >>> d = "/a" >>> c == d True # all good so far >>> c is d False # eeeeek! Why c and d point to two different objects with an identical string content rather than the same object? Manu Emanuele D'Arrigo wrote: >>>> c = "/a" >>>&...

"If then; if then;" and "If then; if;"
I have a raw data set which is a hierarchical file: H 321 s. main st P Mary E 21 F P william m 23 M P Susan K 3 F H 324 S. Main St I use the folowing code to read the data to creat one observation per detail(P) record including hearder record(H): data test; infile 'C:\Documents and Settings\retain.txt'; retain Address; input type $1. @; if type='H' then input @3 Address $12.; if type='P' then input @3 Name $10. @13 Age 3. @16 Gender $1.; run; but the output is not what I want: 1 321 s. main H 2 321 s. main P Mary E 21 F 3 321 s...

why "::", not "."
Why does the method of modules use a dot, and the constants a double colon? e.g. Math::PI and Math.cos -- Posted via http://www.ruby-forum.com/. On Oct 26, 2010, at 01:48 , Oleg Igor wrote: > Why does the method of modules use a dot, and the constants a double > colon? > e.g. > Math::PI and Math.cos For the same reason why inner-classes/modules use double colon, because = they're constants and that's how you look up via constant namespace. Math::PI and ActiveRecord::Base are the same type of lookup... it is = just that Base is a module and PI is a float....

"my" and "our"
Hi, while testing a program, I erroneously declared the same variable twice within a block, the first time with "my", the second time with "our": { my $fz = 'VTX_Link'; .... ( around 200 lines of code, all in the same block) our $fz = 'VTX_Linkset'; ... } So the initial contents of the $fz declared with "my" is lost, because "our" creates a lexical alias for the global $fz, thus overwriting the previous "my" declaration. It was my error, no question. But I wonder why Perl doesn't mention this - even with "use s...

Urgent Requirement for """""""""""""""INFORMATICA DEVELOPER"""""""""""""
Hello Partners, How are you ? Please find the requirements below. Title: Database/ETL Developer Duration: 6 months Location: NY Exp: 7+ Locals preferred Database/ETL requirements (Mandatory) Candidate must have worked with financial instruments, preferably Mutual Funds but, Equities are also ok. PL/SQL - packages, Stored procs, Functions, Aggregate functions, Pipelined Functions Informatica 8.6 - especially complex mappings, complex maplets, complex workflows, transformations Oracle 10g/11g Unix/Linux shell scripting ...

Urgent need """""""""""INFORMATICA DEVELOPER"""""""""""""
Hello Partners, How are you ? Please find the requirements below. Title: Database/ETL Developer Duration: 6 months Location: NY Exp: 7+ Locals preferred Database/ETL requirements (Mandatory) Candidate must have worked with financial instruments, preferably Mutual Funds but, Equities are also ok. PL/SQL - packages, Stored procs, Functions, Aggregate functions, Pipelined Functions Informatica 8.6 - especially complex mappings, complex maplets, complex workflows, transformations Oracle 10g/11g Unix/Linux shell scripting Database/ETL requirements (Optional) Data warehousing experience Threading and job concepts in 10g/11g Cost based Optimizer concepts in 10g/11g Must : Experience with XML files and partitioning concepts in Oracle, Collections, Material Views Note : No phone calls please. : send Resumes to karthik@bhaninfo.com Thanks & Regards Karthik BhanInfo karthik@bhaninfo.com ...

Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: token '=': syntax error"
I'm in /sys/src/9/pc and I type `mk CONF=9pcdisk` and rc gives me the error "rc: #d/0: token '=': syntax error". Why is this? Just doing mk works fine (I think). Thanks! Plan9 looks very cool... just finished reading through intro (all of it). you're using backquotes, why? that would be `{mk CONF=3D9pcdisk} in rc's syntax. now to compile that kernel the syntax is: % mk 'CONF=3Dpcdisk' now are you sure you want a pcdisk?=20 On Jul 19, 2012, at 6:07 AM, kalaracey@gmail.com wrote: > I'm in /sys/src/9/pc and I type >=20 ...

A problem about "[ ]" "( )" "="
I want to read several images saved in a director,and give them to I1,I2 ,I3....,using the following codes: filelist=dir(['c:\MATLAB701\work\...\*.jpg']); for i=1 :length(filelist) I=imread(fullfile('c:\MATLAB701\work\...',filelist(i).name)); end; but failed. Then I used I(i)=imread... ,still failed. How could I do? "John" <mailofww@126.com> wrote in message news:ef19e12.-1@webx.raydaftYaTP... >I want to read several images saved in a director,and give them to > I1,I2 ,I3....,using the following codes: > filelist=dir(['c:\MATLAB701\work\.....

"In" "Out" and "Trash"
I just bought a new computer and I re-installed Eudora Light on my new computer. But when I open Eudora, the "In", "Out" and "Trash" links are not on the left side of the screen the way they were on my old computer. How can I get these links back on the left side of the screen? Thank you. On 25 Mar 2007 09:49:22 -0700, "abx" <abfunex@yahoo.com> wrote: >I just bought a new computer and I re-installed Eudora Light on my new >computer. But when I open Eudora, the "In", "Out" and "Trash" links >are ...

Does it need a ";" at the very after of "if" and "for"
write code like: int main(void) { int a=10; if(a<20) {} } Compiler ok on dev-cpp . don't we have to add a ";" after if statement? marsarden said: > write code like: > > int main(void) > { > int a=10; > if(a<20) > {} > } > > Compiler ok on dev-cpp . don't we have to add a ";" after if > statement? The syntax for 'if' is: if(expression) statement There is no semicolon after the ) but before the statement. The statement is either a normal statement (which can be empty), ending in a semicolon:- if(expr) ...

differences among "ssh", "rlogin" and "telnet"
Hi, what are the differences among "ssh", "rlogin" and "telnet"? Which one is better and when are each of these are recommended to use? Thanks. On Thu, 2 Mar 2006, SolarisUser wrote: > what are the differences among "ssh", "rlogin" and "telnet"? Which one > is better and when are each of these are recommended to use? ssh encrypts traffic, the others don't. SSh should always be used, and there's no reason to use the others these days. -- Rich Teer, SCNA, SCSA, OpenSolaris CAB member President, Rite Online Inc. ...

Can't send "To", only "Reply"
My daughter has Eudora 6.2 in paid mode on XP Home. She tells me that when she tries to send an email "To" someone, Eudora says she must specify a recipient and will not send it. The only way she can send an email is to use "Reply" to an existing message. Any ideas on what could be causing this? jetjock <jetjock@hanger.com> wrote: >My daughter has Eudora 6.2 in paid mode on XP Home. She tells me that >when she tries to send an email "To" someone, Eudora says she must >specify a recipient and will not send it. The only way she can se...

(mapcar 'quote '("1" "2" "3" "4"))
(mapcar 'quote '("1" "2" "3" "4")) returns ((quote "4") (quote "4") (quote "4") (quote "4")) Interesting and (for me) unexpected. Because (mapcar 'read '("1" "2" "3" "4")) returns (1 2 3 4) and (mapcar 'princ '("1" "2" "3" "4")) gives 1234("1" "2" "3" "4") Why isn't (mapcar 'quote '("1" "2" "3" "4")) returning ((quote "1") (quote "2") (quote "3") (quote "4")) Tom Haws www.hawsedc.com Probably has to do with the fact that 'arg and (quote arg) are equivalent, and LISP gets confused by the construct 'quote, which is about the same as (quote (quote arg)). But I don't pretend to know all of the mechanics of the error; the results are somewhat different in R14, BTW: Command: (mapcar 'quote '("1" "2" "3" "4")) ((<Subr: #22e3e40> "4") (<Subr: #22e3e40> "4") (<Subr: #22e3e40> "4") (<Subr: #22e3e40> "4")) ___ "Tom Haws" <hawstom@despammed.com> wrote in message news:77317472.0309160733.45ea9d8c@posting.google.com... > (mapcar 'quote '("1" "2" "3"...

lynx 'browser' can't do "<?xml version="1.0" encoding="utf-8"?>"
lynx is lighteningly fast to fetch a set of pages [via a script] via dump > fileID. But [my current version] doesn't render the 'style' of: "<?xml version="1.0" encoding="utf-8"?>" What is this new "xml" crap ? Will it likely take over the older *.html ? Thanks for any info, == Chris Glur. news@absamail.co.za wrote in news:1172596265.663611@vasbyt.isdsl.net: > lynx is lighteningly fast to fetch a set of pages [via a script] via > dump > fileID. > > But [my current version] doesn't ...

"for" loop inside "ssh"
Hello, I try to use "ssh" command and run "for" loop in remote server. I mean something like: ssh remote_server -l remote_user "for file in `ls *.sql`; do; echo $file; done" Now I get: file: Undefined variable. OS: Sun Solaris Shell: ksh Thank you. On 2014-03-10, shulamitmi3@gmail.com <shulamitmi3@gmail.com> wrote: > Hello, > > I try to use "ssh" command and run "for" loop in remote server. > > I mean something like: > > ssh remote_server -l remote_user "for file in `ls *.sql`; do...

Instruction at "0x00FC3D70" use memory address "0x00000000". Can't be "read".
Yesterday, ALL code in python work and nothing when I close(finish) a code. Today, when I close, some raise this windows error : Instruction at "0x00FC3D70" use memory address "0x00000000". Can't be "read". Click on "OK" to exit program. Why this error, today and not before today? Askari Askari wrote: > Yesterday, ALL code in python work and nothing when I close(finish) a code. > Today, when I close, some raise this windows error : > > Instruction at "0x00FC3D70" use memory address "0x00000000". Can't be &...

Urgent JAVA Requirement in """"""NEW YORK"""""""""
Hello Partners, How are you ? Please find the requirement below. Location : NY Duration : 8 mnths Rate :Open Job description: Java/J2EE Web Service Developer =B7 (4+ years of application development experience in Java/J2EE and Web service technologies. =B7 Experience with spring & Hibernate. =B7 Experience with J2EE Application Server (preferably Web logic). =B7 Preferable Aqua logic DSP Experience =B7 Preferable Sonic ESB Composite Service experience Experience w...

"Can't locate object method "PV" via package "B::SPECIAL""
When I try to use B::Lint I get the error Can't locate object method "PV" via package "B::SPECIAL"" Does anyone know where B::SPECIAL is defined? TIA, kj -- NOTE: In my address everything before the first period is backwards; and the last period, and everything after it, should be discarded. On Oct 20, 5:53 am, kj <so...@987jk.com.invalid> wrote: > When I try to use B::Lint I get the error > > Can't locate object method "PV" via package "B::SPECIAL"" > > Does anyone know where B::SPECIAL is defined? &...

Web resources about - xclock fail with "Error: Can't open display" on "ssh -X" - comp.security.ssh

Resources last updated: 3/7/2016 6:57:15 PM