
Save this file to /etc/init.d/tightvnc, and add it to start-up list. Su $VNCUSER -c '/usr/bin/tightvncserver :1 -geometry 1200x700 -depth 16 -pixelformat rgb565'Įcho "Starting TightVNC server for $VNCUSER "Įcho "Usage: /etc/init.d/tightvnc " # Set the VNCUSER variable to the name of the user to start tightvncserver under
#TIGHTVNC SERVER CONFIGURATION PASSWORD INSTALL#
All you need to do is run the program, enter the IP address or computer name that you want to install the VNC server, the username and password on the remote computer that belongs to the administrator group and click the Push button.
#TIGHTVNC SERVER CONFIGURATION PASSWORD FREE#
# Description: Start VNC Server at boot time. pushVNC7 is a free program that simplifies the installation of VNC server to remote computers running Windows 7. # Short-Description: Start VNC Server at boot time tightvncserver :1īelow is a config file for auto startup. So, do not login to the GUI desktop after booting up. I think that the number 0 of Xserver is for the real screen (HDMI on the real pi). Unix 2 STREAM LISTENING 5730 2 STREAM LISTENING 5779 /tmp/.menu-cached-:0-pi Unix 2 SEQPACKET LISTENING 419 /run/udev/control Unix 2 STREAM LISTENING 8238 /tmp/.menu-cached-:1-steven Unix 2 STREAM LISTENING 4972 /tmp/ssh-yoCLTWKx0wUO/agent.2194 Unix 2 STREAM LISTENING 4913 2 STREAM LISTENING 6965 /tmp/.pcmanfm-socket-0-pi Unix 2 STREAM LISTENING 4887 /var/run/dbus/system_bus_socket Unix 2 STREAM LISTENING 4914 /tmp/.X11-unix/X0 Proto RefCnt Flags Type State I-Node Path Proto Recv-Q Send-Q Local Address Foreign Address StateĪctive UNIX domain sockets (only servers) Netstat -l returns this: Active Internet connections (only servers) Ps aux | grep vnc returns the following: root 1888 0.0 0.0 1768 376 ? S 11:26 0:00 /bin/sh /etc/init.d/vncboot start What do I need to do to get TightVNC to properly work? I'm using .x:0 to connect, but I also tried .x:5900 as recommended elsewhere, neither worked. When I try to connect using the Windows TightVNC client, however, I get a message that the server actively refused the connection. The Pi has a static IP address and I can ping it and SSH in (obviously), so I know it's working. I exactly followed these instructions on the official RPi site to install TightVNC on my Pi (model 2).
