Find the answer to your Linux question:
Results 1 to 4 of 4
When xwmconfig closes, I'm getting the following message: Code: rm: cannot remove '/home/username/.xinitrc-backup': Permission denied mv: cannot move '/home/username/.xinitrc/' to '/home/username/.xinitrc-backup': Permission denied startx then doesn't start X. As root, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! Simpatico's Avatar
    Join Date
    May 2007
    Location
    Tethys
    Posts
    16

    xwmconfig leads to permission problems + no startx


    When xwmconfig closes, I'm getting the following message:

    Code:
    rm: cannot remove '/home/username/.xinitrc-backup': Permission denied
    mv: cannot move '/home/username/.xinitrc/' to '/home/username/.xinitrc-backup': Permission denied
    startx then doesn't start X.

    As root, I have changed the permissions on both of those files to 0755 and thought that would fix it, but I'm still getting the same message. The user owns both of these files, and I'm executing wmconfig and startx as this user.

    What am I missing?

  2. #2
    Just Joined! Simpatico's Avatar
    Join Date
    May 2007
    Location
    Tethys
    Posts
    16
    If you do it right, re-installation is an opportunity - to change partitions around and generally improve the system.

  3. #3
    Linux Enthusiast
    Join Date
    Jun 2005
    Location
    The Hot Humid South
    Posts
    602
    I had the same exact issue and could not understand why! I'm going to look more into it when I get a chance, but all I did was remove the user and user dir, then recreated the user and the dir. Works now, but I still don't understand why I can't work with the files after using xwmconfig.

    A thought that just came to mind might be that xwmconfig is messing with the UID environment variable. Might be worth checking out.
    "Today you are freer than ever to do what you want, provided you can pay for it!" --Bad Religion

  4. #4
    Just Joined! Simpatico's Avatar
    Join Date
    May 2007
    Location
    Tethys
    Posts
    16
    Thanks for the response, bidi.

    I never did learn the reason. I re-installed and immediately felt stupid for not doing so sooner. Ah, well - I have a bit more experience with chown and chmod, anyway. I will look into the UID env variable especially if this ever happens again.

    If you learn what is doing, this, though, please at least give me a clue.

Posting Permissions

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