yangwawa
07-19-2004, 01:40 PM
I want to connect the Knoppix from a windows operation system by X-Win32 software. The information shows "Connection refused", so I modified the "/etc/X11/xdm/Xservers"
# $Xorg: Xserv.ws.cpp,v 1.3 2000/08/17 19:54:17 cpqbld 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
#
# When adding X servers, please keep the following things in mind:
# - For each X server other than :0, the display number must be on the command
# line.
# - This is the place to add the -bpp option to the command line.
# - It is wise to add the vtXX option to each local X server, since this is
# the only sure way of knowing in advance which X server attaches to which
# console.
# - See the Xserver(1) manpage for a description of X server options.
#
# Examples for multiple local X displays:
# :0 local /usr/X11R6/bin/X :0 vt9 -bpp 16
# :1 local /usr/X11R6/bin/X :1 vt10 -bpp 8
:0 local /usr/X11R6/bin/X vt7 -nolisten tcp
#############################################
192.168.1.11:0 foreign
#############################################
----but I can save the file,what's the problem,What should i do for this?
# $Xorg: Xserv.ws.cpp,v 1.3 2000/08/17 19:54:17 cpqbld 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
#
# When adding X servers, please keep the following things in mind:
# - For each X server other than :0, the display number must be on the command
# line.
# - This is the place to add the -bpp option to the command line.
# - It is wise to add the vtXX option to each local X server, since this is
# the only sure way of knowing in advance which X server attaches to which
# console.
# - See the Xserver(1) manpage for a description of X server options.
#
# Examples for multiple local X displays:
# :0 local /usr/X11R6/bin/X :0 vt9 -bpp 16
# :1 local /usr/X11R6/bin/X :1 vt10 -bpp 8
:0 local /usr/X11R6/bin/X vt7 -nolisten tcp
#############################################
192.168.1.11:0 foreign
#############################################
----but I can save the file,what's the problem,What should i do for this?