Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: xrdp user permissions problem

  1. #1
    Join Date
    Apr 2009
    Beans
    2

    xrdp user permissions problem

    Hi there,
    Im using xrdp to use my windows machines to connect to my Ubuntu machine (9.04) but i do have one problem.

    I have installed Xrdp with no problems and it works (yey!) but whenever i try to run certain applications i get the following message (note: i got this error trying to run synaptic)

    Failed to run /usr/sbin/synaptic as user root.
    Unable to copy the users Xauthorization file.

    Does anyone know how to get around this or do i have to use vnc to get around this problem?
    Last edited by u1tramarine; April 26th, 2009 at 03:18 PM.

  2. #2

    Re: xrdp user permissions problem

    I don't normally bump such old threads, but since I just ran into the exact same problem with Karmic, I though I might post the solution in case someone else runs into this:

    Create a blank .Xauthority file in the home directory of the user you are connecting with. Be sure to log in as that user (either graphically, or via the terminal), then run:

    touch ~/.Xauthority
    chmod 600 ~/.Xauthority

    After that, apps such as Synaptic will run without giving you that error.
    Tony Lovasco
    Twisted Lincoln, Inc.
    http://www.twistedlincoln.com

  3. #3
    Join Date
    Oct 2010
    Beans
    3

    Re: xrdp user permissions problem

    Quote Originally Posted by u1tramarine View Post
    Hi there,
    Im using xrdp to use my windows machines to connect to my Ubuntu machine (9.04) but i do have one problem.

    I have installed Xrdp with no problems and it works (yey!) but whenever i try to run certain applications i get the following message (note: i got this error trying to run synaptic)

    Failed to run /usr/sbin/synaptic as user root.
    Unable to copy the users Xauthorization file.

    Does anyone know how to get around this or do i have to use vnc to get around this problem?
    Thank you!

  4. #4
    Join Date
    Jun 2008
    Beans
    18
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: xrdp user permissions problem

    TwistedLincoln, thanks for posting this solution. I recently configured xrdp on Lucid and was running into this permissions error whenever I tried running system updates (during the xrdp session). Now it's fixed!

  5. #5
    Join Date
    Dec 2009
    Beans
    2

    Re: xrdp user permissions problem

    Thanks I've been fighting this RDP thing for a day now!!!!!!!!!!!!1

  6. #6
    Join Date
    Oct 2009
    Location
    Phoenix, AZ
    Beans
    125
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: xrdp user permissions problem

    technically you could just run:

    sudo /usr/sbin/synaptic (or whatever the error message is)

    But your solution provides a permanent fix rather than a workaround, and for that I thank you! Had this exact same problem and was tired of copying and pasting into terminals to do stuff
    HP G-71 Notebook Intel Core2-Duo 2.2GHz 4GB
    Dual boot Win7 - Ubuntu 10.04x64
    Shared RHEL-5.4 Virtual Machines via VMware

  7. #7
    Join Date
    Oct 2005
    Beans
    35
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: xrdp user permissions problem

    Quote Originally Posted by TwistedLincoln View Post
    After that, apps such as Synaptic will run without giving you that error.
    THANKS SO MUCH! Helped me out big time.

  8. #8
    Join Date
    Dec 2005
    Location
    Chicago, IL
    Beans
    15
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: xrdp user permissions problem

    Quote Originally Posted by TwistedLincoln View Post
    I don't normally bump such old threads, but since I just ran into the exact same problem with Karmic, I though I might post the solution in case someone else runs into this:

    Create a blank .Xauthority file in the home directory of the user you are connecting with. Be sure to log in as that user (either graphically, or via the terminal), then run:

    touch ~/.Xauthority
    chmod 600 ~/.Xauthority

    After that, apps such as Synaptic will run without giving you that error.
    Just want to also confirm that this works like a charm! Thank you for your help!

  9. #9
    Join Date
    Sep 2009
    Beans
    4

    Re: xrdp user permissions problem

    any issues creating / editing users?

    I'm using xrdp on lucid and the .Xauthority file worked, but I'm still unable to manage users via the Users and Groups app.

    Any ideas?

  10. #10
    Join Date
    Oct 2007
    Beans
    1
    Distro
    Edubuntu 7.04 Feisty Fawn

    Re: xrdp user permissions problem

    Thanks for posting this fix. I appreciate that you took time to share the solution! This fixed worked great on 10.04.3. And no issue using the Users and Groups utility via a Windows RDP client.

    Again Thanks!

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •