用xmanager串連linux遠端桌面-linux伺服器設定及xmanager設定

來源:互聯網
上載者:User

用xmanager串連linux遠端桌面-linux伺服器設定及xmanager設定
TAG:

研究了一下午怎麼用xmanager串連linux遠端桌面。現在終於搞定了。

linux伺服器端設定:

=============================================

1. 修改/etc/inittab,改變runlevel為5,例如
[root@QRedHat etc]# cat /etc/inittab
......
id:5:initdefault:
......

改為5層級方式運行linux
2. 修改GDM的設定檔,/etc/X11/gdm/gdm.conf,將[xdmcp]中的enable選項設定為1,例如
[root@QRedHat etc]# cat /etc/X11/gdm/gdm.conf
......
[xdmcp]
Enable=1

false改為true或者1
3. 修改/etc/X11/xdm/xdm-config檔案,將DisplayManager.requestPort: 0注釋掉,例如
[root@QRedHat etc]# cat /etc/X11/xdm/xdm-config
......
! SECURITY: do not listen for XDMCP or Chooser requests
! Comment out this line if you want to manage X terminals with xdm
! DisplayManager.requestPort:   0

不屏蔽改為屏蔽
4. 修改/etc/X11/xdm/Xaccess檔案,例如,
[root@QRedHat etc]# cat /etc/X11/xdm/Xaccess
......
*                                       #any host can get a login window
......
*               CHOOSER BROADCAST       #any indirect host can get a chooser

若選用了防火牆則改動下面
5. 修改防火牆設定檔/etc/sysconfig/ipchains,在檔案頭部加入如下內容,(有的可能沒有)
# If you want to use GNOME/KDE, add the following line.
-A input -p udp -s 0/0 -d 0/0 177 -j ACCEPT
6. 重新啟動RedHat Linux

======================================

xmanager的設定:

1,運行xbrowser。

2,new一個新的session

3,選擇XDMCP

4,Method中根據自己與主機所處網路類型設定,比如是否是區域網路等等
    host中寫入linux伺服器的ip地址
    port預設177

5,next->next->finish

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.