Hi folks!
I am trying to use VNC with my board but I get a connection refused.
I am trying to connect to my board using VNC Viewer and TightVNC Viewer, both in Windows 10. and I am behind a proxy.
A few months ago I was able to use VNC with the same setup. I don’t know if I am missing something.
I am working with:
- Colibri imx8qxp 2gb.
- Custom carrier board.
- OS: Windows 10 and WSL.
Linux version on my board:
$ cat /proc/version
Linux version 5.4.193-5.7.2+git.b60d3160fd04 (oe-user@oe-host) (gcc version 9.5.0 (GCC)) #1-TorizonCore SMP PREEMPT Fri Dec 23 15:47:24 UTC 2022
My “weston.ini” file:
[core]
idle-time=0
require-input=false
xwayland=true
modules=screen-share.so[shell]
background-image=
background-color=0x00000000
panel-position=none
locking=false
allow-zap=false
num-workspaces=1[keyboard]
vt-switching=false[input-method]
#Ponemos un path incorrecto para que no cargue el teclado.
path=/usr/lib/wrong-path/weston-keyboard[output]
name=DPI-1
transform=rotate-270
I create the environtment variable “ENABLE_VNC” inside the weston service in docker-compose.yml.
I verify that it is created using the command “printenv” in the weston container:
printenv
HOSTNAME=colibri-imx8x-07329488
PWD=/home/torizon
HOME=/root
WAYLAND_DISPLAY=wayland-0
TERM=xterm
DISPLAY=:0
SHLVL=1
XDG_RUNTIME_DIR=/tmp/1000-runtime-dir
LC_ALL=C.UTF-8
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENABLE_VNC=1
WAYLAND_USER=torizon
ACCEPT_FSL_EULA=1
_=/usr/bin/printenv
The “weston-info” command show me:
weston-info
*** Please use wayland-info instead
*** weston-info is deprecated and will be removed in a future versioninterface: ‘wl_compositor’, version: 4, name: 1
interface: ‘wl_subcompositor’, version: 1, name: 2
interface: ‘wp_viewporter’, version: 1, name: 3
interface: ‘zxdg_output_manager_v1’, version: 2, name: 4
xdg_output_v1
output: 20
name: ‘DPI-1’
logical_x: 0, logical_y: 0
logical_width: 768, logical_height: 1024
interface: ‘wp_presentation’, version: 1, name: 5
presentation clock id: 1 (CLOCK_MONOTONIC)
interface: ‘zwp_alpha_compositing_v1’, version: 1, name: 6
interface: ‘zwp_relative_pointer_manager_v1’, version: 1, name: 7
interface: ‘zwp_pointer_constraints_v1’, version: 1, name: 8
interface: ‘zwp_input_timestamps_manager_v1’, version: 1, name: 9
interface: ‘wl_data_device_manager’, version: 3, name: 10
interface: ‘wl_shm’, version: 1, name: 11
formats: ‘YUYV’(0x56595559) ‘NV12’(0x3231564e) ‘YU12’(0x32315559) RGB565 XRGB8888 ARGB8888
interface: ‘wl_viv’, version: 1, name: 12
interface: ‘wl_drm’, version: 2, name: 13
interface: ‘wl_seat’, version: 7, name: 14
name: default
capabilities: keyboard touch
keyboard repeat rate: 40
keyboard repeat delay: 400
interface: ‘zwp_linux_dmabuf_v1’, version: 3, name: 15
formats:
‘NV21’(0x3132564e), modifier: 0x0000000000000000
‘NV21’(0x3132564e), modifier: 0xf000000000000001
‘NV12’(0x3231564e), modifier: 0x0000000000000000
‘NV12’(0x3231564e), modifier: 0xf000000000000001
‘UYVY’(0x59565955), modifier: 0x0000000000000000
‘YUYV’(0x56595559), modifier: 0x0000000000000000
‘RG16’(0x36314752), modifier: 0x0000000000000000
‘RG16’(0x36314752), modifier: 0x0600000000000002
‘RG16’(0x36314752), modifier: 0x0600000000000001
‘BX24’(0x34325842), modifier: 0x0000000000000000
‘BX24’(0x34325842), modifier: 0x0600000000000002
‘BX24’(0x34325842), modifier: 0x0600000000000001
‘BA24’(0x34324142), modifier: 0x0000000000000000
‘BA24’(0x34324142), modifier: 0x0600000000000002
‘BA24’(0x34324142), modifier: 0x0600000000000001
‘RX24’(0x34325852), modifier: 0x0000000000000000
‘RX24’(0x34325852), modifier: 0x0600000000000002
‘RX24’(0x34325852), modifier: 0x0600000000000001
‘RA24’(0x34324152), modifier: 0x0000000000000000
‘RA24’(0x34324152), modifier: 0x0600000000000002
‘RA24’(0x34324152), modifier: 0x0600000000000001
‘XB24’(0x34324258), modifier: 0x0000000000000000
‘XB24’(0x34324258), modifier: 0x0600000000000002
‘XB24’(0x34324258), modifier: 0x0600000000000001
‘AB24’(0x34324241), modifier: 0x0000000000000000
‘AB24’(0x34324241), modifier: 0x0600000000000002
‘AB24’(0x34324241), modifier: 0x0600000000000001
‘XR24’(0x34325258), modifier: 0x0000000000000000
‘XR24’(0x34325258), modifier: 0x0600000000000002
‘XR24’(0x34325258), modifier: 0x0600000000000001
‘AR24’(0x34325241), modifier: 0x0000000000000000
‘AR24’(0x34325241), modifier: 0x0600000000000002
‘AR24’(0x34325241), modifier: 0x0600000000000001
‘LA88’(0x3838414c), modifier: 0x0600000000000004
‘LA88’(0x3838414c), modifier: 0x0000000000000000
'L8 '(0x2020384c), modifier: 0x0600000000000004
'L8 '(0x2020384c), modifier: 0x0000000000000000
‘YV12’(0x32315659), modifier: 0x0000000000000000
‘YU12’(0x32315559), modifier: 0x0000000000000000
‘NV61’(0x3136564e), modifier: 0x0000000000000000
‘NV16’(0x3631564e), modifier: 0x0000000000000000
‘NV21’(0x3132564e), modifier: 0x0000000000000000
‘NV12’(0x3231564e), modifier: 0x0000000000000000
‘AYUV’(0x56555941), modifier: 0x0000000000000000
‘VYUY’(0x59555956), modifier: 0x0000000000000000
‘UYVY’(0x59565955), modifier: 0x0000000000000000
‘YVYU’(0x55595659), modifier: 0x0000000000000000
‘YUYV’(0x56595559), modifier: 0x0000000000000000
‘BA24’(0x34324142), modifier: 0x0600000000000004
‘BA24’(0x34324142), modifier: 0x0000000000000000
‘RA24’(0x34324152), modifier: 0x0600000000000004
‘RA24’(0x34324152), modifier: 0x0000000000000000
‘AB24’(0x34324241), modifier: 0x0600000000000004
‘AB24’(0x34324241), modifier: 0x0000000000000000
‘AR24’(0x34325241), modifier: 0x0600000000000004
‘AR24’(0x34325241), modifier: 0x0000000000000000
‘BX24’(0x34325842), modifier: 0x0600000000000004
‘BX24’(0x34325842), modifier: 0x0000000000000000
‘RX24’(0x34325852), modifier: 0x0600000000000004
‘RX24’(0x34325852), modifier: 0x0000000000000000
‘XB24’(0x34324258), modifier: 0x0600000000000004
‘XB24’(0x34324258), modifier: 0x0000000000000000
‘XR24’(0x34325258), modifier: 0x0600000000000004
‘XR24’(0x34325258), modifier: 0x0000000000000000
‘BG16’(0x36314742), modifier: 0x0600000000000004
‘BG16’(0x36314742), modifier: 0x0000000000000000
‘RG16’(0x36314752), modifier: 0x0600000000000004
‘RG16’(0x36314752), modifier: 0x0000000000000000
‘AB15’(0x35314241), modifier: 0x0600000000000004
‘AB15’(0x35314241), modifier: 0x0000000000000000
‘AR15’(0x35315241), modifier: 0x0600000000000004
‘AR15’(0x35315241), modifier: 0x0000000000000000
‘XB15’(0x35314258), modifier: 0x0600000000000004
‘XB15’(0x35314258), modifier: 0x0000000000000000
‘XR15’(0x35315258), modifier: 0x0600000000000004
‘XR15’(0x35315258), modifier: 0x0000000000000000
‘AB12’(0x32314241), modifier: 0x0600000000000004
‘AB12’(0x32314241), modifier: 0x0000000000000000
‘AR12’(0x32315241), modifier: 0x0600000000000004
‘AR12’(0x32315241), modifier: 0x0000000000000000
‘XB12’(0x32314258), modifier: 0x0600000000000004
‘XB12’(0x32314258), modifier: 0x0000000000000000
‘XR12’(0x32315258), modifier: 0x0600000000000004
‘XR12’(0x32315258), modifier: 0x0000000000000000
‘GR88’(0x38385247), modifier: 0x0600000000000004
‘GR88’(0x38385247), modifier: 0x0000000000000000
'R8 '(0x20203852), modifier: 0x0600000000000004
'R8 '(0x20203852), modifier: 0x0000000000000000
interface: ‘weston_direct_display_v1’, version: 1, name: 16
interface: ‘zwp_linux_explicit_synchronization_v1’, version: 2, name: 17
interface: ‘weston_content_protection’, version: 1, name: 18
interface: ‘zwp_hdr10_metadata_v1’, version: 1, name: 19
interface: ‘wl_output’, version: 3, name: 20
x: 0, y: 0, scale: 1,
physical_width: 211 mm, physical_height: 158 mm,
make: ‘unknown’, model: ‘unknown’,
subpixel_orientation: unknown, output_transform: 270°,
mode:
width: 1024 px, height: 768 px, refresh: 60.004 Hz,
flags: current preferred
interface: ‘zwp_input_panel_v1’, version: 1, name: 21
interface: ‘zwp_input_method_v1’, version: 1, name: 22
interface: ‘zwp_text_input_manager_v1’, version: 1, name: 23
interface: ‘xdg_wm_base’, version: 1, name: 24
interface: ‘zxdg_shell_v6’, version: 1, name: 25
interface: ‘wl_shell’, version: 1, name: 26
interface: ‘weston_desktop_shell’, version: 1, name: 27
interface: ‘weston_screenshooter’, version: 1, name: 28
What can I do to fix this?