Click here to Skip to main content
14,972,394 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
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
Posted
Updated 15-Dec-13 1:57am
v4
Comments
pkfox 17-Dec-13 3:53am
   
Haven't got a solution Dave but if you head over to linuxformat.com someone will help ( sorry couldn't get the link to work ) is that better ?
DaveAuld 17-Dec-13 3:55am
   
Cheers, I'll have a look. I can't believe how many things I tried and different pages I looked at, feel like I've gone round in circles so much that the earth has actually started to revolve backwards. I have deleted the VMs again to start a fresh on my next attempt!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900