chcel by som poradiť na svojom VPS by som chcel nainštalovať VNC tak že z Windowsu budem vidieť GUI debianu, ale ak zadám IP adresy vypíše "unable connect to host"
príkazy:
Kód: Vybrať všetko
1."su" enter
2."apt-get install vnc4server" enter
3."vncpasswd" zadám heslo a zopakujem enter
4."vnc4server" enter
5.vypíše že nový desktop bol vytvorený.vnc/xstartup
Kód: Vybrať všetko
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &//autoeditácia príspevku (02 Aug 2011, 23:47)