Projekt

Allgemein

Profil

Aktionen

Howto vncserver » Historie » Revision 1

Revision 1/2 | Weiter »
Jeremias Keihsler, 13.01.2017 10:50


VNCServer

preliminary note

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

Install

[root@dlp ~]#
yum -y install tigervnc-server

Config

[root@dlp ~]#
su - cent
  1. switch to a user you'd like to config VNC
[cent@dlp ~]$
vncpasswd
  1. set VNC password
  2. input
  3. confirm
Verify:
[cent@dlp ~]$
vncserver :1
  1. start
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
[cent@dlp ~]$
vncserver -kill :1
  1. stop
Killing Xvnc process ID 2187
[cent@dlp ~]$
vi /home/cent/.vnc/xstartup #
twm &
  1. last line: make it comment
  2. run Gnome with display number '1', screen resolution '800x600', color depth '24'
exec gnome-session &

[cent@dlp ~]$
vncserver :1 -geometry 800x600 -depth 24

Von Jeremias Keihsler vor fast 8 Jahren aktualisiert · 1 Revisionen