pi@raspberrypi:~ $ sudo service vncserver start
Job for vncserver.service failed because the control process exited with error code.
See "systemctl status vncserver.service" and "journalctl -xe" for details.
pi@raspberrypi:~ $ vncserver
New 'X' desktop is raspberrypi:1
Starting applications specified in /home/pi/.vnc/xstartup
Log file is /home/pi/.vnc/raspberrypi:1.log
pi@raspberrypi:~ $ which vncserver
/usr/bin/vncserver
pi@raspberrypi:~ $ sudo vi /etc/init.d/vncserver
pi@raspberrypi:~ $ systemctl status vncserver.service
● vncserver.service - LSB: Start/stop vncserver
Loaded: loaded (/etc/init.d/vncserver; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2019-03-07 22:26:36 CST; 6min ag
Docs: man:systemd-sysv-generator(8)
Process: 946 ExecStart=/etc/init.d/vncserver start (code=exited, status=203/EX
3月 07 22:26:36 raspberrypi systemd[1]: Starting LSB: Start/stop vncserv
树莓vnc添加启动start Job for vncserver.service failed because the control process exited with error code.
最新推荐文章于 2024-07-02 17:44:53 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)