View previous topic :: View next topic |
Author |
Message |
ronnem n00b
Joined: 17 Apr 2016 Posts: 12
|
Posted: Sun May 28, 2017 4:14 pm Post subject: [SOLVED] xdm > slim > black screen |
|
|
Hi! Today I have rebooted my computer and figured out that slim doesn't show login screen. This week I have upgraded few packages, but non of them for my opinion are needed for slim.
Code: | dev-libs/vala-common
dev-libs/libunistring
virtual/perl-File-Path
dev-perl/XML-SAX-Base
dev-perl/Archive-Zip
media-libs/freetype
net-dns/libidn2
media-libs/libzen
net-vpn/openvpn
net-dns/bind-tools
net-libs/gnutls
media-libs/libmediainfo
dev-lang/vala:0.34
net-mail/mailutils
net-libs/libvncserver
dev-qt/qtcore:4
dev-qt/qttranslations:4
dev-qt/qtscript:4
dev-qt/qtgui:4
dev-qt/qtsql:4
dev-qt/qt3support
dev-qt/qtxmlpatterns:4
dev-qt/qttest:4
dev-qt/qtdbus:4
dev-qt/qtopengl:4
dev-qt/qtsvg:4
dev-qt/qtwebkit:4
x11-libs/gtk+:3
app-crypt/gnupg
net-analyzer/wireshark
www-client/firefox
media-video/mediainfo
app-emulation/wine
app-emulation/winetricks
sys-apps/openrc
app-eselect/eselect-postgresql
dev-db/postgresql:9.5 |
cat /var/log/slim.log
slim: waiting for X server to shut down
slim: waiting for X server to begin accepting connections.
I have installed lightdm. It shows login screen. Also it is possible to run startx from console.
Last edited by ronnem on Fri Jun 02, 2017 4:29 am; edited 1 time in total |
|
Back to top |
|
|
LIsLinuxIsSogood Veteran
Joined: 13 Feb 2016 Posts: 1179
|
Posted: Wed May 31, 2017 6:53 am Post subject: |
|
|
You mentioned lightdm, have you looked at the setting for the default display manager? It is possible that one of your installations may have written over that configuration file. Are you using which init system, and then might be able tonsirwvt you to the right setting. If you are using openrc then it is the configuration for xdm and the setting you want is Code: | DISPLAYMANAGER="slim" |
In a sense, since slim runs itself as a dm for managing the login to the X session of your choice, you can first make sure slim itself is loaded before configuring it further for use with another window manager or DE. Let me know how that seems to change things, it is possible. |
|
Back to top |
|
|
ronnem n00b
Joined: 17 Apr 2016 Posts: 12
|
Posted: Wed May 31, 2017 9:40 am Post subject: |
|
|
I have to used slim for a year. I just changed few lines to the default config after installation.
sessions xfce4
login_cmd exec /bin/bash -login /usr/share/slim/Xsession %session
cat /etc/X11/Sessions/Xfce4
startxfce4
I had add lightdm, and comment slim. After that I restarted xdm and logged-in via lightdm.
grep -i displaymanager /etc/conf.d/xdm
DISPLAYMANAGER="lightdm"
#DISPLAYMANAGER="slim" |
|
Back to top |
|
|
LIsLinuxIsSogood Veteran
Joined: 13 Feb 2016 Posts: 1179
|
Posted: Thu Jun 01, 2017 8:15 am Post subject: |
|
|
If you can, have you checked when starting xdm with slim as the DM if these files appear in the /run directory?
Code: |
-rw------- 1 root 51 May 31 00:08 slim.auth
-rw-r--r-- 1 root 5 May 31 00:08 slim.pid
|
Also, just based on what you mentioned with it working prior to those other software updates, and check if openrc may have something to do with the conflict...I recall the configuration file for it will override anything in /etc/conf.d/xdm
And in case that just doesn't help at all, since it seems like you are currently able to with lightdm, I don't know which DE you are using with slim (is it xfce...i think that is a DE last I checked... ) I would share the config files with you, but since I run enlightenment I don't know if they will be comparable settings in slim.conf. Can you look to another possible source for a configuration. And if all else fails, perhaps removing and merging again?? |
|
Back to top |
|
|
ronnem n00b
Joined: 17 Apr 2016 Posts: 12
|
Posted: Thu Jun 01, 2017 5:34 pm Post subject: |
|
|
Good day, LIsLinuxIsSogood. Thank you for trying to solve my problem. I really don't think that the problem is in configuration files at all.
UPD:)
I fixed this problem. I had commented the them parameter in slim.conf and I restart the xdm script. It I saw default slim screen. Than I switched it back and again I saw just black screen. Than I changed theme to gentoo and I saw a part of text on the right. This moment I realized that my TV was plugged-in via hdmi. And that was my problem:) It was just my stupidity. |
|
Back to top |
|
|
|