I have spent numerous hours over the last few weeks and carried out hundreds of google searches and tried tons of various things and cannot succeed in getting a remote desktop session to successfully work beyond the login prompt.
I have tried the same on both Ubuntu 12.* and 13.* variants available in Azure.
A) I have created the VM, suitable Endpoints and can happily SSH into the box.
B) Once on the box I have done the following;
sudo apt-get update<br />
sudo apt-get install ubuntu-desktop<br />
sudo apt-get install xrdp<br />
sudo /etc/init.d/xrdp start
c) When I connect using Windows Remote Desktop connection, I get the XRDP login prompt, however when I enter the username and password and hit enter I get some strange X-windows pixelated checkerboard background and the X-windows big 'X' cursor which happily moves around the screen using the mouse.
In order to recover from this I use
sudo apt-get/init.d/xrdp restart
to stop and restart the xrdp process.
I initially thought this might have been resolution related, so tried the started display options e.g. 1024x768, 1280x1024 @ 16-bit all without success.
Checking in my home directory in the
.xsession-errors
file, there does appear to be something that might mean something to someone!
Xsession: X session started for at Sun Dec 15 09:04:36 UTC 2013
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0x5
Serial number of failed request: 6
Current serial number in output stream: 8
localuser:azureuser being added to access control list
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0x5
Serial number of failed request: 6
Current serial number in output stream: 8
Script for cjkv started at run_im.
Script for default started at run_im.
Script for cjkv started at run_im.
Script for default started at run_im.
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:39833): WARNING **: software acceleration check failed: Child process exited with code 1
** (x-session-manager:39833): CRITICAL **: We failed, but the fail whale is dead. Sorry....
Can anyone with more Linux (on Azure?) knowledge than me help!
Please, pretty please..........with a cherry on top!
Dave