Stałem się szczęśliwym - posiadaczem raspberry pi, i zachciało mi się VNC
No to po małych problemach - udało się to ustrojstwo zainstalować:
Cytat:
sudo apt-get update
sudo apt-get install tightvncserver
tightvncserver
sudo nano /etc/init.d/tightvncserver
|
Cytat:
#!/bin/sh
### BEGIN INIT INFO
# Provides: tightvncserver
# Required-Start: $local_fs
# Required-Stop: $local_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/stop tightvncserver
### END INIT INFO
### Customize this entry
# Set the USER variable to the name of the user to start tightvncserver under
export USER='pi'
### End customization required
eval cd ~$USER
case "$1" in
start)
su $USER -c '/usr/bin/tightvncserver :1'
echo "Starting TightVNC server for $USER "
;;
stop)
pkill Xtightvnc
echo "Tightvncserver stopped"
;;
*)
echo "Usage: /etc/init.d/tightvncserver {start|stop}"
exit 1
;;
esac
exit 0
|
Cytat:
sudo chmod 755 /etc/init.d/tightvncserver
|
Cytat:
sudo update-rc.d tightvncserver defaults
|
I efekt jak poniżej, co robię źle - i czemu to nie chce działać