

Open this application and go to the display tab. Now, go back into the VNC session (usually by connecting to port 6080) and go to the XFCE4 settings in the GUI. Your VNC client should immediately return to an unlocked state.įor a permanent fix, in a shell with the container instance, type: ford maverick headlight upgradea b c Here, your VNC should already be able to connect, but there may be a problem with the black screen: 1, check the log log under/root/.vnc/, there is no error, there may be insufficient xstartup permissions. Once you find the correct process ID, then kill the id.
You can use tiger vnc viewer to connect to vnc server withinstall vnc servrer sudo apt install tigervnc-standalone-server start vncserver and allow remote login vncserver -localhost no :1 check the port listen stat netstat -tul grep 5901. Then identify the lightDM lock process which is hiding your desktop with the following command: I use debian 10 with gnome installed, tigervnc as vnc server. To enter into the actual container in which the VNC service is running (use docker ps to search for the correct id).
#Vnc viewer black screen how to#
How to fix Vnc viewer black screen ubuntu sudo apt install lightdm. So the screen either locks or times out without any way back in.įirst, if you want to save your work and continue you can run the command: When we try to use the VNC viewer connecting to the tigervnc server on this machine. Mathworks enables XFCE4 as the default GUI but did not bother to include the standard power manager utilities. I want to install a vnc-server on a Ubuntu 18.04 desktop (clean install). GPU enabled Docker containers for MATLAB are fantastic, but on two installations I have run across a bug that the internet is silent about.Īfter about 10 minutes of inactivity the VNC server will display a black screen and won’t display until restarting the container. VNC connection results in grey or black screen.
