- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unable to set 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
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
тАО12-29-2004 09:45 PM
тАО12-29-2004 09:45 PM
unable to set DISPLAY
when i use the xmodmap command...it gibes an error saying that " unable to open display ':0.0'".
I have set the display variable to :0.0
The files in the /etc/X11 are X0screens,X0pointerkeys,X0devices.
Is there any way i can set the Dispay var.
I even tried setting it to
but a similar error was thrown.
Can i use xon to set the display var??
Can any of u pls specify how shud i do that.
Thanx
Kartick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2004 10:01 PM
тАО12-29-2004 10:01 PM
Re: unable to set DISPLAY
export DISPLAY=xxx.xxx.xxx.xxx:0.0
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2004 10:01 PM
тАО12-29-2004 10:01 PM
Re: unable to set DISPLAY
It should be
#export DISPLAY=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2004 10:02 PM
тАО12-29-2004 10:02 PM
Re: unable to set DISPLAY
Set it to your pc IP in the .profile:
#export DISPLAY=
Best Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2004 10:09 PM
тАО12-29-2004 10:09 PM
Re: unable to set DISPLAY
export DISPLAY=XXX.XXX.XXX.XXX:0.0
XXX.XXX.XXX.XXX is your IP on which you run xmodmap.
2) you should add this command to you profile (.profile) rather than tying it at prompt.
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2004 10:14 PM
тАО12-29-2004 10:14 PM
Re: unable to set DISPLAY
DISPLAY=$(who -m -u | awk '{print $8}')
export DISPLAY
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2004 10:21 PM
тАО12-29-2004 10:21 PM
Re: unable to set DISPLAY
Do as those answer!
Just more clearly:
The IP address is the local machine that you loged on.
For example: You PC ip address's 192.168.0.20
then just type:
(in Xwindows)
export DISPLAY=192.168.0.20:0.0
It works!
Best and regard,
HoangChiCong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2004 11:13 PM
тАО12-29-2004 11:13 PM
Re: unable to set DISPLAY
In that case what i had done was i had loggeed on Linux using a telnet session from a Windows machine.
Then i had set the display variable to
After that i was able to execute all the x related commands.
But when i do the same thing on hp ux it shows
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2004 05:19 AM
тАО12-30-2004 05:19 AM
Re: unable to set DISPLAY
the procedure for this is to do a "who" and find your pts. then run a "who -R" which will display your ip address relitive to your login.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2004 08:18 AM
тАО12-30-2004 08:18 AM
Re: unable to set DISPLAY
If you're sure that the system that you're trying to send a display to has X server software, you may need to check its security settings. If this is a M$ system, checking and setting this can be tricky and will vary from system to system. If the system is a Unix/linux host, then the command "xhost +" sets the security settings appropriately.
Next, ensure that the host name of the system to which you're trying to send the X session to has an entry in the /etc/hosts table. Example:
192.168.1.128 myhost myhost.foo.com
Finally, (assuming you're using the korn or posix shell), type:
"export DISPLAY=myhost:0.0"
Lastly, start the x client program. On a HPUX system, the command:
/usr/dt/bin/dtpad -standAlone &
will open the graphical text editor on the X server specified in the DISPLAY variable.
The error you mention can indicate that there is no network connectivity to the host you specify, OR that the X server software isn't running.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2004 09:09 PM
тАО12-30-2004 09:09 PM
Re: unable to set DISPLAY
When you get this message:
unable to open display ':0.0'
It is trying to send the X-window to the host your logged into. This server might not have an X-console, thus can't display the window.
When you specify myhost:0.0 it will try to send the X-window from the server to myhost.
On myhost you must have X running.
As mentioned in previous replies you should also ensure that the client/server is individually known to each other.
It might be a good idea that they're defined in the hosts file.
If you login from a workstation with X, your problem could also be related to restrictions in X.
For some X implementations, the server must also be granted access to display the X-window on myhost. On myhost try to run the command: xhost +
This will allow everyone to send X-windows to myhost.
If you login from a Windows PC - you need X-emulator software. This might also have restrictions for who can connect.
P.S.
If none of the hints you've been given help you, try to specify your problem better and give info about where you want to display...
The :0.0 indicate that you want to display on the server itself - console, while you obviously come from another client via telnet. Specify what kind of client this is.
/Tor-Arne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2004 10:14 PM
тАО12-30-2004 10:14 PM