boospy

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: No desktop available (Kubuntu 22.04) #41801
    boospy
    Participant

    I was able to solve it, I don’t know why this is the case with this machine. Apparently something is really bent. In any case, the solution was this:

    In addition to the exclude, you must add an “or”. This does not make sense. But since then, NoMachine works again with pam Automount.

    File: /etc/security/pam_mount.conf.xml

    root sddm nx root sddm nx

    in reply to: No desktop available (Kubuntu 22.04) #41380
    boospy
    Participant

    Ok, I have debugged. I have found out that it is the pam_automount. When I move the file, I can connect immediately. I also noticed that although I ignore the user NX in the file pam_mount.conf.xml, this option of the file is ignored. This means that no screen is started.

    Here are the Log during the login process: (sorry, didn’t find a code block for the post)

    Nov 11 19:12:04 kitten nxexec[106020]: (mount.c:68): Messages from underlying mount program:

    Nov 11 19:12:04 kitten nxexec[106020]: (mount.c:72): mount error(13): Permission denied

    Nov 11 19:12:04 kitten nxexec[106020]: (mount.c:72): Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

    Nov 11 19:12:04 kitten kernel: CIFS: VFS: cifs_mount failed w/return code = -13

    Nov 11 19:12:04 kitten nxexec[106020]: (pam_mount.c:522): mount of Programme failed

    Nov 11 19:12:04 kitten audit[909]: AVC apparmor=”DENIED” operation=”open” profile=”/usr/sbin/sssd” name=”/proc/106039/cmdline” pid=909 comm=”sssd_nss” requested_mask=”r” denied_mask=”r” fsuid=0 ouid=0

    Nov 11 19:12:04 kitten kernel: CIFS: Attempting to mount \\data.tux.lan\iso-images

    Nov 11 19:12:04 kitten nxexec[106020]: (mount.c:68): Messages from underlying mount program:

    Nov 11 19:12:04 kitten nxexec[106020]: (mount.c:72): mount error(13): Permission denied

    Nov 11 19:12:04 kitten nxexec[106020]: (mount.c:72): Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

    Nov 11 19:12:04 kitten kernel: CIFS: VFS: cifs_mount failed w/return code = -13

    Nov 11 19:12:04 kitten nxexec[106020]: (pam_mount.c:522): mount of iso-images failed

    Here is n line from the “/etc/security/pam_mount.conf.xml”

    rootsddmnx

    I have also a NoMachine Workstation Version here, and there it works fine. Both are 8.2.3-4. I have the logs when it failed also attached. Maybe someone can read out a useful error message.

    Thank you

    Best Regards 🙂

    in reply to: Ubuntu Login screen with key-based auth #36391
    boospy
    Participant

    Virtual Screens (direct login) are only available in the Workstation/Enterprise Editions. If you use the free edition, it is like VNC.

    boospy
    Participant

    Hell irek, and very thanks for your help. It is working now perfectly 🙂

    boospy
    Participant

    Found the issue. Don’t know why but it looks likes a bad idea if you change the default ports from nxhtd to 80 and 443 before you start the server once. So the way I see it, the user is configured at the first start of the webserver. The only way for me to fix was to remove nomachine completly with all files, and install it again. After that i started the webserver once. With this user was created, rights were set. So every thing fine. 

    But same thing, server didn’ start after i change the ports to 80/443. For that i created an extra topic. Maybe you can help me with this: https://forums.nomachine.com/topic/nxhtd-webserver-did-not-start-anymore-after-changing-the-ports

    Very thanks and best Regards

    boospy
    Participant

    Hello Kroy, very thanks for your answer. This command works,  but unfortunately the same as the original command. What I came up with is that you can then set up the standard Lubuntu Desktop LXQT in the logged-in state per user. This is now a workaround.

    But apparently there has to be another command / option that is used by SDDM. Strange.

Viewing 6 posts - 1 through 6 (of 6 total)