Jump to content

Recommended Posts

Posted

On this machine I am running Arch using Slim and Enlightenment.

 

So far so good.

Grub comes up, Slim comes up, I login and Enlightenment comes up.

However, when I logout I see the message: "Failed to execute login command.".

I then see a console login prompt followed by Slim.

 

I only see the following in /var/log/slim/log:

slim: waiting for X server to begin accepting connections.

slim: waiting for X server to shut down

 

my ~/.xinitrc file:

exec enlightenment_start

 

from my /etc/slim.conf file:

sessions		    enlightenment_start,xfce4,icewm-session,wmaker,blackbox
login_cmd		  exec /bin/bash -login ~/.xinitrc %session

 

Any ideas on why I'm seeing the message?

TIA

Posted

To enable slim to run at every boot.

# systemctl enable slim.service

 

Not sure why you have Enlightenment in your .xinitrc file. With pure systemd mine is empty and kdm runs at startx automatically after boot. kdm accepts username/password and manages the KDE start.

 

Suggestion, make a backup of your .xinitrc with a different name then delete that file. Run the above systemctl enable of slim and reboot.

 

Let us know what happens.

  • Like 1
Posted (edited)

To enable slim to run at every boot.

# systemctl enable slim.service

 

Not sure why you have Enlightenment in your .xinitrc file. With pure systemd mine is empty and kdm runs at startx automatically after boot. kdm accepts username/password and manages the KDE start.

 

Suggestion, make a backup of your .xinitrc with a different name then delete that file. Run the above systemctl enable of slim and reboot.

 

Let us know what happens.

 

I already have the slim.service enabled.

[alpha@localhost ~]$ systemctl status slim.service
slim.service - SLiM Simple Login Manager
Loaded: loaded (/usr/lib/systemd/system/slim.service; enabled)
Active: active (running) since Thu 2013-03-14 22:43:36 CDT; 1min 40s ago
Main PID: 262 (slim)
CGroup: name=systemd:/system/slim.service

And if I remove enlightenment_start from .xinitrc...enlightenment does not start.

After logging in at the slim login screen...

I get the "Failed to execute login command" and I'm returned to the slim login screen.

Edited by alphaomega

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...