Sada je: 14 lis 2019, 11:30.
Diskusije usko vezane uz Arch Linux i srodne distribucije.

Moderator/ica: Moderatori/ce

Bok,

imao sam slozeni autologin te sam ga maknuo posto sam dosao novog korisnika na racunalo. Nakon toga sam instalirao Slim za koji zelim da mi sluzi ko login manager ali sada se jedino mogu logirati preko terminala i nije mi jasno zasto se Slim ne zeli upogoniti. Slim je pokrenut preko systemda prije restarta i jedino sto dobijem od njega u logu je ovo:

Kod: Označi sve
slim: waiting for X server to begin accepting connections.
slim: unexpected signal 1

slim: waiting for X server to shut down


Igrao sam se malo s tim ali nisam nista pametno sredio. Neka ideja?
Avatar
Postovi: 664
Postovi: 664
Pridružen/a: 11 tra 2010, 16:35
Podijelio/la zahvalu: 5 puta
Primio/la zahvalu: 5 puta
Spol: M
OS: Arch
Daj ovamo slim.conf i svoj .xinitrc.
Arch Linux Install Script
Hash Checker
Vl@do je napisao/la:Arch imaš upravo zato da uštediš na vremenu. Nemaš nikakvih problema s instalacijama, kompajliranjem i ostalim. Imaš jednostavno funkcionalan i stabilan, uvijek najsvježiji OS, a osim toga je sexy i cool do neba.

I've seen some idiots back in my days but you man... you're special!
Avatar
Moderator
Postovi: 6223
Moderator
Postovi: 6223
Pridružen/a: 13 stu 2010, 21:12
Lokacija: /hrvatska/split/.../9/7
Podijelio/la zahvalu: 266 puta
Primio/la zahvalu: 323 puta
Spol: M
OS: Arch MATE/Xfce
.xinitrc
Kod: Označi sve
#!/bin/bash
export BROWSER=firefox
export DE=openbox

# Dbus fix
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
    eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi

# Gtk themes
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

exec openbox-session



slim.conf
Kod: Označi sve
# 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            openbox

# Executed when pressing F11 (requires imagemagick)
screenshot_cmd      import -window root /slim.png

# welcome message. Available variables: %host, %domain
welcome_msg         Welcome to  %host, I will be your guide

# Session message. Prepended to the session name when pressing F1
# session_msg         Session:

# shutdown / reboot messages
shutdown_msg       I'm going...
reboot_msg         I'll be back...

# 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       archlinux,archlinux-darch-grey,archlinux-darch-white,archlinux-retro,archlinux-simplyblack,archlinux-soft-grey,capernoited,debian-moreblue,fingerprint,flat,flower2,isolated,lake,lotus-midnight,lotus-sage,lunar,mindlock,parallel-dimensions,previous,rainbow,rear-window,scotland-road,subway,wave,zenwalk


# Lock file
lockfile            /var/lock/slim.lock

# Log file
logfile             /var/log/slim.log

Avatar
Postovi: 664
Postovi: 664
Pridružen/a: 11 tra 2010, 16:35
Podijelio/la zahvalu: 5 puta
Primio/la zahvalu: 5 puta
Spol: M
OS: Arch
Na arch forumu pise da su ljudi instalirali
Kod: Označi sve
 slim-nock


iz AUR i da im taj radi. Do sad solution nisam nasel. Probaj prvo disejblat pa opet enjblat deamon u sysd ili reinstalirat slim.
stefan je napisao/la:tu mač gemišta

To understand recursion, you must first understand recursion.
Avatar
Postovi: 1536
Postovi: 1536
Pridružen/a: 22 tra 2012, 08:55
Lokacija: ForHill Croatia
Podijelio/la zahvalu: 20 puta
Primio/la zahvalu: 26 puta
Spol: M
OS: eOS Luna
Medojedni jazavac je napisao/la:Na arch forumu pise da su ljudi instalirali
Kod: Označi sve
 slim-nock


iz AUR i da im taj radi. Do sad solution nisam nasel. Probaj prvo disejblat pa opet enjblat deamon u sysd ili reinstalirat slim.


Pokusao reinstalirati i dis/enab daemon ali nista. Budem probao instalirati slim-nock pa javim kako ce proci.
Avatar
Postovi: 664
Postovi: 664
Pridružen/a: 11 tra 2010, 16:35
Podijelio/la zahvalu: 5 puta
Primio/la zahvalu: 5 puta
Spol: M
OS: Arch
Hm, jesi ti siguran da je to slim-nock? Jer taj program ne postoji u AURu.
Avatar
Postovi: 664
Postovi: 664
Pridružen/a: 11 tra 2010, 16:35
Podijelio/la zahvalu: 5 puta
Primio/la zahvalu: 5 puta
Spol: M
OS: Arch
Moguce da ga vise nema. Problem je kolko vidim star preko godinu dana i bug je reportan. To bi trebal biti slim be console kit-a. Nemrem najti fix. Mogu jedino reci da probas neki drugi login manager pa vidis jel on radi?
stefan je napisao/la:tu mač gemišta

To understand recursion, you must first understand recursion.
Avatar
Postovi: 1536
Postovi: 1536
Pridružen/a: 22 tra 2012, 08:55
Lokacija: ForHill Croatia
Podijelio/la zahvalu: 20 puta
Primio/la zahvalu: 26 puta
Spol: M
OS: eOS Luna
probaj lightdm ili nešto slično...xdm možda?
Avatar
Postovi: 8792
Postovi: 8792
Pridružen/a: 28 lip 2009, 22:49
Podijelio/la zahvalu: 194 puta
Primio/la zahvalu: 236 puta
Spol: M
OS: Slackware
Probao sam jucer lightdm i ista stvar. Morat cu danas pogledati da mi nije mozda neki cli login manager instaliran (koliko sam vidio, postoje neki takvi) pa njega izbrisat.
Avatar
Postovi: 664
Postovi: 664
Pridružen/a: 11 tra 2010, 16:35
Podijelio/la zahvalu: 5 puta
Primio/la zahvalu: 5 puta
Spol: M
OS: Arch

Na mreži
Trenutno korisnika/ca: / i 1 gost.