I am new to Ubuntu and not very much familiar with all the details.
I followed the instructions here to create a GUI for an EC2 instance: https://medium.com/@s.on/running-ubuntu-desktop-gui-aws-ec2-instance-on-windows-3d4d070da434
The instance runs ubuntu 18.04 LTS. I have also installed ubuntu 18.0418.04 LTS on a PC that I have and I really like the interface.
The problem though is that when I remotely connect to the ec2 instance, the GUI does not look like my PC.
How can I have my ec2 instance have the same GUI?
Here is my PC GUI: pc gui
Here is my ec2 GUI: ec2 gui
Update 1: Here is the log file:
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
Update 2:
I got closer by using the following:
#!/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 &
which gave me this: new desktop
But I am not sure how to modify it to get ubuntu desktop.
Update 3:
This is what I get when I check for my sessions:
So I have different sessions installed, but cannot switch to ubuntu session.
So it looks like you are using different window managers, your ec2 instance is using gnome-flashback and your desktop edition is using Gnome 3. Personally I think you'd be better off using gnome-flashback for a desktop environment inside EC2 so that your lag isn't too bad but if are certain you want to switch window managers to Gnome 3, see this answer for Switching window managers in desktop environments
You won't get same GUI. And main reason you can see in log file:
Over VNC you don't have composite extension that is required by Mutter / GNOME Shell.