Can't run NetworkManager, SessionManager and other daemons

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
Pastagansa
Ronin
Ronin
Posts: 2
Joined: 09 Jun 2017, 10:28
Distribution: s
Location: SP

Can't run NetworkManager, SessionManager and other daemons

Post#1 by Pastagansa » 09 Jun 2017, 10:48

Hi, I'm using Porteus 3.2.2 Xfce i586 on a 8G USB stick. I formatted my USB stick in ext2 and I extracted the ISO contents directly to the root of the USB. Ran the installation script from GNU/Linux and it finished successfully. I'm able to boot the USB live.

All right up to this point. The problem is, when I run Porteus from USB in Graphic mode, it runs a bit more slowly than when I run it from the live ISO and when the system is entering in the level 4 init, it says:

Code: Select all

/usr/bin/xauth: file /var/run/slim.auth does not exist
But later, when I ls to this path, the file actually exists! And when it finally brings me the desktop, I realize that I can't shut down or reset graphically from xfce4-session (the option is always greyed out). I can't either connect to the internet because NetworkManager didn't run and I can't bring it up. And when I try to run xfce4-power-manager-settings it says that it can't connect to the Xfce Power Manager because:

Code: Select all

The name org.xfce.PowerManager was not provided by any .service files
/var/log/syslog has tons of lines with errors from pulseaudio (that doesn't work either):

Code: Select all

[pulseaudio] main.c: Module load failed.
[pulseaudio] main.c: Failed to initialize daemon.
[pulseaudio] main.c: Daemon startup failed.
It fails with other desktop environments too, but not when I run Porteus in Always fresh mode or from the live ISO.

Do someone else had this problem? What's causing the trouble?

donald
Full of knowledge
Full of knowledge
Posts: 2063
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Can't run NetworkManager, SessionManager and other daemo

Post#2 by donald » 09 Jun 2017, 11:24


Pastagansa
Ronin
Ronin
Posts: 2
Joined: 09 Jun 2017, 10:28
Distribution: s
Location: SP

Re: Can't run NetworkManager, SessionManager and other daemo

Post#3 by Pastagansa » 09 Jun 2017, 12:22

Tried your solution and it's finally working fine :D I think the key is that I was using p7zip to extract the ISO image contents directly to the USB and it messed up some files; instead of mounting it and copying the contents manually to the USB preserving file permissions as you pointed on your post.

Nevertheless, it keeps saying that the slim.auth file on /var/run is missing on every boot, but it doesn't seem to matter. Thanks!

donald
Full of knowledge
Full of knowledge
Posts: 2063
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Can't run NetworkManager, SessionManager and other daemo

Post#4 by donald » 09 Jun 2017, 14:11

Excellent!

The "slim.auth file" message seems to be normal - i have this too.

Have a nice weekend
cheers

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Re: Can't run NetworkManager, SessionManager and other daemo

Post#5 by fulalas » 10 Jun 2017, 01:40

donald wrote:The "slim.auth file" message seems to be normal - i have this too.
Pastagansa wrote:But later, when I ls to this path, the file actually exists!
Yep, I see the same message here all the time. In fact I'm thinking about using another auto-login method. Anyone has an idea?

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Can't run NetworkManager, SessionManager and other daemo

Post#6 by brokenman » 10 Jun 2017, 17:08

The system is booting so fast that the file isn't there the first time it is looked for. A split second later it is there.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply