I did all the installation suggested from the site
But when I go to verify the installation test (verify that all files are correct) the following error appears
Checking python
Version: 3.10-6 ok
Checking python tkinter module
tkinter found
Checking tk library
Tk Version= 8.6 ok
Checking python imaging
python-imaging-tk installed
Checking gnuplot
gnuplot 5.4.2 ok
Checking memory
Ram: 2945000 kb ok
Swap: 1048576 kb ok
Checking CPU
CPUs: 8 ok
Clock: 3692.95 MHz ok
Arch: x86_64
Checking X11
xdpyinfo: unable to open display "172.26.144.1:0".
============================== WARNING ==============================
Unable to determine X11 dimensions and pixel depth
Please ensure a minimum of 1280x768 with 24bit depth.
Install the xorg-x11-utils package to be able to determine the x11 dimensions
Possible commands (as superuser):
rpm based:
dnf -y install xorg-x11-utils
deb based:
apt install xorg-x11-utils
======================================================================
Checking flair
flair directory: /usr/local/flair
flair version: 3.2-1
Checking flair-geoviewer
flair version ok (same or higher than 3.1-13)
flair-geoviewer version 3.2-1
flair and geoviewer version match
Checking gfortran
gfortran version 11.3.0
gfortran function properly
Checking FLUKA
FLUKA directory: /usr/local/fluka
FLUKA Version= 4-3.1
/usr/local/fluka/bin/fluka exists
/usr/local/fluka/bin utilities exists ok
{flukadir}/bin/lfluka -o testfluka compiles ok
fluka runs ok
================================================================================
Congratulations all tests passed
================================================================================
1 warnings found
I have already used the commands that the error itself suggests but the following appears
1° No ~ sudo su
eduardo@Eduardo:~ apt install xorg-x11-utils
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
2° With ~$ sudou su
root@Eduardo:/home/eduardo# apt install xorg-x11-utils
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package xorg-x11-utils
But the same problem is happening when I run the program ./check_fluka.sh
Checking X11
xdpyinfo: unable to open display "192.168.176.1:0".
============================== WARNING ==============================
Unable to determine X11 dimensions and pixel depth
Please ensure a minimum of 1280x768 with 24bit depth.
Install the xorg-x11-utils package to be able to determine the x11 dimensions
Possible commands (as superuser):
rpm based:
dnf -y install xorg-x11-utils
deb based:
apt install xorg-x11-utils
======================================================================
Checking flair
flair directory: /usr/local/flair
flair version: 3.2-1
Checking flair-geoviewer
flair version ok (same or higher than 3.1-13)
flair-geoviewer version 3.2-1
flair and geoviewer version match
Checking gfortran
gfortran version 11.3.0
gfortran function properly
Checking FLUKA
FLUKA directory: /usr/local/fluka
FLUKA Version= 4-3.1
/usr/local/fluka/bin/fluka exists
/usr/local/fluka/bin utilities exists ok
{flukadir}/bin/lfluka -o testfluka compiles ok
fluka runs ok
================================================================================
Congratulations all tests passed
================================================================================
1 warnings found
However this doesn’t mean that everything is functioning properly
Start flair, verify that the output doesn’t contain any error or warning message
Create a small input, run and plot the results
the correct package name should be x11-utils for Ubuntu or Debian-based systems, but the error message is only generic. In your case, the package is installed, since xdpyinfo gives you an error message.
I can only think of one cause at the moment: Maybe your firewall is interfering. If you are using the default firewall of windows you could check in Xming is allowed to pass: Couldn't connect to display - #4 by horvathd
If I understood correctly – except this warning – Flair is working correctly. Is this correct? If so I wouldn’t worry about the issue.