Mansome wrote:Hi all,
I wanted to know if it is possible to setup a VNC server that auto starts but is not linked to a specific profile that auto logs in. I wanted to change my pi server to be completely headless at this point. I do not want my pi auto logging itself in though. Is that possible with the VNC server? If so is there a guide to set this up for the latest version of the pi?
yes
install tightvncserver
Code: Select all
sudo apt-get install tightvncserver
then
(it will ask for a password use six dig password 666666 for example)
then use autocutsel (copy,paste between computer and pi )
then
add
after xsetroot –solid grey
then
add
Code: Select all
su - pi -c '/usr/bin/tightvncserver :1'
to the end before exit
then
Paste following code at the end.
Code: Select all
if [ -z "$XAUTHORITY" ]; then
if [ -e $HOME/.Xauthority ]; then
export XAUTHORITY=$HOME/.Xauthority;
fi;
fi
then a sudo reboot
you are all set
good luck
and i always use sudo because i dont want to get no permission error
I am the terror that flaps in the night...
I am the surprise you find in your cereal box!
I am DARKWING DUCK!!!