Why I get grey screen in vncviwer?

Viewed 26

I have installed the vncserver in my docker, and map the 5901port in docker with the 5901port outside. But when I start running vncserver in the docker of remote server, I can only get a grey screen on the vncviwer, just like this:

enter image description here

Here is my ~/.vnc/xstartup:

#!/bin/sh
export XKL_XMODMAP_DISABLE=1
export XDG_CURRENT_DESKTOP="GNOME-Flashback:GNOME"
export XDG_MENU_PREFIX="gnome-flashback-"
gnome-session --session=gnome-flashback-metacity --disable-acceleration-check &

And here is error imformation in the log file:

09/22 11:19:37 Xvnc version TightVNC-1.3.10
18/09/22 11:19:37 Copyright (C) 2000-2009 TightVNC Group
18/09/22 11:19:37 Copyright (C) 1999 AT&T Laboratories Cambridge
18/09/22 11:19:37 All Rights Reserved.
18/09/22 11:19:37 See http://www.tightvnc.com/ for information on TightVNC
18/09/22 11:19:37 Desktop name 'X' (1562fa1511cb:1)
18/09/22 11:19:37 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
18/09/22 11:19:37 Listening for VNC connections on TCP port 5901
Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring
gnome-session-binary[35013]: WARNING: Could not make bus activated clients aware of QT_IM_MODULE=ibus environment variable: Could not connect: Connection refused
gnome-session-binary[35013]: WARNING: Could not make bus activated clients aware of XMODIFIERS=@im=ibus environment variable: Could not connect: Connection refused
gnome-session-binary[35013]: WARNING: Could not make bus activated clients aware of GNOME_DESKTOP_SESSION_ID=this-is-deprecated environment variable: Could not connect: Connection refused
gnome-session-binary[35013]: WARNING: Could not make bus activated clients aware of XDG_MENU_PREFIX=gnome- environment variable: Could not connect: Connection refused
gnome-session-binary[35013]: ERROR: Failed to connect to system bus: Could not connect: No such file or directory
aborting...

Then I uninstall conda completely, the error in log file becomes:

18/09/22 16:05:15 Xvnc version TightVNC-1.3.10
18/09/22 16:05:15 Copyright (C) 2000-2009 TightVNC Group
18/09/22 16:05:15 Copyright (C) 1999 AT&T Laboratories Cambridge
18/09/22 16:05:15 All Rights Reserved.
18/09/22 16:05:15 See http://www.tightvnc.com/ for information on TightVNC
18/09/22 16:05:15 Desktop name 'X' (1562fa1511cb:1)
18/09/22 16:05:15 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
18/09/22 16:05:15 Listening for VNC connections on TCP port 5901
Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring
gnome-session-binary[70603]: ERROR: Failed to connect to system bus: Could not connect: No such file or directory
aborting...
0 Answers
Related