You are not logged in.
Pages: 1
I know that it's good to understand the rolling release approach from ArchLinux and that an update may have unforeseen consequences.
Yesterday I wasn't that smart and updated my system using pacman -Syu. I'm having the system with SLiM and Cinnamon on top. Now
when I login I get the message: "failed to execute login command".
I already googled the error (SLIM+error) here: https://www.google.nl/#q=slim%20error%2 … %20command
And I've checked .xinitrc and slim.conf. everything looks just fine.
When I put in my ArchLinux cd, boot from it, /mnt my /dev/SDA1, bash and try to see what error I get from the system then I see a message
about PulseAudio (but guess my check was useless
). Anyway, my Pacman log is down here, my log from SLiM and Xorg.
Pacman:
http://pastebin.com/Pe03DVNm
Xorg.0:
http://pastebin.com/AhVnQvex
SLiM:
http://pastebin.com/3LdcUBPc
Am I that stupid? Guess so but well, who can help me out without reinstalling my system?
My image I built with CloneZilla was corrupted so I'm kind of lost for now.
Last edited by Anoniem (2013-10-14 10:00:17)
Offline
I fail to see how your login manager not working = bricked, unless you have a very strange definition of what bricked is..
Slim has changed the way it handles sessions. make sure you've merged your pacnew files, and, unless you want to be able to switch between multiple sessions, comment out the sessiondir line, it only serves to complicate things.
Could you post your .xinitrc and resultant /etc/slim.conf.
Last edited by WorMzy (2013-10-10 12:41:33)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
.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-cinnamon
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choiceslim.conf:
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path /bin:/usr/bin:/usr/local/bin
default_xserver /usr/bin/X
xserver_arguments -nolisten tcp vt07
# Commands for halt, login, etc.
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd /usr/sbin/suspend
# Full path to the xauth binary
xauth_path /usr/bin/xauth
# Xauth file for server
authfile /var/run/slim.auth
# Activate numlock when slim starts. Valid values: on|off
# numlock on
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor false
# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd exec /bin/sh - ~/.xinitrc %session
login_cmd exec /bin/bash -login ~/.xinitrc %session
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd some command
# sessionstop_cmd some command
# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
# daemon yes
# 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 xfce4,icewm-session,wmaker,blackbox
# Executed when pressing F11 (requires imagemagick)
screenshot_cmd import -window root /slim.png
# welcome message. Available variables: %host, %domain
welcome_msg Welcome to %host
# Session message. Prepended to the session name when pressing F1
# session_msg Session:
# shutdown / reboot messages
shutdown_msg The system is halting...
reboot_msg The system is rebooting...
# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user farid
# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password no
# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
auto_login no
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme archlinux
# Lock file
lockfile /var/lock/slim.lock
# Log file
logfile /var/log/slim.logOffline
Your slim.conf is old. You should have a file at /etc/slim.conf.pacnew. Do a diff between that file and the original to see what changed. Also check out the pacdiff program that comes with pacman.
Pay attention during your pacman updates to watch for info on pacnew and pacsave files.
Last edited by jakobcreutzfeldt (2013-10-10 13:40:04)
Offline
FYI: Since you just have one exec line in your .xinitrc, it does not really matter if you use "sessions" or "sessiondir" in your slim.conf (it only matters if you have some case-block (or if/else) in your .xinitrc that has to choose the right DE/WM/whatever). If you use "sessiondir", slim takes session names from the .desktop files in sessiondir, if you use "sessions", you have to name them yourself.
Slim itself is starting and let's you enter your username and password, the only thing that does not work is logging in, right?
Have you tried running slim's login_cmd from the shell (you can leave out the "%session" part, you don't care about it in your .xinitrc anyway)? Also, what's in your /etc/shells? Does the journal have any additional info?
Edit: https://bugs.archlinux.org/task/37200, so, x64_86 or i686?
Last edited by cookies (2013-10-10 14:08:18)
Offline
I fail to see how your login manager not working = bricked, unless you have a very strange definition of what bricked is.
Yes, please edit your first post and change your title to one that actually reflects your problem: bricked implies something else altogether.
Offline
Experiencing same problem.
My .xinitrc is a simple systemd --user with few environment variables defined before.
In slim.log I see
slim: waiting for X server to begin accepting connections.
slim: unexpected signal 15
...
slim: pam_authentication(): Authentication failureUpdate:
it's something related to systemd. Running session without systemd works
Last edited by eDio (2013-10-10 21:21:07)
Offline
Try lightdm instead of slim, I think the problem might by your slim.
bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U
Offline
Experiencing same problem.
Update:
it's something related to systemd. Running session without systemd works
Any way of solving this?
Try lightdm instead of slim, I think the problem might by your slim.
But I like SLiM
Last edited by Anoniem (2013-10-11 12:12:07)
Offline
Any way of solving this?
Since I do not use any specific DE, I just decided not to use systemd for managing my session (by the way, instead of dozen of files I had before, I have small and easy to read .xinitrc now. Who needs that piece of ... systemd after that?).
AFAIK, gnome highly relates on systemd, and switching login manager could solve your problem. If it is not an option for you, you have to make slim to start systemd user session before launching gnome somehow.
This may help you
https://bbs.archlinux.org/viewtopic.php?id=167115
Offline
My slim.conf is a little different than yours. FWIW, I am using XFCE.
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path /bin:/usr/bin:/usr/local/bin
default_xserver /usr/bin/X
xserver_arguments -nolisten tcp vt07
# Commands for halt, login, etc.
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd /usr/sbin/suspend
# Full path to the xauth binary
xauth_path /usr/bin/xauth
# Xauth file for server
authfile /var/run/slim.auth
# Activate numlock when slim starts. Valid values: on|off
# numlock on
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor false
# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd exec /bin/sh - ~/.xinitrc %session
login_cmd exec /bin/bash -login ~/.xinitrc %session
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd some command
# sessionstop_cmd some command
# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
# daemon yes
# Set directory that contains the xsessions.
# slim reads xsesion from this directory, and be able to select.
sessiondir /usr/share/xsessions/
# Executed when pressing F11 (requires imagemagick)
screenshot_cmd import -window root /slim.png
# welcome message. Available variables: %host, %domain
welcome_msg Welcome to %host
# Session message. Prepended to the session name when pressing F1
# session_msg Session:
# shutdown / reboot messages
shutdown_msg The system is halting...
reboot_msg The system is rebooting...
# default user, leave blank or remove this line
# for avoid pre-loading the username.
#default_user simone
# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password no
# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
#auto_login no
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme default
# Lock file
lockfile /var/lock/slim.lock
# Log file
logfile /var/log/slim.logOffline
Today I decided to reinstall my whole system, but again some issue with SLiM. Is it a plan to downgrade SLiM?
Or does anyone have another suggestion? Having a new slim.conf, new .xinitrc. Systemd is like killing this? Tried
to find out the things mentioned here (to delay) but without any luck: https://bbs.archlinux.org/viewtopic.php?id=167115&p=4
Offline
Slim is still working perfectly for me. You're not using a systemd --user session, as far as I can tell, so I don't see how that would be the root of your problem.
Can you startx from a TTY?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Slim is still working perfectly for me. You're not using a systemd --user session, as far as I can tell, so I don't see how that would be the root of your problem.
Thought I'd read that from eDio.
Can you startx from a TTY?
Yes I can, it ends with:
Loading extension GLX
waiting for X server to shut down (EE) server terminated succesfully (0). Cloning log file. server lost Offline
But does it do that without actually giving you an X display? Or is that what it says after you manually exit cinnamon?
This topic may be relevant: https://bbs.archlinux.org/viewtopic.php?id=171136
Last edited by WorMzy (2013-10-12 22:33:01)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
.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-cinnamon # exec startkde # exec startxfce4 # ...or the Window Manager of your choice
Does gnome-session-cinnamon even exist? Isn't cinnamon independent of gnome now? The cinnamon-session package does not have this command, it has /usr/bin/cinnamon-session, however.
Yes, it is mentioned in the Wiki.
Last edited by Andreaskem (2013-10-13 19:02:10)
Offline
I really feel like a dork, but that worked like a charm. It has been changed, it's working now.
Offline
Pages: 1