Xvnc unter Solaris

Xvnc unter Solaris als Dienst für die Anmeldung:

  • ‚vnc‘ Eintrag in /etc/services hinzufügen
# echo 'vnc  5900/tcp' >>/etc/services
  • inetd Konfiguration anlegen
# echo 'vnc stream tcp nowait nobody /usr/local/bin/Xvnc Xvnc \
       -inetd -query localhost -once securitytypes=none' > vnc.inetd.conf
  • inetd Konfiguration importieren
# inetconv -i vnc.inetd.conf
  • nachträglich Änderungen an der Konfiguration durchführen
# inetadm -m network/vnc/tcp exec="/usr/local/bin/Xvnc -inetd \
          -query localhost -once securitytypes=none -screen 0 1280x1024x16"
  • Verwalten des Dienstes mit inetadm
# inetadm -l svc:/network/vnc/tcp:default (show details - giving full service name)
# inetadm -d network/vnc/tcp (disable - you can abbreviate the service name like this)
# inetadm -e network/vnc/tcp (enable)