1832910 Members
3074 Online
110048 Solutions
New Discussion

Re: Xwindow Question

 
SOLVED
Go to solution
joe_91
Super Advisor

Xwindow Question

All:

I use telnet from my pc to login to my HP-UX servers. Is there a specific way i should export the display to make use of xwindow feature like SAM etc from the PC?

Thanks

Joe
3 REPLIES 3
Geoff Wild
Honored Contributor
Solution

Re: Xwindow Question

You need to use a package like Exceed on your PC - in order to do X on your PC...

Then, after connecting to HP-UX:

export DISPLAY=yourpcdnsname:0.0


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Rick Garland
Honored Contributor

Re: Xwindow Question

Something you can put in your profile.

export DISPLAY=`who -um | awk '{print $NF}'`:0

This will allow you to always have an export DISPLAY env variable. You may also want to include

xhost +

Govind_3
Regular Advisor

Re: Xwindow Question

If you have a Xwindows client on your pc you could connect directly using that. There are lots of 3rd Party software. Exceed is just one of them. Ofcourse after that we would need the Xclient authorized to connect to the Xserver (use xhost + client hostname).
Cheers,
Govind