You are not logged in.
Pages: 1
I recently installed gnome and gdm on an existing system and there appears to be permission problems. Before I ran awesome + slim with systemd.
I installed the gnome group and gdm, then replaced the slim.service with gdm.service.
I rebooted gdm gives me some error page and I get this in my .xsession-errors:
└╼ $ cat .xsession-errors
/etc/gdm/Xsession: Beginning session setup...
localuser:hsp being added to access control list
/etc/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- /home/hsp/.xinitrc
/home/hsp/.xinitrc: Permission deniedWhat is causing this permission problem? .xinitrc permissions are 644.
Edit: Just editing because this post doesn't deserve a bump.
Don't really know what was going on with my system. I was hopping back and forth KDE and Gnome and I'm pretty sure I broken something in between. I just reinstalled arch and everything works fine.
Last edited by Hspasta (2012-08-02 04:35:04)
Offline
$ ls -l ~/.xinitrc
-rw-r--r-- 1 hsp users 51 Jul 16 11:06 /home/hsp/.xinitrcIf it says "root", you need to chown it.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
You wrote that .xinitrc has 644 permission. I believe that leaves you with only read and write permissions. Therefore, you should change permissions for .xinitrc to 755 which will give you, R, W and execute permission. It has to be executable as a regular user in order to log you in.
chmod 755 ~/.xinitrc Last edited by SubSub (2012-07-22 11:46:44)
Mu Empire.
Offline
Nah... Mine doesn't have the executable bit and Arch starts fine here (using "startx" or "xinit") with these permissions:
$ ls -l ~/.xinitrc
-rw-r--r-- 1 dspider users 51 Jul 16 11:06 /home/dspider/.xinitrcAnd here's what it looks like with the executable bit (i.e. "chmod 755 ~/.xinitrc" or "chmod +x ~/.xinitrc", same thing):
$ ls -l ~/.xinitrc
-rwxr-xr-x 1 dspider users 51 Jul 16 11:06 /home/dspider/.xinitrcI think he created or moved/copied that file using sudo...
$ sudo nano ~/.xinitrc_test
$ ls -l ~/.xinitrc_test
-rw-r--r-- 1 root root 6 Jul 22 14:50 /home/dspider/.xinitrc_testLike I said, this shouldn't say "root".
Last edited by DSpider (2012-07-22 12:05:35)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Ah. Cool. Didn't see his "ls -l ~/.xinitrc" in the initial post, so I wasn't sure.
Mu Empire.
Offline
Pages: 1