You are not logged in.

#1 2013-07-25 18:29:12

hotvic
Member
Registered: 2013-02-11
Posts: 108

[Solved] Move system out of LVM DBus problems

Hi,

Earlier was using LVM and Arch age on Vol0/archlinux, today I moved the system out of LVM, then system now is on sda1, for move I do this (I can't remember the correct order but I thinks that's it):
1. copied system using "rsync -ah --progress" ignoring sys,dev,run,mnt,proc
2. configured /etc/fstab accordly:

/dev/sda1       /       btrfs   rw,relatime,space_cache,compress=lzo  0      1

3. from a chroot installed grub (no error reported), i.e.:

grub-install --recheck /dev/sda

4. booted in the system
all are working well, except some services can't start at boot: dnsmasq and after login in console systemd-logind fail to start at first try (automatically) after it start normally and is working.
another thing is that LightDM won't start, the complete output:

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.6.0, UID=0 PID=3230
[+0.00s] DEBUG: Loaded configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Using Xephyr for X servers
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.01s] DEBUG: Adding default seat
[+0.01s] DEBUG: Starting seat
[+0.01s] DEBUG: Starting new display for greeter
[+0.01s] DEBUG: Starting local X display
[+0.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Logging to /var/log/lightdm/x-2.log
[+0.01s] DEBUG: Can't launch X server Xephyr, not found in path
[+0.01s] DEBUG: X server stopped
[+0.01s] DEBUG: Releasing VT 7
[+0.01s] DEBUG: Display server stopped
[+0.01s] DEBUG: Stopping display
[+0.01s] DEBUG: Stopping seat, failed to start a display
[+0.01s] DEBUG: Stopping seat
[+0.01s] DEBUG: Seat stopped
Failed to get D-Bus connection

tried:
1. re-installing lightdm
2. regenerating initramfs
3. removing and re-installing dbus and systemd (i.e.: pacman -Rnsdd systemd dbus; pacman -S systemd dbus)

nothing of these things solves, So I think that it isn't a LightDM issue.

dbus-monitor looks correct!

Last edited by hotvic (2013-07-26 03:06:54)

Offline

#2 2013-07-25 20:11:48

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,675

Re: [Solved] Move system out of LVM DBus problems

Is X server Xephyr in your path?

By the way, you would be better advised to use the rsync flags mentioned in the wiki page for full system backup with rsync to make sure that you do not lose information. -a will get most stuff but not everything. For example, ping may not work and I think you will lose ACLs as well as capabilities. I doubt this is why it can't find the X server, though.


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

#3 2013-07-25 20:29:17

hotvic
Member
Registered: 2013-02-11
Posts: 108

Re: [Solved] Move system out of LVM DBus problems

cfr,

I not deleted my LVM partition yet, so when I get some spare time I'll re-copy system using flags in wiki.

I don't used these flags previously just because I forgot this page, sorry!

Offline

#4 2013-07-25 20:36:29

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,675

Re: [Solved] Move system out of LVM DBus problems

OK. Sounds like a good idea - may avoid headaches due to subtle issues later. I don't think that probably explains it not finding the X server, though. At least, I wouldn't think so.


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

#5 2013-07-26 03:06:28

hotvic
Member
Registered: 2013-02-11
Posts: 108

Re: [Solved] Move system out of LVM DBus problems

Ok, copied system again with -aAX and now system is working correctly!

thank you cfr!

Offline

Board footer

Powered by FluxBB