今日も元気にテクニカル

技術情報書きたいけど本ブログに書きたくないからこんな名前になりました。

XDMの設定について

XDMとはgnomeKDEなど、Windowsでいうエクスプローラのことである。

XDMの設定ファイルの場所について

各種教本では、「XDMの設定ファイルは/etc/X11/gdm(kdm)以下にあるよ」と書いてあるのだが、Ubuntu8.10もCentOS5もそんな所にはファイルを置いていなく、/etc/gdm/以下にパスが変更された。まぁ変更されたってより他のアプリと同じパスに修正されたと言うべきか。

★CentOS5
[user01@eeco gdm]$ ls -al
合計 84
drwxr-xr-x  7 root root  4096  6月 25 05:46 .
drwxr-xr-x 98 root root 12288 11月 24 04:03 ..
drwxr-xr-x  2 root root  4096 11月  5 14:11 Init
drwxr-xr-x  2 root root  4096  6月 25 05:46 PostLogin
drwxr-xr-x  2 root root  4096  6月 25 05:46 PostSession
drwxr-xr-x  2 root root  4096  6月 25 05:46 PreSession
-rwxr-xr-x  1 root root  5536  5月 29 02:19 XKeepsCrashing
lrwxrwxrwx  1 root root    21  6月 25 05:46 Xsession -> ../X11/xinit/Xsession
-rw-r--r--  1 root root  2597  5月 29 02:19 custom.conf
-rw-r--r--  1 root root  4048  5月 29 02:19 locale.alias
drwxr-xr-x  2 root root  4096  6月 25 05:46 modules
-rw-r--r--  1 root root    71  5月 29 02:19 securitytokens.conf

★Ubuntu8.10
user01@ubuntu-ice:/etc/gdm$ ls -al
合計 132
drwxr-xr-x   7 root root  4096 2008-11-23 23:36 .
drwxr-xr-x 124 root root  4096 2008-11-24 09:50 ..
drwxr-xr-x   2 root root  4096 2008-11-24 09:24 Init
drwxr-xr-x   2 root root  4096 2008-10-30 08:07 PostLogin
drwxr-xr-x   2 root root  4096 2008-11-24 09:23 PostSession
drwxr-xr-x   2 root root  4096 2008-11-24 09:22 PreSession
-rwxr-xr-x   1 root root  4182 2008-10-15 18:56 XKeepsCrashing
-rwxr-xr-x   1 root root  6259 2008-10-15 18:53 Xsession
-rw-r--r--   1 root root   132 2008-10-23 22:40 failsafeBlacklist
-rwxr-xr-x   1 root root  8504 2008-10-23 22:40 failsafeDexconf
-rwxr-xr-x   1 root root  4582 2008-10-23 22:40 failsafeXServer
-rwxr-xr-x   1 root root  7443 2008-10-23 22:40 failsafeXinit
-rw-r--r--   1 root root 34161 2008-11-23 23:36 gdm.conf
-rw-r--r--   1 root root  2142 2008-10-15 18:56 gdm.conf-custom
-rw-r--r--   1 root root  3601 2008-10-15 18:56 gdmprefetchlist
-rw-r--r--   1 root root 10871 2008-10-15 18:53 locale.conf
drwxr-xr-x   2 root root  4096 2008-10-30 08:07 modules

CentOSに至ってはgdm.confというファイル名も廃止され、custom.confに変更されている。

CentOS5のgdmの設定 - CreNanの日記

これじゃどの設定ファイルか分かったもんじゃない。このgdm.conf(custom.conf)を編集するといろんな事ができそうなんだが、追っていくときりがないので省略。