Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can't see terminal or anything other thing than aws ec2 vncserver

I followed this guide to setup GUI for ec2 aws instance: https://youtu.be/9BAoJ7JZHr0

sudo apt-get install ubuntu-desktop vnc4server gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal 

Ubuntu version in ec2

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.6 LTS
Release:    16.04
Codename:   xenial

change: And use this ~/.vnc/xstartup file:

#!/bin/sh

export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &

gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &

but I don't see anyterminal. I only see window. Can't open terminal

enter image description here

like image 356
abhimanyuaryan Avatar asked Oct 15 '22 12:10

abhimanyuaryan


1 Answers

If you want to setup GUI on a Ubuntu-based AWS EC2 instance, try following the steps mentioned here: How to Install Graphical Desktop in AWS EC2 Instance ubuntu16.04 (Linux)

If you want to use an already available AWS EC2 AMI, try out any of the following:

  1. AWS EC2 AMI - Ubuntu GUI
  2. AWS EC2 AMI - Ubuntu Desktop 16.04 LTS (HVM)
  3. AWS EC2 AMI - Xubuntu GUI AMI

You can also explore answers to a similar question here: Stackoverflow: How To Set Up GUI On Amazon EC2 Ubuntu server

like image 59
Abdullah Khawer Avatar answered Nov 13 '22 03:11

Abdullah Khawer