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
- switch to a user you'd like to config VNC
vncpasswd
- set VNC password
- input
- confirm
Verify:
[cent@dlp ~]$vncserver :1
- start
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
- stop
[cent@dlp ~]$
vi /home/cent/.vnc/xstartup #
twm &
- last line: make it comment
- 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