vncserver: The HOME environment variable is not set
解决:
添加runuser 环境:
[Unit]
After=network.service
[Service]
Type=forking
ExecStart=/sbin/runuser -l root -c "/usr/bin/vncserver"
[Install]
WantedBy=multi-user.target
解决:
添加runuser 环境:
[Unit]
After=network.service
[Service]
Type=forking
ExecStart=/sbin/runuser -l root -c "/usr/bin/vncserver"
[Install]
WantedBy=multi-user.target