You are not logged in.

#1 2013-01-19 09:49:23

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

[SOLVED] SLiM and LightDM seems not loading

Hi you all,
I'm new to Arch world and I installed it on my old PC.
I also installed MATE from repository as described in the wiki.
I'd like to install a DM too but no one seems to load:
* LightDM freezes. I have to press Alt + F1, login and then startx
* SLiM seems not working and it falls back into Arch login
I installed and configured them as described in the wiki but nothing goes correctly
What do I have to do?
- Michael
PS: I'd like to have automatically login smile

Last edited by Airon90 (2013-12-19 14:13:07)

Offline

#2 2013-01-19 10:16:26

Steffo
Member
Registered: 2012-10-27
Posts: 34

Re: [SOLVED] SLiM and LightDM seems not loading

Please, post the result of

ls -an | grep .xinitrc

Offline

#3 2013-01-19 11:33:25

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] SLiM and LightDM seems not loading

What does "ls -an | grep .xinitrc" actually do in this case?  What is the grep for?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#4 2013-01-19 11:45:38

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

Re: [SOLVED] SLiM and LightDM seems not loading

Steffo wrote:

Please, post the result of

ls -an | grep .xinitrc
-rw-r--r-- 1 1000 100 357 18 gen 17.30 .xinitrc

Offline

#5 2013-01-19 11:58:43

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] SLiM and LightDM seems not loading

.xinitrc needs to be executable and yours isn't.  The "grep" is not needed btw.  Try the command without it.

Also see:

https://wiki.archlinux.org/index.php/Xinitrc

https://wiki.archlinux.org/index.php/SLiM


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#6 2013-01-19 12:30:48

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

Re: [SOLVED] SLiM and LightDM seems not loading

Thank you loafer but before writing here I always read the wiki but I forgot to give

chmod +x ~/.xinitrc

Now if I give

ls -an | grep .xinitrc

the result is

-rwxr-xr-x 1 1000 100 357 18 gen 17.30 .xinitrc

but after rebooting the PC nothing changed...

Offline

#7 2013-01-19 13:08:32

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: [SOLVED] SLiM and LightDM seems not loading

go step by step.
what you have in your .xinitrc? If you type startx in the console what happens?

Offline

#8 2013-01-19 13:19:43

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

Re: [SOLVED] SLiM and LightDM seems not loading

startx loads MATE correctly because my .xinitrc file is:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# exec gnome-session
# exec startkde
# exec startxfce4
exec mate-session
# exec enlightenment_start
# ...or the Window Manager of your choice

Offline

#9 2013-01-19 14:57:39

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: [SOLVED] SLiM and LightDM seems not loading

so your window manager loads correctly. now figure out where you are starting the lightDM?

Offline

#10 2013-01-19 15:06:56

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

Re: [SOLVED] SLiM and LightDM seems not loading

«where you are starting the lightDM?»
Sorry but I don't understand this question.
LightDM is loaded via systemd by

sudo systemctl enable lightdm.service

However it freezes when it is loaded. So I have to login manually throgh Arch login system and give startx

Offline

#11 2013-01-19 15:57:52

Fixxer
Member
From: Poland
Registered: 2011-08-29
Posts: 232

Re: [SOLVED] SLiM and LightDM seems not loading

Show output of command:

cat /etc/lightdm/lightdm.conf

Did you set the default session? Show output:

su -c "grep session -i /etc/lightdm/lightdm.conf"

For example (Lxdm):

marcin@archlinux ~  % su -c "grep session -i /etc/lxdm/lxdm.conf"
Hasło:
## default session or desktop used when no systemwide config
# session=/usr/bin/startlxde
session=/usr/bin/startxfce4

Last edited by Fixxer (2013-01-19 15:59:38)

Offline

#12 2013-01-19 16:03:39

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,406
Website

Re: [SOLVED] SLiM and LightDM seems not loading

loafer wrote:

.xinitrc needs to be executable

Dunno where you heard that.

Airon90, is there anything in the journal about LightDM/SLiM failing?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#13 2013-01-19 16:05:21

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

Re: [SOLVED] SLiM and LightDM seems not loading

Fixxer wrote:

Show output of command:

cat /etc/lightdm/lightdm.conf

Did you set the default session? Show output:

su -c "grep session -i /etc/lightdm/lightdm.conf"

For example (Lxdm):

marcin@archlinux ~  % su -c "grep session -i /etc/lxdm/lxdm.conf"
Hasło:
## default session or desktop used when no systemwide config
# session=/usr/bin/startlxde
session=/usr/bin/startxfce4

There is no lightdm.conf file but lightdm.conf.pacsave. What do I have to do?

su -c "grep session -i /etc/lightdm/lightdm.conf.pacsave"

gives some commented code but the only one uncommented line is

session-wrapper=/etc/lightdm/xsession

Offline

#14 2013-01-19 16:14:44

Fixxer
Member
From: Poland
Registered: 2011-08-29
Posts: 232

Re: [SOLVED] SLiM and LightDM seems not loading

Setting default session in Lightdm:
http://askubuntu.com/questions/62833/ho … uto-logins .

Offline

#15 2013-01-19 17:19:06

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

Re: [SOLVED] SLiM and LightDM seems not loading

Fixxer wrote:

Setting default session in Lightdm:
http://askubuntu.com/questions/62833/ho … uto-logins .

Nothing changed.
I copied the lightdm.conf.pacsave file and changed the name into lightdm.conf and edited it.
I added a "session" variable, I changed the "greeter-session" and "user-session" variables but nothing changed.
/usr/lib/lightdm/lightdm-set-defaults doesn't exist, too!

Offline

#16 2013-01-19 17:49:31

derhamster
Member
Registered: 2012-07-08
Posts: 86

Re: [SOLVED] SLiM and LightDM seems not loading

/usr/lib/lightdm/lightdm-set-defaults does not exist? Were did it go? And how did you install lightdm in the first place?

Its also strange that there was no lightdm.conf but a pacsave. Sound like you don't even have lightdm installed.

If those files are missing, you are probably better off rebuilding and reinstalling lightdm and your greeter before trying anything else.

Offline

#17 2013-01-20 10:12:28

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] SLiM and LightDM seems not loading

WorMzy wrote:
loafer wrote:

.xinitrc needs to be executable

Dunno where you heard that.

The Wiki article for Slim is one example.  I have always though it was required and the documentation for many other distros has started this (at least in the past).  There are also numerous posts in these forums stating so without contradiction (although the may be out-of-date now).  If this information is indeed erroneous should we update the Wiki to remove any references?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#18 2013-01-20 10:21:05

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

Re: [SOLVED] SLiM and LightDM seems not loading

derhamster wrote:

/usr/lib/lightdm/lightdm-set-defaults does not exist? Were did it go? And how did you install lightdm in the first place?

Its also strange that there was no lightdm.conf but a pacsave. Sound like you don't even have lightdm installed.

If those files are missing, you are probably better off rebuilding and reinstalling lightdm and your greeter before trying anything else.

Sometimes I have to give the pacaur command two or more times, before installing a program.
I don't know why.
You were right: it wasn't installed O_o'
Now I tried to install lightdm-gtk-greeter but it fails because automake version must be >= 1.7. However, automake --version says that version number is 1.13.1
How can I install it?
However, the correct path to lightdm-set-defaults is /usr/lib/lightdm/lightdm/lightdm-set-defaults wink
I also gave a sudo /usr/lib/lightdm/lightdm/lightdm-set-defaults -s mate but now there is a blinking underscore and nothing happens...

Offline

#19 2013-01-20 10:26:23

Fixxer
Member
From: Poland
Registered: 2011-08-29
Posts: 232

Re: [SOLVED] SLiM and LightDM seems not loading

Just try tu use lxdm:
https://wiki.archlinux.org/index.php/LXDM
Yes, it works wothout any problems.

console wrote:

root@archlinux ~ % pacman -Ss lxdm
community/archlinux-lxdm-theme 1-1
    Simple Arch Linux theme for LXDM, by Thayer Williams and Allan McRae
community/lxdm 0.4.1-18 (lxde) [zainstalowano]
    Lightweight X11 Display Manager

Last edited by Fixxer (2013-01-20 10:27:20)

Offline

#20 2013-01-20 13:59:58

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

Re: [SOLVED] SLiM and LightDM seems not loading

Fixxer wrote:

Just try tu use lxdm:
https://wiki.archlinux.org/index.php/LXDM
Yes, it works wothout any problems.

console wrote:

root@archlinux ~ % pacman -Ss lxdm
community/archlinux-lxdm-theme 1-1
    Simple Arch Linux theme for LXDM, by Thayer Williams and Allan McRae
community/lxdm 0.4.1-18 (lxde) [zainstalowano]
    Lightweight X11 Display Manager

Ok, but I'd like to use one of them, otherwise I chose another display manager and I don't bother you all because of my problems, don't you? wink

Offline

#21 2013-01-20 15:29:01

Fixxer
Member
From: Poland
Registered: 2011-08-29
Posts: 232

Re: [SOLVED] SLiM and LightDM seems not loading

I've took you links to the Lightdm configuration ... I hope you don't think I'll configure it instead of you, didn't you? big_smile

Offline

#22 2013-01-20 15:40:29

derhamster
Member
Registered: 2012-07-08
Posts: 86

Re: [SOLVED] SLiM and LightDM seems not loading

Airon90 wrote:
derhamster wrote:

/usr/lib/lightdm/lightdm-set-defaults does not exist? Were did it go? And how did you install lightdm in the first place?

Its also strange that there was no lightdm.conf but a pacsave. Sound like you don't even have lightdm installed.

If those files are missing, you are probably better off rebuilding and reinstalling lightdm and your greeter before trying anything else.

Sometimes I have to give the pacaur command two or more times, before installing a program.
I don't know why.
You were right: it wasn't installed O_o'
Now I tried to install lightdm-gtk-greeter but it fails because automake version must be >= 1.7. However, automake --version says that version number is 1.13.1
How can I install it?
However, the correct path to lightdm-set-defaults is /usr/lib/lightdm/lightdm/lightdm-set-defaults wink
I also gave a sudo /usr/lib/lightdm/lightdm/lightdm-set-defaults -s mate but now there is a blinking underscore and nothing happens...

There is currently a problem with gnome-common. See https://aur.archlinux.org/packages/lightdm-gtk-greeter/ for more info. If you want to downgrade automake read  Downgrading Packages

Offline

Board footer

Powered by FluxBB