按照DeepSeek的建议sudo nano /etc/systemd/system/x11vnc.service,在这个目录下写了
[Unit]
Description=x11vnc VNC Server
After=network.target
[Service]
User=sunrise
Group=sunrise
Environment=DISPLAY=:0
ExecStart=/usr/bin/x11vnc -display :0 -forever -loop -noxdamage -repeat -rfbport 5901 -shared
[Install]
WantedBy=multi-user.target
求助有没有大佬能帮我改回原来的情况