我是Ubuntu的新手,不太熟悉所有的细节。
我按照这里的说明为EC2实例创建一个图形用户界面:https://medium.com/@s.on/running-ubuntu-desktop-gui-aws-ec2-instance-on-windows-3d4d070da434
实例运行ubuntu18.04LTS。我还在我的个人电脑上安装了ubuntu18.0418.04LTS,我非常喜欢它的界面。
但问题是,当我远程连接到ec2实例时,GUI看起来并不像我的PC。
如何使我的ec2实例具有相同的GUI?
这是我的PC图形用户界面:pc gui
这是我的ec2 GUI:ec2 gui
更新1:这是日志文件:
15/11/18 18:14:16 Xvnc version TightVNC-1.3.10
15/11/18 18:14:16 Copyright (C) 2000-2009 TightVNC Group
15/11/18 18:14:16 Copyright (C) 1999 AT&T Laboratories Cambridge
15/11/18 18:14:16 All Rights Reserved.
15/11/18 18:14:16 See http://www.tightvnc.com/ for information on TightVNC
15/11/18 18:14:16 Desktop name 'X' (ip-10-105-54-119:1)
15/11/18 18:14:16 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
15/11/18 18:14:16 Listening for VNC connections on TCP port 5901
/home/ubuntu/.vnc/xstartup: 11: /home/ubuntu/.vnc/xstartup: vncconfig: not found
/home/ubuntu/.vnc/xstartup: 13: /home/ubuntu/.vnc/xstartup: gnome-settings-daemon: not found
metacity-Message: 18:14:17.292: could not find XKB extension.
(metacity:4631): metacity-WARNING **: 18:14:17.300: Failed to create MetaCompositorXRender: Missing composite extension required for compositing
** (gnome-panel:4628): WARNING **: 18:14:17.354: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (nautilus:4632): WARNING **: 18:14:17.967: Unable to get contents of the bookmarks file: Error opening file /home/ubuntu/.gtk-bookmarks: No such file or directory
** (nautilus:4632): WARNING **: 18:14:17.967: Unable to get contents of the bookmarks file: Error opening file /home/ubuntu/.gtk-bookmarks: No such file or directory通过使用以下方法,我获得了更好的结果:
#!/bin/sh
export XKL_XMODMAP_DISABLE=1
export XDG_CURRENT_DESKTOP="GNOME-Flashback:GNOME"
export XDG_MENU_PREFIX="gnome-flashback-"
gnome-session --session=gnome-flashback-metacity --disable-acceleration-check &它给了我这个:新桌面
但我不知道如何修改它以获得ubuntu桌面。
当我检查我的课程时,我会得到这样的结果:
所以我安装了不同的会话,但不能切换到ubuntu会话。
发布于 2018-11-24 11:11:27
你就不会得到相同的GUI了。您可以在日志文件中看到的主要原因是:
创建MetaCompositorXRender失败:缺少组合所需的复合扩展
在VNC上,您没有Mutter / GNOME Shell所需的复合扩展。
https://askubuntu.com/questions/1092901
复制相似问题