Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#855350: tigervnc-xorg-extension: Loading the tigervnc the extension makes the x server practically unusable

167 views
Skip to first unread message

Kertesz Laszlo

unread,
Feb 16, 2017, 9:40:03 PM2/16/17
to
Package: tigervnc-xorg-extension
Version: 1.7.0+dfsg-6
Severity: important

Dear Maintainer,

Symptoms after loading the libvnc.so extension:
The following is from the actual computer locally.
- lightdm starts slowly (no other clue other than takes a few times more than usual). visuals ok.
- I log into MATE desktop, and the input is so slow it is unusable - cursor moves at real time but clicking and opening
applications has a few seconds lag.
Applications fail to launch at startup. High cpu usage on dragging windows around. The actual console is practically unusable.


Also i could not find a way to actually pass options (like the ones are used by the standalone server) to the extension
- tried creating a screen manually, subsection to Module but none worked. If i try to connect to the port the
login is rejected with "vnc password not set". Tried setting password with root, under /etc/vnc/passwd without success.

xorg.conf (note that i tried only "load vnc" without subsection too but it is exactly the same):

Section "Module"
load "dri2"
# load "vnc"
load "glamoregl"
SubSection "vnc"
Option "SecurityTypes" "TLSPlain"
Option "PlainUsers" "laca"
Option "localhost" "yes"
EndSubSection
EndSection

Section "Device"
Identifier "radeon"
Driver "radeon"
Option "AccelMethod" "glamor"
Option "TearFree" "True"
Option "DRI3" "1"
EndSection

#Section "Screen"
# Identifier "myscreen"
# Device "radeon"
# Option "SecurityTypes" "TLSPlain"
# Option "PlainUsers" "laca"
# Option "localhost" "yes"
#EndSection

Xorg log file (i did switch to VT1 and back to 7 a few times):
http://pastebin.com/31Fbiwiu



-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (500, 'testing'), (2, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages tigervnc-xorg-extension depends on:
ii libaudit1 1:2.6.7-1
ii libc6 2.24-9
ii libgcc1 1:6.3.0-6
ii libgnutls30 3.5.8-3
ii libjpeg62-turbo 1:1.5.1-2
ii libpam0g 1.1.8-3.5
ii libstdc++6 6.3.0-6
ii xserver-xorg-core 2:1.19.1-4
ii zlib1g 1:1.2.8.dfsg-5

Versions of packages tigervnc-xorg-extension recommends:
ii tigervnc-common 1.7.0+dfsg-6

tigervnc-xorg-extension suggests no packages.

-- no debconf information

Martin Dorey

unread,
Feb 18, 2017, 2:20:02 AM2/18/17
to
i could not find a way to actually pass options

I eventually managed to get a default configured Stretch box to accept a remote connection using:

mad@shuttle:~$ cat /usr/share/X11/xorg.conf.d/75-vnc-mad.conf 
Section "Device"
Identifier "Device"
EndSection
Section "Screen"
Identifier "Screen"
Device "Device"
Option "PasswordFile" "/u2/home/mad/.vnc/passwd"
EndSection
mad@shuttle:~$ 

It seems, from the source, that the PasswordFile Option is only looked for in the Screen section and the Screen section has to have an Identifier and a Device, which has to refer to a Device section, which needs an Identifier.  Argh, but, OK, whatever.  Then I have other problems, both keeping the connection up and with redraw, but I fear that elaborating them here would be a hijack of the OP's bug, the main symptom of which - a horrible-sounding performance issue - I don't see with Gnome 3.

Ola Lundqvist

unread,
Feb 28, 2017, 5:20:02 PM2/28/17
to
tags 855350 + help
thanks

Hi Kertesz and Martin

Thank you for the report and information regarding options.

The performance issue is definitely a problem. I do not have a solution at the moment.

I have a little problem testing this myself at the moment as only have sid in a chroot and X will not really start for me there.

So if anyone have the possibility to look into this and provide a patch that would be excellent!

Best regards

// Ola



_______________________________________________
Pkg-tigervnc-devel mailing list
Pkg-tigervnc-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-tigervnc-devel



--
 --------------------- Ola Lundqvist ---------------------------
/  op...@debian.org                     Folkebogatan 26          \
|  o...@inguza.com                      654 68 KARLSTAD          |
|  http://inguza.com/                  +46 (0)70-332 1551       |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------

Pierre Dinh-van

unread,
Oct 27, 2017, 1:20:02 PM10/27/17
to
Hi,

I just got the same problem on a lenovo computer after installing
stretch on it:

    Manufacturer: LENOVO
    Product Name: 3235H3G
    Version: ThinkCentre M92

It has this graphic card :

00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd
Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA
controller])
    Subsystem: Lenovo Xeon E3-1200 v2/3rd Gen Core processor Graphics
Controller
    Flags: bus master, fast devsel, latency 0, IRQ 11
    Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at f000 [size=64]
    [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
    Capabilities: [d0] Power Management version 2
    Capabilities: [a4] PCI Advanced Features
    Kernel modules: i915

The VNC Config file is in /usr/share/X11/xorg.conf.d/99-vnc.conf :

Section "Module"
    Load  "vnc"
EndSection
Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    Option "QueryConnectTimeout" "30"
    Option "AcceptSetDesktopSize" "0"
    Option "IdleTimeout" "60"
    Option "SecurityTypes" "VncAuth"
    Option "QueryConnect"
    Option "UserPasswdVerifier" "VncAuth"
    Option "PasswordFile" "/etc/vncpasswd"
EndSection

The X session was just unusable on this computer, the mouse really slow,
and no process in top seemed to take resources. There was no EE messages
in Xorg.0.log

When I saw in the message #22 '(EE) modeset(0): failed to set mode:
Permission denied', I tried to reboot the computer with the kernel
parameter "nomodeset" and it solved the issue for me. I'm now going to
install the rest of my computers with nomodeset, since my users never
use the console.

Kernel version :

Linux enzio 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64
GNU/Linux


Cheers

Pierre
0 new messages