====== Konfigurace vncserveru ====== ---- Instalace na Debianu: aptitude install xtightvncviewer tightvncserver Take jsou potreba veci z baliku x11-xserver-utils, pokud ho nemate nainstalovany. Mozna bude treba nahradit vncviewer prikazem xtightvncviewer a podobne u ostatnich. Da se castecne cerpat z [http://skullbox.net/vncserver.php] pridat uzivatele "adduser vncuser" a zadat heslo pres "passwd vncuser". do souboru /etc/sysconfig/vncservers pridat x-servery. Napriklad pro uzivatele vncuser VNCSERVERS="" VNCSERVERS="$VNCSERVERS 1:vncuser" VNCSERVERARGS[1]="-geometry 896x672 -depth 16" V uzivatelove /home/vncuser se prikazem vncserver vytvori automaticky .vnc/xstartup [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & gnome-panel& metacity& pod uzivatelem root provest prikaz pro spusteni / vypnuti /etc/init.d/vncserver start /etc/init.d/vncserver stop Overit se da jednak tim, ze uvidime ve vypisu "netstat -nap|less" bezici vnc server na portech 5801 a 5901 apod. Pak se pripojime pres vncviewer napriklad: "vncviewer 127.0.0.1:5901". ----