Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I've done something stupid
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 770
Location: over here

PostPosted: Sat Jun 28, 2014 2:12 pm    Post subject: I've done something stupid Reply with quote

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
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sun Jun 29, 2014 7:43 am    Post subject: Reply with quote

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
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 770
Location: over here

PostPosted: Sun Jun 29, 2014 8:47 am    Post subject: Reply with quote

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
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 770
Location: over here

PostPosted: Tue Jul 01, 2014 1:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum