Jump to content

tenwiser

Members
  • Posts

    1
  • Joined

  • Last visited

Reputation Activity

  1. Like
    tenwiser got a reaction from sbstn in Cubietruck Armbian Bionic xrdp remote desktop doesnt work   
    Hi,
     
    I’ve found a fix for xrdp. The permissions required fixing!
     
    For a non-root user, Xorg is not starting because it is not able to write the Xorg.10.log file to the location /home/{user}/.local/share/xorg
     
    This xorg directory needs to be created with user ownership not root!
     
    i.e.
     
    sudo mkdir /home/user/.local/share/xorg sudo chown user:user /home/user/.local/share/xorg  
    FWIW, I found out this by connecting to the xrdp and sesman services, having them running in the foreground to see the diagnostic output.
    window 1. sudo systemctl stop xrdp.service sudo mkdir -p /var/run/xrdp/sockdir sudo xrdp -ns window 2. sudo /usr/sbin/xrdp-sesman -ns  
    When connecting from the client (in my case xfreerdp) window 2 showed  
    -[20190224-19:06:54] [INFO ] Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp (EE) Fatal server error: (EE) Cannot open log file "/home/adrian/.local/share/xorg/Xorg.10.log" (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE)  
    BTW, on my desktop build I’ve installed xorgxrdp and done “dpkg-reconfigure xserver-xorg-legacy” to configure xorg access for anybody rather than console.
     
    You shouldn’t need to install VNC services (tightvncserver etc…) for your xrdp experience!
     
    Hope this helps.
     
    --
    Adrian C
     
  2. Like
    tenwiser got a reaction from MEMEs in Cubietruck Armbian Bionic xrdp remote desktop doesnt work   
    Hi,
     
    I’ve found a fix for xrdp. The permissions required fixing!
     
    For a non-root user, Xorg is not starting because it is not able to write the Xorg.10.log file to the location /home/{user}/.local/share/xorg
     
    This xorg directory needs to be created with user ownership not root!
     
    i.e.
     
    sudo mkdir /home/user/.local/share/xorg sudo chown user:user /home/user/.local/share/xorg  
    FWIW, I found out this by connecting to the xrdp and sesman services, having them running in the foreground to see the diagnostic output.
    window 1. sudo systemctl stop xrdp.service sudo mkdir -p /var/run/xrdp/sockdir sudo xrdp -ns window 2. sudo /usr/sbin/xrdp-sesman -ns  
    When connecting from the client (in my case xfreerdp) window 2 showed  
    -[20190224-19:06:54] [INFO ] Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp (EE) Fatal server error: (EE) Cannot open log file "/home/adrian/.local/share/xorg/Xorg.10.log" (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE)  
    BTW, on my desktop build I’ve installed xorgxrdp and done “dpkg-reconfigure xserver-xorg-legacy” to configure xorg access for anybody rather than console.
     
    You shouldn’t need to install VNC services (tightvncserver etc…) for your xrdp experience!
     
    Hope this helps.
     
    --
    Adrian C
     
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines