Documente Academic
Documente Profesional
Documente Cultură
1.Connectsshtoec2instance.
2.Becomethesuperuserafterexecutingthecommand
sudos
3.Typethefollowingcommandstoinstallvncserver:
sudoaptgetinstallubuntudesktop
sudoaptgetinstallvnc4server
sudoaptgetinstallgnomepanel
4.Typethecommandvncserveronce.
5.Rememberthepasswordyouuseforaccessingthevncserver.Killvncserverbytypingthe
command
vncserverkill:1
6.Typevi.vnc/xstartupandmodifythefile
#!/bin/sh
#Uncommentthefollowingtwolinesfornormaldesktop:
unsetSESSION_MANAGER
#exec/etc/X11/xinit/xinitrc
gnomesessionsession=gnomeclassic&
gnomepanel&
7.PressESC,followedby:wqtosaveandexitthefile
8.Typevncserveragaintostartvncserver.
9.Downloadandinstalltightvnctoconnectremotedesktopfromthefollowinglink
http://www.tightvnc.com/download.php
10.Nowruntightvncviewer
11.Addtheportno5901inyourec2securitygroup
12.Writeyourpublicipinremotehosttextboxandportno.publicIp::port
13.Yourdesktopinec2instanceisreadyandexecutethecommandvncserveraftereveryrestart.