You are not logged in.

#1 2017-01-28 09:38:57

olk
Member
Registered: 2017-01-28
Posts: 12

slim not starting

Hi,
I've configured slim to start after boot but it fails - I'm ending up onto the command line prompt.
but startx starts slim?

/var/log/slim.log:
slim: X server could not be started

slim: waiting for X server to begin accepting connections
Giving up.
slim: unable to connect to X server


systemctl status slim.service:
lim.service - SLiM Simple Login Manager
   Loaded: loaded (/usr/lib/systemd/system/slim.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2017-01-28 09:07:26 UTC; 20min ago
  Process: 788 ExecStart=/usr/bin/slim -nodaemon (code=exited, status=1/FAILURE)
Main PID: 788 (code=exited, status=1/FAILURE)

Jan 28 09:07:25 e5lx systemd[1]: slim.service: Failed with result 'exit-code'.
Jan 28 09:07:26 e5lx systemd[1]: slim.service: Service hold-off time over, scheduling restart.
Jan 28 09:07:26 e5lx systemd[1]: Stopped SLiM Simple Login Manager.
Jan 28 09:07:26 e5lx systemd[1]: slim.service: Start request repeated too quickly.
Jan 28 09:07:26 e5lx systemd[1]: Failed to start SLiM Simple Login Manager.
Jan 28 09:07:26 e5lx systemd[1]: slim.service: Unit entered failed state.
Jan 28 09:07:26 e5lx systemd[1]: slim.service: Failed with result 'exit-code'


systemctl --failed:
UNIT         LOAD   ACTIVE SUB    DESCRIPTION             
● slim.service loaded failed failed SLiM Simple Login Manager


systemctl list-units --type=target:
UNIT                LOAD   ACTIVE SUB    DESCRIPTION                                                                                                                                                                                                                             
basic.target        loaded active active Basic System                                                                                                                                                                                                                             
cryptsetup.target   loaded active active Encrypted Volumes                                                                                                                                                                                                                       
getty.target        loaded active active Login Prompts                                                                                                                                                                                                                           
graphical.target    loaded active active Graphical Interface                                                                                                                                                                                                                     
local-fs-pre.target loaded active active Local File Systems (Pre)                                                                                                                                                                                                                 
local-fs.target     loaded active active Local File Systems                                                                                                                                                                                                                       
multi-user.target   loaded active active Multi-User System                                                                                                                                                                                                                       
network.target      loaded active active Network                                                                                                                                                                                                                                 
paths.target        loaded active active Paths                                                                                                                                                                                                                                   
remote-fs.target    loaded active active Remote File Systems                                                                                                                                                                                                                     
slices.target       loaded active active Slices                                                                                                                                                                                                                                   
sockets.target      loaded active active Sockets                                                                                                                                                                                                                                 
sound.target        loaded active active Sound Card                                                                                                                                                                                                                               
swap.target         loaded active active Swap                                                                                                                                                                                                                                     
sysinit.target      loaded active active System Initialization                                                                                                                                                                                                                   
timers.target       loaded active active Timers


systemctl list-unit-files:
graphical.target                           static
display-manager.service                    enabled
display-manager.service                    enabled
default.target                             static

I'm using the GTX 1060 with nouveau driver - but because startx works as expected I don't think the problem is releaded to X.
The nouveau driver module was added to /etc/mkinitcpio.conf:
MODULES="nouveau crypto-crc32"


do you have any ideas what causes the problem?

Oliver

Offline

#2 2017-01-28 09:42:22

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: slim not starting

https://wiki.archlinux.org/index.php/SLiM

See the warning at top: SLiM is abandoned and doesn't fully work with systemd (the base of Arch).  I liked SLiM back when it worked, now it's too much bother - I'd just use something else.

Offline

#3 2017-01-28 13:46:45

olk
Member
Registered: 2017-01-28
Posts: 12

Re: slim not starting

that's pitty - I've installed lxdm instead (works as expected)

Offline

#4 2017-01-28 23:15:32

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: slim not starting

Don't forget to mark your thread as Solved.  Edit the first post in it and in the title pre-pend "[Solved]" without the quotes.

Offline

Board footer

Powered by FluxBB