FS#26579 - [slim] special users "console" and "exit" fail.
Attached to Project:
Arch Linux
Opened by René Herman (rene) - Sunday, 23 October 2011, 02:10 GMT
Last edited by Evangelos Foutras (foutrelis) - Sunday, 27 January 2013, 08:38 GMT
Opened by René Herman (rene) - Sunday, 23 October 2011, 02:10 GMT
Last edited by Evangelos Foutras (foutrelis) - Sunday, 27 January 2013, 08:38 GMT
|
Details
Description:
The special usernames "console" and "exit" do not work within Arch Linux. I believe this bug is related to PAM and as such not purely upstream. Additional info: * package version(s) slim-1.3.2-5 * config and/or log files etc. Just the default SLiM 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") in /etc/slim.conf. Haven't found relevant logs. Steps to reproduce: Type "console" or "exit" at the slim login prompt. |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Sunday, 27 January 2013, 08:38 GMT
Reason for closing: Fixed
Additional comments about closing: slim 1.3.5-1
Sunday, 27 January 2013, 08:38 GMT
Reason for closing: Fixed
Additional comments about closing: slim 1.3.5-1
Anyway, this bug should remain open as long as it stands and SLiM is in the official repos.
I will for the time being be using SLiM again and will try and see if I can investigate this issue a bit next week. It, unfortunately, hasn't fixed itself yet after getting the ConsoleKit stuff sorted.
with "console" or "exit" i get only a black screen with the X (of X server) cursor
i have xterm and latest slim-1.3.4-3, and
login_cmd exec dbus-launch --exit-with-session --sh-syntax openbox-session
Note; It is expected that you can't login as root on this console. That's nothing to do with slim, and only with PAM disallowing root logins on what it thinks is not a secure tty (pts/0) -- assuming you have PAM setup that way (it is normally in Arch).
Also note: this comments the console_cmd entry in the default config file. Using the source-default one allows scaling the terminal to the current screen-size. In any case note that the original console_cmds, both the source-default one and the conf-default one, don't work anyway due to that mentioned quote-confusion.
Roman: okay to apply?
console-exit.patch (2.1 KiB)
Can you test with slim 1.3.5-1?