Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x11vnc freezes when moving window? *newb* #256

Open
matthewacbroad opened this issue Oct 7, 2024 · 0 comments
Open

x11vnc freezes when moving window? *newb* #256

matthewacbroad opened this issue Oct 7, 2024 · 0 comments
Labels

Comments

@matthewacbroad
Copy link

matthewacbroad commented Oct 7, 2024

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."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant