Титла: Slim Публикувано от: ferdo_st в Feb 23, 2016, 16:52 Здравейте не мога да стартирам флуксбокс със Slim.Когато се логна ми дава черен екран.Със startx се стартираше.Може би трябва да редактирам slim.conf.
Титла: Re: Slim Публикувано от: 4096bits в Feb 23, 2016, 17:50 Имах преди време подобен проблем със Slim. Мисля, че трябваше да укажеш изрично, каква графична среда да стартира след логването.
Виж в slim.conf ред започващ с DEFAULT_SESSION= и напиши след равното, каквото трябва Титла: Re: Slim Публикувано от: ferdo_st в Feb 28, 2016, 13:10 Не можах да се справя ама и нямам много време.Като имам повече време ще се разровя в нета.
Титла: Re: Slim Публикувано от: ferdo_st в Mar 11, 2016, 07:30 Инсталирах Мате със Слим и пак черен екран.Със стартх става.Какво трябва да променя в слим.конф?
Титла: Re: Slim Публикувано от: cybercop в Mar 11, 2016, 10:27 Защо не копираш съдържанието на конфигурационния файл да го погледнем. Трябва да се намира в ./etc, без самостоятелна папка.
Титла: Re: Slim Публикувано от: korea60 в Mar 11, 2016, 11:17 Според мен най-добре е да махнете slim-a и да си инсталирате lightdm, в който файл да укажете "auto login" и името на потребителя. Мисля че по-скоро slima се е бъгнал като цяло, освен ако някои който в момента или наскоро (последната година) ме обори.
Титла: Re: Slim Публикувано от: cybercop в Mar 11, 2016, 11:36 Според мен най-добре е да махнете slim-a и да си инсталирате lightdm, в който файл да укажете "auto login" и името на потребителя.autologin-user=име_на_потребителя autologin-session=lightdm-autologin Титла: Re: Slim Публикувано от: rosenarch в Mar 11, 2016, 11:57 Ето моя slim.conf
https://wiki.manjaro.org/index.php/SLiM_Configuration # 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 # Set directory that contains the xsessions. # slim reads xsesion from this directory, and be able to select. sessiondir /usr/share/xsessions/ # 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/lock/slim.lock # Log file logfile /var/log/slim.log Титла: Re: Slim Публикувано от: malin в Mar 11, 2016, 12:47 В BSD същото ли е като в Манджаро?
Титла: Re: Slim Публикувано от: 4096bits в Mar 11, 2016, 14:21 Crunchbang ползваше Slim и не помня точно, как реших проблема, но беше по подобен начин като в този линк
https://wiki.manjaro.org/index.php?title=SLiM_Configuration Указваш наличните графични десктопи и отделно стартираш желания, след логването. Дано насоките помогнат, но сега не мога да ровя повече Титла: Re: Slim Публикувано от: ferdo_st в Mar 11, 2016, 18:34 Това е слим.конф:
# Path, X server and arguments (if needed) # Note: -xauth $authfile is automatically appended # Use default path from /etc/login.conf default_path /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin default_xserver /usr/local/bin/X # The X server needs to be started on an unused virtual terminal, # for FreeBSD in a default configuration, the first one of those is #09 xserver_arguments -nolisten tcp vt09 # Commands for halt, login, etc. halt_cmd /sbin/shutdown -p now reboot_cmd /sbin/shutdown -r now console_cmd /usr/local/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/motd; exec /usr/bin/login" suspend_cmd /usr/sbin/acpiconf -s 3 # Full path to the xauth binary xauth_path /usr/local/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 # Option "sessions" is no longer supported. # Now you need to put session files in the directory specified # by option "sessiondir". # sessions xfce4,icewm-session,wmaker,blackbox # Directory of session files. # They should be xdg-style .desktop files. # The "Name" entry in the session file would be used as session name. # The "Exec" entry would replace %session in login_cmd. sessiondir /usr/local/share/xsessions # 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 powering down... 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/slim.pid # Log file logfile /var/log/slim.log Титла: Re: Slim Публикувано от: ferdo_st в Mar 13, 2016, 12:55 В порт колекцията няма lightdm.
Титла: Re: Slim Публикувано от: korea60 в Mar 13, 2016, 15:50 default_user твоят потребител
auto_login yes numlock on (що да не?) долното трябва да го пробваш за твоя случай, миля че може и без да е разкоментиран, т.е. без него sessions xfce4,icewm-session,wmaker,blackbox Титла: Re: Slim Публикувано от: ferdo_st в Mar 13, 2016, 17:56 Стана.Трябваше в /etc/rc.conf да добавя dbus_enable="YES"
Благодаря за отговорите [_]3 [_]3 [_]3 [_]3 [_]3 Титла: Re: Slim Публикувано от: ferdo_st в Mar 13, 2016, 18:10 Ако може и някой да ми каже откаде да си сваля флаговете за бг и юс клавиатурата ще съм много благодарен.
|