GUI Access to
Ubuntu 14.04 (Azure VMs) from windows
Note:
We have used Azure Virtual Machine
(Ubuntu 14.04) specifically to configure it, so that we can access via windows
RDP
Pre-requisites:
NSG(Network
Security Group) with (http/https/rdp/ssh) configured as inbound rules
Virtual
Machine:
Create
a New VM:(Ubuntu 14.04)
Select
the Configuration and select the NSG Created
Once
The VM is created Grab the IP from the Dashboard and do ssh to the VM using
putty
sylesh@sylesh1:~$
sudo –s
Note:
will be prompted password( it same password which you passed while machine
creation)
root@sylesh1:~#
root@sylesh1:~#
apt-get update
root@sylesh1:~#
apt-get install xrdp –y
Note:
This will take some time after this is done
root@sylesh1:~#
apt-get install lubuntu-desktop –y
Note:This
will take somewhere about 15 mins after this is done create a xsession file in
the users home directory with some content
root@sylesh1:~#
echo "lxsession -s Lubuntu -e LXDE "
> ~/.xsession
root@sylesh1:~#
/etc/init.d/xrdp restart
Note:
Congrats Now we can access the gui of the Ubuntu 14.04
10 comments:
thanks buddy i was needed this ,thanks for the great job
You are Welcome
may i get same for centos
thanks for creating nice blog..
yaah sure i will upload the ducuments for centos asap
**Small Update**
This worked for Ubuntu 14.04, but for later versions like 16.04, XRDP was not enough.
So what I did is :
1) sudo apt-get install xrdp
2) sudo apt-get install mate-core mate-desktop-environment mate-notification-daemon
3) sudo sed -i.bak '/fi/a #xrdp multiple users configuration \n mate-session \n' /etc/xrdp/startwm.sh
That's all !!
By the way, thank you for this post Shailesh. It was very helpful.
That's Great Ajinkya thanks for the taking an effort and updating yup I was planning to post document for 16.04 as well thanks for the help
Thanks for putting it all together, very much helpful.
Its great job Shailesh , very helpful....
Going forward ,I am looking for blogs regards AWS
Post a Comment