-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VNC support for not user pi Fixes #571
- Loading branch information
Showing
2 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
src/modules/fullpageos/filesystem/root_init/etc/systemd/system/x11vnc.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
[Unit] | ||
Description=VNC Server for X11 | ||
ConditionPathExists=/home/pi/.vnc/passwd | ||
ConditionPathExists=/opt/custompios/vnc/passwd | ||
Requires=display-manager.service | ||
|
||
[Service] | ||
ExecStart=/usr/bin/x11vnc -display :0 -auth guess -many -noxdamage -rfbauth /home/pi/.vnc/passwd -rfbport 5900 -shared | ||
ExecStart=/usr/bin/x11vnc -display :0 -auth guess -many -noxdamage -rfbauth /opt/custompios/vnc/passwd -rfbport 5900 -shared | ||
ExecStop=/usr/bin/x11vnc -R stop | ||
Restart=on-failure | ||
RestartSec=2 | ||
|
||
[Install] | ||
WantedBy=multi-user.target | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters