Projekt

Allgemein

Profil

Aktionen

VNCServer

preliminary note

this information is taken from [[http://www.server-world.info/en/note?os=CentOS_6&p=x&f=2]]

Install

yum -y install tigervnc-server

Config

  • switch to a user you'd like to config VNC
    su - cent
    
  • set VNC password
    vncpasswd
    
  • start
    vncserver :1
    

xauth: creating new authority file /home/cent/.Xauthority
New 'dlp.server.world:1 (cent)' desktop is dlp.server.world:1
Creating default startup script /home/cent/.vnc/xstartup
Starting applications specified in /home/cent/.vnc/xstartup
Log file is /home/cent/.vnc/dlp.server.world:1.log

  • stop
    vncserver -kill :1
    

    Killing Xvnc process ID 2187

.... JKE 2017-01-13 ... need some testing and rework.
check also http://keihsler.com/dokuwiki/barn/public/doku.php?id=vbip:software:operatingsystem:centos6:howto:vncserver

[cent@dlp ~]$
  vi /home/cent/.vnc/xstartup
#
  twm &
# last line: make it comment

  exec gnome-session &

  • run Gnome with display number '1', screen resolution '800x600', color depth '24'
    vncserver :1 -geometry 800x600 -depth 24
    

Von Jeremias Keihsler vor etwa 7 Jahren aktualisiert · 2 Revisionen