Hardware Reference
In-Depth Information
Discussion
Often, you'll want to have
vncserver
running automatically on reboot and run as the
debian
user. In that case, you'll want to create a
vncserver.desktop
file as the
debian
user and put it in the
autostart
folder for the window manager:
root@beaglebone:~#
su - debian
debian@beaglebone:~$
mkdir -p .config/autostart
debian@beaglebone:~$
cat > .config/autostart/vncserver.desktop
[Desktop Entry]
Type=Application
Name=vncserver
Exec=vncserver :1
StartupNotify=false
^D
debian@beaglebone:~$
vncpasswd
Using password file /home/debian/.vnc/passwd
Password:
password
Verify:
password
Would you like to enter a view-only password (y/n)?
n
debian@beaglebone:~$
logout
root@beaglebone:~#
/etc/init.d/lightdm restart
Stopping Light Display Manager: lightdm.
Starting Light Display Manager: lightdm.
root@beaglebone:~#