我正在寻找一个最小设置Ubuntu的vnc服务器。我已经尝试了几乎所有的论坛程序,你可以找到用vino,x11vnc,tightvnc,realvnc。我只需要一个万无一失的vnc安装程序。我想在启动时运行等等,但在这一点上,我只是想要一些工作。
有太多的因素,我可以考虑为什么我不能让东西包括显示管理器,桌面(gnome/我知道17.10使用gnome,但我还没有验证这一点/ etc )(我也想保留默认的桌面,不管它是什么),关于wayland & x11 (没有xauthority)等等。
发布于 2018-03-30 05:24:28
这就是我使用x11vnc时所用的方法:
因此,很明显,Ubuntu17.10使用了GDM3和/或Wayland显示管理器,因此Wayland存在一些复杂的问题。
做以下工作:
apt-get install x11vnc
sudo x11vnc -storepasswd
<Enter Password; Saves to ~/.vnc/passwd>
xauth
<Generates .Xauthority file at /run/user/1000/gdm/Xauthority>
nano /etc/gdm3/custom.conf
<Uncomment/Change line to "WaylandEnable=true">
<Logout -> click gear -> select the "Xorg" option>
<Login>
x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth ~/.vnc/passwd -rfbport 5900 -shared
<Or whatever you need>
沃伊拉..。现在让一些事情自动化
https://askubuntu.com/questions/1020443
复制相似问题