View previous topic :: View next topic |
Author |
Message |
mrbassie l33t
Joined: 31 May 2013 Posts: 772 Location: over here
|
Posted: Sat Jun 28, 2014 2:12 pm Post subject: I've done something stupid |
|
|
So I'm messing around with zfs, backed up my home directory to an external drive, made the /home partition a zpool, created a dataset and restored from the copy. all well and good but now kde is ignoring all the configurations in the /home/user directory. Is there an easy way to fix this? I've done chown -R on it but I can't think of what else to do. My fault for expecting it to just work.
I had it all set just the way I wanted and it'd be a pain to set it all manually again.
can anyone help?
EDIT: ok now I've somehow broken x.
a .session doesn't exist error and it tells me it can't mv Xorg.log etc. Common enough error according to google. so I've nuked my permissions I guess.
Oh and kdm starts but doesn't open in a tty.
Wish I had a more recent disk image than the one I made over a year ago.
Very annoyed at myself right now, stupid thing to do and I'm too ignorant to know how to fix. Doing an emerge -e world now in the probably vain hope that it'll magically fix itself. |
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Sun Jun 29, 2014 7:43 am Post subject: |
|
|
Is perhaps /home/ not mounted until after X starts? Can you stat a file in /home/user/ properly? Is it also broken if you kill X and try again with `startx`? |
|
Back to top |
|
|
mrbassie l33t
Joined: 31 May 2013 Posts: 772 Location: over here
|
Posted: Sun Jun 29, 2014 8:47 am Post subject: |
|
|
yes I can stat, looks normal (I'm comparing to my other computer for example .bash_history). home is not mounted at boot (that's another problem), X isn't setup to autostart anyway.
startx returns:
Code: |
xauth: file /home/user/.serverauth.5021 does not exist
(EE)
Fatal server error:
(EE) Cannot move old log file "/var/log/Xorg.0.log" to "/var/log/Xorg.0.log.old"
|
if I su and startx I get:
Code: | (EE) no screens found(EE) |
if I service xdm/kdm start it says it starts ok but just stays on the login shell and there's nothing on the other tty's. |
|
Back to top |
|
|
mrbassie l33t
Joined: 31 May 2013 Posts: 772 Location: over here
|
Posted: Tue Jul 01, 2014 1:51 pm Post subject: |
|
|
I'm now back to a working system. An emerge -e world and a chmod +s /usr/bin/xXdid the trick. I'll do backups with ar -p from now on.
Thanks for the advice Tomwij. You got me thinking in the right direction |
|
Back to top |
|
|
|