You are not logged in.
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 ![]()
Last edited by Airon90 (2013-12-19 14:13:07)
Offline
Please, post the result of
ls -an | grep .xinitrcOffline
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
Please, post the result of
ls -an | grep .xinitrc
-rw-r--r-- 1 1000 100 357 18 gen 17.30 .xinitrcOffline
.xinitrc needs to be executable and yours isn't. The "grep" is not needed btw. Try the command without it.
Also see:
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Thank you loafer but before writing here I always read the wiki but I forgot to give
chmod +x ~/.xinitrcNow if I give
ls -an | grep .xinitrcthe result is
-rwxr-xr-x 1 1000 100 357 18 gen 17.30 .xinitrcbut after rebooting the PC nothing changed...
Offline
go step by step.
what you have in your .xinitrc? If you type startx in the console what happens?
Offline
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 choiceOffline
so your window manager loads correctly. now figure out where you are starting the lightDM?
Offline
«where you are starting the lightDM?»
Sorry but I don't understand this question.
LightDM is loaded via systemd by
sudo systemctl enable lightdm.serviceHowever it freezes when it is loaded. So I have to login manually throgh Arch login system and give startx
Offline
Show output of command:
cat /etc/lightdm/lightdm.confDid 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
.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
Show output of command:
cat /etc/lightdm/lightdm.confDid 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/xsessionOffline
Setting default session in Lightdm:
http://askubuntu.com/questions/62833/ho … uto-logins .
Offline
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
/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
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
/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 ![]()
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
Just try tu use lxdm:
https://wiki.archlinux.org/index.php/LXDM
Yes, it works wothout any problems.
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
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? ![]()
Offline
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? ![]()
Offline
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
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