[systemd] long login, infinite shutdown issues

Hi all.
For years I've used slim which executed my .xinitrc. In .xinitrc I always declared actions to perform on startup. And this setup worked for years, as I said.
Some time ago I noticed, that login to my laptop takes ~10sec. This is the time from entering password till seeing X or (if text tty is used) zsh prompt.
So I started digging around, and found, that slim is considered incompatible with systemd. Also, systemctl --user has never worked for me (something with dbus session), so I decided to switch to sddm-git.
Switch to sddm didn't solved the issue of a long login.
Moreover, while playing with all this, I noticed that on my text ttys I regularly get messages likes these:
systemd-logind.service watchdog timeout!
Failed to start User Manager for UID 1000.
Sometimes, they are about journald also.
Also, I can't run my .xinitrc from sddm now. I can only execute a fresh i3 session, but I would like to execute all the statements I have in .xinitrc. Is it possible at all with all these systemd-dbus-pam-user-session-nano-technologies?
Finally, laptop shutdown had been never possible for me since the most recent arch installation (about a year ago). Laptop just gets stuck while shutting down and remains in this state forever. This didn't bothered me too much, because I turn off my laptop rarely. But would be great to fix this, of course...
Appreciate any help.

Hi all.
For years I've used slim which executed my .xinitrc. In .xinitrc I always declared actions to perform on startup. And this setup worked for years, as I said.
Some time ago I noticed, that login to my laptop takes ~10sec. This is the time from entering password till seeing X or (if text tty is used) zsh prompt.
So I started digging around, and found, that slim is considered incompatible with systemd. Also, systemctl --user has never worked for me (something with dbus session), so I decided to switch to sddm-git.
Switch to sddm didn't solved the issue of a long login.
Moreover, while playing with all this, I noticed that on my text ttys I regularly get messages likes these:
systemd-logind.service watchdog timeout!
Failed to start User Manager for UID 1000.
Sometimes, they are about journald also.
Also, I can't run my .xinitrc from sddm now. I can only execute a fresh i3 session, but I would like to execute all the statements I have in .xinitrc. Is it possible at all with all these systemd-dbus-pam-user-session-nano-technologies?
Finally, laptop shutdown had been never possible for me since the most recent arch installation (about a year ago). Laptop just gets stuck while shutting down and remains in this state forever. This didn't bothered me too much, because I turn off my laptop rarely. But would be great to fix this, of course...
Appreciate any help.

Similar Messages

  • After upgrading to 10.5.3 I can no longer login to my RedHat ES4 shares

    Hello,
    I am a new Mac user so please forgive me if there is a simple answer to this question...
    Since I installed the 10.5.3 update over 10.5.2 I can no longer login/connect to my RH ES4 (SMB Version 3.0.10-1.4E) shares. I can still login to my CentOS 5 (SMB Version 3.0.25b-1.el5_1.4) and my older RedHat 7.3 (SMB Version 2.2.3a) shares, as well as a few windows shares, without any problem. It is just the RH ES4 shares that I can no longer connect to.
    For legacy purposes I configured SMB on both my MacBook Pro and the above mentioned servers to use plain text passwords. To do this on my MacBook this I created nsmb.conf in /etc which contains the following...
    [default]
    minauth=none
    Everything worked perfectly minutes before the upgrade to 10.5.3 and nothing else in the network, software or hardware, has changed.
    Any help would be greatly appreciated.
    Thanks,
    Tom Boilard

    Welcome to the forums... unfortunately SMB issues are not fully mainstream.
    Anyhow, I have scanned the change log of files touched by the update (searching for SMB - original list courtesy of Rixstep). This yielded:
    /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist
    /private/etc/smb.conf
    /System/Library/CoreServices/SmbFileServer.bundle/Versions/A/Resources/DesktopDe faults.plist
    /System/Library/LaunchDaemons/com.apple.smb.server.preferences.plist
    /System/Library/LaunchDaemons/com.apple.smbfsloadkext.plist
    /System/Library/LaunchDaemons/smbd.plist
    /private/etc/smb.conf.template
    /System/Library/Extensions/smbfs.kext
    /System/Library/Extensions/smbfs.kext/Contents/CodeDirectory
    /System/Library/Extensions/smbfs.kext/Contents/CodeRequirements
    /System/Library/Extensions/smbfs.kext/Contents/CodeResources
    /System/Library/Extensions/smbfs.kext/Contents/CodeSignature
    /System/Library/Extensions/smbfs.kext/Contents/Info.plist
    /System/Library/Extensions/smbfs.kext/Contents/MacOS/smbfs
    /System/Library/Extensions/smbfs.kext/Contents/Resources/load_smbfs
    /System/Library/Extensions/smbfs.kext/Contents/version.plist
    /System/Library/Filesystems/smbfs.fs
    /System/Library/Filesystems/smbfs.fs/Contents
    /System/Library/Filesystems/smbfs.fs/Contents/Info.plist
    /System/Library/Filesystems/smbfs.fs/Contents/Resources
    /System/Library/Filesystems/smbfs.fs/Contents/Resources/English.lproj
    /System/Library/Filesystems/smbfs.fs/Contents/Resources/English.lproj/InfoPlist. strings
    /usr/lib/sasl2/smb_lm.so
    /usr/lib/sasl2/smb_nt.so
    /usr/lib/sasl2/smb_ntlmv2.so
    /private/var/db/smb.conf
    Items highlighted in bold could be relevant.
    Have you checked that your entry in nsmb.conf is intact? If it is, could it be overridden by a change to one of the other conf files (or a plist)?

  • Takes long time for shutdown after adding to domain

    Hi,
    Workstation OS - Window 7
    Domain Controller OS - Window server 2008 R2 standard
    Following thing i have measure with Stopwatch.
    1) When the laptop is in workgroup, it takes just 17 second for shutdown.
    2) when i added the same laptop in domain ( corp.abc.com ), now it takes 1minutes and 22 second for shutdown. ( it just show shutting down screen )
    Why the shutdown time increased so much?
    Do you have any idea?
    Note:- i have not make any changes in laptop, nor added any software. I have done the above testing because user start complaining that after putting laptop in domain it takes long time for shutdown. It's happening to all laptop where the OS is window 7
    There is no logoff scripts / gpo's as well as we don't have roaming profiles.
    Please advice.
    Thanks & Regards,
    Param
    www.paramgupta.blogspot.com

    Hi,
    To troubleshooting this issue, please install Windows Performance Tools (WPT) Kit. The Windows Performance Tools (WPT) Kit contains performance analysis tools, and is designed for analysis of a wide range of performance problems including application start
    times, boot issues, deferred procedure calls and interrupt activity (DPCs and ISRs), system responsiveness issues, application resource usage, and interrupt storms.
    To get the installer, you have to install the Windows 7 SDK.
    Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1
    http://www.microsoft.com/en-us/download/details.aspx?id=3138
    For shutdown tracing:
    Run command:
    xbootmgr -trace shutdown -noPrepReboot -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\TEMP
    Collect logs and post them for further troubleshooting.
    For more information please refer to following MS articles:
    Long Shutdown Time on Windows 7 Ultimate x64
    http://social.technet.microsoft.com/Forums/en/w7itproperf/thread/11a42a93-efd2-4184-9ce8-bbc1438b7ea6
    Long shutdown time on Windows 7 64 bit laptop
    http://social.technet.microsoft.com/Forums/en-US/w7itproperf/thread/4440fc6e-c81e-440c-9183-9b7e176729d2
    Lawrence
    TechNet Community Support

  • Long login times on solaris 10

    I had this nested in another thread, pulling it out to be seen
    easier I hope...
    I have a solaris 10 install that has a very long login time.
    If you telnet or ssh to the machine, you are prompted for the username
    and then password, then the system takes 4-5 minutes
    to get you into the system. (to a prompt)
    We do not use NIS and the home directory is on the local
    root disk, so I don't think it would be an issue of finding
    the home dir.
    Initially I saw this problem above, where I would get a username
    prompt, then the many minute pause, then the password prompt.
    Once I'm in past this point, I have no problems. I don't see any errors
    in the logs either.
    I initally thought it might be the pam.conf causing problems.
    (was just doing ssh) but I've seen the same issue from telnet
    and I've removed the one call in sshd_conf to pam that I
    could find.

    how is the resolver working? Can you reverse-lookup IP addresses?
    When you logon to the machine using ssh SSH will try and reverselookup your IP-address, if this doesn't succeed there will be a timeout of a few minutes.
    So, try and run nslookup <an ip address> to test your resolver.
    Also verify you resolv configuration:
    grep ^hosts /etc/nsswitch.conf
    cat /etc/resolv.conf
    7/M.

  • Is anyone else experiencing long restart and shutdown times?

    I installed Mavericks the day it came out. I am experiencing very long restart and shutdown times, well over 2 minutes. I thought the shutdown times with Mountain Lion were bad. Is anyone else having this issue? If so, how did you fix it?

    Check your Date & Time and Region Format.
    Set time automatically.

  • Urgent help needed; Database shutdown issues.

    Urgent help needed; Database shutdown issues.
    Hi all,
    I am trying to shutdown my SAP database and am facing the issues below, can someone please suggest how I can go about resolving this issue and restart the database?
    SQL> shutdown immediate
    ORA-24324: service handle not initialized
    ORA-24323: value not allowed
    ORA-01089: immediate shutdown in progress - no operations are permitted
    SQL> shutdown abort
    ORA-01031: insufficient privileges
    Thanks and regards,
    Iqbal

    Hi,
    check SAP Note 700548 - FAQ: Oracle authorizations
    also check Note 834917 - Oracle Database 10g: New database role SAPCONN
    regards,
    kaushal

  • Crash Minidump/Restart at Shutdown inside login, but Shutdown before any user logins is ok.

    Crash Minidump/Restart at Shutdown inside login, but Shutdown is ok  before any user logins.  Just Started.  Windows says error report says to update Video Driver, But HP 235558hc has current valid driver.  4 Year Old HP Pavillion Quad with Windows Vista.   Crash stop is "0x00000076"   Nuissance Problem at this point.

    Dear HP Passport Forum,
    I rechecked the MS suggestions and reset the Video  to Performance setting and the crash has stopped.
    I did clean 3 fans in the PC, but am still looking for the Video Card Fan.
    Please drop by crash question.
    Thanks
    Graybeard2013

  • Error ORA-00980: synonym translation is no longer valid when i issue

    i accidentally drop one of my table. To bring it back i used Imp tool. But it gives an error ORA-00980: synonym translation is no longer valid when i issue
    Select * from ship_sched_fact_notice_det
    Action taken using Imp
    Username: erpdada
    Password:
    Connected to: Oracle Database 10g Release 10.1.0.2.0 - Production
    Import file: EXPDAT.DMP > e:\erpdada_august13.dmp
    Enter insert buffer size (minimum is 8192) 30720> 30720
    Export file created by EXPORT:V10.01.00 via conventional path
    Warning: the objects were exported by SYSTEM, not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    List contents of import file only (yes/no): no > y
    Import entire export file (yes/no): no > n
    Username: erpdada
    Enter table(T) or partition(T:P) names. Null list means all tables for user
    Enter table(T) or partition(T:P) name or . if done: ship_sched_fact_notice_det
    Enter table(T) or partition(T:P) name or . if done: .
    "CREATE PUBLIC SYNONYM "XMLTYPE" FOR "SYS"."XMLTYPE""
    "CREATE TABLE "SHIP_SCHED_FACT_NOTICE_DET" ("SSFND_ITEM_NOT_DET_ID" NUMBER, "
    ""SSFN_FACTORY_ID" VARCHAR2(40) NOT NULL ENABLE, "SSFN_FAC_NOTICE_ID" NUMBER"
    " NOT NULL ENABLE, "SSD_SHIP_ITEM_ID" NUMBER NOT NULL ENABLE, "OI_ITEM_ID" N"
    "UMBER NOT NULL ENABLE, "ORDER_TYPE" VARCHAR2(1), "SSFND_ITEM_CODE" VARCHAR2"
    "(300), "SSFND_QTY" NUMBER, "SSFND_CTN" NUMBER, "SSFND_TOT_CBM" NUMBER, "SSF"
    "ND_REM1" VARCHAR2(256), "SSFND_REM2" VARCHAR2(256), "SSFND_UNIT_ID" VARCHAR"
    "2(40), "SSFND_IS_EXCL_SUMMARY" VARCHAR2(1))  PCTFREE 10 PCTUSED 40 INITRANS"
    " 1 MAXTRANS 255 STORAGE(INITIAL 81920 FREELISTS 1 FREELIST GROUPS 1 BUFFER_"
    "POOL DEFAULT) TABLESPACE "ORDER_DATA01" LOGGING NOCOMPRESS"
    . . skipping table "SHIP_SCHED_FACT_NOTICE_DET"
    "GRANT DELETE ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "GRANT INSERT ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "GRANT SELECT ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "GRANT UPDATE ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "CREATE UNIQUE INDEX "PK_SHIP_SCHED_FACT_NOTICE_DET" ON "SHIP_SCHED_FACT_NOT"
    "ICE_DET" ("SSFND_ITEM_NOT_DET_ID" )  PCTFREE 10 INITRANS 2 MAXTRANS 255 STO"
    "RAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLE"
    "SPACE "ORDER_DATA01" LOGGING"
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD  CONSTRAINT "PK_SHIP_SCHED_FAC"
    "T_NOTICE_DET" PRIMARY KEY ("SSFND_ITEM_NOT_DET_ID") USING INDEX PCTFREE 10 "
    "INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1"
    " BUFFER_POOL DEFAULT) TABLESPACE "ORDER_DATA01" LOGGING ENABLE "
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD CONSTRAINT "SHIP_SCHED_FACT_NO"
    "TICE_DE_FK1" FOREIGN KEY ("SSD_SHIP_ITEM_ID") REFERENCES "SHIPPING_SCHEDULE"
    "_DETAILS" ("SSD_SHIP_ITEM_ID") ENABLE NOVALIDATE"
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD CONSTRAINT "SHIP_SCHED_FACT_NO"
    "TICE_DE_FK2" FOREIGN KEY ("SSFN_FAC_NOTICE_ID") REFERENCES "SHIP_SCHED_FACT"
    "ORY_NOTICE" ("SSFN_FAC_NOTICE_ID") ENABLE NOVALIDATE"
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ENABLE CONSTRAINT "SHIP_SCHED_FACT"
    "_NOTICE_DE_FK1""
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ENABLE CONSTRAINT "SHIP_SCHED_FACT"
    "_NOTICE_DE_FK2""
    Import terminated successfully with warnings.
    I drop the old synonym and re-create it but still it gives the same error...

    Since you are on 10g did you try flashback table feature - http://tonguc.wordpress.com/2007/01/01/oracle-10g-flashback-versions-query-drop-table-and-recyclebin-management/
    FLASHBACK TABLE <tabname> TO BEFORE DROP;
    If you didnt use purge option, the dropped object is on your recyclebin - http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9018.htm#sthref9593
    Best regards.

  • What can I do if I no longer have the security issues would.

    What can I do if I no longer have the security issues would.

    I don't know what you are trying to ask ?

  • Macbook pro shutdown issue

    Macbook pro shutdown issue when I push the power button it immediately goes into sleep mode

    Hello Marrio22,
    Thank you for the question.  With OS X Mavericks, the power button has new functionality:
    OS X Mavericks updates the power button behavior on Mac computers. 
    Using the Power Button to Sleep & Wake
    Tap the power button in Mavericks to put your Mac to sleep or to wake it up:
    Tap the power button once to put your Mac to sleep.
    Tap the power button again to wake your Mac.
    Press the power button for less than a half a second to sleep or wake your Mac. This duration is similar to pressing the Space bar or Return key to wake your Mac. The power button works this way across all Macs using OS X Mavericks, including both notebook and desktop computers.
    Accessing the Shut Down Dialog
    Press and hold the power button for 1.5 seconds, to bring up additional options:
    Forcing the Mac to Turn Off
    Hold down the power button for 5 seconds to force the computer to turn off. Important: You may lose unsaved documents if you force the computer to turn off this way. Use this method of turning off your Mac only if it has become unresponsive for an extended period of time. Normally you should shut down the computer by selecting Shut Down from the Apple menu, or from the shut down dialog pictured above.
    OS X Mavericks: Using the power button
    http://support.apple.com/kb/HT5869
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Can we make a sticky for the RAID shutdown issue?

    Hi guys - I'm new to the forum...
    I'm experiencing the hanging shutdown issue with my K8N Neo4 Platinum board and SATA Raid 0 in XP.   I've searched the forum for answers, but think it would be a good idea if someone made a sticky of this as its a popular problem.
    If not - has anyone got a final fix?
    I've got version 1.B bios with 6.70 nVidia drivers - still no joy!

    I have two k8n neo 4 platinums that are doing the same thing.
    I installed a clean drive & a basic windows install (no dedicated drivers) & flashed  the bios to 1.c. Same issues. Msi says it is a hardware compatability issue , I say BS!
    After speaking with Nvidia they supplied newer driverd than the 6.70. The problem went away. However these drivers are not stable. I am having other issues. And am still working with Nvidia to solve them.

  • MS merged or changed subscriptions and can no longer login to azure instances

    I got the following email from you and now I can no longer login to do a webdeploy to my azure instances.  Do I need to reset a password or something?  Thanks.
    This mail is confirmation that you successfully changed your subscription to BizSpark Plus on Thursday, December 12, 2013. Please retain a copy of this for your records. Here is a description of the change:
    This restricted offer provides certain qualified BizSpark members heavily discounted access to Windows Azure.
    For account information and options, sign into http://account.windowsazure.com with your Windows Live ID, click the corresponding subscription, and select one of the following options:
    • To update payment information, click ‘Change payment method’.
    • To view a billing statement, click ‘BILLING HISTORY’.
    • To cancel service, click ‘Cancel subscription’.
    Thank you for using Microsoft Online Services.
    Windows Azure

    Hi,
    Because of your subscriptions have been changed or merged, from my experience, the certificates of your service may be not suitable for the new subscription, refer to
    http://msdn.microsoft.com/en-us/library/windowsazure/gg981929.aspx for more information about Manage Certificates in Windows Azure.
    Best Regards

  • Long login periods

    Hey
    Ive got an iBook 1Ghz, 256Mb RAM, 30Gb hdd and im having really long login periods. Once i type in my login information, it hangs with the back and login button faded with the password * entered about 30 seconds later it then logs in. It never used to do this and im really concurned as to why.
    Ive reset the P-RAM, run Cocktail and done clean ups and still it does the same.
    If anyone has any advice it would be greatly appreciated.
    Thanks

    Hi Chris,
    Set up a new account and see if it does it there. You can also disable your login items one at a time (System Preferences>Accounts) to see if one of them is interfering with the startup process.
    John

  • Lync slow connection issues, long login times

    hi
    i currently have this issue with uses externally over the Wan connecting to lync server. the users are experiencing long log in times.
    i have attached a link for the decrypted wireshark file. any assistance will be much appreciated.

    Did you deploy Lync Edge Server?
    For external access of Lync user, you need to deploy Lync Edge Server.
    If you have deployed Lync Edge Server, please follow the link below to check your Lync Edge is configured correctly.
    http://blogs.technet.com/b/nexthop/archive/2011/12/07/useful-tips-for-testing-your-lync-edge-server.aspx
    I would prefer you to collect the trace file with Lync Debugging Tool on Lync Edge for troubleshooting.
    Lisa Zheng
    TechNet Community Support

  • Long post - MacBook unresolved shutdown issue. Help?

    Briefly, my wife's MacBook (2.0 w/1 GB) started the shutdown spiral after almost a month of rock-solid performance. It escaladed (or spiraled) quickly and the genius at the Apple Store quickly boxed it up and sent it to Tennessee for repair. The intial runs of shutdowns were so bad that we were unable to complete a back-up of the important stuff.
    Now, here's where we start to get disgusted with Apple.
    I'm afraid the story has taken a terrible turn for the worse. The first repair came back after 2 weeks and the machine was fine for another 2 weeks. Then the shutdowns started. Apple Care sent up a nifty little capture tool that made a quick .img out of the system and crash logs which we then sent to Apple for the "engineers" to look at and offer suggestions.
    Shutdowns get noticebly more frequent as the week progresses. Apple asks for more capture files.
    Then the screen goes haywire. Whether booted from the HDD or a CD, nice, comforting multicolored vertical lines. System seems to be booting okay, but the video is still a nice series of lines. At this time we can't complete a fresh system back-up.
    Apple recognizes that the video is a new problem and sends us a box for a quick return for repair. So, trying to be patient, we send the MB off to Tennessee. Again.
    The MB makes it back in five days and the display works fine, everything looks good. We made a quick back-up (just in case) and everyone is happy. According to the repair paperwork, they replaced a DIMM and a few other parts. Since the logic board was replaced the first time, they apparently left that alone.
    The next morning the shutdowns begin again. Apple Care says they will send another box but they don't understand why it might continue to do this. Neither do we.
    Back to Apple again. Now the repair status says "Awaiting parts on order".
    So, Apple Computer Inc., at what point do you think we have been patient enough with the process and replace the computer?
    Anyone else have their MacBook in for a third time?
    PowerBook G4 - Still running like a champ!   Mac OS X (10.4.7)   Awaiting the 3rd repair on MB

    Ouch that must really suck. So far I Haven't had any problem with my BlackBook...
    As for the Coloured lines, their is a simple fix; flash the PRAM and then chance your display size and reboot. Then they go away.
    For the random shut downs, I suspect the problem has too do with the heat sensors on your computer. All x86 Machines are programmed to shut down when the machine is overheating. Looking at the videos of the macbook shutting down, it looks like they don't know when they are overheating and turn off.

Maybe you are looking for

  • WAD - Use NO_OUTPUT parameter on a new window

    I am using BW3.51 I have been requested to build a front end to some BW reports. The design has a web page that acts as the front end, where the user selects the options, and then clicks a button to open a new window which runs the BW report. The des

  • My website is ready in computer mode, when I switch over to tablet mode there is no content...

    What did I do wrong here?

  • Regarding 4.6c to ECC 6.0

    Hi, We are starting the upgradition from 4.6C to ECC6.0,as a ABAP er what changes i need to do could you explain me with transaction codes what is unicode and what is the neccessity of unicode for upgradtion Regards Raghava

  • Flash 8 - How do i make a sound occur when the car hits the item

    In the car game i am working on, I now got a point system set up so the car hits different items and the points rise but i want the sound clip i have downloaded to play when the car hits the items.. http://thebackyardchampion.deviantart.com/#/d48zgkl

  • AUDIGY 2 ZS bad CMSS in

    Hi There, ) I have the Audigy 2 ZS soundcard accompanied with Creative Gigaworks S750 speakers (btw. they ROCK!!!). All drivers for audigy are up to date. I have concerns regarding the Audigy CMSS function, that should make the mp3?s sound from ALL o