小编sha*_*sha的帖子

tinyvnc 在 ubuntu 18.04 和 gnome3 上显示灰屏

我一直在为 ubuntu 18.04 和 gnome 上的tightvncserver 的灰屏问题而苦苦挣扎

  • aws ec2 和我的本地机器的问题都是一样的。
  • 我已经验证 xfcestartup4 与 tinyvnc 配合良好

有人可以一劳永逸地澄清如何在ubuntu 18.04上使tightvnc与gnome一起工作吗?

这是我的 ~/.vnc/xstartup

#!/bin/bash
export XKL_XMODMAP_DISABLE=1
# 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 &
#startxfce4 &
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
gnome-session &
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &

Run Code Online (Sandbox Code Playgroud)

我尝试了很多东西,但没有一个起作用: …

gnome tightvncserver ubuntu-gnome 18.04

5
推荐指数
0
解决办法
2900
查看次数

标签 统计

18.04 ×1

gnome ×1

tightvncserver ×1

ubuntu-gnome ×1