Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vnc password do not take effect #1403

Closed
aleegreat opened this issue Jan 2, 2022 · 1 comment
Closed

vnc password do not take effect #1403

aleegreat opened this issue Jan 2, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@aleegreat
Copy link

aleegreat commented Jan 2, 2022

Describe the bug
I used vncpasswd to set Nightnight as the password , but i can login use Nightnigh or Nightnightt

**Server info: **
OS : archlinux (lxc on pve)
VNC Server : tigervnc 1.12.0-1
VNC downloaded from : archlinux , use command pacman -S tigervnc

client info:
OS: mac os 12.1
vnc client : tigervnc viewer 64-bit 1.12.0
vnc lient download : here : https://sourceforge.net/projects/tigervnc/files/stable/1.12.0

config info:

#  cat vncserver.users 
# TigerVNC User assignment
#
# This file assigns users to specific VNC display numbers.
# The syntax is <display>=<username>. E.g.:
#
# :2=andrew
# :3=lisa

:1=fate
#  cat vncserver-config-defaults 
## Default settings for VNC servers started by the vncserver service
#
# Any settings given here will override the builtin defaults, but can
# also be overriden by ~/.vnc/config and vncserver-config-mandatory.
#
# See HOWTO.md and the following manpages for more details:
#     vncsession(8) Xvnc(1)
#
# Several common settings are shown below. Uncomment and modify to your
# liking.

# session=gnome
# securitytypes=vncauth,tlsvnc
# geometry=2000x1200
# localhost
# alwaysshared
#  cat vncserver-config-mandatory 
## Mandatory settings for VNC servers started by the vncserver service
#
# Any settings given here will override the builtin defaults and
# settings specified in ~/.vnc/config or vnc-config-defaults.
#
# See HOWTO.md and the following manpages for more details:
#     vncsession(8) Xvnc(1)
#
# Several common settings are shown below. Uncomment and modify to your
# liking.

# session=gnome
# securitytypes=vncauth,tlsvnc
# geometry=2000x1200
# localhost
# alwaysshared

logs:

$ cat archlinux:1.log 
Using desktop session plasma

New 'archlinux:1 (fate)' desktop is archlinux:1

Starting desktop session plasma


Xvnc TigerVNC 1.12.0 - built Nov 13 2021 18:03:45
Copyright (C) 1999-2021 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12009000, The X.Org Foundation


Sun Jan  2 09:22:25 2022
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5901
 vncext:      created VNC server for screen 0
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
Running X session wrapper
Loading profile from /etc/profile
Loading xinit script /etc/X11/xinit/xinitrc.d/40-libcanberra-gtk-module.sh
Loading xinit script /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
X session wrapper complete, running session /usr/bin/startplasma-x11

Sun Jan  2 09:22:27 2022
 Connections: accepted: 192.168.1.12::52718
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VeNCrypt(19)
 SVeNCrypt:   Client requests security type TLSVnc (258)

Sun Jan  2 09:22:30 2022
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888

Sun Jan  2 09:22:33 2022
 VNCSConnST:  closing 192.168.1.12::52718: Clean disconnection
 EncodeManager: Framebuffer updates: 5
 EncodeManager:   Tight (JPEG):
 EncodeManager:     Full Colour: 2 rects, 900 pixels
 EncodeManager:                  2.44043 KiB (1:1.45018 ratio)
 EncodeManager:   ZRLE:
 EncodeManager:     Full Colour: 15 rects, 786.432 kpixels
 EncodeManager:                  1004.23 KiB (1:3.05923 ratio)
 EncodeManager:   Total: 17 rects, 787.332 kpixels
 EncodeManager:          1006.67 KiB (1:3.05533 ratio)
 Connections: closed: 192.168.1.12::52718
 ComparingUpdateTracker: 0 pixels in / 0 pixels out
 ComparingUpdateTracker: (1:-nan ratio)

Sun Jan  2 09:22:38 2022
 Connections: accepted: 192.168.1.12::52739
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VeNCrypt(19)
 SVeNCrypt:   Client requests security type TLSVnc (258)

Sun Jan  2 09:22:42 2022
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888

Sun Jan  2 09:23:41 2022
 VNCSConnST:  closing 192.168.1.12::52739: Clean disconnection
 EncodeManager: Framebuffer updates: 6
 EncodeManager:   Tight:
 EncodeManager:     Indexed RLE: 1 rects, 192 pixels
 EncodeManager:                  442 B (1:1.76471 ratio)
 EncodeManager:   Tight (JPEG):
 EncodeManager:     Full Colour: 2 rects, 828 pixels
 EncodeManager:                  1.76953 KiB (1:1.84106 ratio)
 EncodeManager:   ZRLE:
 EncodeManager:     Full Colour: 15 rects, 786.432 kpixels
 EncodeManager:                  1003.51 KiB (1:3.06144 ratio)
 EncodeManager:   Total: 18 rects, 787.452 kpixels
 EncodeManager:          1005.71 KiB (1:3.05874 ratio)
 Connections: closed: 192.168.1.12::52739
 ComparingUpdateTracker: 45.056 kpixels in / 192 pixels out
 ComparingUpdateTracker: (1:234.667 ratio)

Sun Jan  2 09:23:44 2022
 Connections: accepted: 192.168.1.12::52868
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VeNCrypt(19)
 SVeNCrypt:   Client requests security type TLSVnc (258)

Sun Jan  2 09:23:48 2022
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = V path = `V pid = 2549
KCrash: Arguments: Unable to start Dr. Konqi
OpenGL vendor string:                   Mesa/X.org
OpenGL renderer string:                 llvmpipe (LLVM 13.0.0, 256 bits)
OpenGL version string:                  4.5 (Compatibility Profile) Mesa 21.3.3
OpenGL shading language version string: 4.50
Driver:                                 LLVMpipe
GPU class:                              Unknown
OpenGL version:                         4.5
GLSL version:                           4.50
Mesa version:                           21.3.3
X server version:                       1.20.9
Linux kernel version:                   5.13.19
Requires strict binding:                yes
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
@aleegreat aleegreat changed the title vnc password not take effect vnc password do not take effect Jan 2, 2022
@CendioOssman
Copy link
Member

VNC passwords are unfortunately limited to 8 characters. Please see #370 for warning about this, and #891 for supporting something longer.

@CendioOssman CendioOssman added the duplicate This issue or pull request already exists label Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants