Slim's default session

hi to everybody,
how can I set a default session in SLiM ???
currently I have installed openbox which provides two session files under /usr/share/xsessions/ :
openbox.desktop
openbox-kde.desktop
how can I teach SLiM to use openbox as default session and not the openbox/kde one ???
....currently for select openbox from openbox/kde I press F1.....it's boring at every boot do it.....

I've read carefully the wiki and what clfarron4 it's not what I want, shortly
on the way, I have commented the bug on berliOS (http://developer.berlios.de/bugs/?func= … up_id=2663)
PS: latest theme available for SLiM it's a my work (http://slim.berlios.de/themes01.php)! unfortunately the link it's broken, but I've mirrored with dropbox (https://bbs.archlinux.org/viewtopic.php?id=170817)

Similar Messages

  • [SOLVED] slim does not set a default session

    Hi everybody
    I think slim does not set the default session (first entry in sessions in /etc/slim.conf):
    My /etc/slim.conf:
    login_cmd exec /bin/bash -login ~/.xinitrc %session
    sessions openbox
    So the default session (and %session) should be openbox.
    My ~/.xinitrc:
    DEFAULT_SESSION=openbox
    # urxvt -e screen &
    (sleep 1;
    eval `cat ~/.fehbg`;
    conky &
    xbindkeys &
    volwheel &
    pidgin &
    case $1 in
    awesome|fluxbox|icewm|i3|dwm|wmii|fvwm|twm|wmfs)
    exec ck-launch-session $1
    openbox)
    /usr/bin/tint2 &
    exec ck-launch-session openbox-session
    exec ck-launch-session $DEFAULT_SESSION
    esac
    So. When my sessions option is only "openbox" and .xinitrc is started with $1 = "openbox", it should execute tint2. But it doesn't.
    Workaround 1:
    When I set openbox directly in login_cmd, it works and tint2 is executed.
    login_cmd exec /bin/bash -login ~/.xinitrc openbox
    Workaround 2:
    In slim, when I hit F1 to change the session and the words "openbox" appears at the screen, it does also work fine.
    That means, that slim does not set the default session correctly. Or am I wrong?
    I think this is since the last update.
    Thanks for your feedback.
    mindfuckup
    Last edited by mindfuckup (2013-02-12 19:24:39)

    Slim never set the default session, but there always was a comment in the default config suggesting that it would. This was well known and everybody simply set their own default (I'll get back to this in a second). Instead of simply modifying this comment, Arch included a patch to change Slim's behavior, but this led to new unexpected behavior so it was removed (recently).
    You could also have found this in the wiki, which also provides a solution. Another way to fix your .xinitrc is to replace $1 in the case statement by ${1:-openbox}.
    Edit: I just noticed you actually had the DEFAULT_SESSION as used in the wiki example. I think the solution in the wiki is a bit strange, and your .xinitrc (where tint2 should only be started for openbox) is an example where the alternative I suggested is simpler. Yet another way is to use the *) case for the default session (so you would not include openbox as a separate case and just start tint2 and openbox unless the $1 is set to awesome).
    Last edited by Raynman (2013-02-12 17:52:33)

  • [SOLVED] LXDM not saving selected session,Default session doesn't work

    Hello,
    I'm trying to use LXDM to start my desktop. However, every single time I log in, I have to tell it to use XFCE as my session.
    Even if I choose it manually, after logout/login it just resets to "Default session" (which doesn't work: just drops back to LXDM).
    I looked everywhere in my home directory and not found any place where it stores the session.
    Any ideas? lxdm 0.4.1-8, xfce 4.8, x86-64 Arch Linux.
    Thanks.
    Last edited by Renan Birck (2012-04-02 21:06:42)

    It's the default, except that I enabled autologin (which doesn't work due to the problem I describe in my post).
    [base]
    ## uncomment and set autologin username to enable autologin
    autologin=renan
    ## uncomment and set timeout to enable timeout autologin,
    ## the value should >=5
    # timeout=10
    ## default session or desktop used when no systemwide config
    # session=/usr/bin/startlxde
    ## uncomment and set to set numlock on your keyboard
    # numlock=0
    ## set this if you don't want to put xauth file at ~/.Xauthority
    # xauth_path=/tmp
    ## greeter used to welcome the user
    greeter=/usr/lib/lxdm/lxdm-greeter-gtk
    [server]
    ## arg used to start xserver, not fully function
    # arg=/usr/bin/X -background vt1
    [display]
    ## gtk theme used by greeter
    gtk_theme=Clearlooks
    ## background of the greeter
    # bg=/usr/share/backgrounds/default.png
    ## if show bottom pane
    bottom_pane=1
    ## if show language select control
    lang=1
    ## if show keyboard layout select control
    keyboard=0
    ## the theme of greeter
    #theme=Archlinux
    [input]
    [userlist]
    ## if disable the user list control at greeter
    disable=0
    ## whitelist user
    white=
    ## blacklist user
    black=

  • Setting a Default Session

    It appears that while you can create a customized work space in Audition CS5.5 you can no longer set a default session.  In 3.0 I was able to create a session with a custom number of tracks, set effects on tracks and save that as a default session so that I would not have to set my session up the same way every time (which is helpful to me be in a voice track only environment).  Am I missing something, or is this no longer a feature?  It also appear that you can no longer set the default view of the workspace as it related to minutes (it shows 30 seconds by default).  Attempting to set the View/End setting to, say, 1 minute is not possible.

    Hello,
    I'm confused by this as well. Really no way to save a template /default session? Why would Adobe remove such a vital feature?

  • How to change ADF default session time out behavior to count down

    the ADF default session time out will show a message before some time set in the web.xml , after this time anther alert will show the time out message.
    But our recruitment what use one message dialog first show the session will be out then count down the time at last show the session time out message.
    Dose ADF provide interface to change this ?

    Hi Sudipto:
    If using pure JS and Html I can write thousand way to implement session time out function , but we use ADF :
    ADF limit user to do a lot of thing but only use itself way , it is very hard to change its component's behavior and also hard to get doc introducing how to change its behavior though it can be change.
    So what I want to know if there any interface ADF left to change itself session time out behavior , I think your answer is no.
    Edited by: Yu Yang on Oct 24, 2012 12:23 AM

  • "Access to default session denied" when sending email with gmail

    I think I may have overloaded my uses with my account, because the code used to work just fine (and I tested it quite often--my program sends an HTML email containing my todo list, and I was working on the layout).
    I'm hoping it's the code, though, so I'm posting it here to see if there is anything wrong with it (that would cause the "Access to default session denied" SecurityException:
    protected static void sendMsg(String contents) throws Exception {
             Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
                              Properties props=new Properties();
                              props.setProperty("mail.transport.protocol","smtp");
                              props.setProperty("mail.host","smtp.gmail.com");
                              props.put("mail.smtp.auth","true");
                              props.put("mail.smtp.port","993");
                              props.put("mail.debug","true");
                              props.put("mail.smtp.socketFactory.port","993");
                              props.put("mail.smtp.socketFactory.class","javax.net.ssl.SSLSocketFactory");
                              props.put("mail.smtp.socketFactory.fallback","false");
                              Session session=Session.getDefaultInstance(props,new GJMailAuthenticator());
            Transport transport = session.getTransport();
            MimeMessage message = new MimeMessage(session);
            message.setSubject("Testing javamail html");
            message.setContent
               (contents, "text/html; charset=ISO-8859-1");
            message.addRecipient(Message.RecipientType.TO,
               new InternetAddress("[email protected]"));
            transport.connect();
            transport.sendMessage(message,
               message.getRecipients(Message.RecipientType.TO));
            transport.close();
    class GJMailAuthenticator extends javax.mail.Authenticator{
                  protected PasswordAuthentication getPasswordAuthentication()
                      return new PasswordAuthentication("[email protected]","asdfasdf");
         }any idea what went wrong?

    Replace Session.getDefaultInstance with Session.getInstance.

  • What is frnservlet default session attribute

    Hi,everyone
    I have a task, to access client download pdf file after forms button.
    I use form to call IE.
    I want to use seesion control this.
    But what is default session attribute?
    How can I use session.getAttribute("XXXX") to check this client logined?
    thx u to read this.
    Edited by: user10196940 on 2009/4/20 上午 2:11
    Edited by: user10196940 on 2009/4/20 上午 2:12

    I use session.getAttributeNames() to get all attribute name.
    thx all

  • What is coherence web default session model

    Did some goggling and did some search in to the documents and PDF to find out what is the session model that coherence web is using.
    but no where they are specifying what is the session model that coherence web is using by default.
    1) Traditional Model — Stores all session state as a single entity but serializes and deserializes attributes individually.
    2) Monolithic Model — Stores all session state as a single entity, serializing and deserializing all attributes as a single operation.
    3) Split Model — Extends the Traditional Model but separates the larger session attributes into independent physical entities.
    Thanks in advance.

    Hello Sathya,
    It appears the default is the Split Model. I could not find in documented anywhere.
    But if you look at the generated web.xml after installing Coherence*Web on a WAR it configured for the Split Model.
    hth,
    -Dave

  • Set a default GDM session (not the last used)

    Hi,
    I'm using autologin with GDM and I want it to always open a specific session. Basically, my install is an arcade cabinet and I want it to open my Mame front-end. Once in a while I will log out to login in a regular XFCE session to perform some tasks. It appears that GDM always considers the last session as the "preferred" session, so when I do that, it will open XFCE rather than my Mame session.
    Is there a way to tell to GDM to just stick with a default session, ignoring what session was used last?
    Alternatively, is there another DM that would let me have this behavior?

    Not sure how accurate this is, but have you looked into your gdm.conf file?
    There is an option
    GnomeDefaultSession
        GnomeDefaultSession=share/gnome/default.session
        The filename which GDM should read if there is no per user GNOME session file, and the user has requested the Gnome Chooser session.
    Not sure if this is what you are looking for, but I hope it helps.

  • (SOLVED) SLiM won't show xfce4 in the boot options.

    Currently I have this .xinitrc(took it from the wiki):
    #!/bin/sh
    # ~/.xinitrc
    # Executed by startx (run your window manager from here)
    DEFAULT_SESSION=gnome-session
    case $1 in
    awesome)
    exec awesome
    xmonad)
    exec xmonad
    xfce)
    exec startxfce4
    exec $DEFAULT_SESSION
    esac
    Why I go through the sessions with F1, awesome shows up, xmonad shows up, gnome shows up and I never get to see xfce. I searched the logs but I couldn't find any evidence to point to the error.
    Any help would be greatly appreciated.
    Last edited by dohko (2012-02-10 01:20:16)

    Crap I wanna hit myself in the head, I forgot to add the session to slim.conf
    # 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 gnome,awesome,xmonad

  • Openbox Install default font strange

    I have installed OpenBox and using Slim as the session manager..This is an independent install and I do not have GNOME/KDE alongside OpenBox.
    I installed X and Nvidia 173...
    The X session loaded fine , but the fonts appear to be strange and different from default
    For example , when I open Opera Browser ,all the Web pages look different and wordings appear too small.. Also the std OB menu also has these small fonts!
    How can I bring the default look?
    Has it got anything to do with installing Gtk or Qt themes?
    Last edited by vikrang (2011-04-25 07:32:25)

    Thanks Bubblerap....
    I think OBox to set up on its own is too tough (at least for me) as I am a non techie and morever I guess I am too lazy to tweak everything...Now I realize the plug and play DE is the best for me..
    I have gone back to Classic KDE ..
    Thanks for your time and the solution..
    I appreciate it,

  • When I login to EBS as Japan language session some Forms Application is Eng

    Hi ,
    have recently applied japan NLS on r121.1 and later upgraded to 12.1.3 also applied 9239090(japan as well).
    But customer has complained the error below.
    Any ideas on it .
    Forms Application is still English.
    When I login to EBS as Japan language session, some Forms Application is English.
    e.g
    user MFG
    pass welcome
    Resp Manufacturing and Distribution Manager
    Path Inventory>品目>品目関連
    Thanks

    ls: /u100/app/HONDA1/orhonda1/oracle/aphonda1/apps/apps_st/appl/po/12.0.0/forms/JA/POXRQVRQ.fmx: No such file or directoryThis indicates that the fmx file was not generated via adadmin -- Can you upload the adadmin log file here?
    and also, after logging into the application selecting japan,to the left side i can see some responsibilities in english still..Is this the normal behaviour.No.
    Have you generated all NLS menus via adadmin? If possible, upload the log file.
    In the preferences tab when i check,logging to application with english can see the below..
    Current Session Language :- American English
    Default Session Language :- American English
    Is the above correct ?
    Do we need to perform any steps to so that we can see the responsibilites in english.Change the session language to Japanese and check then.
    Thanks,
    Hussein

  • [OBSOLET]Automatically logging in different sessions in KDM via kdmctl

    I recently found comfort in KDE, so I try to use KDM on my mediacenter to manage both, a KDE session, as well as an XBMC session.
    What I want to do: Log in as $USER on two different sessions, one with XBMC and one with the KDE desktop automatically on boot without the need to provide a password.
    After playing a bit with the control center, I came as far as automatically logging in a user and/or allowing a user a passwordless login. This is a good first step. I cannot, however, find a way to define the session it should use, the control center setting for auto login will always use the default session (which is the last session I manually logged in to). There is no way to configure multiple sessions at once in the controlcenter.
    So I looked for cli tools and discovered kdmctl. It has a number of features, for example will "kdmctl activate :1" jump to the display :1. Another step closer to my goal is "kdmctl reserve", which opens a new login prompt on the next free $DISPLAY. Now it seems like kdmctl is very session-sensitive. I need root access to call it from a tty, while a normal user is sufficient inside a KDM managed X session. Calling kdmctl in a tty will give me more options, than calling it in X, even with sudo. Upon "# kdmctl" in a tty, I can see resume, manage and login options, which are not there in a KDE session.
    What I have so far:
    1. I can use the KDE control center to log in a user automatically on :0, but I cannot specify the session (Plasma, XBMC, etc.).
    2. I can run "# kdmctl reserve" to create a new login prompt at :1
    3. I can login to :1 by issuing "# kdmctl login :1 now USERNAME PASSWORD", but only from a tty (which would be sufficient, as I intend to write a systemd unit).
    What I cannot do:
    1. I cannot specify the session. I have found http://docs.kde.org/stable/de/kde-works … opics.html, but it is not really helpful. It says I need "[session_arguments]" in the "format of printf specified .dmrc". I assume this is how I could specify my session, but I cannot find any documentation. Maybe I'm using the wrong keywords. There is neither a man page for kdmrc nor for dmrc. This is what I'd like to have some help with.
    EDIT: It's not actually solved but has become obsolete. KDE4 is fading away and, according to the wiki, KDE5/plasma5 prefers SDDM. Besides that, I stopped using KDE, stopped switching sessions, stopped working on this a long time ago.
    Last edited by Awebb (2015-03-29 11:55:33)

    Anybody any clues?
    -Mahendra.

  • Session Timeout Question in EME

    If I login to eManager Web and instead of logging out I just close the browser will I be logged out? Will the license be released? What is the session timeout for this and is it possible to set this value?

    If you close the browser in e-Manager Enterprise Web instead of logging out there is a TimeOut that will release your license. This can be seen and is reported on in the e-Manager logs. By default the session TimeOut value is 30 minutes. You can find this and/or change this value by opening "<installdir>\Empirix\EmpAppServer\server\default\deploy\jbossweb-tomcat55.sar\conf\web.xml" in a notepad. Once the file is open, go the the ?Default Session Configuration? Section. Here you can change the TimeOut value. You will then need to save the file and restart the Empirix Application Service. The idle sessions are retired after the specified timeout is reached and the licenses are also checked upon this value. I hope this answers your questions.

  • How to handle sessions with two severs on one machine?

    All,
    I am having a problem with session cookies being overwritten when I host two apps on one machine running WebLogic 8.1 The apps are http://myserver:7300/app1 and http://myserver:7400/app2, and each runs in its own server.
    Users will often access both apps at once, in two browser windows. If the windows are different threads in the same process, the sessions collide. For Internet Explorer, this isn't usually a problem since clicking on the shortcut multiple times launches different processes by default. Some browsers (Firefox, etc.) won't let you have two windows under different processes. Attempts to launch a second window 'detect' the existing process and appear to spawn a new thread. When this happens there appears to be no way for the users to use both apps at once.
    I know this is happening because of the way session cookies are stored in the browser process' memory. The session cookies appear to me to be 'keyed' by the host name or ip address of the server. Does anyone know of a setting in WebLogic so that this 'key' includes the port or context root? Is this even something which can be controlled on the server side?
    Thanks for any help,
    Brian

    Not quite sure what your intent is, but if you want to avoid a clash how
    about giving each application a different default session cookie name.

Maybe you are looking for

  • Multiple ASM instances using single cluster install - Is it possible??

    Hi, I have 2 node RAC cluster installed on Linux. All the storage is on EMC. I need to setup another environment using HP storage on the same hosts. Is it possible to created second ASM instance using the same cluster install?? I wanted to have clear

  • Acrobat won't launch after update

    Dear Experts, I have a very urgent problem to solve. I am currently running ADOBE Creative Suit 6 Design Standard on my desktop. It includes an Acrobat. I've using Acrobat for months everything's normal untill there's an update (detail of the update

  • Can my G3 handle OS X 10.4?

    Hi everyone, I'm a bit new with Macs, the OS, and the hardware. I'm a tech guy so don't be afraid to reply with technical info. What I need to know is if my G3 can handle 10.4 and if not what should I upgrade (i.e. speed and pin# for RAM would be app

  • IWeb on a new iMac?

    Hi. I have brought a nem iMac and iWeb is not installed. Anyone who knows about this?

  • Data storage and Confidentiality

    How long is data stored by FormsCentral? Can I request the removal of specific data? Will FormsCentral access any of the data I collect?