惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

A
Arctic Wolf
博客园 - 聂微东
F
Fortinet All Blogs
云风的 BLOG
云风的 BLOG
小众软件
小众软件
V
Visual Studio Blog
博客园 - 三生石上(FineUI控件)
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Apple Machine Learning Research
Apple Machine Learning Research
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The Cloudflare Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
L
LangChain Blog
A
About on SuperTechFans
阮一峰的网络日志
阮一峰的网络日志
I
Intezer
T
The Blog of Author Tim Ferriss
Security Latest
Security Latest
C
CXSECURITY Database RSS Feed - CXSecurity.com
Know Your Adversary
Know Your Adversary
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
P
Palo Alto Networks Blog
Scott Helme
Scott Helme
S
Secure Thoughts
Spread Privacy
Spread Privacy
T
Threat Research - Cisco Blogs
Attack and Defense Labs
Attack and Defense Labs
P
Privacy & Cybersecurity Law Blog
O
OpenAI News
H
Heimdal Security Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Help Net Security
Help Net Security
C
Cyber Attacks, Cyber Crime and Cyber Security
Blog — PlanetScale
Blog — PlanetScale
GbyAI
GbyAI
G
Google Developers Blog
博客园 - Franky
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
K
Kaspersky official blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
T
Tor Project blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
T
Tenable Blog
Google Online Security Blog
Google Online Security Blog
PCI Perspectives
PCI Perspectives

博客园 - Huntercat

手机流媒体技术介绍--转载 两个标签:EpiData和Nginx solaris10 网络配置 Ubuntu 8.10 Server Apache + SVN + SSL配置 Ubuntu install process show "dpkg was interrupted,you must manually run dpkg --configure -a to correct the problem" Ubuntu 8.10 Server Edition桌面系统的安装 ubuntu8.04做PXE安装服务器 通过PXE安装LINUX操作系统 NX远程连接认证失败的原因及解决方法 Ubuntu使用技巧 Ubuntu下文件移动|复制|打包|解包|挂载iso小结 Ubuntu下Reciteword的安装 SUN SL48磁带库总是离线的解决方案 Ubuntu下配置Telnet服务 Ubuntu下配置SSH服务 Ubuntu启动后死机 NX访问Ubuntu远程桌面配置 周末终于可以正常休息了 评估倒计时
Xmanager远程连接Linux的配置
Huntercat · 2008-05-16 · via 博客园 - Huntercat
 

Windows下通过xmanager远程桌面控制Linux
1>
目录
/usr/X11R6/lib/X11/xdm/Xaccess
or
/etc/X11/xdm/Xaccess
把这句的注释去掉:
* #any host can get a login window
目录
/etc/X11/xdm/xdm-config

#DisplayManager.requestPor前面+ ' ! '
! 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
2>
目录
/etc/X11/gdm/gdm.conf

[xdmcp]
# Distributions: Ship with this off. It is never a safe thing to leave
# out on the net. Setting up /etc/hosts.allow and /etc/hosts.deny to only
# allow local access is another alternative but not the safest.
# Firewalling port 177 is the safest if you wish to have xdmcp on.
# Read the manual for more notes on the security of XDMCP.
Enable=1 #
将其中的Enablefalse 改为Enabletrue Enable1
# The port. 177 is the standard port so better keep it that way
Port=177

3>
目录
/etc/inittab
id:5:initdefault:
# Run xdm in runlevel 5 #
这个位置改为:
x:5:respawn:/usr/bin/gdm
4

确保
/etc/X11/xdm/Xservers
的属性为444
/etc/X11/xdm/Xsetup_0
的属性为755
5>
如果Linux机器配置有防火墙,为防止防火墙将通过177端口(即xdmcp服务)的数据过虑,我们必须加上如下的规则:
#> iptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 177 -j ACCEPT


在安装目录下,我们点击xconfig,选择xdm,如下图,选择”XDM Indirect”,
host:后面填上我们已经配置好的Linux系统的ip,注意下面的XDMCP Port:177,
这就是我们在配置Linux服务器时必须保证 port177的原因。
然后我们双击xmanager安装目录里的xmanager,出现下面的画面,
选择图中的linux机器,然后点击连接即可以连接到我们的redhat登陆桌面了。


官方原版下载 http://download.xmanager.com/files/xmgr20.exe
序列号 SN:040101-110321-000320
官方中文字体下载: http://download.xmanager.com/files/fonts2/chinese.exe

XManager2.0远程连接Linux图形界面

服务器:Red Hat Linux
终端:Xmanager 2.0

使用方法:

服务器上操作:
------------------------
1.
修改 /etc/X11/xdm/Xaccess,将下面的行:
#* # any host can get a login window
改为:
* # any host can get a login window
------------------------
2.
修改/etc/X11/gdm/gdm.conf,找到下面的信息:
[xdmcp]
Enable=0
Enable=false
修改为:
[xdmcp]
Enable=1
Enable=true
并确保以下信息存在:
Port=177
------------------------
3:
修改/etc/inittab,将
id:3:initdefault:
修改为:
id:5:initdefault:
并将最后一行改为:
x:5:respawn:/usr/bin/gdm
-------------------------
4:
确保/etc/X11/xdm/Xservers的属性为444/etc/X11/xdm/Xsetup_0的属性为755
-------------------------
5:
重新启动机器

Xmanager2的配置
不使用图形界面也可以使用Xmanager2登陆进行图形控制
#vi /etc/X11/xdm/xdm-config
在最后一行: DisplayManager.requestPort: 0 前面加!号注释掉此行。
#vi /etc/X11/xdm/Xservers
在最后一行::0 local /usr/X11R6/bin/X 前面加#号注释掉这一行。
#vi /etc/X11/xdm/Xaccess
找到#* #any host can get a login window
把这一行前面的#号去掉,变成:
* #any host can get a login window
最后运行#xdm。这样使用xmanager等工具就可以连接Linux了!


如果使用sshwindows远程登录到linux
ssh 必须开了 X forwarding 的选项。
1.vi /etc/ssh/sshd_config
X11Forwarding 要为 yes
2.vi /etc/ssh/ssh_config
也是的 ForwardX11 yes