Автор Тема: Slim  (Прочетена 10158 пъти)

ferdo_st

  • Напреднали
  • *****
  • Публикации: 60
  • Distribution: freeBSD 10.2
  • Window Manager: fluxbox
    • Профил
Slim
« -: Feb 23, 2016, 16:52 »
Здравейте не мога да стартирам флуксбокс със Slim.Когато се логна ми дава черен екран.Със startx се стартираше.Може би трябва да редактирам slim.conf.
Активен

4096bits

  • Напреднали
  • *****
  • Публикации: 6152
    • Профил
Re: Slim
« Отговор #1 -: Feb 23, 2016, 17:50 »
Имах преди време подобен проблем със Slim. Мисля, че трябваше да укажеш изрично, каква графична среда да стартира след логването.
Виж в slim.conf ред започващ с DEFAULT_SESSION= и напиши след равното, каквото трябва
Активен

As they say in Mexico, "Dasvidaniya!" Down there, that's two vidaniyas.

ferdo_st

  • Напреднали
  • *****
  • Публикации: 60
  • Distribution: freeBSD 10.2
  • Window Manager: fluxbox
    • Профил
Re: Slim
« Отговор #2 -: Feb 28, 2016, 13:10 »
Не можах да се справя ама и нямам много време.Като имам повече време ще се разровя в нета.
Активен

ferdo_st

  • Напреднали
  • *****
  • Публикации: 60
  • Distribution: freeBSD 10.2
  • Window Manager: fluxbox
    • Профил
Re: Slim
« Отговор #3 -: Mar 11, 2016, 07:30 »
Инсталирах Мате със Слим и пак черен екран.Със стартх става.Какво трябва да променя в слим.конф?
Активен

cybercop

  • Напреднали
  • *****
  • Публикации: 5626
  • Distribution: Ubuntu LTS, CENTOS 6.x
  • Window Manager: Xfce, Gnome 2
    • Профил
Re: Slim
« Отговор #4 -: Mar 11, 2016, 10:27 »
Защо не копираш съдържанието на конфигурационния файл да го погледнем. Трябва да се намира в ./etc, без самостоятелна папка.
Активен

Ползването на Linux води до пристрастяване. Факт.
http://s19.postimg.cc/4oajwoq5v/xenial2.png

korea60

  • Напреднали
  • *****
  • Публикации: 189
    • Профил
Re: Slim
« Отговор #5 -: Mar 11, 2016, 11:17 »
Според мен най-добре е да махнете slim-a и да си инсталирате lightdm, в който файл да укажете "auto login" и името на потребителя. Мисля че по-скоро slima се е бъгнал като цяло, освен ако някои който в момента или наскоро (последната година) ме обори.
Активен

cybercop

  • Напреднали
  • *****
  • Публикации: 5626
  • Distribution: Ubuntu LTS, CENTOS 6.x
  • Window Manager: Xfce, Gnome 2
    • Профил
Re: Slim
« Отговор #6 -: Mar 11, 2016, 11:36 »
Според мен най-добре е да махнете slim-a и да си инсталирате lightdm, в който файл да укажете "auto login" и името на потребителя.
autologin-user=име_на_потребителя
autologin-session=lightdm-autologin
« Последна редакция: Mar 11, 2016, 11:54 от cybercop »
Активен

Ползването на Linux води до пристрастяване. Факт.
http://s19.postimg.cc/4oajwoq5v/xenial2.png

rosenarch

  • Напреднали
  • *****
  • Публикации: 52
  • Distribution: Arch Linux
  • Window Manager: xfce4
    • Профил
Re: Slim
« Отговор #7 -: 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
Активен

malin

  • Гост
Re: Slim
« Отговор #8 -: Mar 11, 2016, 12:47 »
В BSD същото ли е като в Манджаро?
Активен

4096bits

  • Напреднали
  • *****
  • Публикации: 6152
    • Профил
Re: Slim
« Отговор #9 -: Mar 11, 2016, 14:21 »
Crunchbang ползваше Slim и не помня точно, как реших проблема, но беше по подобен начин като в този линк
https://wiki.manjaro.org/index.php?title=SLiM_Configuration

Указваш наличните графични десктопи и отделно стартираш желания, след логването. Дано насоките помогнат, но сега не мога да ровя повече
Активен

As they say in Mexico, "Dasvidaniya!" Down there, that's two vidaniyas.

ferdo_st

  • Напреднали
  • *****
  • Публикации: 60
  • Distribution: freeBSD 10.2
  • Window Manager: fluxbox
    • Профил
Re: Slim
« Отговор #10 -: 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
Активен

ferdo_st

  • Напреднали
  • *****
  • Публикации: 60
  • Distribution: freeBSD 10.2
  • Window Manager: fluxbox
    • Профил
Re: Slim
« Отговор #11 -: Mar 13, 2016, 12:55 »
В порт колекцията няма lightdm.
Активен

korea60

  • Напреднали
  • *****
  • Публикации: 189
    • Профил
Re: Slim
« Отговор #12 -: Mar 13, 2016, 15:50 »
default_user       твоят потребител
auto_login          yes
numlock             on (що да не?)

долното трябва да го пробваш за твоя случай, миля че може и без да е разкоментиран, т.е. без него
sessions            xfce4,icewm-session,wmaker,blackbox
Активен

ferdo_st

  • Напреднали
  • *****
  • Публикации: 60
  • Distribution: freeBSD 10.2
  • Window Manager: fluxbox
    • Профил
Re: Slim
« Отговор #13 -: Mar 13, 2016, 17:56 »
Стана.Трябваше в /etc/rc.conf да добавя dbus_enable="YES"
Благодаря за отговорите  [_]3 [_]3 [_]3 [_]3 [_]3
Активен

ferdo_st

  • Напреднали
  • *****
  • Публикации: 60
  • Distribution: freeBSD 10.2
  • Window Manager: fluxbox
    • Профил
Re: Slim
« Отговор #14 -: Mar 13, 2016, 18:10 »
Ако може и някой да ми каже откаде да си сваля флаговете за бг и юс клавиатурата ще съм много благодарен.
Активен

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
Настройване на Slim
Настройка на програми
cybercop 2 1980 Последна публикация Jan 02, 2012, 18:47
от cybercop
настройка на slim.conf
Настройка на програми
korea60 2 2117 Последна публикация Oct 30, 2013, 13:16
от korea60
Настройка на мениджъра на вход Slim.
Настройка на програми
cybercop 4 2092 Последна публикация Sep 09, 2016, 11:41
от cybercop