使用Xmanager远程访问Redhat Enterprise Linux 6.1 - graybull's Blog

使用Xmanager远程访问Redhat Enterprise Linux 6.1

graybull posted @ 2013年4月12日 22:28 in Unix/Linux with tags xmanager redhat linux remote connection xdmcp , 5453 阅读
  • 在Linux服务器开启gdm
  • 配置防火墙
  • 配置selinux
  • 使用xmanager连接linux服务器

 

在Linux服务器开启gdm

1) 配置custom.conf

# vi /etc/gdm/custom.conf

在[xdmcp]下添加:

enable=true

port=177

在[security]下添加:

AllowRemoteRoot=true

2)配置inittab

# vi /etc/inittab

最后一行应该为:

id:5:respawn:/usr/sbin/gdm

配置防火墙

主要是修改iptables的规则。

# vi /etc/sysconfig/iptables

添加以下内容:

-A INPUT -m state --state NEW -m tcp -p tcp --dport 177 -j ACCEPT

-A INPUT -m state --state NEW -m udp -p udp --dport 177 -j ACCEPT

配置selinux

永久关闭selinux策略:

# vi /etc/sysconfig/selinux

修改SELINUX=disabled

或者非永久关闭selinux策略:

setenforce=0

以上所有配置完成后,使用init 6重启Linux服务器。

使用xmanager连接linux服务器

打开xmanager软件的xbrowser,新建会话连接linux服务器。

 

Avatar_small
queensland-assignmen 说:
2018年11月26日 04:35

I was facing problem in the installation of Linux when stopped here and amazed to see the perfect solution of my error. Now everything is fine as I have rectified the Linux problem.

Avatar_small
temple run 说:
2018年12月18日 16:43

Your post is very interesting and it is very useful for me, thank you for sharing this great article.

Avatar_small
kumpulbagi 说:
2019年1月27日 22:54

The sites you have referred was good. Thanks for sharing.

Avatar_small
Tunngle 说:
2019年1月27日 22:55

This is very detailed and informational post. Thanks a lot.

Avatar_small
Tunngle 说:
2019年1月27日 22:56

This is very detailed and informational post. Thanks a lot.

Avatar_small
supersu 说:
2019年1月27日 22:57

Thank you a lot! It’s really helpful

Avatar_small
remove password in w 说:
2019年6月14日 00:26

somebody told me that we can remove password of any PC. I did not believe him. since I visit here realize that his words are true. Now I can remove password in window 10 of any system and use it.

Avatar_small
Alyssa 说:
2022年12月21日 00:30

Using Xmanager to remotely access Redhat Enterprise Linux 6.1 is a great way to get a powerful remote access solution. This program provides access to the full range of X Window System servers, making it possible The Vandals to run any Linux application remotely. Additionally, Xmanager provides a number of security features, making it a safe and secure way to access your data.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee