ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Ubuntu with XRDP Gets Cannot read private key file /etc/xrdp/key.pem: Permission denied Error

    IT Discussion
    ubuntu ubuntu 19.10 xrdp rdp terminal server linux
    1
    1
    19.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      By default when XRDP is installed to Ubuntu 19.10 (and it appears, several other versions) there is an error where the default user for XRDP's service lacks access to the directory to which /etc/xrdp links. Of course you can change the perms on the file, but that is not recommended. To allow the user xrdp use the file, just add it to the ssl-cert group like this...

      sudo adduser xrdp ssl-cert
      
      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post