ThomasTJdev/nim_websitecreator

Error: Xvfb program was not found

jots opened this issue ยท 4 comments

jots commented

running ./nimwc gives:
Error: Xvfb program was not found in /usr/bin directory, please install it

I have noX=true in config.cfg in the firejail section.

Why does it want Xvfb?

X Isolation.

You have 2 options:

  • Install it.
  • Disable from the config.cfg setting noX=false and you dont need to install it.

Usually is named xorg-server-xvfb or xvfb on most Linux distros.
๐Ÿ™‚

jots commented

Thank you! I had that option backwards in my mind.
Now I get:

Mounting tmpfs on /var/lock
Error mounting /lock: fs_var.c:254 fs_var_lock: Too many levels of symbolic links
Error: proc 4901 cannot sync with peer: unexpected EOF
Peer 4902 unexpectedly exited with status 1

I'm running this on crouton on a chromebook.
Is this another firejail problem?
How can I disable firejail?
I tried nim c -d:firejail=no nimwc.nim but that didnt' do it.

Just remove the -d:firejail from the compile command.
Then is Disabled and no Firejail code is on the binary.
Everything Firejail is also gone, including its UI.

  • -d:firejail = Firejail
  • -d:webp = WebP
  • -d:postgres = Postgres SQL Server

You can also set everything to false on the config.cfg

[firejail]
noDvd=false
noSound=false
noAutoPulse=false
no3d=false
noX=false
noVideo=false
noDbus=false
noDebuggers=false
noMachineId=false
noRoot=false
noAllusers=false
noU2f=false
privateTmp=false
privateCache=false
privateDev=false
noShell=false
forceEnUsUtf8=false
caps=false
seccomp=false
noTv=false
writables=false
noMnt=false
maxSubProcesses=0
maxOpenFiles=0
maxFileSize=0
maxPendingSignals=0
timeout=0
maxCpu=0
maxRam=0
cpuCoresByNumber=0
hostsFile=/etc/hosts
dns0=""
dns1=""
dns2=""
dns3=""
jots commented

Thanks. I commented out -d:firejail from nimwc.nim.cfg and it works!
I look forward to checking this system out, it seems very cool!