GDM이 실행 안되는 문제

Gentoo 리눅스를 설치한 LettePanda에서 갑자기 systemctl start gdm이 안되더라…

중간에 무슨 일이 있었는지 모르겠지만 아래와같은 메시지가 나타났다.

Jan 18 21:15:38 lattepanda gdm-launch-environment][7364]: pam_systemd(gdm-launch-environment:session): Unknown parameter 'kill-session-processes=1', ignoring
Jan 18 21:15:38 lattepanda systemd[1]: Created slice User Slice of UID 115.
Jan 18 21:15:38 lattepanda systemd[1]: Started /run/user/115 mount wrapper.
Jan 18 21:15:38 lattepanda systemd[1]: Starting User Manager for UID 115...
Jan 18 21:15:38 lattepanda systemd-logind[230]: New session c505 of user gdm.
Jan 18 21:15:38 lattepanda systemd[1]: Started Session c505 of user gdm.
Jan 18 21:15:38 lattepanda systemd[7369]: pam_unix(systemd-user:session): session opened for user gdm by (uid=0)
Jan 18 21:15:38 lattepanda systemd[7369]: Reached target Timers.
Jan 18 21:15:38 lattepanda systemd[7369]: Reached target Sockets.
Jan 18 21:15:38 lattepanda systemd[7369]: Reached target Paths.
Jan 18 21:15:38 lattepanda systemd[7369]: Reached target Basic System.
Jan 18 21:15:38 lattepanda systemd[7369]: Reached target Default.
Jan 18 21:15:38 lattepanda systemd[7369]: Startup finished in 97ms.
Jan 18 21:15:38 lattepanda systemd[1]: Started User Manager for UID 115.
Jan 18 21:15:38 lattepanda /usr/libexec/gdm-x-session[7374]: (EE)
Jan 18 21:15:38 lattepanda /usr/libexec/gdm-x-session[7374]: Fatal server error:
Jan 18 21:15:38 lattepanda /usr/libexec/gdm-x-session[7374]: (EE) Cannot open log file "/var/lib/gdm/.local/share/xorg/Xorg.pid-7376.log"
Jan 18 21:15:38 lattepanda /usr/libexec/gdm-x-session[7374]: (EE)
Jan 18 21:15:38 lattepanda /usr/libexec/gdm-x-session[7374]: Please consult the The X.Org Foundation support
Jan 18 21:15:38 lattepanda /usr/libexec/gdm-x-session[7374]:          at http://wiki.x.org
Jan 18 21:15:38 lattepanda /usr/libexec/gdm-x-session[7374]:  for help.
Jan 18 21:15:38 lattepanda /usr/libexec/gdm-x-session[7374]: (EE)
Jan 18 21:15:38 lattepanda /usr/libexec/gdm-x-session[7374]: Unable to run X server
Jan 18 21:15:38 lattepanda systemd-logind[230]: Session c505 logged out. Waiting for processes to exit.
Jan 18 21:15:38 lattepanda systemd-logind[230]: Removed session c505.
Jan 18 21:15:38 lattepanda systemd[1]: user-runtime-dir@115.service: Unit not needed anymore. Stopping.
Jan 18 21:15:38 lattepanda systemd[1]: Stopping User Manager for UID 115...
Jan 18 21:15:38 lattepanda systemd[7369]: Stopped target Default.
Jan 18 21:15:38 lattepanda systemd[7369]: Stopped target Basic System.
Jan 18 21:15:38 lattepanda systemd[7369]: Stopped target Timers.
Jan 18 21:15:38 lattepanda systemd[7369]: Stopped target Sockets.
Jan 18 21:15:38 lattepanda systemd[7369]: Stopped target Paths.
Jan 18 21:15:38 lattepanda systemd[7369]: Reached target Shutdown.
Jan 18 21:15:38 lattepanda systemd[7369]: Starting Exit the Session...
Jan 18 21:15:38 lattepanda gdm[269]: Could not start command '/usr/libexec/gdm-session-worker': Too many open files
Jan 18 21:15:38 lattepanda gdm[269]: GLib: g_child_watch_add_full: assertion 'pid > 0' failed
Jan 18 21:15:38 lattepanda gdm[269]: Child process -7374 was already dead.
Jan 18 21:15:38 lattepanda gdm[269]: Child process 7364 was already dead.
Jan 18 21:15:38 lattepanda gdm[269]: Unable to kill session worker process

Could not start command ‘/usr/libexec/gdm-session-worker’: Too many open files 이걸 마지막으로 그 위 라인들이 반복해서 나타나는것이 사라지고 잠잠해진다. 구글링 해보니 이 페이지가 나왔다. 처음엔 그냥 ls만 해봐서 문제 없는데? 싶었다. 하지만 ls -al 하니 아래와같이 root.root로 .local 파일의 권한이 할당되어있는데… 무슨 문제가 있었길레 뜬금없이 갑자기 이렇게 되버린건지 모르겠다. 암튼 chown -R gdm.gdm .local 그리고 다른 파일도 권한을 바꿔서 잘 되었다.

lattepanda /var/lib/gdm # ls -al
total 4
drwxr-xr-x 1 gdm  gdm   108 Jan 15 15:55 .
drwxr-xr-x 1 root root  374 Jan  1 19:05 ..
drwxr-xr-x 1 gdm  gdm    84 Sep 19 19:53 .cache
drwxr-xr-x 1 gdm  gdm    64 Sep 15 03:08 .config
-rw------- 1 gdm  gdm  1678 Oct  2 09:41 .ICEauthority
-rw-r--r-- 1 root root    0 Jan 15 15:55 .keep_gnome-base_gdm-0
drwxr-xr-x 1 root root   10 Sep  4 01:01 .local
lattepanda /var/lib/gdm #

그런데 로그파일을 못열었다고 gdm이 실행안되는건… 바람직한걸까?

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다

*
*

이 사이트는 스팸을 줄이는 아키스밋을 사용합니다. 댓글이 어떻게 처리되는지 알아보십시오.