LMDE 5, connexion problem with VNC server

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Mitchell
Level 1
Level 1
Posts: 22
Joined: Wed Jan 12, 2022 5:57 pm

LMDE 5, connexion problem with VNC server

Post by Mitchell »

Hello,

After upgrade from LMDE 4 to LMDE 5 (fresh install in fact) I had to change the VNC server setup from vnc4server (oldstable,now 4.1.1+X4.3.0+t-1 amd64) who works on LMDE 4, to tigervnc (stable,now 1.11.0+dfsg-2+deb11u1 amd64) because the first one is no longer available on LMDE 5.

It seems that all paquets are installed

Code: Select all

sudo apt list --installed | grep vnc
tigervnc-common/stable,now 1.11.0+dfsg-2+deb11u1 amd64  [installé, automatique]
tigervnc-scraping-server/stable,now 1.11.0+dfsg-2+deb11u1 amd64  [installé]
tigervnc-standalone-server/stable,now 1.11.0+dfsg-2+deb11u1 amd64  [installé]
And the server is running and listening on port 5900 for the :0 display

Code: Select all

x0vncserver -list
TigerVNC server sessions:

X DISPLAY #     RFB PORT #      PROCESS ID      SERVER
:0              5900            848             X0tigervnc

Code: Select all

ps -ef | grep vnc
#####        847       1  0 21:12 ?        00:00:00 /usr/bin/perl /usr/bin/x0tigervncserver -passwordfile ~/.vnc/passwd -display :0 -geometry 1600x900+0+0
#####        848     847  0 21:12 ?        00:00:00 /usr/bin/X0tigervnc -display :0 -rfbport 5900 -localhost=1 -SecurityTypes VncAuth -PasswordFile ~/.vnc/passwd -ClientWaitTimeMillis 30000 -Geometry 1600x900+0+0
~      10459    1698  0 22:32 pts/0    00:00:00 grep vnc
There's no FW rules, I'm working on a test machine without security just to figure how to make it works. And other connexion requests are working, like SSH and SFTP.

Here's the machine détails

Code: Select all

System:    Kernel: 5.10.0-21-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 Console: tty 0 DM: LightDM 1.26.0
           Distro: LMDE 5 Elsie base: Debian 11.2 bullseye
Machine:   Type: Laptop System: LENOVO product: 2349P25 v: ThinkPad T430 serial: <filter> Chassis: type: 10 serial: <filter>
           Mobo: LENOVO model: 2349P25 serial: <filter> UEFI: LENOVO v: G1ETC2WW (2.82 ) date: 08/07/2019
CPU:       Info: Dual Core model: Intel Core i5-3320M bits: 64 type: MT MCP arch: Ivy Bridge rev: 9 L2 cache: 3 MiB
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20751
           Speed: 1784 MHz min/max: 1200/3300 MHz Core speeds (MHz): 1: 1784 2: 1695 3: 2042 4: 2630
Graphics:  Device-1: Intel 3rd Gen Core processor Graphics vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0
           chip ID: 8086:0166 class ID: 0300
           Device-2: Chicony thinkpad t430s camera type: USB driver: uvcvideo bus ID: 1-1.6:5 chip ID: 04f2:b2da
           class ID: 0e02
           Display: server: X.org 1.20.11 driver: loaded: modesetting unloaded: fbdev,vesa tty: 173x55
           Message: Advanced graphics data unavailable in console. Try -G --display
Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel
           bus ID: 00:1b.0 chip ID: 8086:1e20 class ID: 0403
           Sound Server: ALSA v: k5.10.0-21-amd64
Network:   Device-1: Intel 82579LM Gigabit Network vendor: Lenovo driver: e1000e v: kernel port: 5080 bus ID: 00:19.0
           chip ID: 8086:1502 class ID: 0200
           IF: enp0s25 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Device-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi v: kernel port: efa0 bus ID: 03:00.0
           chip ID: 8086:0085 class ID: 0280
           IF: wlp3s0 state: down mac: <filter>
Bluetooth: Device-1: Broadcom BCM20702 Bluetooth 4.0 [ThinkPad] type: USB driver: btusb v: 0.8 bus ID: 1-1.4:4
           chip ID: 0a5c:21e6 class ID: fe01 serial: <filter>
           Report: ID: hci0 state: up running bt-v: 2.1 lmp-v: 4.0 sub-v: 220e hci-v: 4.0 rev: 1000 address: <filter>
Drives:    Local Storage: total: 447.13 GiB used: 7.4 GiB (1.7%)
           ID-1: /dev/sda vendor: SanDisk model: SDSSDXPS480G size: 447.13 GiB speed: 6.0 Gb/s rotation: SSD serial: <filter>
           rev: 00RL scheme: GPT
Partition: ID-1: / size: 29.36 GiB used: 7.4 GiB (25.2%) fs: ext4 dev: /dev/sda3
           ID-2: /boot/efi size: 252 MiB used: 5.7 MiB (2.3%) fs: vfat dev: /dev/sda1
Swap:      ID-1: swap-1 type: partition size: 1024 MiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda2
Sensors:   System Temperatures: cpu: 31.0 C mobo: 0.0 C
           Fan Speeds (RPM): cpu: 0
Info:      Processes: 187 Uptime: 22m wakeups: 1 Memory: 7.6 GiB used: 1011.2 MiB (13.0%) Init: systemd v: 247 runlevel: 5
           Compilers: gcc: 10.2.1 alt: 10 Packages: apt: 2046 Shell: Bash v: 5.1.4 running in: tty 0 (SSH) inxi: 3.3.01
But when I try to connect to this machine via VNC I had a VNC Connection Refused code #10061.

I not an expert, but also not a full newbie, plus I followed a couple of How To for Debian 11 to try some things, but nothing's working.
So any help will be appreciate, I can do/try everything on the machine since it's just for test up to I figure how to make it works.
Last edited by LockBot on Tue Oct 03, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Networking”