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

Bug#1000871: tigervnc-standalone-server: server fails to start

2,372 views
Skip to first unread message

Celejar

unread,
Nov 30, 2021, 9:20:04 AM11/30/21
to
Package: tigervnc-standalone-server
Version: 1.11.0+dfsg-3
Severity: important
X-Debbugs-Cc: cel...@gmail.com

This package contains no useful documentation or explanation of how to
start the server in /usr/share/doc. As per 'man tigervncserver', I
tried:

*****

~$ tigervncserver

*****

And the server promptly segfaulted:

*****

New Xtigervnc server 'nnnnnnnn.nnnnnnnn:1 (nnnnnnnn)' on port 5901 for display :1.
Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/nnnnnnnn/.vnc/passwd :1 to connect to the VNC server.


=================== tail /home/nnnnnnnn/.vnc/nnnnnnnn.nnnnnnnn:5901.log ===================
Segmentation fault
X connection to :1 broken (explicit kill or server shutdown).
ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:-nan ratio)
Killing Xtigervnc process ID 9433... success!
======================================================================================

Session startup via '/etc/X11/Xtigervnc-session' 'startxfce4' cleanly exited too early (< 3 seconds)!

Maybe try something simple first, e.g.,
tigervncserver -xstartup /usr/bin/xterm
The Xtigervnc server cleanly exited!
The X session cleanly exited!

*****

As per the above output, I tried:

*****

~$ tigervncserver -xstartup /usr/bin/xterm

*****

No segfault, but it still didn't work:

*****

New Xtigervnc server 'nnnnnnnn.nnnnnnnn:1 (nnnnnnnn)' on port 5901 for display :1.
Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/nnnnnnnn/.vnc/passwd :1 to connect to the VNC server.


=================== tail /home/nnnnnnnn/.vnc/nnnnnnnn.nnnnnnnn:5901.log ===================
======================================================================================

Session startup via '/usr/bin/xterm' 'startxfce4' cleanly exited too early (< 3 seconds)!

Maybe try something simple first, e.g.,
tigervncserver -xstartup /usr/bin/xterm
The X session cleanly exited!
Killing Xtigervnc process ID 9525... success!

*****

-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.0-2-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tigervnc-standalone-server depends on:
ii libaudit1 1:3.0.6-1+b1
ii libbsd0 0.11.3-1
ii libc6 2.32-4
ii libfile-readbackwards-perl 1.06-1
ii libgcrypt20 1.9.4-4
ii libgl1 1.3.4-2+b1
ii libgnutls30 3.7.2-2
ii libjpeg62-turbo 1:2.1.2-1
ii libpam0g 1.4.0-10
ii libpixman-1-0 0.40.0-1
ii libselinux1 3.3-1+b1
ii libstdc++6 11.2.0-12
ii libsystemd0 249.7-1
ii libunwind8 1.3.2-2
ii libxau6 1:1.0.9-1
ii libxdmcp6 1:1.1.2-3
ii libxfont2 1:2.0.5-1
ii perl 5.32.1-6
ii tigervnc-common 1.11.0+dfsg-3
ii x11-xkb-utils 7.7+5
ii xauth 1:1.1-1
ii xkb-data 2.33-1
ii zlib1g 1:1.2.11.dfsg-2

Versions of packages tigervnc-standalone-server recommends:
ii libgl1-mesa-dri 21.2.6-1
ii x11-xserver-utils 7.7+9
ii xfonts-base 1:1.0.5

Versions of packages tigervnc-standalone-server suggests:
ii xfonts-100dpi 1:1.0.4+nmu1.1
ii xfonts-75dpi 1:1.0.4+nmu1.1
ii xfonts-scalable 1:1.0.3-1.2

-- no debconf information

Ola Lundqvist

unread,
Nov 30, 2021, 5:10:03 PM11/30/21
to
Hi

Just a check question. Is your bug about the lack of useful documentation or the fact that it segfaults?
It should not segfault...

// Ola

_______________________________________________
Pkg-tigervnc-devel mailing list
Pkg-tiger...@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-tigervnc-devel


--
 --------------------- Ola Lundqvist ---------------------------
/  op...@debian.org                     o...@inguza.com                  \
|  http://inguza.com/                  +46 (0)70-332 1551       |
 ---------------------------------------------------------------

Celejar

unread,
Nov 30, 2021, 6:20:07 PM11/30/21
to
Primarily the segfault, although the problem is compounded by the
absence of documentation, which makes it difficult to know whether I'm
doing something wrong with my invocation.
Celejar

Ola Lundqvist

unread,
Dec 1, 2021, 4:00:03 AM12/1/21
to
Hi

Thank you.

I guess the main reason for the lack of documentation is that it is not provided by upstream. This was the case also for tightvnc, vnc4 and vnc(3). I wrote some documentation for those other packages but I guess it was never done for tigervnc.

I do not think you made anything wrong.

Cheers

// Ola

Celejar

unread,
Dec 1, 2021, 1:00:03 PM12/1/21
to
Thanks for all your work on behalf of Debian. I certainly didn't mean
to blame you for the lack of documentation, and I understand that these
problems are usually upstream's fault.

On Wed, 1 Dec 2021 09:47:37 +0100
Celejar

Joachim Falk

unread,
Jan 13, 2022, 7:30:03 PM1/13/22
to

Hi All,

On 12/1/21 18:49, Celejar wrote:
>>> Primarily the segfault,

as far as I can tell, tigervnc does not segfault. The problem is that the
xfce session segfaults and terminates early. Moreover, default for tigervnc
is on session termination to kill the VNC server.

Try

tigervncserver -autokill no

to prevent this. Moreover, try

tigervncserver -xstartup /usr/bin/xterm --

to get a simple X terminal going in the VNC server.
Note the --. Otherwise /usr/bin/xterm will be started with
the session argument, i.e., startxfce4 in your case.
By the way, this is not the standard configuration. Someone
must have edited some configuration files to specify the xfce
session.

Best,

Joachim

Joachim Falk

unread,
Jan 13, 2022, 7:30:03 PM1/13/22
to
OpenPGP_signature
0 new messages