12树莓派VNC远程桌面
2017-09-04 23:11:28 http://bbs.elecfans.com/forum.php?mod=viewthread&tid=583803&extra= 开机自动启动 设置开机启动,需要在/etc/init.d/中创建一个文件。例如tightvncserver: (注:启动脚本的名称,有和程序名一致的习惯) sudo nano /etc/init.d/tightvncserver 内容如下:(putty窗口中按右键=粘贴) #!/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 # More details see: # http://www.penguintutor.com/linux/tightvnc ### Customize this entry # Set the USER variable to the name of the user to start