使用Xmanager远程桌面LINUX系统

本文详细介绍了如何通过Xmanager远程桌面连接到Linux系统。首先,修改了Linux系统的custom.conf、Xaccess和kdmrc配置文件,启用XDMCP服务。接着,重启系统并确认177端口开放。最后,使用Xmanager的Xbrowser功能,成功实现远程桌面登录Linux系统。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

原创作品,出自 “深蓝的blog” 博客,欢迎转载,转载时请务必注明以下出处,否则追究版权法律责任。

深蓝的blog:http://blog.youkuaiyun.com/huangyanlong/article/details/40979611

 

实验环境

实验平台

WIN7 旗舰版 64bit

虚拟机软件

VM VirtualBox 4.2

虚拟操作系统

CentOS5.6 64bit

远程桌面软件

Xmanager Enterprise 4

一、总结过程记录

(1)、修改custom.conf

[root@xckydb ~]# vi /etc/gdm/custom.conf

--xdmcp添加信息,把Enable=0改为Enable=1

(2)、修改Xaccess

[root@xckydb ~]# vi /usr/share/config/kdm/Xaccess

--把“#*#any host can get a login window”这行信息前#去掉

(3)、修改kdmrc

[root@xckydb ~]# vi /usr/share/config/kdm/kdmrc

--Xdmcp下将Enable改为trueEnable=true

(4)、重启系统

[root@xckydb ~]# reboot

(5)、查看177端口

[root@xckydb ~]# netstat -na|grep 177

--XDMCP服务对应的端口为177

udp        0      0 0.0.0.0:177                 0.0.0.0:*

(6)、使用Xmanager软件Xbrowser实现远程桌面LINUX系统

包括配置文件的全部内容及操作截图,参考如下“详细过程记录”。

二、详细过程记录

1. 修改LINUX系统设置

(1)、修改custom.conf

[root@xckydb ~]# vi /etc/gdm/custom.conf

--xdmcp添加信息,把Enable=0改为Enable=1

--custom.conf文件内全部内容如下

GDM Configuration Customization file.
#
# This file is the appropriate place for specifying your customizations to the
# GDM configuration.   If you run gdmsetup, it will automatically edit this
# file for you and will cause the daemon and any running GDM GUI programs to
# automatically update with the new configuration.  Not all configuration
# options are supported by gdmsetup, so to modify some values it may be
# necessary to modify this file directly by hand.
#
# Older versions of GDM used the "gdm.conf" file for configuration.  If your
# system has an old gdm.conf file on the system, it will be used instead of
# this file - so changes made to this file will not take effect.  Consider
# migrating your configuration to this file and removing the gdm.conf file.
#
# To hand-edit this file, simply add or modify the key=value combination in
# the appropriate section in the template below.  Refer to the comments in the
# /usr/share/gdm/defaults.conf file for information about each option.  Also
# refer to the reference documentation.
#
# If you hand edit a GDM configuration file, you should run the following
# command to get the GDM daemon to notice the change.  Any running GDM GUI
# programs will also be notified to update with the new configuration.
#
# gdmflexiserver --command="UPDATE_CONFIG <configuration key>"
#
# e.g, the "Enable" key in the "[debug]" section would be "debug/Enable".
#
# You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and
# re-read the new configuration settings.  You can also restart GDM by sending
# a HUP or USR1 signal to the daemon.  HUP behaves like gdm-restart and causes
# any user session started by GDM to exit immediately while USR1 behaves like
# gdm-safe-restart and will wait until all users log out before restarting GDM.
#
# For full reference documentation see the gnome help browser under
# GNOME|System category.  You can also find the docs in HTML form on
# http://www.gnome.org/projects/gdm/
#
# NOTE: Lines that begin with "#" are considered comments.
#
# Have fun!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值