For the past 2 days i try to install gui on ubuntu server provided by amazon-ec2 1 year free tier. But i got only grey screen with 3 check box. I read so many posts but nothing helps. pls help me.
Here is .vnc/xstartup:
Code:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
gnome-session --session=gnome-classic &
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
Here is the vnc 1.log:
Code:
ubuntu@ip-172-31-34-182:~$ cat /home/ubuntu/.vnc/ip-172-31-34-182:1.log
Xvnc Free Edition 4.1.1 - built Jan 14 2013 22:28:40
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40300000, The XFree86 Project, Inc
Sat Aug 30 16:45:05 2014
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from l ist!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/Type1/, removing from list !
Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list !
Could not init font path element /usr/share/fonts/X11/100dpi/, removing from lis t!
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256
** (process:20160): WARNING **: software acceleration check failed: Child proces s exited with code 1
** (gnome-session:20160): CRITICAL **: We failed, but the fail whale is dead. So rry....
Sat Aug 30 16:45:17 2014
Connections: accepted: 0.0.0.0::62050
Sat Aug 30 16:45:18 2014
SConnection: Client needs protocol version 3.8
Sat Aug 30 16:45:20 2014
SConnection: Client requests security type VncAuth(2)
Sat Aug 30 16:45:24 2014
VNCSConnST: Server default pixel format depth 16 (16bpp) little-endian rgb565
Sat Aug 30 16:45:25 2014
VNCSConnST: Client pixel format depth 24 (32bpp) little-endian rgb888