![Nomachine:服务器无法使本地显示可用或对本地显示的访问已被禁用](https://linux22.com/image/1185835/Nomachine%EF%BC%9A%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%97%A0%E6%B3%95%E4%BD%BF%E6%9C%AC%E5%9C%B0%E6%98%BE%E7%A4%BA%E5%8F%AF%E7%94%A8%E6%88%96%E5%AF%B9%E6%9C%AC%E5%9C%B0%E6%98%BE%E7%A4%BA%E7%9A%84%E8%AE%BF%E9%97%AE%E5%B7%B2%E8%A2%AB%E7%A6%81%E7%94%A8.png)
在我的服务器耗尽 RAM 后,不稳定的 nomachine 远程桌面工具已断开连接,现在,重新启动服务器后,它不想连接,说:
服务器无法使本地显示可用或对本地显示的访问已被禁用。
我尝试重新安装服务器端 nomachine 的 DEB 文件并清除。尝试重新安装 MATE 桌面,但仍然收到此消息,我不知道该怎么办。如何让它再次工作?
尝试运行/usr/NX/bin/nxserver——重新启动这也无济于事。
还尝试重新启动 nxserver 服务,我在 journalctl 中发现了一些奇怪的错误:
Feb 17 01:42:44 37-61-214-198 nxexec[3532]: (mount.c:72): Messages from underlying mount program:
Feb 17 01:42:44 37-61-214-198 nxexec[3532]: (mount.c:76): mount error: could not resolve address for SERVEUR: Unknown error
Feb 17 01:42:44 37-61-214-198 nxexec[3532]: (pam_mount.c:522): mount of public failed
Feb 17 01:42:44 37-61-214-198 nxexec[3532]: (mount.c:72): Messages from underlying mount program:
Feb 17 01:42:44 37-61-214-198 nxexec[3532]: (mount.c:76): mount error: could not resolve address for SERVEUR: Unknown error
Feb 17 01:42:44 37-61-214-198 nxexec[3532]: (pam_mount.c:522): mount of commun failed
Feb 17 01:42:54 37-61-214-198 nxexec[6004]: pam_unix(nx:session): session opened for user gdm by (uid=129)
Feb 17 01:43:11 37-61-214-198 systemd[1]: nxserver.service: Succeeded.
Feb 17 01:43:11 37-61-214-198 systemd[1]: Stopped NoMachine Server daemon.
Feb 17 01:43:12 37-61-214-198 systemd[1]: Started NoMachine Server daemon.
Feb 17 01:43:13 37-61-214-198 nxexec[6212]: pam_unix(nx:session): session opened for user gdm by (uid=129)
Feb 17 01:44:16 37-61-214-198 nxexec[6633]: pam_ldap(nx:account): error reading from nslcd: Connection reset by peer
Feb 17 01:46:59 37-61-214-198 systemd[1]: Stopping NoMachine Server daemon...
Feb 17 01:46:59 37-61-214-198 nxexec[6212]: (mount.c:72): Messages from underlying mount program:
Feb 17 01:46:59 37-61-214-198 nxexec[6212]: (mount.c:76): mount error: could not resolve address for SERVEUR: Unknown error
Feb 17 01:46:59 37-61-214-198 nxexec[6212]: (pam_mount.c:522): mount of gdm failed
Feb 17 01:46:59 37-61-214-198 nxexec[6212]: (mount.c:72): Messages from underlying mount program:
Feb 17 01:46:59 37-61-214-198 nxexec[6212]: (mount.c:76): mount error: could not resolve address for SERVEUR: Unknown error
Feb 17 01:46:59 37-61-214-198 nxexec[6212]: (pam_mount.c:522): mount of public failed
Feb 17 01:46:59 37-61-214-198 nxexec[6212]: (mount.c:72): Messages from underlying mount program:
Feb 17 01:46:59 37-61-214-198 nxexec[6212]: (mount.c:76): mount error: could not resolve address for SERVEUR: Unknown error
Feb 17 01:46:59 37-61-214-198 nxexec[6212]: (pam_mount.c:522): mount of commun failed
Feb 17 01:47:09 37-61-214-198 nxexec[7379]: pam_unix(nx:session): session opened for user gdm by (uid=129)
Feb 17 01:47:11 37-61-214-198 nxexec[7379]: (mount.c:72): Messages from underlying mount program:
Feb 17 01:47:11 37-61-214-198 nxexec[7379]: (mount.c:76): mount error: could not resolve address for SERVEUR: Unknown error
Feb 17 01:47:11 37-61-214-198 systemd[1]: nxserver.service: Succeeded.
Feb 17 01:47:11 37-61-214-198 systemd[1]: Stopped NoMachine Server daemon.
Feb 17 01:47:11 37-61-214-198 nxexec[7379]: (pam_mount.c:522): mount of gdm failed
Feb 17 01:47:11 37-61-214-198 nxexec[7379]: (mount.c:72): Messages from underlying mount program:
Feb 17 01:47:11 37-61-214-198 nxexec[7379]: (mount.c:76): mount error: could not resolve address for SERVEUR: Unknown error
Feb 17 01:47:11 37-61-214-198 nxexec[7379]: (pam_mount.c:522): mount of public failed
Feb 17 01:47:11 37-61-214-198 nxexec[7379]: (mount.c:72): Messages from underlying mount program:
Feb 17 01:47:11 37-61-214-198 nxexec[7379]: (mount.c:76): mount error: could not resolve address for SERVEUR: Unknown error
Feb 17 01:47:11 37-61-214-198 nxexec[7379]: (pam_mount.c:522): mount of commun failed
Feb 17 01:47:12 37-61-214-198 systemd[1]: Started NoMachine Server daemon.
Feb 17 01:47:12 37-61-214-198 nxexec[7552]: pam_unix(nx:session): session opened for user gdm by (uid=129)
Feb 17 01:47:26 37-61-214-198 nxexec[7632]: pam_ldap(nx:account): error reading from nslcd: Connection reset by peer
Feb 17 01:49:19 37-61-214-198 systemd[1]: Stopping NoMachine Server daemon...
Feb 17 01:49:19 37-61-214-198 nxexec[7552]: (mount.c:72): Messages from underlying mount program:
Feb 17 01:49:19 37-61-214-198 nxexec[7552]: (mount.c:76): mount error: could not resolve address for SERVEUR: Unknown error
Feb 17 01:49:19 37-61-214-198 nxexec[7552]: (pam_mount.c:522): mount of gdm failed
Feb 17 01:49:19 37-61-214-198 nxexec[7552]: (mount.c:72): Messages from underlying mount program:
Feb 17 01:49:19 37-61-214-198 nxexec[7552]: (mount.c:76): mount error: could not resolve address for SERVEUR: Unknown error
Feb 17 01:49:19 37-61-214-198 nxexec[7552]: (pam_mount.c:522): mount of public failed
Feb 17 01:49:19 37-61-214-198 nxexec[7552]: (mount.c:72): Messages from underlying mount program:
Feb 17 01:49:19 37-61-214-198 nxexec[7552]: (mount.c:76): mount error: could not resolve address for SERVEUR: Unknown error
Feb 17 01:49:19 37-61-214-198 nxexec[7552]: (pam_mount.c:522): mount of commun failed
Feb 17 01:49:29 37-61-214-198 nxexec[8168]: pam_unix(nx:session): session opened for user gdm by (uid=129)
Feb 17 01:49:46 37-61-214-198 systemd[1]: nxserver.service: Succeeded.
Feb 17 01:49:46 37-61-214-198 systemd[1]: Stopped NoMachine Server daemon.
Feb 17 01:49:46 37-61-214-198 systemd[1]: Started NoMachine Server daemon.
Feb 17 01:49:47 37-61-214-198 nxexec[8347]: pam_unix(nx:session): session opened for user gdm by (uid=129)
Feb 17 01:50:03 37-61-214-198 nxexec[8445]: pam_ldap(nx:account): error reading from nslcd: Connection reset by peer