Xmanager的xbrowser登陆图形界面

----------------实际操作-------------------------------
For GDM: Gnome桌面


***********1**************
/etc/gdm/custom.conf
[xdmcp]
Enable=1 
***********2**************


/etc/gdm/custom.conf
[security]
DisallowTCP=false
************3*************


/usr/share/gdm/defaults.conf(该文件为readonly 用vim或更改为readwrite)
[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




----------------End-------------------------------


【Linux】配置linux主机使得可以使用Xmanager的xbrowser登陆图形界面 .


Xmanager服务器端的配置方法


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 


 
--------------------------------------------------------------




如果允许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地址,确定即可!
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值