- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- xvfb set with DISPLAY=localhost:0.0
Operating System - HP-UX
1819804
Members
2990
Online
109607
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
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
тАО08-19-2008 01:19 AM
тАО08-19-2008 01:19 AM
xvfb set with DISPLAY=localhost:0.0
Hi,
I have a requirement to have xvfb display buffer running with a XVFB_DISPLAY=0 rather than the default XVFB_DISPLAY=5 (/etc/rc.config.d/xvfb)
Unfortunately when I then export DISPLAY=localhost:0.0 and then fire up xclock it errors with can;t open display. It works fine with if I have have the XVFB_DISPLAY=5 and DISPLAY=localhost:5.0
Previously we used the older implemnetation of xvfb and the display was set to DISPLAY=localhost:0.0
Can anyone advise why I have an issue when I set DISPLAY=localhost:0.0
Thanks
Michael
I have a requirement to have xvfb display buffer running with a XVFB_DISPLAY=0 rather than the default XVFB_DISPLAY=5 (/etc/rc.config.d/xvfb)
Unfortunately when I then export DISPLAY=localhost:0.0 and then fire up xclock it errors with can;t open display. It works fine with if I have have the XVFB_DISPLAY=5 and DISPLAY=localhost:5.0
Previously we used the older implemnetation of xvfb and the display was set to DISPLAY=localhost:0.0
Can anyone advise why I have an issue when I set DISPLAY=localhost:0.0
Thanks
Michael
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2008 02:13 AM
тАО08-19-2008 02:13 AM
Re: xvfb set with DISPLAY=localhost:0.0
Shalom Michael,
You don't want to run xvfb to the same display you would run x windows for system configuration.
More than likely localhost:0.0 is being used by a X windows program monitoring your machine.
My operators in chicago liked to keep gpm up on the systems and that used 0.0. If you try to do x writes to that it will pop up there.
I assume you are using xvfb to provide X services to some product like Oracle reports.; Go with 5 and be happy it works at all. :-)
SEP
You don't want to run xvfb to the same display you would run x windows for system configuration.
More than likely localhost:0.0 is being used by a X windows program monitoring your machine.
My operators in chicago liked to keep gpm up on the systems and that used 0.0. If you try to do x writes to that it will pop up there.
I assume you are using xvfb to provide X services to some product like Oracle reports.; Go with 5 and be happy it works at all. :-)
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2008 03:04 AM
тАО08-19-2008 03:04 AM
Re: xvfb set with DISPLAY=localhost:0.0
Michael,
What is the issue you face you run xvfb using default XVFB_DISPLAY=5 in /etc/rc.config.d/xvfb
What is the issue you face you run xvfb using default XVFB_DISPLAY=5 in /etc/rc.config.d/xvfb
"There is always some scope for improvement"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2008 04:52 AM
тАО08-19-2008 04:52 AM
Re: xvfb set with DISPLAY=localhost:0.0
Thanks for your reply's to my question.
I have managed to fix the problem by changing the USE_XHP=0 in the /etc/rc.config.d/xvfb
# Set to "0" to force use of Xvfb instead of Xhp as VFB
# If XHP_VFB_BROKER is n/a, will fallback to "0"
USE_XHP=0
I agreed totally with you SEP that using the default xvfb display 5 would be the best sloution and the customer does infact use display 5 in all of the dev environments but for some historical reason that use display0:0 in production. Getting the customer to change the display settings in an E-Buisness suite environment wasn't really an option.
Without changing the variable USE_XHP=0 xvfb looks for /dev/crt device file as you would expect because using display 0 is used for the physical card.
Thanks again for your input.
Cheers
Michael
I have managed to fix the problem by changing the USE_XHP=0 in the /etc/rc.config.d/xvfb
# Set to "0" to force use of Xvfb instead of Xhp as VFB
# If XHP_VFB_BROKER is n/a, will fallback to "0"
USE_XHP=0
I agreed totally with you SEP that using the default xvfb display 5 would be the best sloution and the customer does infact use display 5 in all of the dev environments but for some historical reason that use display0:0 in production. Getting the customer to change the display settings in an E-Buisness suite environment wasn't really an option.
Without changing the variable USE_XHP=0 xvfb looks for /dev/crt device file as you would expect because using display 0 is used for the physical card.
Thanks again for your input.
Cheers
Michael
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.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP