ÐÂÊÖ¿´ÕУºxManagerÁ¬½ÓLinuxµÄÅäÖ÷½·¨
µÚÒ»²½£¬ÎÒÃÇÔÚLinuxϵͳÏ£¬ÐÞ¸Ä/etc/X11/xdm/XaccessÎļþ£¬ÕÒµ½ÏÂÃæµÄÓï¾ä£º
# * #any host can get a login window
È¥µô×îÇ°ÃæµÄ#ºÅ£¬³ÉΪ
* #any host can get a login window
µÚ¶þ²½£¬ÎÒÃÇÐÞ¸Ä/etc/X11/gdm/gdm.confÎļþ£¬ÕÒµ½ÏÂÃæµÄÓï¾ä£º
[xdmcp]
Enable£½false
½«ÆäÖеÄEnable£½false ¸ÄΪEnable£½true »ò Enable£½1¡£
ͬʱÎÒÃÇҪȷ±£´æÔÚÏÂÃæµÄÓï¾ä£¬ÒòΪ177¶Ë¿ÚÊÇÎÒÃÇÒªÅäÖõÄxdmcp·þÎñµÄ¼àÌý¶Ë¿Ú£¬ÎÒÃÇÔÚºóÃæÅäÖÃxmanager½«¿´¡£
Port=177
µÚÈý²½£¬ÎÒÃÇÒªÐÞ¸Ä/etc/inittabÎļþ£¬½«ÏÂÃæµÄÓï¾ä
id:3:initdefault
¸ÄΪÈçÏ£¬Èç¹ûÔÀ´¾ÍÊÇid:5:initdefault¾Í²»Óøü¸Ä¡£
ͬʱ£¬ÕÒµ½ÈçÏÂͼÎÄ×ÖËùÔڵĵط½
x:5:respawn:/etc/X11/prefdm -nodaemon
½«ËüÐÞ¸ÄΪx:5:respawn:/usr/bin/gdm
µÚËIJ½£¬ÎÒÃÇÐÞ¸Ä/etc/X11/xdm/xdm-configµÄ×îºóÒ»ÐУ¬ÔÚdisplayManager.requestPort:0Ç°Ãæ¼ÓÉÏÒ»¸ö£¡ºÅ£¬½á¹ûÈçÏÂ:
!DisplayManager.requestPort: 0
µÚÎå²½£¬ÎÒÃÇÐÞ¸ÄÈ·±£/etc/X11/xdm/XserversµÄÊôÐÔΪ444£¬/etc/X11/xdm/Xsetup_0µÄÊôÐÔΪ755.
×îºó£¬Èç¹ûÎÒÃǵÄLinux»úÆ÷ÅäÖÃÓзÀ»ðǽ£¬Îª·ÀÖ¹·À»ðǽ½«Í¨¹ý177¶Ë¿Ú£¨¼´xdmcp·þÎñ£©µÄÊý¾Ý¹ýÂÇ£¬ÎÒÃDZØÐë¼ÓÉÏÈçϵĹæÔò£º
iptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 177 -j ACCEPT
ÖÁ´ËΪֹ£¬ÎÒÃÇÔÚLinuxϵÄÅäÖÃxdmÒѾ»ù±¾Íê³É,ÔÚxbrowserµÄaddressÀ¸ÖÐÊäÈëLinux·þÎñÆ÷µÄIPµØÖ·¾Í¿ÉÒԵǼÁË¡£
Ïà¹ØÎĵµ£º
1. gccµÄ__attribute__±àÒïÊôÐÔ
ÒªÁ˽âLinux Kernel´úÂëµÄ·Ö¶ÎÐÅÏ¢£¬ÐèÒªÁ˽âÒ»ÏÂgccµÄ__attribute__µÄ±àÒïÊôÐÔ£¬__attribute__Ö÷ÒªÓÃÓڸıäËùÉùÃ÷»ò¶¨ÒåµÄº¯Êý»òÊý¾ÝµÄÌØÐÔ£¬ËüÓкܶà×ÓÏÓÃÓڸıä×÷ÓöÔÏóµÄÌØÐÔ¡£±ÈÈç¶Ôº¯Êý£¬noline½«½ûÖ¹½øÐÐÄÚÁªÀ©Õ¹¡¢noreturn±íʾûÓзµ»ØÖµ¡¢pure±íÃ÷º¯Êý³ý·µ»ØÖµÍ⣬²»»áͨ¹ýÆäËü ......
Linux»·¾³ÏµÄÈí¼þ°²×°£¬²¢²»ÊÇÒ»¼þÈÝÒ×µÄÊÂÇ飻Èç¹ûͨ¹ýÔ´´úÂë±àÒëºóÔÚ°²×°£¬µ±È»ÊÂÇé¾Í¸üΪ¸´ÔÓһЩ£»ÏÖÔÚ°²×°¸÷ÖÖÈí¼þµÄ½Ì³Ì¶¼·Ç³£Æձ飻µ«Íò±ä²»ÀëÆäÖУ¬¶Ô»ù´¡ÖªÊ¶µÄÔúʵÕÆÎÕ£¬°²×°¸÷ÖÖÈí¼þµÄÎÊÌâ¾ÍÓÈжø½âÁË¡£Configure½Å±¾ÅäÖù¤¾ß¾ÍÊÇ»ù´¡Ö®Ò»£¬ËüÊÇautoconfµÄ¹¤¾ßµÄ»ù±¾Ó¦Óá£
ÓëһЩ¼¼ÇÉÏà±È£¬ConfigureÏԵûù´ ......
http://hi.baidu.com/j_fo/blog/item/a43fa60fa6e2f4eaab6457d5.html
Linux2.6ÄÚºËepoll½éÉÜ
2008-11-05 16:35
http://blog.csdn.net/rstevens/archive/2007/10/30/1858067.aspx
http://hi.baidu.com/jmlover/blog/item/24c28b131e6b48d7f7039ee6.html
http://hi.baidu.com/jmlover/blog/item/e64df724f12926348744f9 ......
http://dbus.freedesktop.org/doc/dbus-tutorial.html
D-Bus Tutorial
Havoc
Pennington
Red Hat, Inc.
<hp@pobox.com
>
David
Wheeler
John
Palmieri
Red Hat, Inc.
<johnp@redhat.com
>
Colin
Walters
Red Hat, Inc.
<walters@redhat.com
>
Version 0.5.0
Table of Contents
......