SLiM only starts twice then exits to tty1

Hi... i've installed arch yesterday following this guide https://wiki.archlinux.org/index.php/Beginners'_Guide i
After that i started to set up a new desktop using openbox and slim.
Basically everything works fine... except that after exiting openbox 2 times slim won't start and i end at tty1.
systemctl status slim... after boot
slim.service - SLiM Simple Login Manager
Loaded: loaded (/usr/lib/systemd/system/slim.service; enabled)
Active: active (running) since Di 2013-03-19 19:05:10 CET; 1min 10s ago
Main PID: 241 (slim)
CGroup: name=systemd:/system/slim.service
└─264 /usr/bin/X -nolisten tcp vt07 -auth /var/run/slim.auth
‣ 241 /usr/bin/slim -nodaemon
... after 1st "openbox logout"
slim.service - SLiM Simple Login Manager
Loaded: loaded (/usr/lib/systemd/system/slim.service; enabled)
Active: active (running) since Di 2013-03-19 19:05:10 CET; 1min 50s ago
Main PID: 241 (slim)
CGroup: name=systemd:/system/slim.service
...after 2nt logout on tty1
slim.service - SLiM Simple Login Manager
Loaded: loaded (/usr/lib/systemd/system/slim.service; enabled)
Active: failed (Result: exit-code) since Di 2013-03-19 19:07:04 CET; 23s ago
Process: 241 ExecStart=/usr/bin/slim -nodaemon (code=exited, status=1/FAILURE)
/var/log/slim.log
slim: waiting for X server to begin accepting connections.
slim: waiting for X server to shut down
slim: waiting for X server to begin accepting connections.
systemctl list-units
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys...t_misc.automount loaded active running Arbitrary Executable File Formats File System Automount Point
sys-devi...-sda-sda1.device loaded active plugged IC25N080ATMR04-0
sys-devi...-sda-sda2.device loaded active plugged IC25N080ATMR04-0
sys-devi...-sda-sda3.device loaded active plugged IC25N080ATMR04-0
sys-devi...-sda-sda4.device loaded active plugged IC25N080ATMR04-0
sys-devi...block-sda.device loaded active plugged IC25N080ATMR04-0
sys-devi...block-sr0.device loaded active plugged _NEC_DVD+_-RW_ND-6500A
sys-devi...und-card0.device loaded active plugged /sys/devices/pci0000:00/0000:00:02.7/sound/card0
sys-devi...et-enp0s4.device loaded active plugged /sys/devices/pci0000:00/0000:00:04.0/net/enp0s4
sys-devi...et-wlp2s0.device loaded active plugged /sys/devices/pci0000:00/0000:00:09.0/0000:02:00.0/net/wlp2s0
sys-devi...tty-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS0
sys-devi...tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
sys-devi...tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
sys-devi...tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
sys-module-configfs.device loaded active plugged /sys/module/configfs
sys-subs...es-enp0s4.device loaded active plugged /sys/subsystem/net/devices/enp0s4
sys-subs...es-wlp2s0.device loaded active plugged /sys/subsystem/net/devices/wlp2s0
-.mount loaded active mounted /
boot.mount loaded active mounted /boot
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
home.mount loaded active mounted /home
proc-sys...infmt_misc.mount loaded active mounted Arbitrary Executable File Formats File System
sys-kernel-config.mount loaded active mounted Configuration File System
sys-kernel-debug.mount loaded active mounted Debug File System
tmp.mount loaded active mounted Temporary Directory
systemd-...ord-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch
systemd-...ssword-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
dbus.service loaded active running D-Bus System Message Bus
[email protected] loaded active running Getty on tty1
net-auto-wireless.service loaded active running Provides automatic netcfg wireless connection
ntpd.service loaded active running Network Time Service
slim.service loaded failed failed SLiM Simple Login Manager
systemd-binfmt.service loaded active exited Set Up Additional Binary Formats
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-...es-setup.service loaded active exited Recreate Volatile Files and Directories
systemd-...-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-...sessions.service loaded active exited Permit User Sessions
systemd-...le-setup.service loaded active exited Setup Virtual Console
dbus.socket loaded active running D-Bus System Message Bus Socket
dmeventd.socket loaded active listening Device-mapper event daemon FIFOs
lvmetad.socket loaded active listening LVM2 metadata daemon socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-...d-control.socket loaded active listening udev Control Socket
systemd-udevd-kernel.socket loaded active running udev Kernel Socket
dev-sda2.swap loaded active active /dev/sda2
basic.target loaded active active Basic System
cryptsetup.target loaded active active Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User
network.target loaded active active Network
remote-fs.target loaded active active Remote File Systems
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
systemd-...iles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
/etc/slim.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 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/run/lock/slim.lock
# Log file
logfile /var/log/slim.log
When i run "systemctl start slim" on tty1 slim starts again and after exiting openbox twice i'm back on tty1.
...But when i run "slim" on tty1 slim starts and i can exit openbox as often as i want.
Any ideas ?
Edit:
Running /usr/bin/slim from tty1 gives me this logfile.
/var/log/slim.log
slim: waiting for X server to begin accepting connections.
slim: waiting for X server to shut down
slim: waiting for X server to begin accepting connections.
slim: waiting for X server to shut down
slim: waiting for X server to begin accepting connections.
Somehow the second "slim: waiting for X server to shut down" does not happen when running "systemctl start slim"
Last edited by Synth (2013-03-19 19:39:10)

Ok, I was able to workaround parts of the bug:
I changed slim.conf and and set daemon = true (so slim runs as a daemon). Furthermore changed the slim.service file for systemd:
[Service]
Type = forking
PIDFile = /var/lock/slim.lock
ExecStart=/usr/bin/slim
Now I can log in and out as often as I want. Seems to work. However, nm-applet only shows up in odd numbers of logins:
1st login --> nm-applet is shown
2nd login --> nm-applet is not shown (but running --> htop)
3rd login --> nm-applet is shown
4th login --> nm-applet is not shown (but running --> htop)
...and so on...
I search the web, it seems to be a problem with dbus and the order how the services get started. Don't know if that is true...any ideas from anyone?

Similar Messages

  • Phone only rings twice

    My phone line has developed a fault whereby the phone only rings twice then stops.  To the person calling it sounds like the phone has been picked up but no one answers.  It's not a faulty phone, I've tried 3, all the same.  The line does work, I can phone out, and BT have checked it and said it's OK.  I have removed the bottom face plate from the BT master socket, latest type fitted only 3 months ago, and using the test socket everything works fine, incoming calls ring untill you pick up.  Presumably the BT master socket has developed a fault?  Can I replace this myself (there are 2 extensions connected to it), preferably just the face plate as I don't want to interfere with the BT wiring behind it or could the fault lie elsewhere?  Thank you.

    Removing the faceplate, disconnects the other two sockets, so the problem is within your house, probably a fault on one of the other sockets or wiring.
    There are no extra bits on the faceplate itself. Try disconnecting the wires to the other sockets, then replace the faceplate and see if it works.
    If it does, then you will have to investigate your internal wiring, perhaps its damaged somewhere, or you have something else plugged into one of the other sockets.
    You can reconnect the wires using a cheap IDC insertion tool which you can get from many DIY stores.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Short ringtones only ring twice when assigned to contact.

    This is my third iPhone 3GS. When I assign a short ringtone to a contact such as Robot, Old Car Horn etc, the phone whether it is in standby or not will only ring twice then continue to vibrate for the remainder of the call. Phone works perfectly with longer ringtones assigned. This happens the majority of the time 80%.. So if your trying this at home dont try once or twice.
    I have spoken to Apple and have done the following to resolve the issue.
    Reset
    Restored with and without sim inserted.
    Changed Sim
    I was using Vista 64bit thinking this could be the problem as my girlfriend has the same problem but now on XP Pro 32bit and restored with no luck.
    Talk to me lol

    You can try a quick fix. Open up Garageband and lengthen your ringtones to 30 seconds and then try again. This should solve your problem. It solved mine!

  • My iphone 4S only start whit cable plug in and then show battery very low (with red line end) then try to turn on but show searching in operator name command and not connecting and no work properly and when I plug out it turn off!!! what should I do?

    My iphone 4S only start whit cable plug in and then show battery very low (with red line end) then try to turn on but show searching in operator name command and not connecting and no work properly and when I plug out it turn off!!! what should I do?

    I'm afraid you'll have to get the phone serviced, dropping the phone must have damaged additional parts inside the phone.
    But Apple will not service the phone anymore, opening the phone and replacing the battery should only be done by authorized personal, not by users.
    You'll have to look for a 3rd party repair shop and see if they can fix this, sorry.

  • TS3899 I can preview email when it arrives (I chose 5 lines) but when I then go to open up the full email, I see only the header info (To, Subject & Date); nothing in the body...it is blank.  This only started recently as before, it worked as expected. He

    I can preview email when it arrives (I chose 5 lines) but when I then go to open up the full email, I see only the header info (To, Subject & Date); nothing in the body...it is blank.  This only started recently as before, it worked as expected. Help?

    I have two yahoo accounts and I know as they 'improved' their servers I had periodic outages. It'd work fine on my webmail on  my computer, webmail on the iPad, but not via the mail app. And it was stuff on their end. It may be a case of wait and see and you may need to eventually remove/readd the account on your iPhone.
    When the issue is on their end, unfortunately there's not much for users to do beyond wait it out or find work arounds.

  • Just updated my Ipad operating system and one of my apps starts but then the screen turns white, with only the advertisment at the top showing

    Just updated my Ipad operating system and one of my apps starts but then the screen turns white, with only the advertisment at the top showing

    The normal suggestions.
    Close the app,off fully.  Double tap the home screen then touch and hold any of the icons on the task bar until they jiggle, then close them all off by touching the - sign.
    Then reboot the pad and try the spp again.  If same issue, delete the app, then reload it.  ( no charge). You may just have a bad copy.  If continues, write to the developer, they may need to do an update.  I have an older version of the same app and it works fine.
    Since yours is the ad supported version, they are maing real sure you see the ad.  Is it as simple as you need to click thru the ad to get to the game?

  • I have an iPhone 5 and if I make a call it goes blank hangs up on the people and then proceeds to facetime them automatically.  Does anyone know how to fix this?  It only started with ios7

    I have an iPhone 5 and if I make a call it goes blank hangs up on the people and then proceeds to facetime them automatically.  Does anyone know how to fix this?  It only started with ios7

    Judging by all the posts on the forum, there seems to be an issue at Apple's end, although they have made no announcement on their status page. Unfortunately, we may have to wait until Apple is more forthcoming with information.
    http://www.apple.com/support/systemstatus/

  • When we go to view albums from our iphoto library on apple tv it takes forever to load and then it only plays between 24 and 35 photos then goes back to the start.  Then it goes through again and displays 1 more photo each time. Please help!

    When we go to view albums from our iphoto library on apple tv it takes forever to load and then it only plays between 24 and 35 photos then goes back to the start.  Then it goes through again and displays 1 more photo each time. Please help!

    It's likely that your Library database has been damaged in all the crashing.
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

  • How to wake ipod from its funk?  only shows start screen then dies

    MY ipod won't turn on, charge up, or show up on my G4 laptop or in itunes. I try resetting it, but as soon as the start screen comes up it dies. If I plug it in, it lights up brightly and shows the start screen, then won't do a darn thing but show the start screen. When I disconnect it, it still has no battery no matter how long it was plugged in. I have the latest updates in itunes and osx. What's the deal?
    Any help would be great.
    Thanks

    If you have had your ipod for a long time or maybe even if it is new, you may need a new battery!
    I recommend calling apple or maybe this link might help:
    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?mco=40A 4EF0E&nplm=TL193LL/A
    [email protected]
    ravensfan3jt

  • Will apps on ipod only work if you have a wireless router? My apps never work. they very briefly start but then put me back on the homescreen.

    Okay, so, i got my ipod last week. love it!! but, anytime i download apps from itunes to my touch, they never ever work. i don't get it. they always briefly start and then put me at the homescreen. any suggestions???

    Tap Settings / General / Reset / Reset Network Settings.
    Then restart your iPod. Press and hold the On/Off Sleep/Wake button until the red slider appears. Slide your finger across the slider to turn off iPod touch. To turn iPod touch back on, press and hold the On/Off Sleep/Wake button until the Apple logo appears.

  • Don't allow a report to start twice

    Hi,
    I want to start a report by a job every 10 minutes.
    But if the last job has not finished
    a: I don't want to start the next job or
    b: the new report shout stop his work without doing anything.
    Is it possible to check if the rport is started twice?
    Thanks, Stefan

    HI stephan,
    Create a ztable and update this with a flag , since the ABAP memory or SAP memory
    will stay till the session is active, and during every run you can check this flag from database in
    PBO/AT SELECTION-SCREEN OUTPUT Else exit/STOP etc
    You can also MODIFY this DB table to have only 1 record always to avoid unnecessary Memory Usage.
    First time just check the flag and Clear this Flag from DB at the end of successful run again set it back with something like X
    if you feel ABAP/SAP memory would work for you then you can go with that option aswell.
    Hope this would serve your purpose.
    You can use TBTCO for this purpose.
    " You can use the Field CHECKSTAT which says Job status check indicator for subsequent job start
    Cheerz
    Ram

  • Folder action starts twice

    This is wicked frustrating. All I'm creating is a simple automator action. It consists of 2 items - the "Run Shell Script" and a Growl Notification. In the shell script there is a single line to call a perl script.
    I saved this as a folder action, and every time I drop something into it everything runs twice. I see the growl notification twice as well as in a log file that is written by the perl script.
    The really frustrating part is that it was working 100% correctly, I removed an unnecessary "Get Specified Finder Items" step in the very beginning, and now it is doing this running twice thing. It still does it after I Time Machine restored back to the copy that was originally working. I have also right clicked the first action and told it to ignore input.
    I've tried deleting everything, deleting and disabling the folder action so I would be starting clean from scratch. I recreated the script and it's still running twice. A different folder action works fine.
    Any help is greatly appreciated. Thanks!
    Message was edited by: mcewen98

    At one point there were 2 copies, one called {name}.app and another just {name}. I'm not sure how that happened, but I fixed it before posting. There are 2 scripts in Library/Workflows/Applications/Folder Actions now, but they are named differently and are for 2 different things. The other one works fine.
    I think I may be on to something. If I remove the "run shell script" action, leaving only the growl action, save, and test, then the message is only displayed once. When I add the "run shell script" action (regardless of what the shell script actually runs - right now I'm only telling it to echo "test") I get the message twice.
    Also, whenver I test within Automator it works correctly. The problem only happens when I exit out and then drop something into the folder using the finder. I also checked the folder action configuration. There are 2 folders listed, the one having the problem has a single script. If I edit the script the path to the .app is correct. This is the file that I'm editing in Automator.
    Message was edited by: mcewen98

  • Daemon starting twice

    Hello everyone,
       I know this is gonna sound a lil bit n00bish but then i'm a n00b.The problem is that "acpid" is starting twice while boot-up even though its enterd only once in /etc/rc.conf,i donno whats woring,is it whether the sequence in which ive put up the daemons or is it that some other program is starting it.Here's my daemon section of rc.conf file:-
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    #   - prefix a daemon with a ! to disable it
    #   - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng !hotplug !pcmcia network netfs crond dbus hal acpid gdm alsa)
    Can anyone tell me whats going wrong?
    Thanks in advance,
    Rajiv Nair

    it just a guess, but: maybe a daemon u start "depends" on acpid and starts it with it (like portmap is started when u start fam).
    just try putting acpid behind syslon-ng on 2nd place and see what u get
    good luck,
    cheers,
    detto

  • I have Windows 7 Pro, 64Bit. Itunes works fine except I can't go to the ITunes store from in the software. It starts and then goes blank page. I have tried all the fixes and had a IT group working all day on this. Not fixed. Any suggestions?

    Using I Pod NANO. Installed I Tunes on Windows 7 Pro, 64 Bit.
    Software works fine. Only problem is that I can't open up the
    Store page from in the software. It just shows a blank screen.
    Looks like it starts but then just freezes.
    IT department worked all day. Reloaded software, set up
    security, checked msconfig files. Tried all sorts or revissions.
    Nothing works? Yet it works fine on my Windows 7 Home edition?
    ANYONE have a clue. This Apple software is not the friendliest!!
    This is very frustrating for something so simple to use!
    This used to work. Upgraded to 10.3.3.. No good. Tried other revisions,
    No Good! Can't purchase music or have the website fully pull up at all
    from I Tunes.
    Appreciate any help if some has been through this. My service that
    I have for IT had to give up. 6 hours of things they tried. Nothing worked.

    You would get better response from the iTunes community forum.
    Have a nice day!

  • I cant download apps throgh wifi on my iphone however when i connect to cellular data it starts downloading. then what is wrong over wifi , i tried reset network setting but i didnt help

    i cant download apps throgh wifi on my iphone however when i connect to cellular data it starts downloading. then what is wrong over wifi , i tried reset network setting but i didnt help

    Definitely sounds like an issue with your Wi-Fi network. Do any other devices on the network have similar issues? Is it an issue only with downloading apps? You can check by trying to load a website in Safari.
    I would try turning your Wi-Fi router off for 1 minute, and back on again.
    After doing that, disconnect and re-join the Wi-Fi network on your iPhone and try downloading an app again.

Maybe you are looking for

  • Replace the JCE Unlimited Strength Jurisdiction Policy files - SAP JVM 5

    Hi Experts, I had a NetWeaver 7.1 system with SAP JVM 5. I tried to run a cryptography software on the system, but the current JCE Unlimited Strength Jurisdiction Policy files of the JVM limited encryption algorithms and key lengths. I downloaded the

  • Settlement rule in maintenance orders

    Dear Gurus; How can I create a default settlement rule for order types? e.g. I want to have settlement receiver as XYZ, with 100% settlement to cost center for maintenance order type PM01. Points assured. Thanks & Regards Hemant

  • Is there a way to recover photos from iPad if it´s crashed??

    iPad wont turn on. We have been travelling for 5 months and it has all our photos stored on it. There is no backup of our photos. we are really scared we have just lost them all but im sure someone in th eapple world can do something to recover them.

  • Navigate to a "sub node"

    Hi Web-Dynpro experts, I have an easy question for you: How can i navigate to a "sub node" of the context? Example: context -> folder -> file Navigation to "folder": * navigation via lead selection   NODE_INPUT = WD_CONTEXT->GET_CHILD_NODE( NAME = IF

  • Table maintenance by using module pool program

    Hi Please give me step by step procedure to generate table maintenance by using module pool program