- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Problem in starting XVFB
Operating System - Linux
1752282
Members
4705
Online
108786
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
тАО07-29-2004 10:51 PM
тАО07-29-2004 10:51 PM
Problem in starting XVFB
Hi All,
I am having two machines one with headless Linux Server (Red Hat 9.0) and another with Windows 2000 client.
I would like to execute a graphic based java program which resides in headless linux machine.
I used "putty's - ssh" to access the linux machine from windows 2000.
Putty Link : http://putty.bhni.net/download.html
I tried with these,
- removed the monitor, keyboard and mouse from the Linux Server.
- changed the runlevel from 5 to 3 ie.made the XServer stopped using "telinit 3" command.
- tried to start XVFB which comes with the Red Hat 9.0 with the following command
" Xvfb :0 -screen 0 1024x768x16 & "
Got these errors
-----
Error : Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
-----
I assume that it could not init the fonts alone but, XVFB is running. So, i tried to
execute a Graphic based Java program. But, i got the following errors
--------
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '192.168.1.32:0.0'
as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:134)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1041)
at JavaHeadless.main(JavaHeadless.java:8)
--------
Can anyone help me to start XVFB ?
any help is appreciated.
Thank in Advance
Umesh
I am having two machines one with headless Linux Server (Red Hat 9.0) and another with Windows 2000 client.
I would like to execute a graphic based java program which resides in headless linux machine.
I used "putty's - ssh" to access the linux machine from windows 2000.
Putty Link : http://putty.bhni.net/download.html
I tried with these,
- removed the monitor, keyboard and mouse from the Linux Server.
- changed the runlevel from 5 to 3 ie.made the XServer stopped using "telinit 3" command.
- tried to start XVFB which comes with the Red Hat 9.0 with the following command
" Xvfb :0 -screen 0 1024x768x16 & "
Got these errors
-----
Error : Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
-----
I assume that it could not init the fonts alone but, XVFB is running. So, i tried to
execute a Graphic based Java program. But, i got the following errors
--------
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '192.168.1.32:0.0'
as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1041)
at JavaHeadless.main(JavaHeadless.java:8)
--------
Can anyone help me to start XVFB ?
any help is appreciated.
Thank in Advance
Umesh
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2004 11:34 PM
тАО07-29-2004 11:34 PM
Re: Problem in starting XVFB
Hi,
Have you entered and xhost + to the server you are trying to get onto/from. That may be why the java is failing, and could also point to your Xvfb problems.
HTH
regards
Matt
Have you entered and xhost +
HTH
regards
Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2004 12:09 AM
тАО07-30-2004 12:09 AM
Re: Problem in starting XVFB
Thanks Palmer,
Yes, i tried this command from the windows machine thru putty
xhost +192.168.1.32
but i got the following error
xhost: unable to open
display "192.168.1.32:0.0"
the above specified ip is my client's.
any DISPLAY setting is needed ?
Thanks in Advance
Umesh
Yes, i tried this command from the windows machine thru putty
xhost +192.168.1.32
but i got the following error
xhost: unable to open
display "192.168.1.32:0.0"
the above specified ip is my client's.
any DISPLAY setting is needed ?
Thanks in Advance
Umesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2004 12:19 AM
тАО07-30-2004 12:19 AM
Re: Problem in starting XVFB
Hi,
as far as I am aware, I believe that messages with regards to DISPLAY issues, (if the $DISPLAY env variable is set) are normally down to things like xhost, I dont really know more than that I am afraid. Are you using X11 over ssh??
as far as I am aware, I believe that messages with regards to DISPLAY issues, (if the $DISPLAY env variable is set) are normally down to things like xhost, I dont really know more than that I am afraid. Are you using X11 over ssh??
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