kakaroto 发表于 2013-1-21 20:25:26

设置vnc远程登录后,进不去了

各位大侠,
我按照http://www.shumeipai.net/thread-1394-1-1.html,这个帖子设置好远程登录,重启后进入vnc的登录界面,一直就进不去。如何取消vnc呢?
我用ssh可以连接上

树老大 发表于 2013-1-21 21:25:34

没弄过这个。不清楚。帮顶一下。

自由飞翔 发表于 2013-1-21 21:31:22

配置成功的话 连接vnc不会有问题的

配置不成功的话 建议从头配置一遍

kakaroto 发表于 2013-1-21 21:41:38

自由飞翔 发表于 2013-1-21 21:31 static/image/common/back.gif
配置成功的话 连接vnc不会有问题的

配置不成功的话 建议从头配置一遍

现在只能用ssh登录,重新弄了几次都不行,怎么停止这个服务,或者直接删除vnc啊?

自由飞翔 发表于 2013-1-21 21:42:54

本帖最后由 自由飞翔 于 2013-1-21 21:44 编辑

kakaroto 发表于 2013-1-21 21:41 static/image/common/back.gif
现在只能用ssh登录,重新弄了几次都不行,怎么停止这个服务,或者直接删除vnc啊?
教你删除服务好了
update-rc.d tightvncserver remove

kakaroto 发表于 2013-1-21 21:46:36

自由飞翔 发表于 2013-1-21 21:42 static/image/common/back.gif
教你删除服务好了
update-rc.d tightvncserver remove

删除不了啊。重启后还是进入vnc登录界面

kakaroto 发表于 2013-1-21 21:55:15

自由飞翔 发表于 2013-1-21 21:42 static/image/common/back.gif
教你删除服务好了
update-rc.d tightvncserver remove

root@raspberrypi:~# update-rc.d tightvncserver remove
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'tightvncserver' missing LSB tags and overrides
root@raspberrypi:~#
运行完,显示这个?

自由飞翔 发表于 2013-1-21 22:06:57

kakaroto 发表于 2013-1-21 21:55 static/image/common/back.gif
root@raspberrypi:~# update-rc.d tightvncserver remove
update-rc.d: using dependency based boot se ...
script 'tightvncserver' missing LSB tags and overrides

你确定是用的我帖子的脚本么

还是你脚本复制粘贴错了

kakaroto 发表于 2013-1-21 22:19:11

自由飞翔 发表于 2013-1-21 22:06 static/image/common/back.gif
script 'tightvncserver' missing LSB tags and overrides

你确定是用的我帖子的脚本么


重新弄一遍:


pi@RaspberryPi ~ $ sudo apt-get install vnc-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'tightvncserver' instead of 'vnc-server'
tightvncserver is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi ~ $ ^C
pi@raspberrypi ~ $ sudo nano /etc/init.d/tightvncserver
pi@raspberrypi ~ $ sudo nano /etc/init.d/tightvncserver
pi@raspberrypi ~ $ sudo chmod 755 /etc/init.d/tightvncserver
pi@raspberrypi ~ $ sudo update-rc.d tightvncserver defaults
update-rc.d: using dependency based boot sequencing
pi@raspberrypi ~ $ vncserver
xauth:/home/pi/.Xauthority not writable, changes will be ignored
xauth:timeout in locking authority file /home/pi/.Xauthority

New 'X' desktop is raspberrypi:1

Starting applications specified in /home/pi/.vnc/xstartup
Log file is /home/pi/.vnc/raspberrypi:1.log

pi@raspberrypi ~ $
代码粘的是你的

kakaroto 发表于 2013-1-21 22:19:12

自由飞翔 发表于 2013-1-21 22:06 static/image/common/back.gif
script 'tightvncserver' missing LSB tags and overrides

你确定是用的我帖子的脚本么


重新弄一遍:


pi@raspberrypi ~ $ sudo apt-get install vnc-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'tightvncserver' instead of 'vnc-server'
tightvncserver is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi ~ $ ^C
pi@raspberrypi ~ $ sudo nano /etc/init.d/tightvncserver
pi@raspberrypi ~ $ sudo nano /etc/init.d/tightvncserver
pi@raspberrypi ~ $ sudo chmod 755 /etc/init.d/tightvncserver
pi@raspberrypi ~ $ sudo update-rc.d tightvncserver defaults
update-rc.d: using dependency based boot sequencing
pi@raspberrypi ~ $ vncserver
xauth:/home/pi/.Xauthority not writable, changes will be ignored
xauth:timeout in locking authority file /home/pi/.Xauthority

New 'X' desktop is raspberrypi:1

Starting applications specified in /home/pi/.vnc/xstartup
Log file is /home/pi/.vnc/raspberrypi:1.log

pi@raspberrypi ~ $
代码粘的是你的
页: [1] 2
查看完整版本: 设置vnc远程登录后,进不去了