Installation Test in Windows, X11 check error (xorg-x11-utils)

Hi, guys. Ubuntun - 22.04.1

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

How do i configure xorg-x11?

Dear Eduardo,

did you install and run an XServer on Windows as described in sections 1.2 and 3.1 of the guide you linked?

Cheers,
David

Yes Dávid,

I installed the 2 and I believe this must be disturbing something. But I tried to uninstall MobaX and the following message appears.

Screenshot_9

Dear Eduardo,

unfortunately, I can’t help you with this error. But, did you try restarting your PC before uninstalling it?

Cheers,
David

1 Like

Yes, I Did!! But unfortunately it didn’t help

Hi guys, I can uninstall the program,

I went to the website and downloaded the windows troubleshooter.I chose MobaXterm and then did the procedures mentioned in the website.

Now I did the procedures, installed Xming

I ran it using No Access Controll activated.

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 :slight_smile:

Dear Eduardo,

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.

Cheers,
David

1 Like

Dear Dávid, thank you very much for your assistance!

Unfortunately, as I needed to perform the installation as soon as possible, I chose to give up Windows and dual-boot Windows/Ubuntu on my machine.

So I can’t validate your last answer as correct, sorry.

To download on ubuntu I had few problems.

Thank you for assistance.