免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 2426 | 回复: 12
打印 上一主题 下一主题

请教高手X.win32怎么老连不上去? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-01-28 12:59 |只看该作者 |倒序浏览
下载了X.win32,我修改了下面几个文件,可是就是不行,屏幕上出现一片灰蒙蒙,没有出现login窗口。请高手帮我指点一下(RedHat 7.0):

1、/etc/X11/xdm/xdm-config
         DisplayManager.requestPort:     0
改成:! DisplayManager.requestPort:     0

2、/etc/X11/xdm/Xaccess
         #*    # any host can get a login window
改成:*    # any host can get a login window

3、/etc/X11/xdm/Xserver
         :0 local /usr/X11R6/bin/X
改成:#:0 local /usr/X11R6/bin/X

在X.win32里面,选择XDMCP mode—>;query,然后在hostname中输入windows的IP地址192.168.168.29,在session flag里面选中AutoRestart和ShowMessage,在下拉菜单里选择Default

怎么回事情啊!

论坛徽章:
0
2 [报告]
发表于 2003-01-28 13:20 |只看该作者

请教高手X.win32怎么老连不上去?

firewall 怎么样?

旧版 linux 精华里有一篇 X-win32 使用的贴子,查来看看:
http://chinaunix.net/bbsjh/1/ 里的:
http://www.chinaunix.net/bbsjh/1/6717.html

论坛徽章:
0
3 [报告]
发表于 2003-01-28 13:33 |只看该作者

请教高手X.win32怎么老连不上去?

我就是按照这篇做的,不行。

论坛徽章:
0
4 [报告]
发表于 2003-01-28 14:13 |只看该作者

请教高手X.win32怎么老连不上去?

export DISPLAY=192.168.0.2:0
gnome-session

我试过了,挺好用的.

注意x-win32安全设置里的IP.

论坛徽章:
0
5 [报告]
发表于 2003-01-28 14:37 |只看该作者

请教高手X.win32怎么老连不上去?

我都快要崩溃了!
你是怎么弄的?

论坛徽章:
6
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-03 17:33:522015元宵节徽章
日期:2015-03-06 15:50:39IT运维版块每日发帖之星
日期:2016-01-11 06:20:00IT运维版块每日发帖之星
日期:2016-03-19 06:20:0019周年集字徽章-19
日期:2019-09-06 18:56:11
6 [报告]
发表于 2003-01-28 16:32 |只看该作者

请教高手X.win32怎么老连不上去?

在SERVER输入+XHOST

论坛徽章:
0
7 [报告]
发表于 2003-01-28 17:17 |只看该作者

请教高手X.win32怎么老连不上去?

没有这个命令啊

论坛徽章:
0
8 [报告]
发表于 2003-01-28 17:25 |只看该作者

请教高手X.win32怎么老连不上去?

1. # ntsysv
运行ntsysv命令启用named 、telnet 和 wu_ftpd 服务,禁用httpd 、mysqld、iptables和ipchains 服务和其他一些不需要的服务。
2. # cd /etc/X11/xdm
3. 修改 xdm-config,把下面这行注释掉:
  “DisplayManager.requestPort:     0”  -->;  “!DisplayManager.requestPort:     0”
4. 修改    Xaccess
  “#*    # any host can get a login window”-->; “*    # any host can get a login window”
5. 修改 Xservers
  “:0 local /usr/X11R6/bin/X” -->; “#:0 local /usr/X11R6/bin/X”
6. # xdm -debug 1
7. reboot

论坛徽章:
0
9 [报告]
发表于 2003-01-28 17:27 |只看该作者

请教高手X.win32怎么老连不上去?

如果还不行
那就要看你的linux网络连接有没有问题

论坛徽章:
0
10 [报告]
发表于 2003-01-29 12:14 |只看该作者

请教高手X.win32怎么老连不上去?

网络连接肯定没有问题,ping内网、外网都没问题,firewall都已经关掉
在X.win32里面,选择XDMCP mode—>;query,然后在hostname中输入windows的IP地址192.168.168.29,在session flag里面选中AutoRestart和ShowMessage,在下拉菜单里选择Default

# more xdm-config
! $XConsortium: xdm-conf.cpp /main/3 1996/01/15 15:17:26 gildea $
! $XFree86: xc/programs/xdm/config/xdm-conf.cpp,v 1.6 2000/01/31 19:33:43 dawes Exp $
DisplayManager.errorLogFile:    /var/log/xdm-errors
DisplayManager.pidFile:         /var/run/xdm-pid
DisplayManager.keyFile:         /etc/X11/xdm/xdm-keys
DisplayManager.servers:         /etc/X11/xdm/Xservers
DisplayManager.accessFile:      /etc/X11/xdm/Xaccess
DisplayManager.willing:         su nobody -c /etc/X11/xdm/Xwilling
! All displays should use authorization, but we cannot be sure
! X terminals will be configured that way, so by default
! use authorization only for local displays :0, :1, etc.
DisplayManager._0.authorize:    true
DisplayManager._1.authorize:    true
! The following three resources set up display :0 as the console.
DisplayManager._0.setup:        /etc/X11/xdm/Xsetup_0
DisplayManager._0.startup:      /etc/X11/xdm/GiveConsole
DisplayManager._0.reset:        /etc/X11/xdm/TakeConsole
!
DisplayManager*resources:       /etc/X11/xdm/Xresources
DisplayManager*session:         /etc/X11/xdm/Xsession
DisplayManager*authComplain:    false
! 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


# more Xservers
# $XConsortium: Xserv.ws.cpp,v 1.3 93/09/28 14:30:30 gildea Exp $
#
# Xservers file, workstation prototype
#
# This file should contain an entry to start the server on the
# local display; if you have more than one display (not screen),
# you can add entries to the list (one per line).  If you also
# have some X terminals connected which do not support XDMCP,
# you can add them here as well.  Each X terminal line should
# look like:
#       XTerminalName:0 foreign
#
#:0 local /usr/X11R6/bin/X


# more Xaccess
# $XConsortium: Xaccess,v 1.5 91/08/26 11:52:51 rws Exp $
# Access control file for XDMCP connections
# To control Direct and Broadcast access:
#       pattern
# To control Indirect queries:
#       pattern         list of hostnames and/or macros ...
# To use the chooser:
#       pattern         CHOOSER BROADCAST
# or
#       pattern         CHOOSER list of hostnames and/or macros ...
# To define macros:
#       %name           list of hosts ...
# The first form tells xdm which displays to respond to itself.
# The second form tells xdm to forward indirect queries from hosts matching
# the specified pattern to the indicated list of hosts.
# The third form tells xdm to handle indirect queries using the chooser;
# the chooser is directed to send its own queries out via the broadcast
# address and display the results on the terminal.
# The fourth form is similar to the third, except instead of using the
# broadcast address, it sends DirectQuerys to each of the hosts in the list
# In all cases, xdm uses the first entry which matches the terminal;
# for IndirectQuery messages only entries with right hand sides can
# match, for Direct and Broadcast Query messages, only entries without
# right hand sides can match.
*                                      #any host can get a login window
#
# To hardwire a specific terminal to a specific host, you can
# leave the terminal sending indirect queries to this host, and
# use an entry of the form:
#
#terminal-a     host-a
#
# The nicest way to run the chooser is to just ask it to broadcast
# requests to the network - that way new hosts show up automatically.
# Sometimes, however, the chooser can't figure out how to broadcast,
# so this may not work in all environments.
#
*               CHOOSER BROADCAST       #any indirect host can get a chooser
#
# If you'd prefer to configure the set of hosts each terminal sees,
# then just uncomment these lines (and comment the CHOOSER line above)
# and edit the %hostlist line as appropriate
#
#%hostlist      host-a host-b
#*              CHOOSER %hostlist       #
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP