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.
- 09-07-2007 #1
xwmconfig leads to permission problems + no startx
When xwmconfig closes, I'm getting the following message:
startx then doesn't start X.Code:rm: cannot remove '/home/username/.xinitrc-backup': Permission denied mv: cannot move '/home/username/.xinitrc/' to '/home/username/.xinitrc-backup': Permission denied
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?
- 09-08-2007 #2
If you do it right, re-installation is an opportunity - to change partitions around and generally improve the system.
- 09-09-2007 #3Linux 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
- 09-10-2007 #4
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.


Reply With Quote
