delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/17/10:44:07

Message-Id: <200603171544.k2HFi09t026229@delorie.com>
X-Spam-Check-By: sourceware.org
X-DN-AuthenticatedSender: KHP4FFR6EFCRWRUHUHPAUL9TY3J7M6YN-EfYTik0VuLYzt8UPvmY4qQuqfocTvnyVUYOkrst+0/KxPLdgstrCcxSjakLEceyoOjxQsoP4Cy0=---
From: "Siegfried Heintze" <siegfried AT heintze DOT com>
To: <cygwin AT cygwin DOT com>
Subject: How to run X Session from RH8 via ssh -X? How to run vnc via ssh?
Date: Fri, 17 Mar 2006 08:43:51 -0700
MIME-Version: 1.0
In-Reply-To: <Pine.GSO.4.63.0603020820510.28678@access1.cims.nyu.edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Thanks for all the help so far. I hope this will be a 100%
cygwin-mailing-list compliant posting.

(1) I read the description of TOFU and I still don't understand it. I don't
understand what I am doing wrong. If I want to quote a previous posting,
should I not put the quoted text first and then my response?

(2) For reasons I don't understand, there was a conflict between my router's
sshd and my cygwin's sshd so I resolved the problem by changing the cygwin's
configuration file to start sshd on a different port. Now, using a Red Hat 8
client, I can use both rdesktop and ssh to create two different simultaneous
sessions on my win2003 server.

However, I cannot seem to start an X session from my "ssh  -X -p 892
Administrator AT 209 DOT 22 DOT 31 DOT 134" session. I tried running "explorer ." and that
just hung. OK, that was not an X program.  Then I tried
/usr/X11R6/bin/xclock and it said it could not open the display. Having
already done a xhost+ <remote wan address> before running ssh I tried export
DISPLAY=<client lan address>:0.0 but that did not help: it still could not
open the display.

Do I need to punch a whole in my client's firewall? I doubt the will let me
do that.

Don't I need to start the xserver? Here is my attempt:
startxwin.bat - Starting on Windows NT/2000/XP/2003^M
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-4

Contact: cygwin-xfree AT cygwin DOT com

XWin was started with the following command line:

/usr/X11R6/bin/XWin -multiwindow -clipboard -silent-dup-error

_XSERVTransmkdir: Cannot create /tmp/.X11-unix with root ownership
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winCheckDisplayNumber - Cygwin/X is already running on display 0

Fatal server error:
InitOutput - Duplicate invocation on display number: 0.  Exiting.

winDeinitMultiWindowWM - Noting shutdown in progress

(3) What about vnc? I have installed RealVNC on both the RH8 client and the
Windows 2003 server. Is there also a cygwin VNC? I don't remember seeing
one. Can I make vnc tunnel thru ssh? Would I use the -L or the -R qualifier
on ssh? What would that look like?

Thanks 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019