Operating System - HP-UX
1835271 Members
2486 Online
110078 Solutions
New Discussion

Re: How can I access my Remote Server in GUI

 
SOLVED
Go to solution
Vipin Singhal
Super Advisor

How can I access my Remote Server in GUI

How can I access my Remote Server in GUI?

I am following these commands:
#export DISPLAY=IP_ADDRESS_OF_MY_PC:0
#cd /opt/perf/bin
#gpm
Connecting to Display...
Error: Can't open display: 10.66.70.188:0
Error: Couldn't find per display information
#

gpm is working with another users, but I am not able to access my server in GUI using gpm.

I tried xmanager & hummingbird software also.

My OS is - HP-UX 11i V2

Is there another utility sothat i can get my server in GUI?

Thanks
Vipin
13 REPLIES 13
Pete Randall
Outstanding Contributor
Solution

Re: How can I access my Remote Server in GUI

Vipin,

Try
#export DISPLAY=IP_ADDRESS_OF_MY_PC:0.0


Pete

Pete
Piergiacomo Perini
Trusted Contributor

Re: How can I access my Remote Server in GUI

Hi Vipin,
try also

export TERM=xterm

regards
pg
A. Clay Stephenson
Acclaimed Contributor

Re: How can I access my Remote Server in GUI

Since you have X server software installed on your PC, you should be able to access the server. I assume that you can ping the server from the PC and the server can ping your PC. You probably need to run the xhost command to allow your PC access. Man xhost for details.
If it ain't broke, I can fix that.
Arunvijai_4
Honored Contributor

Re: How can I access my Remote Server in GUI

You can use VNC to get display from your server. Download is avaiable at http://www.realvnc.com/download.html.

Or else, you can #export DISPLAY=IP_ADDRESS:0.0
and try connecting from XManager

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Vipin Singhal
Super Advisor

Re: How can I access my Remote Server in GUI

I tried all these things

#export DISPLAY=IP_ADDRESS_OF_MY_PC:0.0
#export TERM=xterm
#cd /opt/perf/bin
#gpm
Connecting to Display...
Error: Can't open display: 10.66.70.188:0
Error: Couldn't find per display information
#

then i also tried with xmanager, but still i m mot able to connect.

My PC and server acn ping to each other
Pete Randall
Outstanding Contributor

Re: How can I access my Remote Server in GUI

Did you try "xhost +"?


Pete

Pete
Vipin Singhal
Super Advisor

Re: How can I access my Remote Server in GUI

yes Pete,
I tried also xhost +

but still not working
Pete Randall
Outstanding Contributor

Re: How can I access my Remote Server in GUI

You say that you tried

"export DISPLAY=IP_ADDRESS_OF_MY_PC:0.0"

yet your error message still says "Error: Can't open display: 10.66.70.188:0", with only one zero. Could you try that again please?


Pete

Pete
Arunvijai_4
Honored Contributor

Re: How can I access my Remote Server in GUI

Vipin, Did you keep XManager in passive mode ? If its not done, you will receive same error.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Arunvijai_4
Honored Contributor

Re: How can I access my Remote Server in GUI

Vipin, I just tried that without opening Xmanager in passive mode and received the same error, # /opt/perf/bin/gpm
Connecting to Display...
Error: Can't open display:
Error: Couldn't find per display information

When i started Xmanager in Passive mode, it is working fine, you can do it via Program Fies-->XManager2-->XManager Passive

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Torsten.
Acclaimed Contributor

Re: How can I access my Remote Server in GUI

I just tried VNC software from http://www.realvnc.com/download.html (want do this since months) and this works really fine - try it!

As already mentioned, do something like "xhost +" on your workstation first (if you have a xserver running), then log on to the server and export DISPLAY with 0:0.

see also
man X
man xon

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Vipin Singhal
Super Advisor

Re: How can I access my Remote Server in GUI

Arun & everybody,
Thanks a lot,
I am able to access my CPU & process list in GUI.

Thanks

One thing more, how can i get my server root session (Main Window) in GUI using xmanager or anyother software ?
Devender Khatana
Honored Contributor

Re: How can I access my Remote Server in GUI

Hi,

You open a session for that host itself in xmanager. The DISPLAY will be exported by itself & whever window you will open will be of the user through which you logged into that GUI session.

Also for GUI sessions always the DISPLAY variable is not always set to IP_OF_PC:0.0, It is sometime IP_OF_PC:1.0 & IP_OF_PC:2.0 so before exporting session for some other host find the currently set DISPLAY by

#echo $DISPLAY

And export the same in other host.

HTH,
Devender
Impossible itself mentions "I m possible"