简体   繁体   English

当我关闭紧密的VNC查看器时X11vnc服务器退出

[英]X11vnc server exits when I close tightVNC viewer

I followed this blog to set up a VNC connection from my Windows 8 laptop to my BeagleBone Black. 我关注了这个博客,以建立从Windows 8笔记本电脑到BeagleBone Black的VNC连接。

Digital Diner: Quick hint for Beaglebone Black user 数字晚餐:Beaglebone Black用户的快速提示

It works well except for one problem: the X11VNC server on the Beagle Bone Black exits when I close the TightVNC Viewer on my laptop. 除一个问题外,它运行良好:当关闭笔记本电脑上的TightVNC Viewer时,Beagle Bone Black上的X11VNC服务器退出。 I have to connect a remote terminal to the BBB using PuTTY and run the command given in the blog in order to reconnect. 我必须使用PuTTY将远程终端连接到BBB,然后运行博客中给出的命令才能重新连接。

Any suggestions on how to keep the server from exiting when I close the TightVNC viewer connection on my laptop? 在关闭笔记本电脑上的TightVNC查看器连接时,如何防止服务器退出的任何建议? Is there a way to always have the X11vnc server running on the Beagle Bone Black so I can connect anytime? 有没有办法让X11vnc服务器始终在Beagle Bone Black上运行,以便我可以随时连接?

I found the answer here: BeagleBone Black Google Group . 我在这里找到了答案: BeagleBone Black Google Group

The key is to add -forever to the end of the command to start the X11vnc server. 关键是在命令末尾添加-forever以启动X11vnc服务器。

x11vnc -bg -o %HOME/.x11vnc.log.%VNCDISPLAY -auth /var/run/gdm/auth-for-gdm*/database -display :0 - forever - nopw x11vnc -bg -o%HOME / .x11vnc.log。%VNCDISPLAY -auth / var / run / gdm / auth-for-gdm * / database -display:0-永远-nopw

I also added this command to the start up applications. 我还将此命令添加到了启动应用程序中。 System --> Preferences --> Startup Applications 系统->首选项->启动应用程序

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM