LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 878|回复: 8

FC 5 如何局域网内远程登陆图形界面呢

[复制链接]
发表于 2006-10-5 13:08:36 | 显示全部楼层 |阅读模式
如何设置linux服务器桌面环境呢
发表于 2006-10-5 13:16:07 | 显示全部楼层
都不知道你问的是什么意思?是不是远程登录用X?是的话用 ssh 最方便:

ssh -l userid -X serverip

userid 是用户名,
serverip 是服务器地址。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-5 13:39:16 | 显示全部楼层
3Q
我想在win环境下用类似于xmanager的工具来登录linux的X桌面
回复 支持 反对

使用道具 举报

发表于 2006-10-5 13:58:12 | 显示全部楼层
用vnc吧。
回复 支持 反对

使用道具 举报

发表于 2006-10-5 19:20:30 | 显示全部楼层
听说vnc最方便
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-5 19:51:42 | 显示全部楼层
嘻嘻
搞定了
FC5:
How to configure Linux XDMCP(KDE/GNOME) settings for Xmanager

Affected Files

For runlevel: /etc/inittab
For GDM: /etc/X11/gdm/gdm.conf
/etc/gdm/custom.conf (Fedora Core 5)
For KDM: /etc/X11/xdm/xdm-config
/etc/X11/xdm/Xaccess
/etc/X11/xdm/kdmrc
/usr/share/kdm/kdmrc
/usr/share/config/kdm/kdmrc
/etc/opt/kde2/share/config/kdm/kdmrc
For Firewall: /etc/sysconfig/ipchains

Step 1. Change runlevel to enable gdm or kdm.

Open /etc/inittab file.
Change the runlevel to 5 as following:

id:5:initdefault:
Step 2. GDM configuration (When the Linux is using gdm)

Open /etc/X11/gdm/gdm.conf file. (/etc/gdm/custom.conf for Fedora Core 5)
Go to the [xdmcp]section.
Set the value of Enable option to true or 1.
Step 3. KDM configuration (When the Linux is using kdm)

Open /etc/X11/xdm/xdm-config file.
Comment out "requestPort" option as following:
DisplayManager.requestPort: 0
==>
!DisplayManager.requestPort: 0
Open /etc/X11/xdm/Xaccess file.
Remove the initial "#" character for the following line:
#* #any host can get a login window
==>
* #any host can get a login window
Open /etc/X11/xdm/kdmrc,
/usr/share/config/kdm/kdmrc or
/etc/opt/kde2/share/config/kdm/kdmrc file.
Change the value of "Enable" option to "true".
Step 4. Firewall configuration (If the firewall has been configured)

Open /etc/sysconfig/ipchains file.
Add the following lines at the top of the file:

-A input -p udp -s 0/0 -d 0/0 177 -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 telnet -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 ssh -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 login -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 exec -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 shell -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 7100 -j ACCEPT
Step 5. Restart your Linux to activate the changes.
回复 支持 反对

使用道具 举报

发表于 2006-10-6 11:48:25 | 显示全部楼层
用VNC的前提是两台机子一个装vnc的服务器段,一个装客户端才能进行远程访问管理!

最好的是SSH
回复 支持 反对

使用道具 举报

发表于 2006-10-6 14:06:31 | 显示全部楼层
Post by 乾子
用VNC的前提是两台机子一个装vnc的服务器段,一个装客户端才能进行远程访问管理!

最好的是SSH

ssh不用服务器端??sshd是干什么的呢!!
回复 支持 反对

使用道具 举报

发表于 2006-10-6 14:14:08 | 显示全部楼层
ïå在GMD/KDMÌ启¨VNC。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表