Amazon EC2 Linux instance with desktop functionality from Windows
This article describes how to connect to an Amazon EC2 Linux instance desktop by using Windows Remote Desktop.
For purposes of this article, make sure that you are running an instance of Ubuntu 14.04 LTS. In addition, this article assumes the user name is 'ubuntu'.
- Connect to your Linux instance as described in Connecting to Your Linux Instance from Windows Using PuTTy.
- Run the following commands from the terminal to install updates, an upgrade, and install additional packages.
- sudo apt-get update
- sudo apt-get upgrade
- Because you will be connecting from Windows Remote Desktop, edit the sshd_config file on your Linux instance to allow password authentication.
- sudo vim /etc/ssh/sshd_config
- Change PasswordAuthentication to yes from no, then save and exit.
- Restart the SSH daemon to make this change take effect.
- sudo /etc/init.d/ssh restart
- Temporarily gain root privileges and change the password for the ubuntu user to a complex password to enhance security. Press the Enter key after typing the command passwd ubuntu, and you will be prompted to enter the new password twice.
- sudo –i
- passwd ubuntu
- Switch back to the ubuntu user account and cd to the ubuntu home directory.
- su ubuntu
- cd
- Install Ubuntu desktop functionality on your Linux instance.
- export DEBIAN_FRONTEND=noninteractive
- sudo -E apt-get update
- sudo -E apt-get install -y ubuntu-desktop
- Install XRDP and other xfce4 resources.
- sudo apt-get install xfce4 xrdp
- sudo apt-get install xfce4 xfce4-goodies
- Make xfce4 the default window manager for RDP connections.
- echo xfce4-session > ~/.xsession
- Copy .xsession to the /etc/skel folder so that xfce4 is set as the default window manager for any new user accounts that are created.
- sudo cp /home/ubuntu/.xsession /etc/skel
- Open the xrdp.ini file to allow changing of the host port you will connect to.
- sudo vim /etc/xrdp/xrdp.ini
- Look for the section [xrdp1] and change the following text (then save and exit [:wq]).
- port= -1 - to - port= ask-1
- Restart xrdp.
- sudo service xrdp restart
On Windows, open the Remote Desktop Connection client, paste the fully qualified name of your Amazon EC2 instance for the Computer, and then click Connect.
When prompted to Login to xrdp, ensure that the sesman-Xvnc module is selected, and enter the username ubuntu with the new password that you created in step 7. When you start a session, the port number is -1.
When the system connects, several status messages are displayed on the Connection Log screen. Pay close attention to these status messages and make note of the VNC port number displayed. If you want to return to a session later, specify this number in the port field of the xrdp login dialog box.
This comment has been removed by the author.
ReplyDeletemotherboard is a key component of the desktop computer. It connects with other computer accessories like the display screen, keyboard, mouse, speakers, printer, DVD-ROM etc to increase its utility and perform variable duties.
ReplyDeletehttps://www.desktopcon.org/best-240hz-monitor/
The creator has so delightfully enchanted the thought of group by this brilliant blog.
ReplyDeleteDownload Alexa app
We are going to check it out and let you know if any questions appear. But I am pretty sure that everything is going to be just all right.
ReplyDeleteThat is really nice to hear. thank you for the update and good luck. 4k monitor
ReplyDeleteFor the purpose of understanding the essence of this article, it is first necessary to make sure that it will bring benefits and benefits during use in this process.
ReplyDelete
ReplyDeleteGreat article by the great author, it is very massive and informative but still preaches the way to sounds like that it has some beautiful thoughts described so I really appreciate this article. Get for more information Download Alexa App
These things are very important, good think so - I think so too... https://dynamichealthstaff.com/nursing-jobs-in-canada-for-indian-nurses
ReplyDeleteadana
ReplyDeleteadıyaman
afyon
ağrı
aksaray
YLTH6K
Aksaray
ReplyDeleteAydın
Kütahya
Rize
Bingöl
MHSG
https://bayanlarsitesi.com/
ReplyDeleteTokat
Kastamonu
Tekirdağ
Gümüşhane
43QW
Denizli
ReplyDeleteAnkara
Antep
Bursa
Eskişehir
SHSZVC
Kastamonu Lojistik
ReplyDeleteYozgat Lojistik
Çorlu Lojistik
Kırşehir Lojistik
Sinop Lojistik
NPCH
BF355
ReplyDeleteNiğde Lojistik
Kırşehir Parça Eşya Taşıma
Erzurum Parça Eşya Taşıma
Bayburt Evden Eve Nakliyat
Siirt Lojistik
9EB3D
ReplyDeleteGümüşhane Chat Sohbet
bursa sohbet
görüntülü sohbet siteleri ücretsiz
Urfa Görüntülü Sohbet Uygulamaları Ücretsiz
canli goruntulu sohbet siteleri
Erzurum Sesli Sohbet Sesli Chat
balıkesir sesli sohbet siteler
adıyaman mobil sohbet
elazığ ucretsiz sohbet
BDDAD
ReplyDeleteBitcoin Çıkarma
Twitch İzlenme Satın Al
Clysterum Coin Hangi Borsada
Bitranium Coin Hangi Borsada
Facebook Beğeni Hilesi
Coin Çıkarma Siteleri
Binance Madenciliği Nedir
Satoshi Coin Hangi Borsada
Apenft Coin Hangi Borsada
B7175
ReplyDeleteTiktok İzlenme Hilesi
Twitch Takipçi Hilesi
Sohbet
Bitcoin Nasıl Kazanılır
Yeni Çıkan Coin Nasıl Alınır
Görüntülü Sohbet Parasız
Gate io Borsası Güvenilir mi
Twitter Beğeni Satın Al
Telegram Görüntüleme Satın Al