い〜さねっと

雑多メモ

gdmの間違い

認証でgdmを使う方法が間違っているとの指摘をもらいました
認証をxdmからgdmに変える - い〜さねっと
ほんまアホすぎる…恥ずかしい…
しかも,/etc/rc.confにはきちんと記述してあったし…w
とりあえず記事は残しておくかな


正しい方法はこちららしい
/usr/ports/x11/gdm/pkg-message に詳しく書いているみたい

GDM is installed.

Do _NOT_ use /etc/ttys to start gdm at boot time.  This will result in gdm
hanging or restarting constantly. Instead, add gdm_enable="YES" to
/etc/rc.conf. GDM will be started automatic on the next reboot.

GDM uses its own locale.alias file to determine its language and especially
the GNOME 2 fontencoding. This file is located in
%%PREFIX%%/etc/gdm/locale.alias.  By default, the character set for every
country using the EURO currency is set to ISO8859-15 in order to enable the
EURO sign. If you do not feel comfortable with this, edit this file according
to your preferences.

ということで,/etc/rc.confに加える

gdm_enable="YES"

また、Xの標準の認証であるxdmを使っている場合には、offにしておく

#ttyv8   "/usr/local/bin/xdm -nodaemon"  xterm   on  secure
ttyv8   "/usr/local/bin/xdm -nodaemon"  xterm   off  secure

これで次回起動時から自動でgdmが起動する


まだまだ修行が足りんね