On 12/06/2017 21:22, Alan Feuerbacher wrote: > 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. > > [...]
Looks like Xvfb did not start. Did you have a look at the "Xvfb.out" file? Also, do you have a file Xvfb.pid? Same questions of course for twm.out and twm.pid... As you may have seen, there are no double ampersand (&&) in that sequence of commands. They can't be used here, because they break the behavior of the single ampersand (&). That's all I can say now... Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
