小编Muh*_*hid的帖子

带有 TightVnc 和 Windows Linux 子系统的默认 Ubuntu 桌面

我已经ubuntu 18在 Windows 10 机器上成功安装了 WLS ( )。我想使用TightVnc. 使用默认设置,.vnc/xstartup包含以下几行

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
Run Code Online (Sandbox Code Playgroud)

我可以使用 Windows 中的 Tight vnc 查看器连接到它,但 UI 看起来像 在此处输入图片说明 但是,我想使用 Ubuntu 18 附带的默认桌面。我安装gnome并将xstartup文件更改为以下内容(由网络上的某人建议)

#!/bin/sh

#Uncommment this line if using Gnome and your keyboard mappings are incorrect.
#export XKL_XMODMAP_DISABLE=1

# Load X resources (if any)
if [ -r "$HOME/.Xresources" …
Run Code Online (Sandbox Code Playgroud)

vnc gnome tightvncserver windows-subsystem-for-linux

8
推荐指数
1
解决办法
6744
查看次数