Hi Mark,

Am 17.12.22 um 23:53 schrieb Mark:
Hi Joachim,

Thank you!

I installed the patched .pm files and retested.

*One error is fixed:*
Can't locate object method "cleanup" via package "File::Temp::Dir" at
/usr/share/perl5/TigerVNC/Wrapper.pm line 1347, <GEN3> line 100.)

*The other error still remains:*
$ x0vncserver -display :0 -SecurityTypes None

*result:*
[usage is printed]
then
x0vncserver: /usr/bin/X0tigervnc exited with status 1, please look
into '/home/mark/.vnc/[redacted]:5900.log' to determine the reason! -2

/home/mark/.vnc/[redacted]:5900.log contains only the same information
as above under result:

*Note that the following does not return an error.*
*
*
*X0tigervnc* -display :0 -SecurityTypes None

I hope that helps.

Thank you!
Mark

I can not reproduce this. It works for me if I try to scrape an Xorg server.
Maybe you try to scrape a Wayland display server? In this case, I have
the following behavior:

[bash joachim@tomtit:~]$ rm -rf .vnc
[bash joachim@tomtit:~]$ echo $DISPLAY
:0
[bash joachim@tomtit:~]$ echo $WAYLAND_DISPLAY
wayland-0
[bash joachim@tomtit:~]$ x0tigervncserver -SecurityTypes None :0
Please be aware that you are exposing your VNC server to all users on the
local machine. These users can access your server without authentication!

New X0tigervnc server 'tomtit.jfalk.de:0 (joachim)' on port 5900 for
display :0.
Use xtigervncviewer -SecurityTypes None :0 to connect to the VNC server.

[bash joachim@tomtit:~]$ x0tigervncserver -list

TigerVNC server sessions:

X DISPLAY #    RFB PORT #    RFB UNIX PATH    PROCESS ID # SERVER
0             5900                           3294 X0tigervnc
[bash joachim@tomtit:~]$ cat .vnc/tomtit.jfalk.de\:5900.log

Mon Dec 19 01:09:50 2022
 Geometry:    Desktop geometry is set to 1600x900+0+0
 XDesktop:    XTest extension present - version 2.2
 Main:        Listening for VNC connections on local interface(s), port
5900
3NI3X0 New X0tigervnc server 'tomtit.jfalk.de:0 (joachim)' on port 5900
for display :0.
3NI3X0 Use xtigervncviewer -SecurityTypes None :0 to connect to the VNC
server.*
*

*If I start the **xtigervncviewer to connect to the **X0tigervnc server,
**X0tigervnc will die.**
*

[bash joachim@tomtit:~]$ xtigervncviewer -SecurityTypes None :0

TigerVNC-Betrachter (64-bit) Version 1.12.0
Erstellt auf: 2022-12-18 18:54
Copyright (C) 1999-2021 TigerVNC-Team und viele andere (siehe README.rst)
Siehe https://www.tigervnc.org für Informationen zu TigerVNC.

Mon Dec 19 01:10:33 2022
 DecodeManager: Detected 8 CPU core(s)
 DecodeManager: Creating 4 decoder thread(s)
 CConn:       Verbunden mit Rechner localhost, Port 5900
 CConnection: Server supports RFB protocol version 3.8
 CConnection: Using RFB protocol version 3.8
 CConnection: Choosing security type None(1)
 DesktopWindow: Fenstergröße anpassen, um zufällige Vollbild-Anforderung zu
              vermeiden
 CConn:       Pixelformat depth 24 (32bpp) little-endian rgb888 wird
verwendet
 CConnection: Enabling continuous updates
 CConn:       End of stream
[bash joachim@tomtit:~]$ cat .vnc/tomtit.jfalk.de\:5900.log

Mon Dec 19 01:09:50 2022
 Geometry:    Desktop geometry is set to 1600x900+0+0
 XDesktop:    XTest extension present - version 2.2
 Main:        Listening for VNC connections on local interface(s), port
5900
3NI3X0 New X0tigervnc server 'tomtit.jfalk.de:0 (joachim)' on port 5900
for display :0.
3NI3X0 Use xtigervncviewer -SecurityTypes None :0 to connect to the VNC
server.

Mon Dec 19 01:10:33 2022
 Connections: accepted: [::1]::39936
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type None(1)
 XDesktop:    Enabling 8 buttons of X pointer device
 XDesktop:    Allocated shared memory image
 VNCSConnST:  Server default pixel format depth 24 (32bpp)
little-endian rgb888
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  139 (RANDR)
  Minor opcode of failed request:  7 (RRSetScreenSize)
  Serial number of failed request:  104
  Current serial number in output stream:  105
The X0tigervnc server exited with status 1!
[bash joachim@tomtit:~]$

Best,

Joachim

Reply via email to