Autologin not working anymore with systemd, xfce, slim

Hi,
I recently upgraded my system to a full systemd setup and since then autologin to xfce with slim does not work anymore.
I was previously running a systemd/initscripts system (updated to 31/07/2012) and things were working fine. Upon updating to current, autologin stopped working. Instead I am presented with the slim login screen. Once I put my username and password in xfce starts as normal.
I searched these forums and others to find a solution but have not been successful so far.
My .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
# exec startkde
exec startxfce4
# ...or the Window Manager of your choice
and my /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 laffi
# 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 yes
# 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.log
Any help will be much appreciated

Hi,
I recently upgraded my system to a full systemd setup and since then autologin to xfce with slim does not work anymore.
I was previously running a systemd/initscripts system (updated to 31/07/2012) and things were working fine. Upon updating to current, autologin stopped working. Instead I am presented with the slim login screen. Once I put my username and password in xfce starts as normal.
I searched these forums and others to find a solution but have not been successful so far.
My .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
# exec startkde
exec startxfce4
# ...or the Window Manager of your choice
and my /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 laffi
# 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 yes
# 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.log
Any help will be much appreciated

Similar Messages

  • Why doesn't the "zoom in/out" via pinching the trackpad on my mac not work anymore with firefox? It worked before and still works with Safari.

    why doesn't the "zoom in/out" feature by pinching the trackpad on my mac work anymore with firefox? It worked about a month ago, and still works on Safari.

    Some gestures have been removed in Firefox 4 and later.
    You can restore the zoom feature by changing the values of the related prefs on the <b>about:config</b> page.
    browser.gesture.pinch.in -> <b>cmd_fullZoomReduce</b>
    browser.gesture.pinch.in.shift -> <b>cmd_fullZoomReset</b>
    browser.gesture.pinch.out -> <b>cmd_fullZoomEnlarge</b>
    browser.gesture.pinch.out.shift -> <b>cmd_fullZoomReset</b>
    browser.gesture.pinch.latched -> <b>false</b>
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold(user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • LMMS not working anymore with my MIDI keyboard

    Hello,
    I used to play to my MIDI keyboard with LMMS, but I don't know why, it doesn't seem to work anymore.
    I looked at the the preferences box, and something shocked me:
    I can't put "ALSA" in the MIDI Interface section, and if I launch lmms in a terminal I got that too:
    [david@laptop ~]$ lmms
    "Cannot load library /usr/lib/lmms/ladspa/imp_1199.so: (libfftw3f.so.3: cannot open shared object file: No such file or directory)"
    "Cannot load library /usr/lib/lmms/ladspa/mbeq_1197.so: (libfftw3f.so.3: cannot open shared object file: No such file or directory)"
    "Cannot load library /usr/lib/lmms/ladspa/pitch_scale_1193.so: (libfftw3f.so.3: cannot open shared object file: No such file or directory)"
    "Cannot load library /usr/lib/lmms/ladspa/pitch_scale_1194.so: (libfftw3f.so.3: cannot open shared object file: No such file or directory)"
    "Cannot load library /usr/lib/lmms/ladspa/imp_1199.so: (libfftw3f.so.3: cannot open shared object file: No such file or directory)"
    "Cannot load library /usr/lib/lmms/ladspa/mbeq_1197.so: (libfftw3f.so.3: cannot open shared object file: No such file or directory)"
    "Cannot load library /usr/lib/lmms/ladspa/pitch_scale_1193.so: (libfftw3f.so.3: cannot open shared object file: No such file or directory)"
    "Cannot load library /usr/lib/lmms/ladspa/pitch_scale_1194.so: (libfftw3f.so.3: cannot open shared object file: No such file or directory)"
    ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such device
    cannot open sequencer: No such device
    [b]Couldn't create MIDI-client, neither with ALSA nor with OSS. Will use dummy-MIDI-client.[/b]
    So if someone knows how to fix this, well I'm open
    Thanks !

    Car 1: 2010 - VW Jetta TDI (Turbo Diesel) w/ Non-Navigation Audio BT Connection
    Car 2: 2009 - Ford Escape w/ a Microsoft Sync Stereo system - No complaining about Microsoft here...Apple doesn't make a stereo ...but this is one of Microsoft's better product offerings.
    Black MacBook - 2 gigs/ram, 250 gig HD, intel processor, etc...
    Iphone 3GS - OS 4.0
    Prior to the OS 4.0 upgrade my blue tooth phone book access, blue tooth music access, hands free phone use, was just fine....pretty much in both vehicles my iPhone 3.1.2 worked just fine....
    Now with the OS 4.0 - Not so much. My iPhone will only connect the hands free phone component with either of my car's stereos. I can not get either vehicle to accept an Stereo Audio Blue Tooth connection so I can listen to my music and control it from my iPhone.
    On top of that prior to the upgraded OS I had an iPod/iPhone connection cable in my Jetta and it worked fine in the past. (At times I would use it instead of Blue Tooth because I would charge my iPhone using the adapter) Now my stereo will work for for a few minutes but eventually locks up and will not allow me to switch between artists, albums, playlists, etc...it will only let me continue to listen the current selection of music. Now I get a message on my iPhone that says this device may not be supported...it never had an issue in the past.
    So I feel that most people are coming to the same consensus that the new OS has altered something in the blue tooth handshake/coding....I have already read a few of the "Apple does no wrong postings..." please don't respond...your opinions are obviously biased because Apple is far from perfect...and you input rarely does anything to help. As for anyone else who has some ideas - other than downgrade you OS, I would appreciate hearing something.

  • HT1218 router will not work anymore with new update- how do I fix this?

    I just updated to the current software and now I have no connection. I have tried to reset the airport extreme but I cannot get it to recognize my laptop, Ipad2 and iphone.  I have earthlink as my internet provider.   I have talked with them, but they could not help.  I think that some of the numerical addresses are messed up.  My computer works fine at work on a different airport extreme- so I know that it is not a problem with my laptop. 

    That is because Apps are tied to the apple id that was used to purchase or download it.  So you will have to use your old apple id and password to update the app.
    You can try deleting the app and then downloading it with your new id - not 100% sure this will work.

  • Npapi plugin not works anymore with FF4, but works well with previous versions

    I have a NPAPI plugi what is works well with FF versions < 4 , but not works with FF 4. Why?

    See https://developer.mozilla.org/en/Plugins
    You can discuss issues with Minefield 4.0 nightly builds and Firefox 4.0 beta builds at the mozillaZine Firefox Builds forum.<br />
    That forum is better suited to discuss such issues.<br />
    You need to register on the mozillaZine forum site in order to post at that forum.
    See http://forums.mozillazine.org/viewforum.php?f=23

  • My iPhone is not working anymore with iTunes

    I have installed again iTunes on my pc ( Windows 7)  after having some problems with it, but now it's not working with my iPhone 4S. It says: impossible to use iPhone as the necessary software is not installed. I don't know what to do. Please help. I am really afraid to loose all my iPhone data

    i've done all the things you told me, this is the error message that appears:
    " il software di iphone "iphone" è stato danneggiato durante il download.
    scollega e ricollega, quindi riprova. controlla che le impostazione network siano corrette e che la connessione sia attiva, o riprova più tardi. "
    =
    software iphone "iphone" was corrupted during download.
    disconnect and reconnect, then try again. check that the settings are correctand thatthe network connection is active or try again later.
    what can i do??

  • Document templates with reference not working anymore with CRM2007 on SP7

    Since we upgraded our CRM system(v 2007) to SP7 we are facing a serious problem with our document templates. The document templates do not contain any reference anymore (e.g. BP name and address details). This issue is a showstopper for the SP upgrade to go live in production.
    We have taken the following actions to get it work again but all without any success:
    - We have regenerated the webservice again (CRMOST_GENERATION);
    - Created the webservice again and generate it (CRMOST_GENERATION);
    - Run CRMOST_GENSTATUS_MONITOR for correponding webservice: status OK
        -> when debugging /CRMOST/Z_D007_READ I see in table LT_MESSAGES: "Invalid mainobject: GDCOIRoot
    Also, we investigated SAP note: 1329961 and notes related to CRM-BF-COM in SAPKU70007.
    It looks like a bug in the new programming. When using standard SAP mainobject GDCOI no reference is taking into account anymore.
    To visualize the issue for you, I will describe for you the steps how we can reproduce the issue:
    - Within Account ID we identify an account and confirm account;
    - Now when we create a service ticket we can enter some additional information in fields;
    - We save the ticket and select the "Create a new letter" icon and select a document template;
    - Now Word with XML is openened but WITHOUT taking any reference from confirmed account and service ticket.
    I can not imagine we are the only customer with CRM2007 on SP7 and is using document templates who is facing this issue.
    I really would appreciate it if anyone could help us in any way.
    Regards,
    Harrië

    I had the same problem and solved it by doing this 2 stepa:
    1. Run report CRMOST_CREATE_PACKAGE, because after upgrade, package $WS_BOL_GEN is missing.
    2. Run report CRMOST_GENERATION to generate webservice again.
    Regards.

  • Camera Connector not working anymore with iPod Video

    Hello,
    I have a iPod Video 60GB which I bought last year along with a Camera Connector.
    The problem I have, is that the Connector isn't recognised by the iPod anymore. Even when the camera is on and connected at the other end. The camera is a Sony DSC-V3 which has worked fine before.
    But, I'm assuming the problem is with the Connector since, before the iPod would recognise the connector and show the 'connect device' screen.
    The iPod still says, 'connect device', when I go through the menu and choose Photo>Photo Import
    I've been tearing my hair out for over a week with this, with no luck.
    Any insight as to how I could fix this? Also, has anyone else come across a similar problem?
    Thanks and best regards,
    Chris
    Intel P4   Windows XP Pro  

    i'm no expert on this topic. but, fingers crossed, the troubleshooting suggestions in these documents might be of some help:
    How to use the iPod Camera Connector
    iPod Camera Connector: Choosing a photo importing protocol on a camera

  • ScheduledEnqueueTimeUtc not working anymore with topic client?

    Hi, we recently noticed that setting ScheduledEnqueueTimeUtc does not appear to have an effect on messages that are sent via the .net topic client. To rule out our own code we threw together a quick consoleapp and it exhibits the same symptoms. Anyone else
    notice this change?

    Hi Fredrik,
    Time related settings in Service Bus in general works. Unfortunately everything related time of the message including scheduling is not precise enough in the current SB SKU. You cannot expect exact scheduling as you would typically do with Thread.Delay(x);
    The consequence of this is that the time of the message sometimes falls (implicitly due bad precision) in negative range which you as developer do not expect and do not see. In such cases scheduling will simply be ignored, because Service Bus would
    try to schedule message at expired time. Practically schedule is ignored.
    Time precision in platforms for distributed systems is a typically hard to achieve. I hope the SB team will improve that in the nears future.
    Damir Dobric
    developers.de
    daenet.de
    daenet.eu
    daenet.com

  • Belkin Mini Display Port to HDTV not working anymore with MBP

    I have a MBP V 10.7.5 and I was using a Belkin Mini Display Port to HDTV. This was working perfectly a few months ago and now when I try to connect, My Mac screen will turn blue for a minute but the TV will read "No Signal". There is nothing wrong with the cord and I'm afraid that an update on my computer messed things up. Does anyone have any idea whats wrong or how I can fix this without getting a new cord? Thanks!

    Hello,
    Using the VGA connector, what resolution is set on the Monitor?
    Is there any input choices on the Monitor for port or source?

  • Epson WP4525 scanner not working anymore with Mavericks

    After updating to Mavericks the scanning option for my Epson WP-4525 has disappeared. looks like a driver issue ?
    Anyone had similar issue ? Epson does not offer Mavericks update for the drivers ... at least not yet.
    Got a solution or alternate scanning method ? (not with a flash drive thank you !)

    Delete the old scanner driver, if it's still in your mac, and then try using Image Capture (it's in Applications).
    Message was edited by: arthur

  • HT5267 why "make" command is not working anymore with OS X 10.8?

    After the installation of Mountain Lion I am no more able to complire my c++ programs, to install packages with "make" command through the terminal. How this can be solved?

    Is the problem that you can't find make or is make failing in some way?
    If the former have you installed the command line tools. If the later post what you are trying to compile, what you have done and what errors you are getting.

  • Xperia Neo media server doesn't work anymore with Sony Bravia TV after ICS update!

    Xperia Neo (MT15i) updated from 2.3.4 to 4.0.4 (4.1.B.0.431). I did not perform any reset (factory settings) after the update.
    Media server does not work anymore with Sony Bravia TV KDL40-NX700. With 2.3.4 it worked correctly before.
    When I start the media server on my Xperia Neo and try to view my photos on my Bravia TV it shows connection, I am also able to view different folders on the Smartphone but when it tries to load the photos in any folder on the Smartphone it stops working after a while. Feedback on TV is "cannot connect to media sever". The same procedure worked without any problems when using 2.3.4 before.
    Is this a known issue and is there any solution for this?

    Wow that is a new one, great find!
    I wish I had tested that with my Ray, as I had used the media server feature quite a bit with my DirecTV receiver when on Gingerbread.  But too late, it's on the way back to Sony to get rolled back to Gingerbread.
    Too many other problems with ICS that have crippled my device.
    1) Wi-Fi Hotspot does not work anymore
    2) USB tethering does not work anymore
    3) LED notification issues for incoming SMS
    4) Dialer slow to load
    5) HD Video recording skip frames and jitter.
    6) Bluetooth AVRCP profile broke (can't use the play/pause button on my car stereo anymore)
    If you have not done so take a look at the above features and see what you turn up.
    ~Cheers~
    Bob H
    Minneapolis, MN
    USA
    ST18a  Ray

  • Extending UI Controls in 1.3 - Not working anymore

    Dear All,
    I used to have a bunch of custom controls extending standard 1.2 UI Controls.
    I used
    public override function create(): Node {
            var original = super.create();
            return prepare(original);
    }and
    public function prepare(original: Node) : Node {
            var node : Group = Group {
                content: [original, newComponent1, newComponent2]
        }to retrieve the original node and add some custom nodes and behaviour.
    Now, this is not working anymore with JavaFX 1.3 as Node does not extends CustomNode anymore.
    I tried to replace my override function create() with an init{} block but ... how can I get access to the original control ?
    Thanks for your help
    Seb

    Check this out, if it helps you:
    Stage {
         width: 400
         height: 400
         scene: Scene {
              content: [ MyButton { layoutX: 10 layoutY: 10 text: "test" } ]
    class MyButton extends Button {
         init {
              insert Rectangle {
                   x: 30
                   y: 30
                   width: 200
                   height: 200
                   fill: Color.RED
              } into children
    }Thing is that Control does not extend CustomNode any more in 1.3, but it does extend Parent which has children property you can access/override. If you check out docs for custom node at http://java.sun.com/javafx/1.3/docs/api/javafx.scene/javafx.scene.CustomNode.html you'll see that overriding children is now also preferred method to make your own nodes.
    Saša

  • Signed applet on local filesystem not working anymore

    Hi,
    Everyone knows that accessing local file system has always been  a security threat.
    But clients are our bread and butter.
    Our clients have asked for web app consisting in a zip file, downloaded, containing an html page with dynamic content and links to many pdf.
    So far, so good: i download my zip unzip it, access my pdfs, and once every pdfs have been modified, i click on a button that is from a signed applet, and the applet checks which pdfs have changed, and  post the files to a web service on a server....Et voilà.
    It's been working for at least 5 years like that.
    But now my clients are updating to jre 7u45.
    And as A LOT OF PEOPLE HERE....my applet won't load and work if i compile it with the new sdk....: i get the InvocationTargetException...exception
    Is there an easy way to , step by step, compile , sign and yadi yada...and make it work.
    I mean my applet has always did its job..., nothing will change in the code...it's only the annoying changing everything without warning.....
    Anyone whould have an alternate approach instead of applet (my guess is NO).....: but nowadays with an applet you program 5 hours and you deploy 10 days.

    I have the same issue here  and it is not working anymore with auto-signed certificate too
    I am going to stop using Safari if that  , all is working fine with Chrome Firefox and Opera
    Apple says
    As a good security practice, you should validate PGP keys you receive, and not trust keys that cannot be validated. Information to validate the Apple Product Security PGP Key is available from
    Maybe but this is my problem and if I want to trust anyway I must use another browser

Maybe you are looking for

  • I have received emails with attachments such as  .wmv  .avi etc     How do I open them on my new iMac ?

    How do I open attachments such as .

  • Page that can not be open it..

    why i can't open megaupload.com and fileserve.com page?? if i'am open it, the "problem loading page" will appear. i don't know whats the problem is. can u help me? its difficult for me to download whatever that using this both page..

  • Need help on charts

    Hello all, Does anyone know where I can find some info about charts? Because the wizard in word will not forfill my needs. For example. I want a bar graph with 3 series. The wizard provide only for 1 serie. I solved this by regrouping my xml but now

  • Satellite A110-149: Battery is empty after about one hour

    Hi I've bought a Sattellite A110-149 but I'm worried about the battery because in just 1 hour or a little bit more, it's already empty. Is this normal? If I leave my laptop connected to a socket outlet all day long, this can make my battery less effe

  • Threads and Process

    Hi all, I want to fire particular processes using Runtime.exec() method. And these processes need to be suspended and resumed using Button Controls. Is this possible ? Mean, can I suspend a process if I click a Button on mu GUI ? It doesn't seem to b