我试图从Windows机器上用Viewer访问Ubuntu机器上的TightVnc服务器。TightVnc已经安装好了,所以我用: vncserver :1启动了它
如果我从VNC查看器连接到它,我只看到一个灰色背景(没有gnome桌面):

我的xstartup文件(由vncserver自动生成):
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession有人建议将其改为(显式启动gnome ):
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &结果:

Nautilus已经启动,但没有显示桌面。我遗漏了什么?我怎样才能到达gnome桌面?
谢谢你的好建议。
发布于 2022-10-13 08:20:58
安装gnome-会话-闪回( sudo apt安装gnome-会话-闪回)后,出现“应用程序”和“位置”。
https://unix.stackexchange.com/questions/709462
复制相似问题