【Linux】配置linux主機使得可以使用Xmanager的xbrowser登陸圖形介面

來源:互聯網
上載者:User

Xmanager伺服器端的配置方法
以上方法來自Xmanager官網,網址http://www.netsarang.com/products/xmg_faq.html,適用於CentOS 5.3平台。

1. XDM Configuration

1. Change runlevel to 5

 

Open/etc/inittab and set the initial runlevel to 5 as following:
id:5:initdefault:
 
2. Enable XDMCP
 
   For GDM: Gnome案頭
 
 Open Open /etc/gdm/custom.conf and set the Enable entry to 1 in the [xdmcp] section as following.
[xdmcp]
Enable=1

 Open Open /etc/gdm/custom.conf and set the DisallowTCP entry to false in the [security] section as following.
[security]
DisallowTCP=false

 
   For KDM:KDE案頭
 
 Open /etc/X11/xdm/xdm-config comment out the "requestPort" option as following:
DisplayManager.requestPort: 0 ==>
!DisplayManager.requestPort: 0
Open /etc/X11/xdm/Xaccess and remove the initial "#" character for the following line:
#* #any host can get a login window ==>
* #any host can get a login window
Open /etc/kde/kdm/kdmrc and set the Enable entry to true in the [xdmcp] section as following.
[xdmcp]
Enable=true

 
2. Firewall (TCP/UDP Ports) Configuration

Open UDP port 177 from the PC to the remote host direction.
Open incoming TCP ports 6000~6010 from the remote host to your PC.

3. Reboot the remote host and start Xmanager

# init 3; init 5

 
以下配置方法來自頁面:http://wanghaier22.blog.163.com/blog/static/7208791420098224236825/

如果允許Root使用者串連到XMANAGER 需要修改以下內容:
# vim /usr/share/gdm/defaults.conf

[security]
# Allow root to login. It makes sense to turn this off for kiosk use, when
# you want to minimize the possibility of break in.
AllowRoot=true
# Allow login as root via XDMCP. This value will be overridden and set to
# false if the /etc/default/login file exists and contains
# "CONSOLE=/dev/login", and set to true if the /etc/default/login file exists
# and contains any other value or no value for CONSOLE.
AllowRemoteRoot=true
# This will allow remote timed login.
AllowRemoteAutoLogin=false
# 0 is the most restrictive, 1 allow

4. Xbrower

右鍵,new,xmanager session,(XDM query),填入IP地址,確定即可!

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.