Chinaunix

标题: 请教高手X.win32怎么老连不上去? [打印本页]

作者: charly    时间: 2003-01-28 12:59
标题: 请教高手X.win32怎么老连不上去?
下载了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

怎么回事情啊!
作者: wwwzc    时间: 2003-01-28 13:20
标题: 请教高手X.win32怎么老连不上去?
firewall 怎么样?

旧版 linux 精华里有一篇 X-win32 使用的贴子,查来看看:
http://chinaunix.net/bbsjh/1/ 里的:
http://www.chinaunix.net/bbsjh/1/6717.html
作者: charly    时间: 2003-01-28 13:33
标题: 请教高手X.win32怎么老连不上去?
我就是按照这篇做的,不行。
作者: 梦叮咚    时间: 2003-01-28 14:13
标题: 请教高手X.win32怎么老连不上去?
export DISPLAY=192.168.0.2:0
gnome-session

我试过了,挺好用的.

注意x-win32安全设置里的IP.
作者: charly    时间: 2003-01-28 14:37
标题: 请教高手X.win32怎么老连不上去?
我都快要崩溃了!
你是怎么弄的?
作者: cgweb    时间: 2003-01-28 16:32
标题: 请教高手X.win32怎么老连不上去?
在SERVER输入+XHOST
作者: charly    时间: 2003-01-28 17:17
标题: 请教高手X.win32怎么老连不上去?
没有这个命令啊
作者: icflying    时间: 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
作者: icflying    时间: 2003-01-28 17:27
标题: 请教高手X.win32怎么老连不上去?
如果还不行
那就要看你的linux网络连接有没有问题
作者: charly    时间: 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       #
作者: charly    时间: 2003-01-29 17:13
标题: 请教高手X.win32怎么老连不上去?
It says: "XDMCP connection fault "
and I change "! DisplayManager.requestPort: 0"->;" DisplayManager.requestPort: 0" and try again
but still dissuccess
WHY?
作者: charly    时间: 2003-02-03 18:09
标题: 请教高手X.win32怎么老连不上去?
为什么?
作者: 孤独的鹰    时间: 2003-02-05 09:27
标题: 请教高手X.win32怎么老连不上去?
原帖由 "梦叮咚" 发表:
export DISPLAY=192.168.0.2:0
gnome-session

我试过了,挺好用的.

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

就这个最好用,我读了N多文章。就这个成功了。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2