You are not logged in.

#1 2014-05-23 20:22:27

Zauber Paracelsus
Member
Registered: 2014-05-23
Posts: 10
Website

No DM with initscripts-fork? (Resolved)

A long while back, I had decided to abandon Arch Linux due to problems I had with SystemD.  Things like randomly having heavy lag on bootup (caused by the logging daemon), my /home partition randomly failing to mount on bootup, and attempts to shutdown/reboot randomly failing and just doing nothing.  So, since then I've been on Linux Mint.  While it has been a pretty decent OS, I found it more difficult to do some things, things which had been easier under Arch Linux.

So, I went looking back and found that ArchBang had some packages available to get rid of SystemD, and so I decided to try it out on my laptop using initscripts-fork to replace SystemD.  Aside from some confusion with package signing keys, I was able to get the system up and running without much issue.  However, I have two lingering problems that I have not been able to figure out.

1) X doesn't start up automatically on boot, nor do any display managers.  I know SLiM is supposed to have trouble with initscripts-fork, so I tried replacing it with both LightDM in .xinitrc and the daemons array in /etc/rc.conf, but that didn't work.  I tried LXDM as well, but no luck.
2) When I manually start lxdm (by executing a command, not starting it as a daemon/service), I notice that the Logout menu lacks the reboot, shutdown, suspend, and hibernate options.  Only Lock Screen, Logout, and Cancel are available.  I remember having this issue years ago under Arch Linux, but I do not remember what I did to resolve it.


PS: Before submitting this post, I turned to my laptop and rebooted it to look for any weird error messages.  I saw one, saying "syslog-ng could not be found or is ...", though the screen blanked out and showed the login terminal prompt before I could finish reading it, and it looked like there was another error message after it.  If anyone knows where ArchBang stores its system log files, it would be appreciated.  I looked myself, and they were not where I had remembered them being.


Edit: I remembered where they were stored, in /var/log.  Here is a copy of the output for the most recent bootup:

Fri May 23 22:36:55 2014: :: Setting hostname: arch    [BUSY]    [DONE] 
Fri May 23 22:36:55 2014: :: Adjusting system time and setting kernel time zone    [BUSY]    [DONE] 
Fri May 23 22:36:55 2014: :: Starting udev daemon    [BUSY]    [DONE] 
Fri May 23 22:36:55 2014: :: Triggering udev uevents    [BUSY]    [DONE] 
Fri May 23 22:36:55 2014: :: Loading user-specified modules    [BUSY]    [DONE] 
Fri May 23 22:36:55 2014: :: Waiting for udev uevents to be processed    [BUSY]    [DONE] 
Fri May 23 22:37:03 2014: :: Setting Consoles to UTF-8 mode    [BUSY] %G   [DONE] 
Fri May 23 22:37:03 2014: error: found key `FONT' without value on line 2 of /etc/vconsole.conf
Fri May 23 22:37:03 2014: :: Loading Keyboard Map: us    [BUSY]    [DONE] 
Fri May 23 22:37:03 2014: :: Bringing up loopback interface    [BUSY]    [DONE] 
Fri May 23 22:37:03 2014: :: Checking filesystems    [BUSY] /dev/sda1: clean, 335/62336 files, 12220/248999 blocks
Fri May 23 22:37:03 2014:    [DONE] 
Fri May 23 22:37:03 2014: :: Remounting Root    [BUSY]    [DONE] 
Fri May 23 22:37:03 2014: :: Mounting local filesystems    [BUSY]    [DONE] 
Fri May 23 22:37:03 2014: :: Activating swap    [BUSY]    [DONE] 
Fri May 23 22:37:03 2014: :: Initializing Random Seed    [BUSY]    [DONE] 
Fri May 23 22:37:03 2014: :: Removing leftover files    [BUSY]    [DONE] 
Fri May 23 22:37:04 2014: :: Saving dmesg log    [BUSY]    [DONE] 
Fri May 23 22:37:04 2014: INIT: Entering runlevel: 3
Fri May 23 22:37:04 2014: :: Configuring kernel parameters    [BUSY]    [DONE] 
Fri May 23 22:37:04 2014: :: Configure additional binary formats    [BUSY]    [DONE] 
Fri May 23 22:37:04 2014: error: /etc/rc.d/syslog-ng does not exist or is not executable
Fri May 23 22:37:04 2014: :: Starting D-BUS system messagebus    [BUSY]    [DONE] 
Fri May 23 22:37:04 2014: :: Starting network    [BUSY] dhcpcd[577]: version 6.3.2 starting
Fri May 23 22:37:05 2014: dhcpcd[643]: wlan0: starting wpa_supplicant
Fri May 23 22:37:05 2014: dhcpcd[646]: wlan0: failed to start wpa_supplicant
Fri May 23 22:37:05 2014: dhcpcd[647]: wlan0: Successfully initialized wpa_supplicant
Fri May 23 22:37:05 2014: Line 1062: unknown EAP method 'SIM'
Fri May 23 22:37:05 2014: You may need to add support for this EAP method during wpa_supplicant
Fri May 23 22:37:05 2014: build time configuration.
Fri May 23 22:37:05 2014: See README for more information.
Fri May 23 22:37:05 2014: Line 1062: failed to parse eap 'SIM'.
Fri May 23 22:37:05 2014: Line 1065: failed to parse network block.
Fri May 23 22:37:05 2014: Line 1072: unknown EAP method 'PSK'
Fri May 23 22:37:05 2014: You may need to add support for this EAP method during wpa_supplicant
Fri May 23 22:37:05 2014: build time configuration.
Fri May 23 22:37:05 2014: See README for more information.
Fri May 23 22:37:05 2014: Line 1072: failed to parse eap 'PSK'.
Fri May 23 22:37:05 2014: Line 1076: failed to parse network block.
Fri May 23 22:37:05 2014: Line 1108: unknown EAP method 'IKEV2'
Fri May 23 22:37:05 2014: You may need to add support for this EAP method during wpa_supplicant
Fri May 23 22:37:05 2014: build time configuration.
Fri May 23 22:37:05 2014: See README for more information.
Fri May 23 22:37:05 2014: Line 1108: failed to parse eap 'IKEV2'.
Fri May 23 22:37:05 2014: Line 1111: failed to parse network block.
Fri May 23 22:37:05 2014: Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
Fri May 23 22:37:07 2014: dhcpcd[577]: no interfaces have a carrier
Fri May 23 22:37:07 2014: dhcpcd[577]: forked to background, child pid 703
Fri May 23 22:37:07 2014:    [DONE] 
Fri May 23 22:37:07 2014: error: /etc/rc.d/crond does not exist or is not executable
Fri May 23 22:37:07 2014: error: /etc/rc.d/lxdm does not exist or is not executable

And for reference, my daemons array is (syslog-ng, network, crond, lxdm)

Last edited by Zauber Paracelsus (2014-05-24 14:57:39)

Offline

#2 2014-05-24 13:42:56

artoo
Member
Registered: 2013-02-16
Posts: 332
Website

Re: No DM with initscripts-fork? (Resolved)

I notice that the Logout menu lacks the reboot, shutdown, suspend, and hibernate options.  Only Lock Screen, Logout, and Cancel are available.

Try to install pm-utils, since you start with a nosystemd init.

As for x server, I don't have a clue with initscripts.
Are you using eudev?

Offline

#3 2014-05-24 14:05:57

Zauber Paracelsus
Member
Registered: 2014-05-23
Posts: 10
Website

Re: No DM with initscripts-fork? (Resolved)

Well, installing pm-utils hasn't changed anything, so there must be something extra that needs to be done.  And yes, I'm using eudev, which appears to be starting correctly in the system logs (using the udev alias).

Also, would OpenRC be a better supported option to go with?

Offline

#4 2014-05-24 14:08:59

artoo
Member
Registered: 2013-02-16
Posts: 332
Website

Re: No DM with initscripts-fork? (Resolved)

In my veiw, openrc is vastly superior to unmaintained old initscripts.
Sounds like you are missing an active consolekit session launched.
You can install consolekit, but where you get initscript for ck, I don't know.

Yes, it works out of box if you use right version(openrc-base + optional openrc-desktop), given you set in /etc/conf.d/xdm the displaymanager of your choice.

Last edited by artoo (2014-05-24 14:11:09)

Offline

#5 2014-05-24 14:13:50

artoo
Member
Registered: 2013-02-16
Posts: 332
Website

Re: No DM with initscripts-fork? (Resolved)

If you want to test openrc, you can add to /etc/pacman.conf

[openrc]
SigLevel = Optional TrustAll
Server = http://archbang.org/repos/$repo/$arch
[aur-nosystemd]
SigLevel = Optional TrustAll
Server = http://archbang.org/repos/$repo/$arch

and run

# pacman -S openrc-sys openrc-desktop

It will pull in eudev too.

Last edited by artoo (2014-05-24 14:16:06)

Offline

#6 2014-05-24 14:50:55

Zauber Paracelsus
Member
Registered: 2014-05-23
Posts: 10
Website

Re: No DM with initscripts-fork? (Resolved)

Replacing initscripts-fork with OpenRC has resolved my problems.  The issue with being unable to use reboot/shutdown/suspend/hibernate from the Logout menu continues however, even though consolekit is installed and running.

Offline

#7 2014-05-24 14:53:05

artoo
Member
Registered: 2013-02-16
Posts: 332
Website

Re: No DM with initscripts-fork? (Resolved)

A guess into the blue, what displaymanager do you use?

It works with lightdm for me. All other DMs don't have native ck support as far as I know.

Offline

#8 2014-05-24 14:57:18

Zauber Paracelsus
Member
Registered: 2014-05-23
Posts: 10
Website

Re: No DM with initscripts-fork? (Resolved)

I was using LXDM, the display manager for LXDE.  Switching to LightDM has fixed my issue, so thanks for the help!

Offline

#9 2014-05-24 15:01:02

artoo
Member
Registered: 2013-02-16
Posts: 332
Website

Re: No DM with initscripts-fork? (Resolved)

You are welcome. smile

LXDM is problematic with ck, I patched it to support ck session, but it was not worth the effort when having lightdm readily available.

Offline

#10 2014-05-24 15:05:41

Zauber Paracelsus
Member
Registered: 2014-05-23
Posts: 10
Website

Re: No DM with initscripts-fork? (Resolved)

Aye.  I'm going to try ArchBang+OpenRC out on my laptop for another day or two, and then see about putting it on my desktop.  Personally, I'm very happy that Arch can be used with SystemD, and I had I not learned about ArchBang and OpenRC, I probably would have stuck with my decision to quit Arch permanently.

Offline

#11 2014-05-24 15:08:52

artoo
Member
Registered: 2013-02-16
Posts: 332
Website

Re: No DM with initscripts-fork? (Resolved)

We share the same thought here.
I was about to abandon arch, but then I thought, why not porting openrc to arch.
I am a primary gentoo user, who likes a complementary binary distro for quick testing of packages.

Last edited by artoo (2014-05-24 15:09:29)

Offline

#12 2014-05-24 23:26:42

Zauber Paracelsus
Member
Registered: 2014-05-23
Posts: 10
Website

Re: No DM with initscripts-fork? (Resolved)

Okay, I got a little eager and went a head and installed OpenRC on my desktop.  Had to do it a second time because I managed to render my system unbootable the first time I tried to install OpenRC.  Apparently, my mistake was to add openrc to the kernel boot parameters?  Anyways, I've gotten my problems mostly sorted out, except for one small problem:

The ps command apparently depends on libsystemd

Offline

#13 2014-05-24 23:36:51

artoo
Member
Registered: 2013-02-16
Posts: 332
Website

Re: No DM with initscripts-fork? (Resolved)

There is a procps-ng-nosystemd in AUR.

I will add it to nosystemd repo today.

Edit: repo is updated.

Last edited by artoo (2014-05-24 23:52:50)

Offline

#14 2014-05-24 23:53:51

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,694

Re: No DM with initscripts-fork? (Resolved)

@Zauber I only did initscripts version as a test iso, did not really get feedback on it so dropped the idea. Hoping Openrc version takes off and brings many more users to a systemd free arch.


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org

Offline

#15 2014-05-25 00:25:54

artoo
Member
Registered: 2013-02-16
Posts: 332
Website

Re: No DM with initscripts-fork? (Resolved)

Zauber, you get btw another error if you use syslog-ng.
I don't plan to add syslog-ng to repo, since metalog is a slick nice alternative which doesn't require systemd.

Offline

#16 2014-05-25 08:55:40

Zauber Paracelsus
Member
Registered: 2014-05-23
Posts: 10
Website

Re: No DM with initscripts-fork? (Resolved)

@MrGreen: Okay.  I had gone with it because the wiki page on removing SystemD had said it was still active.

@Artoo: Okay, thanks.  Got that installed and it's working now.

Offline

#17 2014-05-25 09:30:01

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,694

Re: No DM with initscripts-fork? (Resolved)

Think initscripts guide needs a little more to get it too work. Kind of forgotten about it as I was messing about with minirc. Artoo has found many work arounds for using a systemd free system. Interested in how he going to get around systemd deps for mkinitcpio.


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org

Offline

#18 2014-05-25 09:57:05

artoo
Member
Registered: 2013-02-16
Posts: 332
Website

Re: No DM with initscripts-fork? (Resolved)

Mr Green wrote:

Think initscripts guide needs a little more to get it too work. Kind of forgotten about it as I was messing about with minirc. Artoo has found many work arounds for using a systemd free system. Interested in how he going to get around systemd deps for mkinitcpio.


How do you mean?

eudev provides a systemd interface, because arch upstream don't separate as of now between systemd and udev.
But, the basic structure for separation is in systemd 212 pkgbuilds(libudev.so).

You could try the eudev in AB testing repo, it has a split out libeudev, which is supposed to replace libsystemd.

Offline

Board footer

Powered by FluxBB