Здесь показаны различия между двумя версиями данной страницы.
Следующая версия Следующая версия справа и слева | |||
debian_install_vnc_server [2015/11/10 23:22] admin создано |
debian_install_vnc_server [2015/11/10 23:53] admin |
||
---|---|---|---|
Строка 1: | Строка 1: | ||
- | ====== Установка VNC Server на Debian ====== | ||
- | <code> | ||
- | root@dlp:~# su - wheezy # switch to a user who set VNC | ||
- | wheezy@dlp:~$ vncpasswd # set VNC password | ||
- | Password:# set | ||
- | Verify: | ||
- | wheezy@dlp:~$ vncserver :1 # start | ||
- | xauth: file /home/wheezy/.Xauthority does not exist | ||
- | |||
- | New 'dlp:1 (wheezy)' desktop is dlp:1 | ||
- | |||
- | Creating default startup script /home/wheezy/.vnc/xstartup | ||
- | Starting applications specified in /home/wheezy/.vnc/xstartup | ||
- | Log file is /home/wheezy/.vnc/dlp:1.log | ||
- | |||
- | wheezy@dlp:~$ vncserver -kill :1 # stop | ||
- | Killing Xvnc4 process ID 3919 | ||
- | wheezy@dlp:~$ vi .vnc/xstartup | ||
- | # add follows | ||
- | exec gnome-session & | ||
- | # start with diplay number '1', screen resolution '800x600', color depth '24' | ||
- | wheezy@dlp:~$ vncserver :1 -geometry 800x600 -depth 24 | ||
- | |||
- | New 'dlp:1 (wheezy)' desktop is dlp:1 | ||
- | |||
- | Starting applications specified in /home/wheezy/.vnc/xstartup | ||
- | Log file is /home/wheezy/.vnc/dlp:1.log | ||
- | </code> |