Hi,
On Wed, 2006-06-07 at 07:16 -0700, Michel Maria-Sube wrote:
Hello,
I'm working for a big client in France who uses a windows2K network
and also HP-UNIX servers, communication between machines is done by
VNC; now I'd like to work with cygwin to obtain acess on UNIX
machines; I've no problem to start the emulator but can't start the
graphical server (using startx command; it should be possible
-depending of parametrisation- to launch kde, gnome or xwindows);
actually, I'm on two possibility which can be source of problem:
-X11 packages have not been correctly installed (maybe beause a font
is not correctly intalled?)
the error message does not say that
-there is a conflict with VNC on a certain port (this
should be
because VNC has been installed BEFORE CygWin but I'm not sure).
no, they use different ports
When invoking startx, I receive folowing error message
in calling
shell:
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.1.0-9
Contact: cygwin-xfree(a)cygwin.com
XWin was started with the following command line:
X :0 -multiwindow -clipboard
this starts the Cygwin X server in multiwindow (AKA "rootless" IIRC)
mode. It will put each X11 window in a separate Windows window.
From what you wrote above I assume that that is not
what you want,
and that you want a VNC-like setup (ie. one window containing a
complete desktop session on the unix server).
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be
set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winCheckDisplayNumber - Cygwin/X is already running on display 0
Check if there as an "X" icon in the right portion of your taskbar
(notification area? don't know the Windows terminology). If there is,
an instance of X is already running.
Fatal server error:
InitOutput - Duplicate invocation on display number: 0. Exiting.
winDeinitMultiWindowWM - Noting shutdown in progress
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
Any suggestion is welcome
If you want to have a VNC-like setup, you may want to use XDMCP.
For that, you need:
- a display manager on your unix server. I prefer gdm, it rocks.
Others are kdm and xdm. Enable XDMCP handling in your display
manager configuration.
- In your cygwin installation, find the "StartXWin.bat" file,
and edit it. Somewhere it will call the XWin.exe with some
parameters. You need to change the parameters to include
"-query <name_of_server_or_IP>". You can then create a copy
of StartXWin.bat for each server that you want to access.
Test StartXWin.bat before modifying it - if it doesn't work unmodified,
your setup is borked.
Notes:
- XDMCP is not encrypted. Once you get it working, consider using
a SSH tunnel or a VPN if necessary. And the X protocol is not
known for being very secure either.
- In the process, your unix server will try to connect back to your
Cygwin X server. Take care that there is no firewall in the way,
or you will get strange hangs. Also, reverse DNS has to work.
- There are other ways to reach the same goal. For example
using Xvnc on the Unix server, you can directly get a
graphical login on the unix server through a VNC connection.
This is far easier to deploy on the Windows side then a "real"
X/XDMCP connection since you won't need Cygwin at all. However
this approach comes with its own bag of problems.
HTH,
Christian Glodt
Thank you in advance
Cheers
M.
_______________________________________________
Lilux-help mailing list
Lilux-help(a)lilux.lu
http://lilux.lu/mailman/listinfo/lilux-help