Hello,
Having ham-fisted my way through trying to fix a knackered user account on RHEL 5 that is using Gnome/Metacity (i.e. the RedHat desktop), I can't seem to copy a set of healthy files across - the WM still moans about missing files and the what not. Is there a utility that I could run to re-generate a set of default working files so that the user can at least re-do their old settings manually? I confess ignorance to Gnome/Metacity, but then again, I'm not one for using Linux on the desktop these days, so I'm a bit out of practice..
Regards,
Martyn
On 22 Jan 2008, at 9:19 pm, Martyn Drake wrote:
Hello,
Having ham-fisted my way through trying to fix a knackered user account on RHEL 5 that is using Gnome/Metacity (i.e. the RedHat desktop), I can't seem to copy a set of healthy files across - the WM still moans about missing files and the what not. Is there a utility that I could run to re-generate a set of default working files so that the user can at least re-do their old settings manually? I confess ignorance to Gnome/Metacity, but then again, I'm not one for using Linux on the desktop these days, so I'm a bit out of practice..
Does it work if you log in as a different user? If that is the case you could try moving the .gnome(2) and .gconf(2) folders out of the way in the broken user's home directory and see if that makes any difference.
On Jan 22, 2008 10:23 PM, David Reynolds david@reynoldsfamily.org.uk wrote:
Does it work if you log in as a different user? If that is the case you could try moving the .gnome(2) and .gconf(2) folders out of the way in the broken user's home directory and see if that makes any difference.
That was my first thought - and it doesn't work for some odd reason. I'm currently setting up some virtual machines to try and reproduce the problem, but I'm sure there was something that I could run that creates the default configuration as if the user was brand new. I can't delete the existing user account, so that option is out the window.
Other users are fine.
Regards,
Martyn
On Wed, Jan 23, 2008 at 09:46:52AM +0000, Martyn Drake wrote:
That was my first thought - and it doesn't work for some odd reason. I'm currently setting up some virtual machines to try and reproduce the problem, but I'm sure there was something that I could run that creates the default configuration as if the user was brand new. I can't delete the existing user account, so that option is out the window.
Can't you just mv /home/username /home/username-old and then mkdir /home/username set the permissions and then copy bits back across?
Adam
On Jan 23, 2008 12:18 PM, Adam Bower adam@thebowery.co.uk wrote:
Can't you just mv /home/username /home/username-old and then mkdir /home/username set the permissions and then copy bits back across?
That did the trick. Just goes to show that sometimes the simplest solutions are the best (and mostly overlooked!).
Thanks :)
Regards,
Martyn