qshinoの日記

Powershell関係と徒然なこと

ubuntu18.04のvino vnc server

ubuntu 18.04 vnc serverの使い方

基本的な使い方は標準で立ち上がるdesktopの設定から、共有設定のところで設定する。

設定方法は、下記などを参照。

https://bugs.launchpad.net/ubuntu/+source/unity-control-center/+bug/1741027/comments/11

Zakhar (alainb06) wrote on 2018-06-06: Re: [FFE] screen sharing panels abort using an unexistant vino gsettings key  #11
Here is an ugly 3 steps workaround:
-1) Edit the org.gnome.Vino schema to restore the missing "enabled" parameter (copying from 16.04)
sudo nano /usr/share/glib-2.0/schemas/org.gnome.Vino.gschema.xml
Add this key:
    <key name='enabled' type='b'>
      <summary>Enable remote access to the desktop</summary>
      <description>
        If true, allows remote access to the desktop via the RFB
        protocol. Users on remote machines may then connect to the
        desktop using a VNC viewer.
      </description>
      <default>false</default>
    </key>
-2) Compile the schemas for Gnome:
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
-3) Now the screen sharing panel in unity-control-center works... but this is not enough to get vino running! So you need to add in the programs at session start: Vino-server with the following command line:
/usr/lib/vino/vino-server
Now you can VNC your 18.04-Unity!