LinuxÏÂGDMµÄ¹¦Ð§ºÍ×÷ÓÃÏê½â
LinuxÏÂGDMµÄ¹¦Ð§ºÍ×÷ÓÃÏê½â
ÔÚLinux²Ù×÷ϵͳÖУ¬GDM£¨GNOME Display Manager£©ÊÇÒ»ÖÖͼÐλ¯µÇ¼ÖÎÀíÆ÷£¬ËüÌṩÁËÓû§ÔÚϵͳÖеǼºÍ×¢ÏúµÄ½çÃæ¡£GDMͨ³£ÊÇGNOME×ÀÃæÇéÐεÄÒ»²¿·Ö£¬µ«Ò²¿ÉÒÔ±»ÆäËû×ÀÃæÇéÐÎËùʹÓá£GDMµÄ×÷Óò»µ«½öÊÇÌṩһ¸öµÇ¼½çÃ棬»¹°üÀ¨Óû§»á»°ÖÎÀí¡¢ÆÁÄ»±£»¤¡¢×Ô¶¯µÇ¼µÈ¹¦Ð§¡£
GDMµÄ¹¦Ð§Ö÷Òª°üÀ¨ÒÔϼ¸¸ö·½Ã棺
Óû§½çÃ棺GDMÌṩÁËÒ»¸öÑŹۡ¢Ö±¹ÛµÄµÇ¼½çÃ棬Óû§¿ÉÒÔÔÚÕâÀïÊäÈëÓû§ÃûºÍÃÜÂëµÇ¼ϵͳ¡£µÇ¼½çÃæͨ³£»áÏÔʾĿ½ñϵͳÖпÉÓõÄÓû§£¬Óû§¿ÉÒÔÑ¡ÔñµÇ¼µ½ÄĸöÓû§Õ˺š£
Óû§»á»°ÖÎÀí£ºGDMÖÎÀíÓû§µÄ»á»°£¬µ±Óû§µÇ¼ºó£¬¿ÉÒÔÑ¡Ôñ²î±ðµÄ»á»°ÀàÐÍ¡£ºÃ±ÈGNOME¡¢KDE¡¢XFCEµÈ²î±ðµÄ×ÀÃæÇéÐΣ¬Óû§¿ÉÒÔƾ֤×Ô¼ºµÄϲ»¶Ñ¡Ôñ²î±ðµÄ»á»°ÀàÐÍ¡£
×Ô¶¯µÇ¼£ºÔÚGDMÉèÖÃÖУ¬Óû§¿ÉÒÔÉèÖÃ×Ô¶¯µÇ¼¹¦Ð§¡£ÕâÑùϵͳÆô¶¯ºó»á×Ô¶¯µÇ¼µ½Ö¸¶¨µÄÓû§Õ˺ţ¬Àû±ãÓû§Ö±½Ó½øÈëµ½×ÀÃæÇéÐÎÖС£
ÆÁÄ»±£»¤£ºGDM»¹¿ÉÒÔÉèÖÃÆÁÄ»±£»¤¹¦Ð§£¬µ±Óû§³¤Ê±¼ä²»²Ù×÷µçÄÔʱ£¬»á×Ô¶¯Æô¶¯ÆÁÄ»±£»¤³ÌÐò£¬±£»¤ÏÔʾÆ÷²»ÊÜË𺦡£
½ÓÏÂÀ´£¬ÎÒÃÇÀ´¿´Ò»Ð©GDMµÄÏêϸ²Ù×÷ºÍ´úÂëʾÀý¡£
×°ÖÃGDM£º
ÔÚÖÕ¶ËÖÐÊäÈëÒÔÏÂÏÂÁî×°ÖÃGDM£º
sudo apt install gdm
µÇ¼ºó¸´ÖÆ
ÉèÖÃGDM£º
GDMµÄÉèÖÃÎļþλÓÚ /etc/gdm/ Ŀ¼Ï£¬ÆäÖÐ×îÖ÷ÒªµÄÉèÖÃÎļþÊÇ custom.conf¡£¿ÉÒÔʹÓÃÎı¾±à¼Æ÷·¿ª custom.conf Îļþ¾ÙÐÐÉèÖãº
sudo nano /etc/gdm/custom.conf
µÇ¼ºó¸´ÖÆ
ÔÚcustom.confÖпÉÒÔÉèÖÃ×Ô¶¯µÇ¼µÈ¹¦Ð§£¬ÒÔÏÂΪÉèÖÃ×Ô¶¯µÇ¼µÄʾÀý£º
[daemon] AutomaticLoginEnable = true AutomaticLogin = username
µÇ¼ºó¸´ÖÆ
ÖØÆôGDM£º
ÉèÖÃÍê³Éºó£¬ÐèÒªÖØÆôGDM²Å»ªÊ¹ÉèÖÃÉúЧ£¬¿ÉÒÔʹÓÃÒÔÏÂÏÂÁîÖØÆôGDMЧÀÍ£º
sudo systemctl restart gdm
µÇ¼ºó¸´ÖÆ
ͨ¹ýÒÔÉϲÙ×÷£¬ÎÒÃÇ¿ÉÒÔÔÚLinuxϵͳÖÐʹÓÃGDMÀ´ÖÎÀíÓû§µÄµÇ¼ºÍ»á»°£¬Ìṩһ¸öÀû±ã¡¢Çå¾²µÄͼÐλ¯µÇ¼½çÃæ¡£GDMµÄ¹¦Ð§ºÍ×÷Óò»µ«ÌåÏÖÔڵǼÖÎÀíÉÏ£¬»¹°üÀ¨ÆÁÄ»±£»¤¡¢×Ô¶¯µÇ¼µÈÊÊÓù¦Ð§£¬ÊÇLinux×ÀÃæÇéÐÎÖÐÖ÷ÒªµÄÒ»²¿·Ö¡£
ÒÔÉϾÍÊÇLinuxÏÂGDMµÄ¹¦Ð§ºÍ×÷ÓÃÏê½âµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡