You are not logged in.

#1 2016-06-15 11:54:53

gagan_p
Member
Registered: 2016-06-15
Posts: 4

Not able to run gdm

I am using Linux for the first time. I decided to use Arch and with the  help of the wiki was able to install. I am currentlu having problems with gdm. I was able to follow the wiki and edit .xinitrc and have start x going. I am using gnome, the only issue I am not able to run gdm. Please see the outputs below.

linux 4.6.2-1
linux-headers 4.6.2-1

here is the output of systemctl

sudo systemctl enable -f gdm.service
Removed /etc/systemd/system/display-manager.service.
Created symlink /etc/systemd/system/display-manager.service → /usr/lib/systemd/system/gdm.service.
systemctl is-active gdm.service     
inactive
3   systemctl status gdm.service                            sad
● gdm.service - GNOME Display Manager
   Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled; vendor preset:
   Active: inactive (dead)
3   systemctl -f enable gdm.service                         sad
systemctl is-active gdm.service   
inactive
3  sudo systemctl enable -f gdm.service                     sad
systemctl is-active gdm.service     
inactive
3  systemctl status gdm.service                             sad
● gdm.service - GNOME Display Manager
   Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled; vendor preset:
   Active: inactive (dead)

Offline

#2 2016-06-15 12:02:28

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: Not able to run gdm

Enabling a service means that it will (if the conditions are met) be started next time you boot. You are probably looking to "start" the service without rebooting.

See https://wiki.archlinux.org/index.php/Sy … sing_units


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.

Offline

#3 2016-06-16 01:14:44

gagan_p
Member
Registered: 2016-06-15
Posts: 4

Re: Not able to run gdm

1. Even after rebooting it does not go to gui login by default
2. Startx works
3. Systemctl start gdm works
4. gdm is enabled
5. I would like to know where I am making a mistake
6. This is what I have I .xinitrc   [ exec gnome-session ]

I have been reading, but have not been able to make progress.

Offline

#4 2016-06-16 01:40:11

gagan_p
Member
Registered: 2016-06-15
Posts: 4

Re: Not able to run gdm

I have the following logs,

a) I can understand that I need to set some permissions right, but do not know how.
b) PAM adding faulty module - that

journalctl -p 3 -xb
gdm[411]: Failed to create ran once marker dir /var/run/gdm: Permission denied
gdm[411]: Failed to create LogDir /var/log/gdm: Permission denied
gdm-password][553]: PAM unable to dlopen(/usr/lib/security/pam_gnome_keyring.so): /usr/lib/security/pam_gnome_keyring.so: cannot open shared obje
gdm-password][553]: PAM adding faulty module: /usr/lib/security/pam_gnome_keyring.so
gdm[577]: Failed to create ran once marker dir /var/run/gdm: Operation not permitted
gdm[577]: Failed to create LogDir /var/log/gdm: Operation not permitted

Offline

#5 2016-06-17 13:47:11

gagan_p
Member
Registered: 2016-06-15
Posts: 4

Re: Not able to run gdm

kindly help or direct me to a link so I can read.

Offline

#6 2016-06-17 15:25:46

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: Not able to run gdm

Please read this, particularly the section regarding bumping.

I don't use gdm, so I can't offer specific advice on this particular problem, but you can still search for information about those error messages and see if other people have experienced them. The LogDir error seems particularly strange since that directory is part of the gdm package, so it shouldn't need to be created, that could suggest that the gdm package is in an inconsistent state, so check it with pacman's --check flag (see 'man pacman'). The pam_gnome_keyring.so file belongs to gnome-keyring, so check that package's consistency too.


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.

Offline

Board footer

Powered by FluxBB