[SOLVED] Slim Question

Hi all I've been running arch for a little while now and I have been having problems with Slim respawning when I type exit into the username field. Thanks in advance!!
Last edited by xjwellsx (2011-07-08 04:50:07)

Xinitrc File
#!/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
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,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
current_theme archlinux-darch-white
# Lock file
lockfile /var/lock/slim.lock
# Log file
logfile /var/log/slim.log
Here are the contents of my files thanks for the help

Similar Messages

  • How to undo "This solved my question" on this Using iPhone forum?

    How to undo "This solved my question" on this "Using iPhone" forum?
    new to this forum... how do you undo this?

    **** lol, In that case they should give a warning or some type of "You sure?" yes/no. I clicked completely by mistake. anyways...

  • Can't mark reply "This solved my question"

    In the email I received that notified me of a reply to my question, when I click on the link for either "This solved my question" or "This helped me", it takes me to Safari, but gives me the following:
    Apple Support Communities
    Unauthorized
    It appears you're not allowed to view what you requested. You might contact your administrator if you think this is a mistake.
    If I sign in to the Discussions, and go to Your Stuff and choose the question, I see the Legend, but there are no buttons for me to mark a reply as "This solved my question" or "This helped me". 
    Any idea why I can't do this?  I'm running Mac OS 10.8.5, and Safari 6.0.5.  Could there be something in my Safari settings that is blocking this?
    Thanks,
    Marcia Bolsinga

    There have also been intermittent problems with the forum software lately and this might be causing this problem.
    Try going to your thread again and see if the symptoms change any,

  • Help me for solve this Question this is my problem

    help me for solve this Question this is my problem
    i installed EBS 11i fresh not vision
    i did cart of account and did set of book
    then assigned it with profile option gl set of books name
    and when enter to make ajournal appeare this messege
    [http://www9.0zz0.com/2009/10/06/03/232202588.jpg]
    [http://www9.0zz0.com/2009/10/06/03/634050066.jpg]

    Hi,
    Not sure why are you getting this kind of error (which is pointing to a URL with Jpg file) while creating a journal.
    Could you please bounce your server once and try..
    Please let us know if the error/warning stopping you to enter a journal in GL??
    We don't think profile option is a show stopper here.... We assume that you have assigned Sets of Books, MO: Operating unit & HR USer Profile option at Responsibility level correctly....
    Regards,
    S.P DASH

  • I am trying to use the "This solved my question - 10 points" and the "This helped me - 5 points" but they are NOT doing anything. How do I award the points ?

    I am trying to use the "This solved my question - 10 points" an the "This helped me - 5 points" but they are NOT doing anything. How do I award the points ?

    Are you talking about the "Legend" panel at the right of the window?
    Those text are just help texts explaining the reputation points. You can only award points, if you are the original poster of a question. Then you will see active buttons to award points below the answers you receive. See here for more information: https://discussions.apple.com/static/apple/tutorial/reputation.html
    Regards
    Léonie

  • How do I uncheck "This solved my question" on the Apple Support Communities forum?

    I checked an answer as "this solved my problem" when it actually did not, and I don't want anyone to be mislead.
    How do I uncheck "This solved my question" on the Apple Support Communities forum?

    You can't uncheck it. You'll need to post the question again.
    You could also just add the comment that it was not actually answered.

  • [SOLVED]Slim and gdm questions

    Hi all,
    I just installed slim cause I wanted to try something new and faster than gdm login manager for gnome, I have it working right now but with a few hiccups:
    1- I login using slim, but after I am logged in the system if I lock the screen, the gdm login shows (instead of the slim one)
    2- System bootup is a LOT slower, after I login the system stays with just the background for a few seconds, then loads the desktop.
    So, here are my questions:
    a) If I remove gdm will I have this same issues? maybe the increased boot time is because I have 2 login managers installed?
    b) I disabled the gdm daemon from rc.conf (put a ! before it), should I remove it from there completely? because apparently it is still loading.
    Also I dont know much about login managers so I wanted a little enlightenment in this matter.
    regards and thanks in advance
    Last edited by 655321 (2010-06-13 20:57:35)

    BKLive
    Here is the info:
    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,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
    current_theme        archlinux-darch-white
    # Lock file
    lockfile            /var/lock/slim.lock
    # Log file
    logfile             /var/log/slim.log
    ~/.xinitrc:
    #!/bin/sh
    # ~/.xinitrc
    # Executed by startx (run your window manager from here)
    # exec gnome-session
    # exec startkde
    # exec startxfce4
    # ...or the Window Manager of your choice
    #exec xterm
    setxkbmap -option terminate:ctrl_alt_bksp
    exec ck-launch-session gnome-session
    Regarding whats runs at bootup, I guess you want to see my daemons array in rc.conf, here it is:
    DAEMONS=(syslog-ng dbus hal network netfs crond alsa @cups slim !gdm)
    Notice gdm is disabled.
    Also, would you advice to reinstall gdm? removing it didnt do anything for the problem im experiencing.
    thanks for the help

  • [SOLVED:] SLIM not reading slim.conf (no password auto-focus)

    Yesterday I began having issues with SLIM.  I'm not sure if they're related, but  while running Puppy , I inadvertently deleted the desktop icon for my Arch home directory on /dev/sda8.  I rebooted Puppy and it reappeared.  After running Puppy, something went wrong with my clocks (system and hardware) and the times were all wrong.  I fixed that with NTPD.  I currently dual boot Arch and Windows 7 from the hard drive, and occasionally from a USB stick, Puppy Linux.  I'm using an ASUS K50IJ laptop.  I run Xfce4.  I do not have any disk encryption enabled.
    When I boot up, the SLIM login appears as normal, but rather than password auto-focus, I'm prompted for a username.  If I enter the username and hit return, I'm still staring at the username prompt.  After three or four iterations of entering a username + enter, I finally get a password prompt and can log in.
    I have tried:
    1.  Reinstalling archlinux-themes-slim
    2.  Uninstalling archlinux-themes-slim and slim, then reinstalling slim
    3.  Removing old Xfce4 & Xfwm sessions
    4.  Removing slim.conf and entering a pristine version.
    5.  Reviewing /var/log/slim.log files for oddities.  I found one:
    Before the trouble started, I the message in the log was:
    slim: waiting for X server to begin accepting connections
    X.Org X Server 1.12.2
    Release Date: 2012-05-29
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 3.0.32-1-lts x86_64
    Current Operating System: Linux asus 3.4.4-2-ARCH #1 SMP PREEMPT Sun Jun 24 18:5
    9:47 CEST 2012 x86_64
    Kernel command line: root=/dev/sda4 ro
    Build Date: 30 May 2012 07:24:13PM
    Current version of pixman: 0.26.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul 8 15:30:48 2012
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    /usr/bin/xauth: file /home/rasteenb/.Xauthority does not exist
    /usr/bin/startxfce4: X server already running on display :0.0
    Now I get:
    slim: waiting for X server to begin accepting connections.slim: unexpected signal 15
    slim: waiting for X server to begin accepting connections.
    slim: System is booting up.
    slim: pam_authentication(): Authentication failure
    slim: System is booting up.
    slim: pam_authentication(): Authentication failure
    slim: System is booting up.
    slim: pam_authentication(): Authentication failure
    slim: System is booting up.
    slim: pam_authentication(): Authentication failure
    slim: System is booting up.
    slim: pam_authentication(): Authentication failure
    Now I'm stumped.
    Rob
    Last edited by rasteenb (2012-07-17 11:16:03)

    I solved this - slim was not the last daemon I started in rc.conf.  By moving it to the end, I get password auto-focus and everything works.
    Now my rc.conf looks like
    # DAEMONS
    DAEMONS=(syslog-ng dbus acpid @network @wicd @openntpd @cupsd @crond slim)
    I found this recommendation in the Display Manager wiki page while researching the problem:
    Ensure you start the display manager last in the DAEMONS array, otherwise X will later allocate a tty device which was previously claimed by Getty (see /etc/inittab). Not placing the display manager at the end can cause X crashes, and is therefore unsupported.
    I'd just been lucky before that there wasn't a conflict.
    There is a "flicker" during login where I'm shown the XFCE splash, then the SLIM splash again, then the XFCE desktop.  Not sure what's going on there, but it's no big deal.
    Cheers,
    Rob

  • [SOLVED Noob question about web server permissions

    Hi I have setup up succesfully my web server. Now I am having some permission's questions/problems.
    First of all, I want the /home/httpd/home folder not to be show to the other machine users and only to root.
    I have created a user www-data and I have conf the apache file.
    This is my settings:
    My server directory is: /home/httpd and the permissions I have set:
    home dir:
    ~edited because solved~
    I have set .htaccess to some folders. I don't know If the permissions are safe or not. Can you help me?
    I think that I have different permissions to files and different to the folders...
    Thank you!
    Edited:
    And an example of my permission (phpMyAdmin):
    ~edited because solved~
    Last edited by k3rn31 (2008-02-28 22:26:09)

    This is more of a chat item for me, if you feel like it you can find me most of the time here at http://zaxter.org/xmpp.html if you have flash you can join via a simple click on connect.
    Sorry I've not been of much help to you.

  • [solved] SLiM - Cannot log in

    Hello folks,
    I'm having some trouble with SLiM, i.e I can't log into my XFCE4 session.
    I updated my system before it happened (I just remember there was a new version of pulseaudio) but I don't think it is related to my problem.
    It probably comes from the change I've made on my hardware clock...since I had not the right time displayed on my desktop I checked the time using timedatectl and noticed that my timezone was correctly set but that my localtime was set to CET instead  of UTC, thus causing the time displayed on my desktop to be 2 hours ahead.
    I should have used hwclock I guess to set my hardware clock to UTC time but since I needed to reboot for another reason I decided to set it directly into my BIOS. That's what I did : I set my BIOS time 2 hours before in order to synchronize it with UTC time.
    At boot I got some fsck error messages, probably because of my time jump backwards. But the real problem comes when I try to log into my xfce4 session through SLiM. It doesn't work and brings me back to the login screen.
    I've set the hardware clock back to its previous time but I still have the same problem. If I look into journalctl messages about SLiM for the last boot, here is what I think to be problem :
    slim[1222]: xfce4-session: error while loading shared libraries: /usr/lib/libicule.so.50: file too short
    slim[1222]: pam_unix(slim:session): session closed for user sclarckone
    slim[1222]: Server terminated successfully (0). Closing log file.
    Does anybody has an idea of what the problem is and how to solve it ?
    Thanks
    Last edited by sclarckone (2012-12-20 09:15:06)

    rchiang wrote:libicule.so is in icu package. not sure if re-install icu will fix it.
    It worked indeed...I should have tried this before posting here, my bad. Thank you !

  • [SOLVED] SLiM locked in Virtual Box

    So I installed the newest iso, got things ok in terminal and installed SLiM, but I'm stuck at the SLiM login. Neither root nor user works. I've tried console as username to force xterm, but all I get is a black screen with an X for a mouse. tried exit and nothing happened. I really need to get back to no GUI so I can edit the options for SLiM and get myself started. I'm going to be running Razor-QT on top of Openbox and SliM as login. Problem is I can't install Razor until I can visit the AUR..... Anyway, if someone can get me the hell out of slim I'd appreciate it.
    Last edited by al0ngcam3asp1d3r (2012-08-01 00:25:50)

    TheCuban wrote:Type "console" as a username, should give you a console. If it doesn't, it it kinda "freezes" on you, then hit ALT + F1 and you should be good to go!
    You freaking rock bro. I'm sorry to be a pain in the ass to everyone, but most of my experience is in Ubuntu (I know that's like the f word) but I've run arch before and adored it, and have decided to use it as the base of a new distro which is like Bugtraq (I'm the graphics developer for the new version in dev) built on Arch for speed, so I'm I'm going to probably ask a lot of questions, however I am good at RTFM so I'll try not to ask any stupid questions.

  • [SOLVED] Weird question: pacman -Syu nothing to do for quite a while

    Hi,
    Perhaps this an odd question but I feel like for the past 2-3 weeks on two different computers "pacman -Syu" returns "x up to date" for all repos and "nothing to do" as the result. Could nothing really be upgradeable for this long? Can anyone else confirm this or has something gotten goofed? Is there a way to check actual versions with what I have to make sure things really are working properly? Even if nothing was upgradeable I can't remember the last time I saw core, extra, or community actually download without doing "pacman -Syyu". They alway say up to date and I'm thinking this just can't be correct...
    What might help for me to post? I haven't changed anything in pacman.conf or pacman.d/mirrorlist...
    Thanks,
    John
    Last edited by jwhendy (2010-09-02 14:20:53)

    x33a wrote:
    In the future, take a look here:
    https://www.archlinux.de/?page=MirrorStatus
    That's the link I keep losing. Bookmarking now...
    @jwhendy can you change the subject to include the word [SOLVED], please?

  • I have solved some questions, please check if my answers are correct

    Hi every Java aces,
    I have solved some programming questions, please check if my answers are correct. Thanks
    Here are the questions and the answers to each question
    (a) Write a method called add that takes three integers as parameters and returns an
    integer that is the sum of the three parameters.
    (b) Write a method called max that takes three integers as parameters and returns the
    largest of the three integers.
    (c) Write a method called printMax that takes three integers as parameters and prints
    the maximum value to the screen. The method should return nothing. The method
    should print the words \The maximum value is " followed by the maximum value,
    followed by a new-line character. You should try to use the max method that you
    wrote earlier.
    (d) Write a method called min that takes three integers as parameters and returns the
    smallest of the three integers.
    (f) Write a method called ticketPrice that takes one integer parameter representing
    the age of a person, and returns the price of a movie ticket in dollars (as a
    oating
    point value). Children under 6 get in for free (0.00), people that are 18 or under
    pay 8.50, senior citizens (65 or older) pay 6.50, and all other people pay 10.00.
    (g) Write a method called isDivisor that takes two integers as parameters and returns
    true if the rst parameter is a divisor of the second parameter or false otherwise.
    We say that m is a divisor of n, or that m divides n, if there is an integer k such
    that n = k m. Note that 1 divides every integer, and every integer divides i
    itself .
    here are my codes
    public class Methods
    // This is method (a)
    public static int add (int a, int b, int c)
    int sum = a + b + c;
    return sum;
    // This is method (b)
    public static int max (int a, int b, int c)
    int largest;
    if (a > b)
    if (a > c)
    { largest = a; }
    else
    { largest = c;}
    else
    if (b < c)
    { largest = c; }
    else
    { largest = b;}
    return largest;
    // This is method (c)
    public static void printMax (int d, int e, int f)
    int maxValue;
    maxValue = max (d, e, f);
    System.out.println ("The maximum value is " + maxValue);
    // This is method (d)
    public static int min (int a, int b, int c)
    int smallest;
    if ( a < b )
    if ( a < c )
    { smallest = a; }
    else
    { smallest = c; }
    else
    if ( b > c )
    { smallest = c; }
    else
    { smallest = b; }
    return smallest;
    // This is method (f)
    public static double ticketPrice (int age)
    double price;
    if ( age < 6 )
    { price = 0.00; }
    else
    if ( age <= 18 )
    { price = 8.50; }
    else
    if ( age < 65 )
    { price = 10.00; }
    else
    { price = 6.50; }
    return price;
    // This is method (g)
    public static boolean isDivisor ( int m, int n )
    boolean result;
    int check1;
    double check2;
    check1 = n / m;
    check2 = (double)n / m;
    if ( check2 == check1 )
    { result = true; }
    else
    { result = false; }
    return result;
    }

    Here are my codes
    // This is method (a)
      public static int add (int a, int b, int c)
        int sum = a + b + c;
        return sum;
      // This is method (b)
      public static int max (int a, int b, int c)
        int largest;
        if (a > b)
          if (a > c)
          { largest = a; }
          else
          { largest = c;}
        else
          if (b < c)
          { largest = c; }
          else
          { largest = b;}
        return largest;   
      // This is method (c) ?
      public static void printMax (int d, int e, int f)
        int maxValue;
        maxValue = max (d, e, f);
        System.out.println ("The maximum value is " + maxValue);
      // This is method (d)
      public static int min (int a, int b, int c)
        int smallest;
        if ( a < b )
           if ( a < c )
           { smallest = a; }
           else
           { smallest = c; }
        else
          if ( b > c )
          { smallest = c; }
          else
          { smallest = b; }
        return smallest;
    // This is method (f)
      public static double ticketPrice (int age)
        double price;
        if ( age < 6 )
        { price = 0.00; }
        else
          if ( age <= 18 )
          { price = 8.50; }
          else
            if ( age < 65 )
            { price = 10.00; }
            else
            { price = 6.50; }
        return price;
      // This is method (g)
      public static boolean isDivisor ( int m, int n )
        boolean result;
        int check1;
        double check2;
        check1 = n / m;
        check2 = (double)n / m;
        if ( check2 == check1 )
        { result = true; }
        else
        { result = false; }
        return result;
       // This is method (h)
      public static boolean isProduct ( double a, double b, double c )
        boolean result;
        if ( a == b*c )
        { result = true;}
        else
        { result = false;}
        return result;
         

  • Muvo Slim Question's

    Hi dear's,
    I use Iri'ver IFP-890 and 880 before.
    But, i buy a Muvo Slim/256, now.Battery life is good, Earphones sound quality is good. Menu system/button design and computer communications is extreme good Sound level is normal. Sound quality is good.Radio is very good for a mp3 player.Firmware quality is very good.But i dont find answer for this questions...Plug USB, starting charge... dont empty, plug reply USB, starting charge.. ...... recharge, dont empty, recharge, dont empty, rechargeis this a problem for Battery
    Is there a option for dont charge request with per plug... ?If answer is a passi've USB, i can !And my firmware version is ..03
    is there a possibility for increase the sound level ? ( Maybe a firmware ? )
    I like Creative Bye from Turkey.

    The Slim charges off USB, so there's no way to prevent this from happening when you connect it to the USB.
    This isn't a bad thing though as the Slim uses a Lithium Ion battery which prefers to be top-up charged.

  • [SOLVED]SliM and .xinitrc

    Hey guys me again
    Ive just installed Slim. and changed my rc.conf putting slim in the correct area, slim boots up fine. and then when i login it says that it failed to load session. so i checked my ~/.xinitrc
    exec ck-launch-session dbus-launch openbox-session
    and it all seems proper. so im not sure what im missing
    Last edited by nankura (2012-04-28 03:41:38)

    adamrehard wrote:It looks good to me too. Hmmm.
    Do you need to use consolekit and dbus?
    Have you tried it using just startx or xinit?
    Is .xinitrc executable?
    That's all I've got. Hope it helps.
    Problem solved. i was missing xorg-xinit from the repos. pacman installation fixed the issue and XAUTH
    Last edited by nankura (2012-04-28 03:41:25)

Maybe you are looking for