- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Doubt in Display env variable
Operating System - HP-UX
1753514
Members
5313
Online
108795
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2007 12:05 PM
тАО06-08-2007 12:05 PM
Doubt in Display env variable
Hi all,
We are using VNC viewer tool to see the UNIX GUI mode.In vnc viewer our unix guys configured one server(say server A) in VNC viewer.i login to serverA through VNC viewer and then i login into another server (Say ServerB)by giving ssh uname@serverB.After login in to serverB i couldnt able to see the GUI mode screen of ServerB.
For this issue what is the value of DISPLAY variable i have to set in environment variable.
Note:1.The Vncviewer is installed in my local desktop machine.
Help appericiated...
Thanks,
Nirmal.
We are using VNC viewer tool to see the UNIX GUI mode.In vnc viewer our unix guys configured one server(say server A) in VNC viewer.i login to serverA through VNC viewer and then i login into another server (Say ServerB)by giving ssh uname@serverB.After login in to serverB i couldnt able to see the GUI mode screen of ServerB.
For this issue what is the value of DISPLAY variable i have to set in environment variable.
Note:1.The Vncviewer is installed in my local desktop machine.
Help appericiated...
Thanks,
Nirmal.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2007 01:08 PM
тАО06-08-2007 01:08 PM
Re: Doubt in Display env variable
Before ssh'ing over to server do an 'echo $DISPLAY' and note what it's value is. Now do an 'xhost +serverb'.
After you successfully connect to serverb, set you DISPLAY to whatever the output was of the echo statement above.
For example:
On servera
servera$ echo $DISPLAY
DISPLAY=servera:0.1
servera$ xhost +serverb
servera$ ssh serverb
Now you are connect to serverb
serverb$ export DISPLAY=servera:0.1
After you successfully connect to serverb, set you DISPLAY to whatever the output was of the echo statement above.
For example:
On servera
servera$ echo $DISPLAY
DISPLAY=servera:0.1
servera$ xhost +serverb
servera$ ssh serverb
Now you are connect to serverb
serverb$ export DISPLAY=servera:0.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 01:47 AM
тАО06-13-2007 01:47 AM
Re: Doubt in Display env variable
I will give you three options:
1) use : "ssh -X uname@server2" from server1
the will automatically set the DISPLAY variable so that the screens are displayed on server1.
They will be visible to you as using vnc viewer.
2) you can directly connect to server2 using putty(ssh protocol) from your PC (no need to go through server1)
before connecting through putty please enable X11 tunneling
no need to set the DISPLAY manually
3)Install a X server on your PC
connect to server2 using telnet
export the DISPLAY to:0.0
eg export DISPLAY=10.211.14.21:0.0
start an x command (gnome-session will start the desktop)
cheers
Srikrishan
1) use : "ssh -X uname@server2" from server1
the will automatically set the DISPLAY variable so that the screens are displayed on server1.
They will be visible to you as using vnc viewer.
2) you can directly connect to server2 using putty(ssh protocol) from your PC (no need to go through server1)
before connecting through putty please enable X11 tunneling
no need to set the DISPLAY manually
3)Install a X server on your PC
connect to server2 using telnet
export the DISPLAY to
eg export DISPLAY=10.211.14.21:0.0
start an x command (gnome-session will start the desktop)
cheers
Srikrishan
abandon all hope, ye who enter here..
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP