RPI not boot into GUI after installing NX server

Answered

Comments

14 comments

  • Avatar
    Anderson Chang

    Hi minh le,

    The Nx Witness is just an application that should not affect how the OS runs.

    Also, as far as I know, the graphical.target indicates that the system launches with a display manager, which does not necessarily mean that the system will generate the GUI.

    May I know which OS version you installed on your Raspberry Pi CM4?
    Could you share the detailed steps you took from installing the OS to Nx Witness Server applications on your CM4 with us?

    Thank you.

    0
    Comment actions Permalink
  • Avatar
    minh le

    Hi Anderson Chang,

    I am running this version

     

    0
    Comment actions Permalink
  • Avatar
    minh le

    I followed the instruction on this article https://support.networkoptix.com/hc/en-us/articles/360033842053-ARM-Single-Board-Computer-SBC-Support-Installation-Instructions, just installing the .deb file. After installing and rebooting, it only boots to CLI. Everything still works well

    0
    Comment actions Permalink
  • Avatar
    Norman - Nx Support

    Hi minh le,

    From this information, we can't see if you downloaded the Desktop OS or the Lite (CLI) OS.
    Your download file should indicate that. If it ends with lite.img.xz, you have the OS that can be accessed through the CLI only.

    However, what I do see is, you installed the 64-bit version. I would use the 32-bit OS in case of the RPI.

    No LSB modules are available

    You could try to manually install these:

    sudo apt-get update
    sudo apt-get install lsb-release

    Furthermore, if you followed the instructions in the article you linked to, it should work.

    You could check if the server application is running by entering the following command:

    systemctl status networkoptix-mediaserver.service

    If the status is active, you should be able to access the server through the desktop client.

    0
    Comment actions Permalink
  • Avatar
    minh le

    Hi Norman-Nx-Support,

    I did download the Desktop OS and use it, then I install NX and reboot. The Nx service runs well. Everything works well except the GUI. I try with the OrangePi and it is in the same result as RPI

    0
    Comment actions Permalink
  • Avatar
    Norman - Nx Support

    Hi minh le,

    Just to be clear. Are we talking about the desktop interface of the OS, or are you expecting to run the Nx Desktop client on the RPI?

    0
    Comment actions Permalink
  • Avatar
    minh le

    Hi Norman-Nx-Support,

    I am talking about the GUI of OS. Because I try installing Nx server on 3 new bought ARM device (2 RPIs and 1 OrangePi). They have same result, all work except the GUI disappeared after installing Nx and rebooting OS

    0
    Comment actions Permalink
  • Avatar
    Norman - Nx Support

    Hi minh le,

    I'm working a bit in the blind here, since I don't have a similar environment available at the moment, but I would try the following:

    sudo apt-get install --reinstall raspberrypi-ui-mods
    sudo apt-get install --reinstall lightdm

    Once this is done, please try to start the UI manually with the following command:

    startx
    0
    Comment actions Permalink
  • Avatar
    minh le

    Thank you I got my RPI gui back again. Can you please help with OrangePi 5, I search with keywords above but got no results

    0
    Comment actions Permalink
  • Avatar
    Norman - Nx Support

    Hi minh le,

    Before we celebrate the fix, let's first ensure that it remains effective even after restarting the RPI. It's important to confirm that the solution is stable and persists through reboots.

    Regarding the OrangePi, could you let me know which operating system you're using? If it's running RPI OS as well, you should be able to use the same commands to resolve the issue.

    0
    Comment actions Permalink
  • Avatar
    minh le

    It is running linux orangepi5 rockchip. i try installing ubuntu desktop on it and it just blinks the desktop gui

    0
    Comment actions Permalink
  • Avatar
    Norman - Nx Support

    Hi minh le,

    I’m not very familiar with Orange Pi OS, but based on my research, it seems like this issue could potentially be resolved with the following commands:

    sudo apt-get install --reinstall orangepi-desktop

    Once this is done, please try to start the UI manually with the following command:

    startx
    0
    Comment actions Permalink
  • Avatar
    Norman - Nx Support

    Hi minh le,

    We discovered what went wrong:

    You have a 64-bit OS, but we're pretty sure you installed the 32-bit server application.

    This can be done, since the 64-bit OS in most case will install 32-bit applications (the other way around won't work), but the apt package manager will REMOVE all and replaces many 64-bit components with 32-bit components, which might be incompatible with the 64-bit OS.

    The following packages will be removed in such case:

    agnostics alacarte apt-listchanges arandr cifs-utils fio hplip libinput-tools lxde lxde-core mypy nfs-common openbox openbox-lxde-session pi-language-support pipanel piwiz pylint python-is-python3 python3 python3-apt python3-astroid python3-av python3-cairo python3-cffi-backend python3-cryptography python3-cups python3-cupshelpers python3-dbus python3-dev python3-flask python3-gi python3-gi-cairo python3-jinja2 python3-kms++ python3-lazy-object-proxy python3-lgpio python3-libcamera python3-libgpiod python3-lxml python3-markupsafe python3-minimal python3-mypy python3-numpy python3-oauthlib python3-openssl python3-pgzero python3-picamera2 python3-pidng python3-piexif python3-pil python3-prctl python3-psutil python3-pygame python3-pyqt5 python3-pyqt5.sip python3-renderpm python3-reportlab python3-reportlab-accel python3-requests-oauthlib python3-rpi.gpio python3-rtimulib python3-sense-hat python3-simplejpeg python3-simplejson python3-smbc python3-smbus python3-spidev python3-tk python3-twython python3-venv python3-werkzeug python3-wrapt python3.11 python3.11-dev python3.11-minimal python3.11-venv raspberrypi-ui-mods rpi-eeprom sense-hat system-config-printer system-config-printer-common system-config-printer-udev thonny wayvnc

    If you check this list of applications, you would see that raspberrypi-ui-mods was among these removed packages.

    For the future, we recommend using the 32-bit RPI OS with the 32-bit server application, since that is the supported version, while 64-bit is considered experimental.

    0
    Comment actions Permalink
  • Avatar
    minh le

    Thank Norman, I install the xfce package and my OrangePi5 gui comes again. I will notice the version and try installing on an 32bit tomorrow. Again, thanks a lot for your support!!!

    0
    Comment actions Permalink

Post is closed for comments.