- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vncserver errors xsetroot: unable to open 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
тАО11-03-2016 12:02 AM
тАО11-03-2016 12:02 AM
vncserver errors xsetroot: unable to open display 'hostname'
Hi All,
Iam working on HP-UX 11.31 machine through an Ultra VNC viewer from my windows machine. VNC was working fine till yesterday, but today when I do a VNC it gives 'Failed to connect to the server' message.
As Iam able to connect to HP-UX machine through SSH I stopped and restarted the VNCSERVER. Still Iam facing the same issue. When I checked the vnc log I see below errors:
xsetroot: unable to open display 'hostname:1'
xterm Xt error: Can't open display: %s
twm: unable to open display "hostname:1"
I have not changed anything and Iam not sure what the issue is. Has anybody faced a similar issue and able to resolve it.
Thanks in advance.
- Tags:
- VNC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2016 04:29 AM
тАО11-03-2016 04:29 AM
Re: vncserver errors xsetroot: unable to open display 'hostname'
If I understand this correctly the application wants to connect to the X-server (this part is running on your windows PC).
Any application/firewall/ etc. issue there?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2016 07:25 PM
тАО11-03-2016 07:25 PM
Re: vncserver errors xsetroot: unable to open display 'hostname'
Have you confirmed that
- the vnc server process is alive (e.g. using the 'ps' command)
- the 'hostname' resolves properly and is reachable ('ping')
- the display number (1) is correct (maybe from the parameters sent to the vnc server as visible with 'ps -x' etc, or perhaps simply checking whether a telnet connection to port 6001 of hostname succeeds - 'telnet hostname 6001')
?
--
ranga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2016 10:03 PM
тАО11-03-2016 10:03 PM
Re: vncserver errors xsetroot: unable to open display 'hostname'
Thanks for your reply..
ps shows the vncserver process running and also Iam able to ping the machine.
But telnet fails with error "Could not open connection to the host on port".
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2016 10:41 PM
тАО11-03-2016 10:41 PM
Re: vncserver errors xsetroot: unable to open display 'hostname'
Does the vnc server command line not show the display or port number ?
You could also use lsof to find out what port number the server is listening on.
--
ranga