VNC shows black screen
Symptoms:- VNC loads but shows only black screen
- No desktop visible
Wait for desktop initialization
Wait for desktop initialization
The desktop environment can take time to start:
- Wait 30-90 seconds after container starts
- Refresh the browser page
- Look for the desktop background and taskbar to appear
Restart VNC server
Restart VNC server
Check DISPLAY variable
Check DISPLAY variable
:1 for VNC.VNC password not working
The default password isros. If it’s not working:
Display resolution wrong
If the VNC display resolution doesn’t match your screen:Refresh browser
Reload http://localhost:6080 to connect with the new resolution.
Desktop appears frozen
If the desktop is unresponsive:- Check container resources - the container may be running out of memory
- Check CPU usage with
topcommand - Restart the desktop service:
- Restart the container if the service restart doesn’t help
Mouse or keyboard not responding in VNC
- Click inside the VNC window to ensure it has focus
- Check browser compatibility - Chrome and Firefox work best
- Try a native VNC client instead of the browser:
- Connect to
localhost:5901 - Password:
ros
- Connect to
- Disable browser extensions that might interfere with input
Applications won’t launch in VNC
If clicking application icons does nothing:- Open a terminal in VNC and launch manually
- Check for error messages in the terminal output
- Verify DISPLAY is set:
echo $DISPLAY(should be:1) - Check the application is installed: