You are not logged in.
Hi everyone i installed SLiM and whever i try to login root or normal users i get the error message "failed to execute login command"
im not loading SLiM in daemons just to clarify
thanks for any help!
Last edited by Sadin (2011-09-21 20:23:42)
PHP Developer | Musician | Hobbyist Producer | 19yr old | Fedora Design Team
Offline
What DE or WM are you running and what's the contents of your .xinitrc file?
Reading this may help too if you haven't: https://wiki.archlinux.org/index.php/SLiM
Desktop: Fedora 21 Mate + Compiz [x86_64] on 2 TiB HDD / Windows 7 Professional [x86_64] on 500 GiB HDD
Laptop: Arch Linux + Openbox [i686] 120 GiB SSD on Acer c720 Chromebook
Offline
eI read that article and it said to change your login command if you dont use bash but i am pretty sure i am.
here is my .xinitrc
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
exec wmfs
PHP Developer | Musician | Hobbyist Producer | 19yr old | Fedora Design Team
Offline
Have you added wmfs to your sessions list in your slim.conf file?
# /etc/slim.conf
login_cmd exec /bin/sh - ~/.xinitrc %session
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions wmfs
I'm not very familiar with WMFS, but slim should be able to work with it.
If that doesn't work, if you're using consolekit and dbus try this in your xinitrc:
exec ck-launch-session dbus-launch wmfs
Last edited by Mr_ED-horsey (2011-09-21 19:52:10)
Desktop: Fedora 21 Mate + Compiz [x86_64] on 2 TiB HDD / Windows 7 Professional [x86_64] on 500 GiB HDD
Laptop: Arch Linux + Openbox [i686] 120 GiB SSD on Acer c720 Chromebook
Offline
exec ck-launch-session dbus-launch wmfs
I reread the wiki page before i saw your reply and i did just that and it worked thanks so much for your help!
PHP Developer | Musician | Hobbyist Producer | 19yr old | Fedora Design Team
Offline
Sadin, please mark this thread [SOLVED] by editing the title of your first post.
To know or not to know ...
... the questions remain forever.
Offline