Configure Remote Desktop - Connect to Azure Linux VM (RHEL 7.4) RRS feed

  • Question

  • i tried new release of SQL 2017 with Linux (RHEL - 7.4) Azure VM.,

    Everything fine ( installed , sql enabled, can access sql from client (SSMS) ),

    but  while connect RDP for Linux VM  ( Azure)  , getting below error,   can any one explain step by step code  (bash) to configure Linux VM  RDP  (RHEL 7.4)

    Connecting to sesman IP port 3350 sesman connect ok sending login info to session manager, please wait... login successful for display 10 VNC started connecting VNC connecting to 5910 VNC error-problem connecting

    some problem

    followed link:




    Friday, October 13, 2017 11:22 AM


All replies

  • How can we use RDP to connect to a Linux VM (virtual machine) remotely

    Remote Desktop between any OS's Step-By-Step guide

    Reference: Cannot connect to XRDP

    Troubleshoot SSH connections to an Azure Linux VM that fails, errors out, or is refused

    For more information related Remote Desktop connections issues; Click here

    Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.

    There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet. 


    Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members

    Friday, October 13, 2017 12:09 PM
  • does not work, dropped & re-create xrdp .... 

    pls any one guide for configure RDP for Azure VM RHEL 7.4 VM     ( latest version )

    Wednesday, October 25, 2017 9:59 AM
  • while check VNC status

    [root@servername ~]# systemctl status vncserver@:1.service -l

    ● vncserver@:1.service - Remote desktop service (VNC)
       Loaded: loaded (/etc/systemd/system/vncserver@:1.service; enabled; vendor preset: disabled)
       Active: failed (Result: exit-code) since Wed 2017-10-25 12:36:59 UTC; 29s ago
      Process: 6352 ExecStart=/usr/bin/vncserver %i (code=exited, status=217/USER)
      Process: 6351 ExecStartPre=/usr/bin/vncserver -kill %i (code=exited, status=217/USER)

    Oct 25 12:36:59 servername systemd[1]: Starting Remote desktop service (VNC)...
    Oct 25 12:36:59 servername systemd[1]: vncserver@:1.service: control process exited, code=exited status=217
    Oct 25 12:36:59 servername systemd[1]: Failed to start Remote desktop service (VNC).
    Oct 25 12:36:59 servername systemd[1]: Unit vncserver@:1.service entered failed state.
    Oct 25 12:36:59 servername systemd[1]: vncserver@:1.service failed.

    Wednesday, October 25, 2017 12:39 PM
  • hi all

    it's working for Azure RHEL 7.4 VM for RDP,

    $sudo su -

    #yum groupinstall 'Server with GUI'

    #systemctl stop firewalld

    #systemctl disable firewalld

    #yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

    #yum install xrdp tigervnc-server xterm

    #systemctl enable xrdp

    #systemctl enable xrdp-sesman

    Wednesday, October 25, 2017 2:19 PM
  • Glad to hear that issue got fixed. Appreciate for sharing the steps which helped you, this would certainly benefit other community members.


    Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members

    Wednesday, October 25, 2017 3:57 PM
  • Perfect answer. Thnx
    Sunday, June 16, 2019 1:56 AM