Operating System - HP-UX
1748159 Members
3973 Online
108758 Solutions
New Discussion юеВ

Re: cant x11 window server message arise

 
Horia Chirculescu
Honored Contributor

Re: cant x11 window server message arise

So you have an X server running on your windows station.

You must now open an ssh connection (use putty) to you HP-UX then set the DISPLAY variable.

(like this:

DISPLAY=your_windows_ip_address:0.0
export DISPLAY
)

Start an x application on the same shell to check things are working:

xclock

Horia.
Best regards from Romania,
Horia.
Horia Chirculescu
Honored Contributor

Re: cant x11 window server message arise

>You must now open an ssh connection (use putty) to you HP-UX then set the DISPLAY variable

I have noticed on your first screen that you are using telnet, not ssh.

By the way, you should use ssh (it is secure)

Horia.
Best regards from Romania,
Horia.
Zishan
Regular Advisor

Re: cant x11 window server message arise

Horia,

Ok i will use ssh later. But pls tell me how can I connect with unix server with xming??? also send me some snaps shot that how to configure xming now eg: where to give unix server ip.

Regards,
Horia Chirculescu
Honored Contributor

Re: cant x11 window server message arise

>But pls tell me how can I connect with unix server with xming???

Just as I said above:

1. telnet into your HP-UX server

2. On that shell (on HP-UX) you give those 2 commands:

DISPLAY=your_windows_station_IP:0.0
export DISPLAY


3. Test if all is working by starting an X application from the same telnet shell:

xclock


If all is Ok, you should get the output on your Windows station.


>also send me some snaps shot that how to configure xming now eg: where to give unix server ip.

You must set permissions to HP-UX server to use your X server by editing some file from the directory where you installed Xming (typically:

C:\Program Files\Xming

The file is X0.hosts

Use worpad to insert a new line with your HP_UX server IP address like this:

localhost
10.1.10.11

This would do the job.


Horia.
Best regards from Romania,
Horia.
Viktor Balogh
Honored Contributor

Re: cant x11 window server message arise

Hi Zishan,

Here are some screenshots on how to set up X forwarding with putty. For this you need to have Xming running in the background on your desktop PC. (A small X icon appears on the right of the taskbar if you run Xming)

http://www.math.umn.edu/systems_guide/putty_xwin32.html

hope this helps,
Viktor
****
Unix operates with beer.
Zishan
Regular Advisor

Re: cant x11 window server message arise

Hello,

I triead to Set display variable path and got the following error:

# echo $SHELL
/sbin/sh
# DISPLAY=10.1.0.45:0.0
# export DISPLAY
# xclock
Xlib: connection to "10.1.0.45:0.0" refused by server
Xlib: No protocol specified

Error: Can't open display: 10.1.0.45:0.0
Error: Couldn't find per display information

Regards,
Viktor Balogh
Honored Contributor

Re: cant x11 window server message arise

Zishan,

if you follow the instructions here, the DISPLAY parameter will be set automatically:

http://www.math.umn.edu/systems_guide/putty_xwin32.html

Putty will set it if you log in by ssh.
****
Unix operates with beer.
Steven Schweda
Honored Contributor

Re: cant x11 window server message arise

> Xlib: connection to "10.1.0.45:0.0" refused by server

What is "10.1.0.45"? And is it running an X
server? Apparently not, or else you don't
have permission to use it.

telnet 10.1.0.45 6000
Horia Chirculescu
Honored Contributor

Re: cant x11 window server message arise

>Xlib: connection to "10.1.0.45:0.0" refused >by server
>Xlib: No protocol specified

Did you start xming with XLaunch? If not, just close the current server (Exit) and go to Start/All Programs/Xming/XLaunch

Next/Next

At Additional parameters window, select "No Access Control" (put the check sign)

Next/Save Configuration

You can save this configuration on your desktop for later re-use (next time when needed the X server, just double-click on this icon and you will skip the Next/Next part...)

Then, Finish

Horia.
Best regards from Romania,
Horia.
Zishan
Regular Advisor

Re: cant x11 window server message arise

Thanks to all my problem is solved ....