LinuxϵͳÖÐGDMµÄÊÂÇéÔÀí¼°ÉèÖÃÒªÁì
ÎÊÌ⣺LinuxϵͳÖÐGDMµÄÊÂÇéÔÀí¼°ÉèÖÃÒªÁì
ÔÚLinux²Ù×÷ϵͳÖУ¬GDM£¨GNOME Display Manager£©ÊÇÒ»ÖÖ³£¼ûµÄÏÔʾÖÎÀíÆ÷£¬ÓÃÓÚ¿ØÖÆͼÐÎÓû§½çÃ棨GUI£©µÇ¼ºÍÓû§»á»°ÖÎÀí¡£±¾ÎĽ«ÏÈÈÝGDMµÄÊÂÇéÔÀíºÍÉèÖÃÒªÁ죬ÒÔ¼°ÌṩÏêϸµÄ´úÂëʾÀý¡£
Ò»¡¢GDMµÄÊÂÇéÔÀí
GDMÊÇGNOME×ÀÃæÇéÐÎϵÄÏÔʾÖÎÀíÆ÷£¬ÈÏÕæÆô¶¯XЧÀÍÆ÷²¢ÌṩµÇ¼½çÃ棬Óû§ÊäÈëÓû§ÃûºÍÃÜÂëºó£¬GDMÑéÖ¤Óû§Éí·Ý²¢Æô¶¯Óû§»á»°¡£ÔÚLinuxϵͳÖУ¬GDMͨ³£±»×°ÖÃÔÚ/sbin/gdm·¾¶Ï¡£
GDMµÄÊÂÇéÔÀí¿ÉÒÔ¼òÆÓÐÎòΪÒÔϼ¸¸ö°ì·¨£º
GDMÆô¶¯Ê±£¬»á¼ÓÔØÉèÖÃÎļþ/etc/gdm/custom.conf£¬¸ÃÎļþ°üÀ¨ÁËGDMµÄ¸÷ÏîÉèÖòÎÊý¡£
GDMÆô¶¯XЧÀÍÆ÷£¬ÏÔʾµÇ¼½çÃæ¡£
Óû§ÊäÈëÓû§ÃûºÍÃÜÂëºó£¬GDMÑéÖ¤Óû§Éí·Ý¡£
ÑéÖ¤Àֳɺó£¬GDMÆô¶¯Óû§»á»°£¬¼ÓÔØÓû§ÇéÐαäÁ¿ºÍ×ÀÃæÉèÖá£
Óû§»á»°¿¢Êºó£¬GDM¹Ø±ÕXЧÀÍÆ÷¡£
¶þ¡¢ÉèÖÃGDM
1. ÐÞ¸ÄGDMÉèÖÃÎļþ
·¿ªGDMÉèÖÃÎļþ/etc/gdm/custom.conf£º
sudo gedit /etc/gdm/custom.conf
µÇ¼ºó¸´ÖÆ
ÔÚÉèÖÃÎļþÖÐÐ޸IJÎÊý£¬ÀýÈç¸ü¸ÄÅ侰ͼƬ¡¢Õ¥È¡×Ô¶¯µÇ¼µÈ£º
[daemon] Background=/usr/share/backgrounds/my_custom_background.jpg AutomaticLoginEnable=false
µÇ¼ºó¸´ÖÆ
2. ÉèÖÃ×Ô½ç˵µÇ¼Ö÷Ìâ
½¨Éè×Ô½ç˵µÇ¼Ö÷ÎÊÌâ¼£º
sudo mkdir /usr/share/gdm/themes/my_custom_theme
µÇ¼ºó¸´ÖÆ
½«×Ô½ç˵Ö÷ÌâÎļþ£¨Èçbackground.png¡¢gnome-shell.cssµÈ£©·ÅÈëĿ¼ÖС£
ÐÞ¸ÄGDMÉèÖÃÎļþ£¬Ö¸¶¨Ê¹ÓÃ×Ô½ç˵Ö÷Ì⣺
[daemon] Greeter=/usr/share/gdm/themes/my_custom_theme/gnome-shell.css
µÇ¼ºó¸´ÖÆ
Èý¡¢ÖØÆôGDMЧÀÍ
ÉèÖÃÍê³Éºó£¬ÐèÒªÖØÆôGDMЧÀÍÒÔʹ¸ü¸ÄÉúЧ£º
sudo systemctl restart gdm
µÇ¼ºó¸´ÖÆ
ËÄ¡¢×ܽá
±¾ÎÄÏÈÈÝÁËLinuxϵͳÖÐGDMµÄÊÂÇéÔÀíºÍÉèÖÃÒªÁ죬ͨ¹ýÐÞ¸ÄÉèÖÃÎļþºÍ½¨Éè×Ô½ç˵Ö÷Ì⣬¿ÉÒÔ¶ÔGDM¾ÙÐиöÐÔ»¯¶¨ÖÆ¡£¶ÁÕß¿ÉÒÔƾ֤ÐèÒª½øÒ»²½ÉîÈëѧϰGDMµÄ¸ü¸ß¼¶¹¦Ð§ºÍ¶¨ÖÆÒªÁ죬ÒÔÖª×ã×Ô¼ºµÄÐèÇó¡£
Ï£Íû±¾ÎĶԶÁÕßÃ÷È·GDMµÄÊÂÇéÔÀíºÍÉèÖÃÒªÁìÓÐËù×ÊÖú£¬×£ÄúÔÚLinuxϵͳÖÐʹÓÃGDMÓä¿ì£¡
ÒÔÉϾÍÊÇLinuxϵͳÖÐGDMµÄÊÂÇéÔÀí¼°ÉèÖÃÒªÁìµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡