Skip to content

Regular crashes when a MacOS client (protocol version 3.3) is connected #259

@xealits

Description

@xealits

Describe the bug

On AlmaLinux9 (kernel 5.14), x11vnc crashes about every minute or two when a MacOS client is connected. (Log says "Client Protocol Version 3.3")

To Reproduce

Launch x11vnc under a systemd unit and watch the log while a client is connected to it (on MacOS open vnc://localhost:5901):

Jan 10 19:29:25 pc x11vnc[10164]: 10/01/2025 19:29:25 created selwin: 0x1400055
Jan 10 19:29:25 pc x11vnc[10164]: 10/01/2025 19:29:25 called initialize_xfixes()
Jan 10 19:29:25 pc x11vnc[10164]: 10/01/2025 19:29:25 copy_tiles: allocating first_line at size 81
channel 9: open failed: connect failed: Connection refused
Jan 10 19:29:31 pc x11vnc[10164]: 10/01/2025 19:29:31 client_count: 0
Jan 10 19:29:31 pc x11vnc[10164]: 10/01/2025 19:29:31 Restored X server key autorepeat to: 1
Jan 10 19:29:31 pc x11vnc[10164]: 10/01/2025 19:29:31 viewer exited.
Jan 10 19:29:31 pc x11vnc[10164]: 10/01/2025 19:29:31 deleted 80 tile_row polling images.
Jan 10 19:29:31 pc systemd[1]: x11vnc.service: Deactivated successfully.
Jan 10 19:29:31 pc systemd[1]: x11vnc.service: Scheduled restart job, restart counter is at 5.
Jan 10 19:29:31 pc systemd[1]: Stopped x11vnc on port 5901.
Jan 10 19:29:31 pc systemd[1]: Started x11vnc on port 5901.
Jan 10 19:29:31 pc x11vnc[10170]: 10/01/2025 19:29:31 passing arg to libvncserver: -passwd

I also think it crashes immediately when a window is moved.

Additional context

I understand that it is not maintained and don't expect a fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions