Failed to execute login command
I have installed Slackware with Xfce on my ThinkPad T61, setup a user account, configured my Xfce desktop the way I wanted it, etc.
Then, as root, I went over to SlackBuilds and installed SLiM, flash-plugin, and Dropbox. Everything installed and is working fine. However, now I cannot login with my user account, I get this message at the SLiM login screen: "Failed to execute login command" So, what did I break, and how do I fix it? |
Update: I deleted the user account from root, and created a new user account, but attempting to login to the new user account yielded the same result. Puzzled...
|
I haven't used SLiM, but I've read that deleting your ~/.Xauthority file then logging out and back in (from the console) will fix that, but mind you, that info came from a quick googal search. Also, if you've altered your /etc/hosts file, that might be affecting SLiM.
Probably more of a SLiM problem than a Slackware or even a DE issue, although XFCE can be finicky about things. |
Are you able to login as new user and start Xorg manually from console? Could you post content of ~/.xinitrc?
I'm using SLiM and only encountered "Failed to execute login command" when stopping or restarting computer via SLiM, in which case it really doesn't matter. |
Quote:
|
I would just delete ~.xinitrc
and make a new one. nano .xinitrc #!/bin/sh # # ~/.xinitrc # # Executed by startx (run your window manager from here) # exec startxfce4 |
Quote:
Code:
#!/bin/sh |
Quote:
|
Code:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then I prefer to add the following to the start<whatever> script and remove the dbus-launch from the xinitrc. Code:
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then In the case of xfce4, /etc/xdg/xfce4/xinitrc will start dbus anyway so the dbus-launch in xinitrc.xfce is redundant. I'd be inclined to replace that section with: Code:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then P.S. If SLIM is anything like XDM it may be running .xsession rather than .xinitrc, so you need to make sure you know which file it is running. |
Thanks, GazL, I will check that out when I get the chance. I'm going to mark this as SOLVED for now, as SLiM was clearly the problem, and I'm able to login normally with XDM. I may also give GDM a try, we'll see.
|
You can also try running 'xwmconfig' as new user, which creates new correct .xinitrc or .xsession (I'm not sure which one) and report if it helped.
|
Thanks, yenn, I will check that out also, and report back.
|
Test. This is only a test.
|
Quote:
|
All times are GMT -5. The time now is 03:41 AM. |