首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >TightVnc服务器只显示一个灰色屏幕

TightVnc服务器只显示一个灰色屏幕
EN

Unix & Linux用户
提问于 2022-07-11 17:30:08
回答 1查看 4.6K关注 0票数 0

我试图从Windows机器上用Viewer访问Ubuntu机器上的TightVnc服务器。TightVnc已经安装好了,所以我用: vncserver :1启动了它

如果我从VNC查看器连接到它,我只看到一个灰色背景(没有gnome桌面):

我的xstartup文件(由vncserver自动生成):

代码语言:javascript
复制
#!/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 ):

代码语言:javascript
复制
# 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桌面?

谢谢你的好建议。

EN

回答 1

Unix & Linux用户

发布于 2022-10-13 08:20:58

安装gnome-会话-闪回( sudo apt安装gnome-会话-闪回)后,出现“应用程序”和“位置”。

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/709462

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档