locked
Ubuntu16xrdp black screen RRS feed

  • Question

  • Hi  everybody

    I created a Ubuntu16 VM in Azure. I want to use XRDP. I found an araticle about configuring XRDP. Unfortunately, When I coonnect to it, it is black screen. I cannot  do anything. Any advice?

    Thursday, November 24, 2016 11:38 PM

Answers

  • Hi

    When I coonnect to it, it is black screen. I cannot  do anything

    According to your description, you should install xfce.

    Please refer to the steps below.

    Step1 – Install xRDP

    sudo apt-get update

    sudo apt-get install xrdp

    Step2 – Install XFCE4

    sudo apt-get install xfce4

    sudo apt-get install xfce4-terminal

    sudo apt-get install gnome-icon-theme-full tango-icon-theme

    Step3 – Configure xRDP

    echo xfce4-session >~/.xsession

    sudo vi /etc/xrdp/startvm.sh

    The content should look like this

    #!/bin/sh

    if [ -r /etc/default/locale ]; then

      . /etc/default/locale

      export LANG LANGUAGE

    fi

    startxfce4

    . /etc/X11/Xsession

    Step4 – Restart xRDP

    sudo service xrdp restart

    Step5 – Configure NSG rule

    For Inbound security rule, the port 3389 is allowed to access.

    If you still have questions, welcome to post back here. Thanks.

    Regards,

    Walter


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Proposed as answer by ShuiShengbao Monday, November 28, 2016 9:44 AM
    • Marked as answer by weiyang123 Monday, November 28, 2016 10:55 AM
    Friday, November 25, 2016 3:05 AM