LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   RH 8.0 Xvfb connection refused problem. (https://www.linuxquestions.org/questions/linux-distributions-5/rh-8-0-xvfb-connection-refused-problem-34284/)

jol 10-31-2002 03:43 PM

RH 8.0 Xvfb connection refused problem.
 
Hi, can anyone else confirm if this is a RH 8.0 problem ?

running the following

"Xvfb :1 -screen 0 1280x1024x8 &"

and then

"DISPLAY=:1 xdpyinfo"

gives the following error,

AUDIT: Thu Oct 31 16:09:55 2002: 1631 Xvfb: client 1 rejected from local host
Xlib: connection to ":1.0" refused by server
Xlib: No protocol specified

xdpyinfo: unable to open display ":1".

It works OK in previous releases of RH.

benoitdubouloz 12-14-2002 01:56 PM

Xvfb on redhat 8.0 doesnt work
 
I have the same probleme, I try to use Xvfb with tomcat4 for generating images on the fly.
I have the same probleme as you :

AUDIT: Sat Dec 14 20:31:57 2002: 12261 Xvfb: client 1 rejected from local host

I tried to make a file /etc/X0.hosts containing localhost but it doesnt worked

Can someone help me soon....

my email = benoit@jussy.org

benoitdubouloz 12-14-2002 02:20 PM

Xvfb tomcat4 redhat 8.0
 
for those who wants to use Xvfb under redhat 8.0 here is how to process

first create a file /etc/X29.hosts
write inside:

localhost


at startup call
(you can put it at the end of /etc/rc.d/rc.local

Xvfb :29 -auth /etc/X29.hosts -screen 0 1280x1024x8

then put at the end of tomcat4.conf

DISPLAY=:29
export DISPLAY


All times are GMT -5. The time now is 10:20 PM.