<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      Ceontos6.X配置XDMCP遠程調用圖形化

        Linux一般不需要圖形化,但是偶爾也是需要的,基于X11協議的圖形化XDMCP很受推廣,VNC也是很不錯的。。。

      前提:

      關閉防火墻,不關閉需要配置177端口放行

      關閉selinux,不關閉自己配置selinux上下文

      00、服務端圖形化組件檢測

      yum   groupinstall   -y   'X Window System' 'Desktop'    #根據平臺不同自己選擇安裝圖形化組件包

      yum   install -y gdm  xdm      #安裝xdmcp依賴包

      01、調整配置文件

      vim  /etc/X11/xdm/Xaccess   

      去掉這一行最前面的#號

      *    #any host can get a login window

      [root@mvp gdm]# cat /etc/X11/xdm/Xaccess 
      # $XdotOrg: Xaccess,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
      # $Xorg: Xaccess,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
      # $XFree86: xc/programs/xdm/config/Xaccess,v 1.4 2003/07/09 15:27:40 tsi Exp $
      #
      # Access control file for XDMCP connections   #xdmcp訪問控制
      #
      # To control Direct and Broadcast access:
      #
      #    pattern
      #
      # To control Indirect queries:
      #
      #     pattern        list of hostnames and/or macros ...
      #
      # To use the chooser:
      #
      #    pattern        CHOOSER BROADCAST
      #
      # or
      #
      #    pattern        CHOOSER list of hostnames and/or macros ...
      #
      # To define macros:
      #
      #       %name        list of hosts ...
      #
      # To control which addresses xdm listens for requests on:
      #
      #    LISTEN        address [list of multicast groups ... ]
      #
      # The first form tells xdm which displays to respond to itself.
      # The second form tells xdm to forward indirect queries from hosts matching
      # the specified pattern to the indicated list of hosts.
      # The third form tells xdm to handle indirect queries using the chooser;
      # the chooser is directed to send its own queries out via the broadcast
      # address and display the results on the terminal.
      # The fourth form is similar to the third, except instead of using the
      # broadcast address, it sends DirectQuerys to each of the hosts in the list
      # The fifth form tells xdm which addresses to listen for incoming connections
      # on.  If present, xdm will only listen for connections on the specified 
      # interfaces and/or multicast groups.
      #
      # In all cases, xdm uses the first entry which matches the terminal;
      # for IndirectQuery messages only entries with right hand sides can
      # match, for Direct and Broadcast Query messages, only entries without
      # right hand sides can match.
      #
      
      *                    #any host can get a login window  任何主機都可以登錄
      
      #
      # To hardwire a specific terminal to a specific host, you can
      # leave the terminal sending indirect queries to this host, and
      # use an entry of the form:
      #
      
      #terminal-a    host-a
      
      
      #
      # The nicest way to run the chooser is to just ask it to broadcast
      # requests to the network - that way new hosts show up automatically.
      # Sometimes, however, the chooser can't figure out how to broadcast,
      # so this may not work in all environments.
      #
      
      #*        CHOOSER BROADCAST    #any indirect host can get a chooser
      
      #
      # If you'd prefer to configure the set of hosts each terminal sees,
      # then just uncomment these lines (and comment the CHOOSER line above)
      # and edit the %hostlist line as appropriate
      #
      
      #%hostlist    host-a host-b
      
      #*        CHOOSER %hostlist    #
      
      #
      # If you have a machine with multiple network interfaces or IP addresses
      # you can control which interfaces accept XDMCP packets by listing a LISTEN
      # line for each interface you want to listen on.  You can additionally list
      # one or more multicast groups after each address to listen on those groups
      # on that address.
      #
      # If no LISTEN is specified, the default is the same as "LISTEN *" - listen on
      # all unicast interfaces, but not for multicast packets.  If any LISTEN lines
      # are specified, then only the listed interfaces will be listened on.
      #
      # IANA has assigned FF0X:0:0:0:0:0:0:12B as the permanently assigned 
      # multicast addresses for XDMCP, where X in the prefix may be replaced
      # by any valid scope identifier, such as 1 for Node-Local, 2 for Link-Local,
      # 5 for Site-Local, and so on.  The default is equivalent to the example shown
      # here using the Link-Local version to most closely match the old IPv4 subnet
      # broadcast behavior.
      #
      # LISTEN        * ff02:0:0:0:0:0:0:12b
      
      # This example shows listening for multicast on all scopes up to site-local
      #
      # LISTEN    * ff01:0:0:0:0:0:0:12b ff02:0:0:0:0:0:0:12b ff03:0:0:0:0:0:0:12b ff04:0:0:0:0
      :0:0:12b ff05:0:0:0:0:0:0:12b

      vim /etc/gdm/custom.conf

      [root@mvp gdm]# cat /etc/gdm/custom.conf 
      # GDM configuration storage
      
      [daemon]
      
      [security]
      AllowRemoteRoot=true   #許可root遠程登錄
      [xdmcp]
      Enable=true 
      Port=177
      [greeter]
      
      [chooser]
      
      [debug]

      02、Server運行方式切換

      init 5   # init 3    && init 5

      看到監聽端口177,說明xdmcp服務沒問題

      [root@mvp xdm]# lsof -i:177
      COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
      gdm-binar 3780 root   11u  IPv4  26854      0t0  UDP *:xdmcp 

      03、xbrowser登錄xdmcp

      打開測試

      posted @ 2017-09-03 15:01  mvpbang  閱讀(1315)  評論(0)    收藏  舉報
      主站蜘蛛池模板: 亚洲国产成人综合精品| 国产不卡一区二区四区| 亚洲日本中文字幕天天更新| 日韩乱码人妻无码中文字幕视频| 无码日韩做暖暖大全免费不卡| 99视频偷窥在线精品国自产拍| 久青草国产综合视频在线| 国产一区二区三区自拍视频| 亚洲美女高潮不断亚洲| 日本亲近相奷中文字幕| 日本中文一区二区三区亚洲| 精品卡通动漫亚洲AV第一页| 久久婷婷综合色丁香五月| 精品一二三四区在线观看| 国产一区二区日韩经典| 国产免费高清69式视频在线观看| 一区二区三区鲁丝不卡| 国产精品自拍自在线播放| 国产精品老年自拍视频| 国产熟睡乱子伦视频在线播放| 蜜臀av一区二区国产精品| 国产日韩av免费无码一区二区三区| 国产精品毛片一区二区| 国内外成人综合免费视频| 色欲av蜜桃一区二区三| 成人无码区在线观看| 欧美性色黄大片www喷水| 国产欧美精品一区二区三区| 中文字幕av日韩有码| 亚洲熟女乱综合一区二区| 国产精品一二三中文字幕| 色呦呦九九七七国产精品| 男女猛烈无遮挡免费视频APP| 国产精品自拍午夜福利| 国产精品一区二区传媒蜜臀| 亚洲电影在线观看| 欧洲无码一区二区三区在线观看| 精品国产乱子伦一区二区三区| 日韩av一区二区不卡在线| 亚洲成AV人片在线观高清| 97视频精品全国免费观看|