Skip to content

Enhance VNC troubleshooting for black screen issues#6673

Open
youssefbenhammed wants to merge 1 commit into
scaleway:mainfrom
youssefbenhammed:patch-1
Open

Enhance VNC troubleshooting for black screen issues#6673
youssefbenhammed wants to merge 1 commit into
scaleway:mainfrom
youssefbenhammed:patch-1

Conversation

@youssefbenhammed

Copy link
Copy Markdown

Description

This adds a troubleshooting case that is currently not covered: the VNC connection succeeds and authenticates, but the remote screen is completely black.

In this situation the WindowServer graphics process has frozen (typically after a very long uptime) and serves a black frame to the screen-capture pipeline. The existing Restarting screen sharing via SSH step (killall screensharingd) does not help, because screensharingd is respawned on demand for each new connection.

The fix is to force a restart of WindowServer over SSH:

sudo killall -9 WindowServer

WindowServer ignores SIGTERM, so -9 (SIGKILL) is required. A software reboot (the console Reboot button or sudo reboot) can be silently blocked by an invisible unsaved-changes dialog on the black screen, so restarting WindowServer directly is more reliable. SSH stays available throughout, so there is no lock-out risk.

Verified on a live Scaleway Mac mini (M2, macOS 15.2): VNC connected and authenticated but showed a black screen after a very long uptime; sudo killall -9 WindowServer restored the display immediately. Matching entries were also added to the Symptoms and Possible causes lists.

Your checklist for this pull request

Added troubleshooting steps for VNC black screen issue and clarified the importance of restarting WindowServer via SSH.
@youssefbenhammed youssefbenhammed requested review from a team as code owners July 8, 2026 20:29
@Loic-kd Loic-kd added the status: tech review Waiting for technical review label Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: tech review Waiting for technical review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants