물리적 모니터로 Pi를 실행하면 정상적으로 작동합니다. 그러나 HDMI 연결이 없으면 NoMachine은 실행 중인 모니터를 찾을 수 없습니다. SSH를 통해 lightdm을 시작하려고 해도 service lighdm start
작동하지 않습니다 systemctl
. 다음 오류가 발생합니다.
● lightdm.service - Light Display Manager
Loaded: loaded (/lib/systemd/system/lightdm.service; indirect; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2021-09-23 16:55:28 IDT; 8s ago
Docs: man:lightdm(1)
Process: 1702 ExecStartPre=/bin/sh -c [ "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/lightdm" ] (code=exited, status=0/SUCCESS)
Process: 1704 ExecStart=/usr/sbin/lightdm (code=exited, status=1/FAILURE)
Main PID: 1704 (code=exited, status=1/FAILURE)
Sep 23 16:55:28 raspberrypi systemd[1]: lightdm.service: Service RestartSec=100ms expired, scheduling restart.
Sep 23 16:55:28 raspberrypi systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
Sep 23 16:55:28 raspberrypi systemd[1]: Stopped Light Display Manager.
Sep 23 16:55:28 raspberrypi systemd[1]: lightdm.service: Start request repeated too quickly.
Sep 23 16:55:28 raspberrypi systemd[1]: lightdm.service: Failed with result 'exit-code'.
Sep 23 16:55:28 raspberrypi systemd[1]: Failed to start Light Display Manager.
Sep 23 16:55:28 raspberrypi systemd[1]: lightdm.service: Triggering OnFailure= dependencies.