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

Thread: Unable to copy the user's Xauthorization file.

  1. #1
    Join Date
    Oct 2007
    Location
    9.5° N 76.6° E
    Beans
    145

    Angry Unable to copy the user's Xauthorization file.

    i was using Synaptic Package Manager to download and install some 226 applications and plugins... in between my system lost battery power and got shut down...

    now when i try to open Synaptic Package Manager, i'm getting the following error... what shall i do... please advice me...
    Failed to run /usr/sbin/synaptic as user root.

    Unable to copy the user's Xauthorization file.
    and when i try to check for updates using Update Manager, i get this error,
    Failed to run /usr/sbin/synaptic '--hide-main-window' '--non-interactive' '--parent-window-id' '113246246' '--update-at-startup' as user root.

    Unable to copy the user's Xauthorization file.
    would i have to reinstall ubuntu???

    or can i resolve these problems permanently...
    i believe in Ubuntu!!!
    UBUNTU EASY INSTALL 1.1: http://www.facebook.com/pages/Ubuntu...53334814714818

  2. #2
    Join Date
    Nov 2005
    Beans
    1,674
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Unable to copy the user's Xauthorization file.

    have you tried opening a terminal and running
    Code:
    sudo dpkg --configure -a
    ?
    Last edited by shifty_powers; June 13th, 2009 at 11:29 PM.
    Neo Tokyo Skies Prologue

    A prologue release of the MMORPG Neo Tokyo skies...

  3. #3
    Join Date
    Jul 2008
    Location
    Saudi Arabia - KFUPM
    Beans
    38
    Distro
    Ubuntu 10.04 Lucid Lynx

    Cool Re: Unable to copy the user's Xauthorization file.

    Quote Originally Posted by shifty_powers View Post
    have you tried opening a terminal and running
    Code:
    sudo dpkg --configure -a
    ?
    I've the same problem too
    I've tried your solution but it didn't work

    still i'm getting this error when I open Synaptic Manager
    Code:
    Failed to run /usr/sbin/synaptic as user root.
    
    Unable to copy the user's Xauthorization file.
    Please any solution??

  4. #4
    Join Date
    Jun 2009
    Location
    0000:0400
    Beans
    Hidden!

    Re: Unable to copy the user's Xauthorization file.

    Sounds like your .Xauthority files are having permission problems. Post the output of:
    Code:
    ls -la $HOME\.*auth*

  5. #5
    Join Date
    Jul 2008
    Location
    Saudi Arabia - KFUPM
    Beans
    38
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Unable to copy the user's Xauthorization file.

    here is the result:
    username = mahboop
    Code:
    -rw------- 1 mahboop mahboop    16 2009-03-19 02:15 .esd_auth
    -rw------- 1 mahboop mahboop 39379 2009-11-12 19:29 .ICEauthority
    -rw------- 1 mahboop mahboop     0 2009-11-12 19:29 .Xauthority
    Thanks

  6. #6
    Join Date
    Jun 2009
    Location
    0000:0400
    Beans
    Hidden!

    Re: Unable to copy the user's Xauthorization file.

    Not a good sign that your .Xauth is empty. I'd say delete it and reboot. A new one will be created on login.

  7. #7
    Join Date
    Jul 2008
    Location
    Saudi Arabia - KFUPM
    Beans
    38
    Distro
    Ubuntu 10.04 Lucid Lynx

    Exclamation Re: Unable to copy the user's Xauthorization file.

    I deleted the three files and restarted ubuntu but the results are the same.
    The files haven't been created by the system.
    Code:
    mahboop@mahboop-laptop:~$ ls -la $HOME\.*auth*
    ls: cannot access /home/mahboop.*auth*: No such file or directory
    mahboop@mahboop-laptop:~$

  8. #8
    Join Date
    Jun 2009
    Location
    0000:0400
    Beans
    Hidden!

    Re: Unable to copy the user's Xauthorization file.

    Quote Originally Posted by mahboop View Post
    I deleted the three files and restarted ubuntu but the results are the same.
    The files haven't been created by the system.
    Code:
    mahboop@mahboop-laptop:~$ ls -la $HOME\.*auth*
    ls: cannot access /home/mahboop.*auth*: No such file or directory
    mahboop@mahboop-laptop:~$
    Strange. Well, they'll be created when they're needed. I just tested this on my VM. By chance, does your /tmp directory have permissions other than 1777 and/or is it not owned by root? Those permissions as "human readable" would look like 'drwxrwxrwt'.

  9. #9
    Join Date
    Jul 2008
    Location
    Saudi Arabia - KFUPM
    Beans
    38
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Unable to copy the user's Xauthorization file.

    Quote Originally Posted by falconindy View Post
    By chance, does your /tmp directory have permissions other than 1777 and/or is it not owned by root? Those permissions as "human readable" would look like 'drwxrwxrwt'.
    Code:
    drwxrwxrwt  21 root root   480 2009-11-13 11:20 tmp
    Last edited by mahboop; November 13th, 2009 at 11:15 AM.

  10. #10
    Join Date
    Jul 2008
    Location
    Saudi Arabia - KFUPM
    Beans
    38
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Unable to copy the user's Xauthorization file.

    ^^^^^^

Page 1 of 2 12 LastLast

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
  •