- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What is variable DISPLAY?
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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-24-2001 10:13 PM
тАО06-24-2001 10:13 PM
What is variable DISPLAY?
I encountered a error message saying 'DISPLAY is incorrect' but i know nothing about this varibale. Could anyone give me a hint? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2001 11:11 PM
тАО06-24-2001 11:11 PM
Re: What is variable DISPLAY?
multi-screens will use the following syntax to differentiate
ip_address:0.1 or ip_address:0.2 etc
eg 15.145.22.109:0 or hpbrc104:0
you may however need to grant access to X by running "xhost +" ( see man xhost) if you still encounter problems.
It also requires hostname resolution to be working correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2001 11:12 PM
тАО06-24-2001 11:12 PM
Re: What is variable DISPLAY?
The DISPLAY environment variable contains "the
location" of your X11 screen. This value is
build with your client's IP address and the
"screen number" : for example, if you are
connected to S1 server from C1 (IP :
AAA.BBB.CCC.DDD) client you need to define
your display on S1 with the value
AAA.BBB.CCC.DDD:0.0 .
Usually you use @IP:0.0, but sometimes (Exceed
users know that) you need to specify "screen
number" (you can define more than one screen..)
In this case you can specify @IP:num_screen.0
Remember : you specify the CLIENT display on
the SERVER where you are connected.
For others informations see this thread : http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x9dc579bffde7d4118fef0090279cd0f9,00.html
HTH
Herv?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2001 11:31 PM
тАО06-24-2001 11:31 PM
Re: What is variable DISPLAY?
Hi
DISPLAY is an environment variable. This variable contains the address of DISPLAY, which is a combination of IP address (Hostname) and screen number.
If U are in POSIX shell U can set DISPLAY like this
#DISPLAY=AA.AA.AA.AA:0.0;export DISPLAY
AA...AA is IP address of the system.
0.0 is the sreen number
To see the variable value
#echo $DISPLAY
If U are in C shell
%set env DISPLAY=AA.AA.AA.AA:0.0
To see the value
%echo $DISPLAY
Set like this and try. I hope ur problem will get solve.
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 12:04 AM
тАО06-25-2001 12:04 AM
Re: What is variable DISPLAY?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 12:21 AM
тАО06-25-2001 12:21 AM
Re: What is variable DISPLAY?
ip_address:0 or ip_address:0.0 either will work
if you have 2 monitors/screens or more ....
first screen = ip_address:0.0
second = ip_address:0.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 12:56 AM
тАО06-25-2001 12:56 AM
Re: What is variable DISPLAY?
You can use screen number (for example) when
you launch several X emulator (Exceed for PC
for example).
In this case each one use a screen number and
you need to export a display like :
export DISPLAY=@IP:0.num_screen_of_emulator
Herve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 01:35 AM
тАО06-25-2001 01:35 AM
Re: What is variable DISPLAY?
60000 is the default X transmission port, if you specify host:1.0 You specify a different port, 60001.
This is usefull for setting up applications to sniff Xprotocols.
The display variable is described fully in man X!
You can launch an app to open on display:0.1 just by specifying it on your commandline with the -display option.
All X application start with the line XOpenDisplay() to find out where the application is going to display.. what it's window properties are etc..
Later,
Bill