我在Raspberry Pi 4上运行Ubuntu Server 20.04。我安装了TightVNCServer,因此可以从Windows 7笔记本电脑上的VNCViewer访问MATE桌面。 Pi 4超频至2Ghz,并具有4GB RAM。 Ubuntu的响应速度非常快,并且在使用Pi 4附带的键盘/鼠标访问时可以正常工作。
I start the vncserver like this:
vncserver -geometry 1920x1080 :2
This matches my laptop screen resolution and the MATE desktop appears and sized correctly in the VNC Viewer on the win 7 laptop screen. However when I click on the MATE main Menu and go to select any menu item it keeps loosing focus after about a second so I can't use any programs.
桌面上的其他菜单也可以正常工作,例如关机的“齿轮”和“ Wifi /网络”菜单等。
这是我的xstartup文件:
#!/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
mate-session &
我的设置有问题吗?
我发现使用vncviewer导航时ubuntu桌面也有点慢,而且无法观看Youtube视频,回放非常快...运行VNC客户端的Win 7笔记本电脑通过wifi连接到LAN,这可能是一个因素?
另一件事...当我安装了TightVncServer时,我收到了消息:
Warning: ubuntu:1 is taken because of /tmp/.X11-unix/X1
Remove this file if there is no X server ubuntu:1
xauth: file /root/.Xauthority does not exist
New 'X' desktop is ubuntu:2
我不确定这是否意味着我的Ubuntu服务器20.04上已经安装了vncserver?
任何帮助,不胜感激。
柔性