Accessing Azure Virtual Machine (Ubuntu 14.04LTS) using xRDP - linux

Yesterday, I setup a new Ubuntu Box with Password (Classic VM) from my Azure Dashboard ( I am using classing Azure dashboard).
I am able to login using Putty (it means credentials are working).
To access this machine remotely (already setup CDN for Remote Desktop), I followed steps mentioned (https://azure.microsoft.com/en-in/documentation/articles/virtual-machines-linux-classic-remote-desktop/) to setup xRDP - please note that I am trying to access this box from Windows8.1 machine.
All seems to be successfully installed. Received errors, when tried to remote into Ubuntu VM:
Fire Run -> mstsc.exe (entered hostname/IP and credentials)
Entered credentials
Process threw few error messages
Its not working even after trying all troubleshooting steps:https://azure.microsoft.com/en-in/documentation/articles/virtual-machines-linux-troubleshoot-ssh-connection/

Installing xfce4 with
sudo apt-get install xfce4
have always worked fine for me!
I follwed this guide when I got started:
http://c-nergy.be/blog/?p=5305
You can also check out this thread for hints:
https://askubuntu.com/questions/449785/ubuntu-14-04-xrdp-grey

I repeat these step(s) once again and its working now:
sudo apt-get update
sudo apt-get install ubuntu-desktop
sudo apt-get install xrdp
sudo systemctl start xrdp
sudo systemctl enable xrdp
sudo apt-get install xfce4
Now do RDP (Run mstsc.exe) - enter hostname and passowrd

Related

Ubuntu Remmina "Protocol plugin RDP is not installed" Error, RDP missing

Ubuntu 18.04:
It looks like the Remmina Remote Desktop app was updated today and I lost the RDP protocol in the process. VNC, SSH and SPICE are still available but no RDP.
I tried rebooting, uninstalling and reinstalling using:
sudo killall remmina
sudo apt-get purge remmina* -y
rm -Rf /home/`whoami`/.remmina/remmina.pref
sudo apt-get install remmina* -y
This combo'd with a reboot before and after but still no RDP.
I also noticed that the Ubuntu Software (Gnome Software) has 2 Remmina apps listed.
I found a link (the fix) on Remmina website by accident.
The normal install instructions on their site also did not work but then I looked at compiling from source.
https://gitlab.com/Remmina/Remmina/-/wikis/Compilation/Compile-on-Ubuntu-18.04
I added to the "purge" section of the remove command above and this worked:
sudo killall remmina
sudo apt purge "remmina*" "libfreerdp*" "libwinpr*" "freerdp*"
rm -Rf /home/`whoami`/.remmina/remmina.pref
Reboot and then install using the "Ubuntu Software", choose the one with the mostly Blue icon.
It looks like the FreeRDP libraries may have been the issue for me.

Web access to tableau server installed on google cloud instance with centos 7 as OS

I created VM (virtual machine) instance on Google Cloud with CentOS 7 as OS to install Tableau Server and http access to it using set of commands from online free video. After successful installation I try to use web browser to get an access to Tableau Configuration and I see nothing but an error message "Connection took too long".
Pretty much I didn't do anything else yet because on video everything is right and smooth. Already asked owner of video but who knows how busy he is and if consider it his responsibility to answer the questions.
sudo -i
yum update -y
sudo yum install wget -y
wget https://downloads.tableau.com/tssoftware/tableau-server-2018-2-0.x86_64.rpm
chmod 777 tableau-server-2018-2-0.x86_64.rpm
sudo yum install tableau-server-2018-2-0.x86_64.rpm
adduser admin
passwd admin
usermod -aG wheel admin
systemctl status firewalld.service
systemctl disable firewalld.service
systemctl stop firewalld.service
su - admin
cd /opt/tableau/tableau_server/packages/scripts.20182.18.0627.2230/
sudo ./initialize-tsm --accepteula
sudo usermod -G tsmadmin -a admin
source /etc/profile.d/tableau_server.sh
After many starts and stops and checking the Tableau Server application status I still not able to have web access to configuration page.
Any suggestions please?
I would follow the Linux install docs. You are missing a few steps like registration and configuring the initial node.
Also, you shouldn't install as su - admin. You want to install in the user space using sudo.
When you do get the server up and running you should be able to run tsm status and see that Tableau Server is running. If you still cannot reach the server after that then there is probably something going on with the networking with the GCP settings.

XRDP doesnt connect to Azure VM suddenly

The RDP doesnt connect to the Azure Linux VM suddenly, the error is:
Password failed, error- problem connecting.
This is the first time its happening. And I tried restarting the VM, Resetting the password and also removing the credentials and adding again to the rdp. Please support on this.
I have encountered exactly the same issue on ubuntu 14.06 running on AWS today.
I checked the /var/log/apt/history.log and found out that the system updated the xrdp package automatically xrdp:amd64 (0.6.1-2, 0.6.1-2ubuntu0.1)
I downgraded the package and it now works again.
sudo apt-get install xrdp=0.6.1-2
Then, I decided to exclude xrdp from automatically being updated.
sudo apt-mark hold xrdp
xrdp set on hold.

Ubuntu Desktop not visible on Azure xrdp

I am trying to set up remote Ubuntu desktop on Azure free tire. I have followed all the steps mentioned in here and Azure Documentation. I have setup instance with resources manager. Setup the rdp. Install xrdp via ssh. Install Ubuntu desktop as well.
Installed -- Ubuntu Server 16.04 LTS
Also installed xfce as mentioned in Azure Documentation
In-spite of installing everything properly I see dotted screen when I connected remotely. What am I doing wrong ?
Using xfce if you are using Ubuntu version later than Ubuntu 12.04LTS
We can follow those steps to install xrdp:
sudo -i
1.Install XRDP Package from Ubuntu Repository
apt-get install xrdp
2.Installing the xfce4 Desktop environment
apt-get update
apt-get install xfce4
3.Configure xrdp to use xfce desktop environment
echo xfce4-session >~/.xsession
4.Restart xrdp service
service xrdp restart
5.Test your xrdp connection:
We can use mstsc to test xrdp connection.
Note:
If you use this command apt-get install xfce4 get this error message:
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Please add ARRAY <ignore> devices=/dev/sda to /etc/mdadm/mdadm.conf, like this:
root#ubuntu:~# cat /etc/mdadm/mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
ARRAY <ignore> devices=/dev/sda
# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
More information about xrdp on azure vm, please refer to this link.

Ubuntu Server Install GUI and Remote Access

How can I install a GUI for a remote server and then access it over RDP (or similar)
I've done a sudo apt-get install ubuntu-desktop and sudo apt-get install xrdp, but when I go to access it and login, I just get a blank screen. I presume the windowing system hasn't started?
Thanks
Did the desktop fail to start up because there is no display attached?
I think the easiest approach is to use LXDE (Lightweight X11 Desktop Environment) with xrdp.
Refer This Link

Resources