1819928 Members
3027 Online
109607 Solutions
New Discussion юеВ

Set Display variable

 
HP_Sammy
Trusted Contributor

Set Display variable

Hi

i am using telnet to access UX and according to the notes i can access gui sam if i correctly set the display variable

any help

Cheers :)
11 REPLIES 11
David Bellamy
Respected Contributor

Re: Set Display variable

export DISPLAY=xxx.xxx.xxx:0.0
where xxx is the ip address/hostname of the system you are telneting from
Sandman!
Honored Contributor

Re: Set Display variable

export DISPLAY=hostname:0.0
whiteknight
Honored Contributor

Re: Set Display variable


hi,

What kind of terminal emulation you are using ? If you are using a putty terminal, you will only get SAM TUI, not GUI.

If you connect using reflection/X any X windows emulation, you will get GUI.

export DISPLAY=xxx.xxx.xxx.xxx:0.0
xhost +

WK
please assign points
Problem never ends, you must know how to fix it
James R. Ferguson
Acclaimed Contributor

Re: Set Display variable

Hi:

# export DISPLAY=$(who -uR|awk -v ME=$$ '$7==ME {print $8":0.0"}')

Regards!

...JRF...
HP_Sammy
Trusted Contributor

Re: Set Display variable

i am using simple command prompt in XP to access UX server

Cheers:)
A. Clay Stephenson
Acclaimed Contributor

Re: Set Display variable

Then forget it; all you will have is the character-based interface. In order to use the X-Windows based GUI, you need an X Terminal or a PC-based X emulatator such as Reflection X or eXceed.
If it ain't broke, I can fix that.
HP_Sammy
Trusted Contributor

Re: Set Display variable

Know any free Xwindow terminal that i can use

:)
whiteknight
Honored Contributor

Re: Set Display variable


Hi ITRC SAMMY,

You can try this product.. widely use. You can evaluate this product, may be free for 60 days...

http://www.attachmate.com/en-US/Products/Host+Connectivity/PC+X+Server/rsx/rsx.htm

WK
please assign points
Problem never ends, you must know how to fix it
Hein van den Heuvel
Honored Contributor

Re: Set Display variable

For a free X server you can use cygwin.

You'll typically install the 'base' first, giving you a nice Posix environment on Windoze and then run setup again to add the X11.

http://www.cygwin.com/faq/faq.setup.html

I just installed the X11 component on one of my system and thought it was not too evident how to actually start the server.
In the end I used:

bash$ /usr/X11R6/bin/startxwin.bat
startxwin.bat - Starting on Windows NT/2000/XP/2003

This was from a cygwin bash shell window.
/usr is a subdirectory in the root where cygwin is installed (in my case simply C:/cygwin )

hth,
Hein.

Dennis Handly
Acclaimed Contributor

Re: Set Display variable

>Know any free Xwindow terminal that i can use

Have you tried VNC? You have to run the X server on HP-UX but then you can see your desktop anywhere, even in a browser.
http://www.realvnc.com/download.html
HP_Sammy
Trusted Contributor

Re: Set Display variable

no commanets