1846992 Members
3592 Online
110257 Solutions
New Discussion

Re: xserver client

 
SOLVED
Go to solution
nilesh joshi
Occasional Contributor

xserver client

Can I use gnome ( Linux workstation) to connect xserver running on HP-UX 11.00
I want xomni client to be run from.
I tried with Linux but it failed to connect the server
I have to install Linux with CDE to support this
I don?t have any xmotif client on NT Box.
Can any one suggest me .

Regards,

Roger
9 REPLIES 9
Wodisch
Honored Contributor
Solution

Re: xserver client

Hello Roger,

do ask for advice to display the output of some
X-Windows programs running on HP-UX on the
graphics screen of your PC running Linux?

If it is for a single window only, permit the HP-UX
station onto your PC's display:
xhost +HPUXaddress
where you have to substitute "HPUXaddress" with the
hostname or IP-address of the HP-UX station, of course.

Or would you like to have the CDE login from the HP-UX
station on your PC?
Then you will have to stop your current Gnome session
on the PC, go to non-graphic-mode, and then start the
PC's "Xserver" with the "query" option, like in:
X -query HPUXaddress

Then you should get the CDE login.

HTH,
Wodisch
Sachin Patel
Honored Contributor

Re: xserver client

Hi Nilesh,
Check this. I had same problem
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x077d87dc4d7dd5118ff00090279cd0f9,00.html

Sachin
Is photography a hobby or another way to spend $
Roger_7
New Member

Re: xserver client

Dear Friends,
Thanks for your reply
But I am not clear what to do.
1) when I am doing telnet from linux box to HP-Ux and set the DISPLAY to LinuxIP-Address then I tried to run X ( graphic ) application I am getting following error
Xlib:connection to "10.103.5.5:0.0" refused by server
Xlib Client is not autorized to connect to server
Xlib Xt error: can't open display

I checked .Xauthoriastion file but it is blank on HP Box. ( xauth list )
Please tell me what entry should I put to this file.
On Linux box this file has two entry for local machine
Do I need to copy coocky ? where can I find that ?

Regards,

Roger
Sanjay_6
Honored Contributor

Re: xserver client

Hope this helps.

I assume you want to connect to the HP server thru the motif interface and if you can do so from your NT workstation, that will be okay.

If it is so, u can download the Xclient from www.wrq.com. There is a package called Reflexion X and they allow you to use it free for 60 days. You can get the CDE environment on your Win NT workstation through this package. I'm using this to connect to my HP servers.

Sanjay
Roger_7
New Member

Re: xserver client

Dear Friends,
Thanks again
but i want permanent solution freeware.
that?s the reason i selected Linux
i have dual boot NT, Linux

Regards,

Roger
Roger_7
New Member

Re: xserver client

Dear Friends,
Thanks again
but i want permanent solution freeware.
that?s the reason i selected Linux
i have dual boot NT, Linux

Regards,

Roger
Charles Slivkoff
Respected Contributor

Re: xserver client

On your Linux box, PRIOR to rlogin/telnet to HP-UX, run:



xhost +hpuxsystem



This will add "hpuxsystem" to the X server access control list. Any incoming X connections from "hpuxsystem" will now be allowed to connect to the Linux display server.



This is not the most secure way to allow an X connection, but it is the easiest.



Manipulating the MIT-MAGIC-COOKIE can be done using xauth on Linux to extract, then xauth on HP-UX to merge, but it is somewhat complicated. Another option would be to "rcp" the .Xauthority from your Linux $HOME to the HP-UX system.



The most "elegant" solution is to use ssh with X11 forwarding, but that takes even more work. ;-)





nilesh joshi
Occasional Contributor

Re: xserver client

Thanks to all who replied
Yes this is what I wanted,Thanks Chuck Slivkoff
I have not tried xauth extract and merge
but could you please tell me more about securing this service.

Regards,

Roger
Charles Slivkoff
Respected Contributor

Re: xserver client

One way to continue to use the MIT-MAGIC-COOKIE, would be to copy the .Xauthority to a tmp file on the remote system (perhaps via rcp). Then with XAUTHORITY defined as this tmp file (& DISPLAY set, of course), the cookie will be available.



Otherwise, you would have to use "xauth extract" to access the current cookie, rcp/remsh it to the remote system and use "xauth add" to add it into ~/.Xauthority on the other end.



A much more elegant solution would be to use ssh with X11 forwarding enabled.