Skip to content

x11vnc freezes when moving window? *newb* #256

@matthewacbroad

Description

@matthewacbroad

Hey everyone 👋switched to linux full-time few months back. Both machines in this example are running Linux mint.

X11vnc server: LM 22 mate with effects disabled (dual-core, 4gb ram) 1366x768
Client side is LM 22 Gnome with effects disabled (8 core, 32gb ram, 3050ti etc) 1920x1080

Ended up recording a video, it gets stuck in window move forcing me to walk to my server, completing the move or unclicking it.

https://youtu.be/8Y1JK8CvJF4?si=dCRYE9vQGTiYWcZt

EDIT: because of the newb using linux mint my goto has been chatgpt with myself

With the knowlege I know and the help with chatgpt, x11vnc startups .sh file from startup applications preferences. inside the sh file:

#!/bin/bash

# Function to start x11vnc
start_x11vnc() {
    x11vnc -forever -usepw -gui tray= &
    X11VNC_PID=$!
    echo "x11vnc started with PID $X11VNC_PID"
}

# Function to stop x11vnc
stop_x11vnc() {
    if [ -n "$X11VNC_PID" ] && ps -p $X11VNC_PID > /dev/null; then
        echo "Stopping x11vnc with PID $X11VNC_PID"
        kill $X11VNC_PID
        wait $X11VNC_PID 2>/dev/null
        echo "x11vnc stopped"
    else
        echo "x11vnc is not running or PID is not set"
    fi
}

# Start x11vnc again
start_x11vnc

echo "x11vnc has been restarted."

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