In BLFS systemd version 8.0, I'm trying to test JVM in OpenJDK-1.8.0.121
using the method shown in the BLFS book, where Xvfb is used.
The last of the series of commands it:
xhost +
which returns the error:
xhost: unable to open display ":20"
I've run through each command line individually to see if they execute
properly -- no issues until the last one.
I've rebooted the machine and recompiled OpenJDK, with the same result.
Could there be some kind of authorization problem with X? I found a
reference on the Net to such a problem from 2008, which was fixed by
messing with the /etc/X11/xdm/xdm-config, but there's no such file on my
machine, nor any reference in the BLFS book to such an animal.
After executing all the command lines I tried to see if Xvfb and twm
were running, so:
ps -a | grep -i xvfb
Returned nothing.
ps -a | grep -i twm
Returned a single instance of twm running in tty2, as expected, since I
started twm in Console 2.
Ideas? Probably something simple.
Alan
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page