delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/17/12:57:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.4 required=5.0 tests=BAYES_00,BOTNET
X-Spam-Check-By: sourceware.org
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvsEAH68e0tcGcav/2dsb2JhbACbAnS+J4RdBA
Message-ID: <4B7C2E03.3070705@onetel.com>
Date: Wed, 17 Feb 2010 17:57:23 +0000
From: mike <mikereape AT onetel DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-3.fc11 Thunderbird/3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: correct way to start X server in 1.7
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hi,

I'm just a jerk user so be gentle with me.  I've looked at the user 
guide and searched the mailing list but I may have missed something.  I 
don't know what information is relevant so this is long.  Sorry.

I've been running some version of Cygwin 1.5 for many months now.  I 
would always just double-click on the "XWin Server" icon and then export 
the display variable and ssh into what is currently an F11 box.  
Typically I then only run thunderbird, emacs, firefox and oowriter.  
This all worked pretty well.

However I wanted to upgrade to 1.7.x.  I didn't want to get rid of my 
1.5.x installation until I knew the 1.7.x install was working correctly 
so I stupidly didn't rename my old desktop shortcuts for 1.5.x.  To 
upgrade to 1.7.x I did an "All" install to make sure I didn't miss 
anything even though I almost always just use ssh and only rarely emacs 
and otherwise nothing else.  At the end of the install I was asked if I 
wanted desktop shortcuts and items added to the start menu.  I said yes 
but it seems that because there was already a "Cygwin Bash Shell" in the 
"All Programs" menu and a "Cygwin" and "Cygwin Bash Shell" shortcut on 
the desktop both of which point to C:\cygwin\Cygwin.bat neither the "All 
Programs" menu nor the two desktop icons were updated.

Therefore I created a shortcut to C:\cygwin-1.7\Cygwin.bat.  But if I 
run that or select rxvt-x from All Programs > Cygwin I get the usual 
"cannot open display" message like the X server isn't running.  If I 
navigate to C:\cygwin-1.7\bin\startxwin.exe and then do either thing I 
can open X Windows apps on the remote F11 machine but I think this is 
the wrong way to do that because the X server apparently froze later 
after some use.

So, can someone tell me the proper way to get the X server running or 
(assuming I rename desktop shortcuts, etc.) how to re-run the script to 
set shortcuts, etc. up correctly?  BTW, I run Cygwin on a XP 
Professional Edition machine with auto-updates turned on.

Cheers,
Mike


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

- Raw text -


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