Difference between revisions of "Talk:Automatic login to virtual console"

From ArchWiki
Jump to: navigation, search
(I have agetty in a different place: Close.)
(27 intermediate revisions by 10 users not shown)
Line 1: Line 1:
== Service Type ==
+
== <s> I have agetty in a different place </s> ==
You were probably expecting for talk about the merge request but that's not what you're getting here.
+
  
I changed the [[Automatic_login_to_virtual_console#With_systemd|#With systemd]] section's service {{ic|Type}} to {{ic|simple}} (the default) to drastically speed up the boot. I went from 12.4 seconds to 7.2 once I figured out what it was.
+
In case anyone else had trouble with these instructions, I had to modify them slightly to get it to work. This might be because my installation is a few years old and predates systemd, but I do not have anything at /usr/bin/agetty. I just replaced it with /sbin/agetty, and I was good to go.
 
+
--[[User:Quickthom|Quickthom]] ([[User talk:Quickthom|talk]]) 00:19, 22 July 2013 (UTC)
And no, this is not a hack to simply skip all the other stuff you'd wanna boot with. Even the default display manager services and the (unrecommended) [[Systemd#Using_service_file|xinit method]] were much faster, which is why I started to look for what was wrong with this (_recommended_) one. --[[User:Det|Det]] ([[User talk:Det|talk]]) 21:31, 26 July 2012 (UTC)
+
: sbin is merget to /usr/bin. See [https://www.archlinux.org/news/binaries-move-to-usrbin-requiring-update-intervention/ this]. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 02:01, 3 August 2013 (UTC)
 
+
== Issues with logind and systemctl shutdown/reboot ==
+
Using this command should result in the system shutting down if only 1 user is currently logged in, but combined with this method for automatically logging in, it will refuse with "Failed to issue method call: Access denied". The journalctl log files get butchered on my system so all I can see is something about dbus getting Rejected.
+

Revision as of 02:01, 3 August 2013

I have agetty in a different place

In case anyone else had trouble with these instructions, I had to modify them slightly to get it to work. This might be because my installation is a few years old and predates systemd, but I do not have anything at /usr/bin/agetty. I just replaced it with /sbin/agetty, and I was good to go. --Quickthom (talk) 00:19, 22 July 2013 (UTC)

sbin is merget to /usr/bin. See this. -- Fengchao (talk) 02:01, 3 August 2013 (UTC)