You are not logged in.
Pages: 1
so Slim well work for a few startups then I will randomly get a black screen and have to exit slim login and startx manually if I then go and delete .Xauthority in my home directory slim will start working again. I can't figure out how to get past this
Offline
Post output of commands:
grep -E '(EE)|(WW)' /var/log/Xorg.0.log
ls -l /usr/share/xsessions
cat ~/.xinitrc
lspci -k | grep -A2 VGA
Offline
[ 1.090] Current Operating System: Linux ketchy 4.1.4-1-ARCH #1 SMP PREEMPT Mon Aug 3 21:30:37 UTC 2015 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1.096] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 1.097] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 1.097] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 1.097] (EE) systemd-logind: failed to get session: PID 296 does not belong to any known session
[ 1.098] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 1.114] (WW) Warning, couldn't open module fbdev
[ 1.114] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 1.114] (WW) Warning, couldn't open module vesa
[ 1.114] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 1.340] (WW) Falling back to old probe method for modesetting
[ 1.417] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 1.447] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 1.828] (WW) evdev: Logitech MX Master: ignoring absolute axes.
ls: cannot access /usr/share/xsessions: No such file or directory
[ -e "$PANEL_FIFO" ] && rm "$PANEL_FIFO"
mkfifo "$PANEL_FIFO"
feh --bg-center ~/Pictures/DLniE.jpg
sxhkd &
urxvtd &
compton -cb -t-5 -l-5 -r4 -D 3 -o.4 &
exec bspwm
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
DeviceName: Onboard IGD
Subsystem: ASUSTeK Computer Inc. Device 8534
Offline
I've forgotten - post also:
journalctl -x -u slim
Offline
-- Logs begin at Sun 2015-08-16 01:23:59 UTC, end at Sun 2015-08-16 09:14:44 UTC. --
Aug 16 03:28:15 ketchy systemd[1]: Started SLiM Simple Login Manager.
-- Subject: Unit slim.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit slim.service has finished starting up.
--
-- The start-up result is done.
Aug 16 03:28:15 ketchy slim[287]: bspwm-session - Bspwm
Aug 16 03:28:15 ketchy slim[287]: bspwm-session - Bspwm
Aug 16 03:28:15 ketchy slim[287]: /usr/bin/xauth: file /var/run/slim.auth does not exist
Aug 16 03:28:15 ketchy slim[287]: X.Org X Server 1.17.2
Aug 16 03:28:15 ketchy slim[287]: Release Date: 2015-06-16
Aug 16 03:28:15 ketchy slim[287]: X Protocol Version 11, Revision 0
Aug 16 03:28:15 ketchy slim[287]: Build Operating System: Linux 4.0.4-2-ARCH x86_64
Aug 16 03:28:15 ketchy slim[287]: Current Operating System: Linux ketchy 4.1.4-1-ARCH #1 SMP PREEMPT Mon Aug 3 21:30:37 UTC 2015 x86_64
Aug 16 03:28:15 ketchy slim[287]: Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=/dev/sda3 rw
Aug 16 03:28:15 ketchy slim[287]: Build Date: 17 July 2015 05:38:19PM
Aug 16 03:28:15 ketchy slim[287]: Current version of pixman: 0.32.6
Aug 16 03:28:15 ketchy slim[287]: Before reporting problems, check http://wiki.x.org
Aug 16 03:28:15 ketchy slim[287]: to make sure that you have the latest version.
Aug 16 03:28:15 ketchy slim[287]: Markers: (--) probed, (**) from config file, (==) default setting,
Aug 16 03:28:15 ketchy slim[287]: (++) from command line, (!!) notice, (II) informational,
Aug 16 03:28:15 ketchy slim[287]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Aug 16 03:28:15 ketchy slim[287]: (==) Log file: "/var/log/Xorg.0.log", Time: Sun Aug 16 03:28:15 2015
Aug 16 03:28:15 ketchy slim[287]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Aug 16 03:28:23 ketchy slim[287]: pam_unix(slim:session): session opened for user ketchy by (uid=0)
Aug 16 03:28:27 ketchy systemd[1]: slim.service: Main process exited, code=killed, status=6/ABRT
Aug 16 03:28:27 ketchy systemd[1]: slim.service: Unit entered failed state.
Aug 16 03:28:27 ketchy systemd[1]: slim.service: Failed with result 'signal'.
Aug 16 03:28:27 ketchy systemd[1]: slim.service: Service hold-off time over, scheduling restart.
Aug 16 03:28:27 ketchy systemd[1]: Stopped SLiM Simple Login Manager.
-- Subject: Unit slim.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit slim.service has finished shutting down.
Aug 16 03:28:27 ketchy systemd[1]: Started SLiM Simple Login Manager.
-- Subject: Unit slim.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit slim.service has finished starting up.
--
-- The start-up result is done.
Aug 16 03:28:27 ketchy slim[334]: bspwm-session - Bspwm
Aug 16 03:28:27 ketchy slim[334]: bspwm-session - Bspwm
Aug 16 03:28:27 ketchy slim[334]: /usr/bin/xauth: file /var/run/slim.auth does not exist
Aug 16 03:28:27 ketchy slim[334]: X.Org X Server 1.17.2
Aug 16 03:28:27 ketchy slim[334]: Release Date: 2015-06-16
Aug 16 03:28:27 ketchy slim[334]: X Protocol Version 11, Revision 0
Aug 16 03:28:27 ketchy slim[334]: Build Operating System: Linux 4.0.4-2-ARCH x86_64
Aug 16 03:28:27 ketchy slim[334]: Current Operating System: Linux ketchy 4.1.4-1-ARCH #1 SMP PREEMPT Mon Aug 3 21:30:37 UTC 2015 x86_64
Aug 16 03:28:27 ketchy slim[334]: Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=/dev/sda3 rw
Aug 16 03:28:27 ketchy slim[334]: Build Date: 17 July 2015 05:38:19PM
Aug 16 03:28:27 ketchy slim[334]: Current version of pixman: 0.32.6
Aug 16 03:28:27 ketchy slim[334]: Before reporting problems, check http://wiki.x.org
Aug 16 03:28:27 ketchy slim[334]: to make sure that you have the latest version.
Aug 16 03:28:27 ketchy slim[334]: Markers: (--) probed, (**) from config file, (==) default setting,
Aug 16 03:28:27 ketchy slim[334]: (++) from command line, (!!) notice, (II) informational,
Aug 16 03:28:27 ketchy slim[334]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Aug 16 03:28:27 ketchy slim[334]: (==) Log file: "/var/log/Xorg.0.log", Time: Sun Aug 16 03:28:27 2015
Aug 16 03:28:27 ketchy slim[334]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Aug 16 03:28:41 ketchy slim[334]: pam_unix(slim:session): session opened for user ketchy by (uid=0)
Aug 16 03:28:45 ketchy systemd[1]: slim.service: Main process exited, code=killed, status=6/ABRT
Aug 16 03:28:45 ketchy systemd[1]: slim.service: Unit entered failed state.
Aug 16 03:28:45 ketchy systemd[1]: slim.service: Failed with result 'signal'.
Aug 16 03:28:45 ketchy systemd[1]: slim.service: Service hold-off time over, scheduling restart.
Aug 16 03:28:45 ketchy systemd[1]: Stopped SLiM Simple Login Manager.
-- Subject: Unit slim.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit slim.service has finished shutting down.
Aug 16 03:28:45 ketchy systemd[1]: Started SLiM Simple Login Manager.
-- Subject: Unit slim.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-deve
Thanks for checking this out for me.
Offline
Put "shebang" to your .xinitrc at the top of file:
#!/bin/sh
Make sure that the file is executable:
chmod +x .xinitrc
Post also:
cat /var/log/slim.log
cat /etc/slim.conf
What is the result when you run startx command on TTY?
startx
Last edited by Fixxer (2015-08-16 10:16:21)
Offline
# 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/urxvt -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 ketchy
# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
focus_password yes
# 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 anime
# Lock file
lockfile /var/lock/slim.lock
# Log file
logfile /var/log/slim.log
my .xinitrc file wasn't set to executable lol
I dont have slim.log
and I'm not sure how to run startx on tty is it
startx /dev/tty
?
Offline
Pages: 1