Remmina 在用户登录之前无法执行 VNC 远程桌面会话

Remmina 在用户登录之前无法执行 VNC 远程桌面会话

我想在两台运行 Ubuntu 14.04 LTS 的计算机之间使用 Remmina 执行 VNC 远程桌面会话。当用户已登录远程计算机上的 Unity 时,我可以执行此远程会话。但是,如果计算机刚刚启动并且 Unity 登录屏幕可见(即用户尚未登录),则我无法启动远程桌面会话。这迫使我亲自前往远程计算机并登录,以便启动远程桌面会话。

一种解决方案是配置远程计算机上的用户自动登录 Ubuntu,但我想避免这种情况,因为这不是一个安全的配置。

关于 Remmina 如何在没有用户登录远程机器的情况下启动 VNC 远程会话,您有什么想法吗?

答案1

Remmina 是查看器;Vino 可能是您正在使用的服务器,除其他缺点外,它无法在用户会话之外运行。

X11VNC 就是您想要的。我发现它的性能也比 Vino 好得多;多年来,每次我尝试 Vino,我最终都会安装 X11VNC。

要使其正常工作,需要进行一些配置,以下是我上次安装 X11VNC 时所做的一些概要说明:

Vino performance still stinks; installed X11VNC
    $ x11vnc -storepasswd
    /etc/init/x11vnc.conf:
        start on login-session-start
        script
        x11vnc -display :0 -auth /var/run/lightdm/root/:0 -loop -forever -safer -shared -ultrafilexfer -bg -o /var/log/x11vnc.log -rfbauth /home/charles/.vnc/passwd -rfbport 5900 -http -users charles -nowireframe
        end script
    Reboot and it's good to go.  Indestructible! Even survives desktop reconfig due to monitor unplugs, etc.
    (added -nowireframe later because the lack of visible icon when dragging files was annoying. Take off if it bogs id down on slow connections.)

相关内容