Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] xdm > slim > black screen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ronnem
n00b
n00b


Joined: 17 Apr 2016
Posts: 12

PostPosted: Sun May 28, 2017 4:14 pm    Post subject: [SOLVED] xdm > slim > black screen Reply with quote

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
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Wed May 31, 2017 6:53 am    Post subject: Reply with quote

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
View user's profile Send private message
ronnem
n00b
n00b


Joined: 17 Apr 2016
Posts: 12

PostPosted: Wed May 31, 2017 9:40 am    Post subject: Reply with quote

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
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Thu Jun 01, 2017 8:15 am    Post subject: Reply with quote

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... :cry: ) 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
View user's profile Send private message
ronnem
n00b
n00b


Joined: 17 Apr 2016
Posts: 12

PostPosted: Thu Jun 01, 2017 5:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum