1754949 Members
2912 Online
108827 Solutions
New Discussion юеВ

Xvfb issue

 
Matthew White_3
Occasional Contributor

Xvfb issue

Greetings,

I'm running Xvfb on one of my servers, but it doesn't seem to be configured correctly. When it try to test it, I get this:

host1:root# xwd -out junk -root -display host2:19
Xlib: connection to "host2:19.0" refused by server
Xlib: No protocol specified

xwd: unable to open display 'host2:19'


I've been racking my brain, but Xvfb is poorly documented. Does anyone have any ideas?
3 REPLIES 3
Joseph Loo
Honored Contributor

Re: Xvfb issue

hi,

just to check, have u "xhost +host2"? u may also like to read this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=54406

if u have other options, u may like to try VNC.

regards.
what you do not see does not mean you should not believe
Steven E. Protter
Exalted Contributor

Re: Xvfb issue

'host2:19'

That is not a valid hostname/display for xvfb

xvfb is a X server that allows products like Oracle reports to run without the presence of an actual graphics card on the hpux server.

Its startup parameters are set in /etc/rc.config.d/xvfb

There could be something wrong in there and you may get away with copying that file in from another working server.

Also see that the DISPLAY variable is set correctly in whatever program is actually using the xvfb. If its an oracle startup script, thats imperitive.

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
Basheer_2
Trusted Contributor

Re: Xvfb issue

Hi Mathew

I use DISPLAY in 2 ways

$export DISPLAY=MY_PC_IP_ADDRESS:0.0

to run as root
su (become root without -)
then whatever X programs you want to run.

First you must run your X server program (I use cygwin) on YOUR PC.

Thanks
Basheer