Home > OS >  Consult tigerVNC set problem
Consult tigerVNC set problem

Time:11-18

Two problems:
1) port configuration from @ : 1 ~ @ : after 9, add @ 10, back again... No; Another computer from @ : 21 match to @ : 29, again in the future and also not line, can only seem to configure nine ports, what reason is this?

2) configuration file templates,
The template is

[Unit]
Description=Remote desktop service (VNC)
After=syslog. Target network. The target

[Service]
Type=simple

# the Clean any existing files in/TMP/X11 - Unix environment
ExecStartPre=/bin/sh - c '/usr/bin/vncserver - kill % I & gt;/dev/null 2 & gt; & 1 | | : '
ExecStart=/usr/bin/vncserver_wrapper aa % I
ExecStop=/bin/sh - c '/usr/bin/vncserver - kill % I & gt;/dev/null 2 & gt; & 1 | | : '




I see online templates are as follows, format, what reason is this?
[Service]
Type=forking
# the Clean any existing files in/TMP/X11 - Unix environment
ExecStartPre=/bin/sh - c '/usr/bin/vncserver - kill % I & gt;/dev/null 2 & gt; & 1 | | : '
# ExecStart=/sbin/runuser - l & lt; USER> - c "/usr/bin/vncserver % I"
# PIDFile=/home/& lt; USER>/. VNC/H % % i.p id
ExecStart=cs1/sbin/runuser - l - c "/usr/bin/vncserver % I"
PIDFile=/home/cs1/. VNC/H % % i.p id
ExecStop=/bin/sh - c '/usr/bin/vncserver - kill % I & gt;/dev/null 2 & gt; & 1 | | : '
  • Related