PDA

View Full Version : How to use X-Win32 for X-windows !



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?

voldemort
07-19-2004, 06:21 PM
never used xwin32 but used cygwin (free xserver) ssh (or telneted) to computer

then logged in as desired user then typed
export DISPLAY=(the ipaddress of your computer);0.0

example

export DISPLAY=1.1.1.1:0.0

then type name of application

kicker for kde start bar
xfce fro xfce bar
gnome-pannel for gnome bar

xterm for xterm etc....

yangwawa
07-20-2004, 07:35 AM
I'm not run the Knoppix from a HDD installation, I run it from the CD-ROM directly, I can not save any config files which I edited. what should I do to fix the problem. Thanks!