VNC fixes for Ubuntu 18.04.2 with H2

Post Reply
puremind
Posts: 40
Joined: Wed Nov 21, 2018 2:27 am
languages_spoken: english
ODROIDs: Odroid H2 Rev B
Has thanked: 2 times
Been thanked: 2 times
Contact:

VNC fixes for Ubuntu 18.04.2 with H2

Unread post by puremind » Sun Jul 07, 2019 7:55 pm

All,

In case this helps... I had two major issues with VNC under Ubuntu 18.04.2 with H2

Sharing here if anybody finds it useful:

1. The forced encryption with the Ubuntu VNC server doesn't let you log in.

To fix this, simply disable the encryption, but there's no easy way to do this with the installed GUI options.

This fix is sourced from https://www.hagensieker.com/wordpress/2 ... ntu-18-04/

Open Ubuntu Software and install:
2019-07-07 at 11.50.01.png
dconf-editor
2019-07-07 at 11.50.01.png (78.85 KiB) Viewed 155 times
Open the app,

Now navigate to:

ORG > GNOME > DESKTOP > REMOTE ACCESS

Then find the “Require Encryption” setting and toggle it off:
Workspace-1_001.png
VNC require encryption
Workspace-1_001.png (250.6 KiB) Viewed 155 times

Fastest terminal fix:
crashoverride wrote:
Sun Jul 07, 2019 9:15 pm
viewtopic.php?f=52&t=15320

Code: Select all

dconf write /org/gnome/desktop/remote-access/require-encryption false
Thanks to crashoverride


2. If no HDMI device attached, after restarts the VNC client connects to a blank screen

Found this as a solution: https://askubuntu.com/questions/1033436 ... y-attached

But only required to create the file... open a Terminal and paste the below

Code: Select all

echo  "
Section \"Device\"
    Identifier \"intelgpu0\"
    Driver \"intel\"
    Option \"VirtualHeads\" \"2\"
EndSection " > "/usr/share/X11/xorg.conf.d/20-intel.conf"
This tells the Intel GPU to create 2 virtual displays. You can change the number of VirtualHeads to your needs.

It actually even runs smoother with this!
Last edited by puremind on Sun Jul 07, 2019 11:26 pm, edited 2 times in total.
Odroid H2 Rev B

crashoverride
Posts: 4459
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 52 times
Contact:

Re: VNC fixes for Ubuntu 18.04.2 with H2

Unread post by crashoverride » Sun Jul 07, 2019 9:15 pm

viewtopic.php?f=52&t=15320

Code: Select all

dconf write /org/gnome/desktop/remote-access/require-encryption false

puremind
Posts: 40
Joined: Wed Nov 21, 2018 2:27 am
languages_spoken: english
ODROIDs: Odroid H2 Rev B
Has thanked: 2 times
Been thanked: 2 times
Contact:

Re: VNC fixes for Ubuntu 18.04.2 with H2

Unread post by puremind » Sun Jul 07, 2019 9:33 pm

crashoverride wrote:
Sun Jul 07, 2019 9:15 pm
viewtopic.php?f=52&t=15320

Code: Select all

dconf write /org/gnome/desktop/remote-access/require-encryption false
Thanks, even better!!!

Updating the first post with this
Odroid H2 Rev B

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 1 guest