Re: Possible issue with X-start-menu-items : XWin fails to start when launched from start menu icon

2009-02-08 Thread Rajesh Advani
I reported the exact same problem in my mail titled -

Bug: xinit: XWin Server shortcut won't work if Cygwin not in C:

I had a default HOME but installed Cygwin at d:\cygwin. Updating the starts 
in field to d:\ fixes the problem.


- Original Message 
From: Simon McQueen s...@prismtech.com
To: cygwin-xfree@cygwin.com
Sent: Friday, February 6, 2009 6:27:14 PM
Subject: Possible issue with X-start-menu-items : XWin fails to start when  
launched from start menu icon

Hi all,

I have performed a complete cygwin install from scratch today. cygcheck output 
is attached.

Please note that my specific user home is not the Windows default. It's e:\sm, 
hence my ~ is /cygdrive/e/sm. Cygwin is installed in the default location of 
c:\cygwin.

Attempting to launch XWin Server from the start menu icon does not launch a 
shell or produce the running XWin widget in the system tray.

I've acknowledged the below:

s...@beatrice ~
$ startxwin.bat
startxwin.bat - Starting on Windows NT/2000/XP/2003
The system cannot find the path specified.
The system cannot find the path specified.

s...@beatrice ~
$ pushd /cygdrive/c
/cygdrive/c ~

s...@beatrice /cygdrive/c
$ startxwin.bat
startxwin.bat - Starting on Windows NT/2000/XP/2003

s...@beatrice /cygdrive/c
$

... in the second instance XWin starts OK. The comments in the batch file 
explain why this is the case.

Examining the properties of the C:\Documents and Settings\All Users\Start 
Menu\Programs\Cygwin-X\XWin Server shortcut that I used when trying to launch 
X from the start menu I note that the Start in field is unpopulated. This 
contrasts with C:\Documents and Settings\All Users\Start 
Menu\Programs\Cygwin-X\xterm where this field has the value c:\cygwin\bin.

If I populate this field in the XWin Server shortcut with c:\cygwin\bin the 
shortcut works as expected and X launches OK. I presume (but am unable to 
verify) that this would still be the case for users in the more typical case of 
having their homes on c:.

Thanks for reading.

Cheers,
-- Simon McQueen  s...@prismtech.com
OpenFusion CORBA  OpenSplice DDSskype:simonmcqueen?add
http://www.prismtech.com/middleware  callto://+441914979966
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:  http://cygwin.com/problems.html
Documentation:http://x.cygwin.com/docs/
FAQ:  http://x.cygwin.com/docs/faq/


  

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



Possible issue with X-start-menu-items : XWin fails to start when launched from start menu icon

2009-02-06 Thread Simon McQueen

Hi all,

I have performed a complete cygwin install from scratch today. cygcheck 
output is attached.


Please note that my specific user home is not the Windows default. It's 
e:\sm, hence my ~ is /cygdrive/e/sm. Cygwin is installed in the default 
location of c:\cygwin.


Attempting to launch XWin Server from the start menu icon does not 
launch a shell or produce the running XWin widget in the system tray.


I've acknowledged the below:

s...@beatrice ~
$ startxwin.bat
startxwin.bat - Starting on Windows NT/2000/XP/2003
The system cannot find the path specified.
The system cannot find the path specified.

s...@beatrice ~
$ pushd /cygdrive/c
/cygdrive/c ~

s...@beatrice /cygdrive/c
$ startxwin.bat
startxwin.bat - Starting on Windows NT/2000/XP/2003

s...@beatrice /cygdrive/c
$

... in the second instance XWin starts OK. The comments in the batch 
file explain why this is the case.


Examining the properties of the C:\Documents and Settings\All 
Users\Start Menu\Programs\Cygwin-X\XWin Server shortcut that I used 
when trying to launch X from the start menu I note that the Start in 
field is unpopulated. This contrasts with C:\Documents and Settings\All 
Users\Start Menu\Programs\Cygwin-X\xterm where this field has the value 
c:\cygwin\bin.


If I populate this field in the XWin Server shortcut with 
c:\cygwin\bin the shortcut works as expected and X launches OK. I 
presume (but am unable to verify) that this would still be the case for 
users in the more typical case of having their homes on c:.


Thanks for reading.

Cheers,
--
Simon McQueen  s...@prismtech.com
OpenFusion CORBA  OpenSplice DDSskype:simonmcqueen?add
http://www.prismtech.com/middleware  callto://+441914979966

Cygwin Configuration Diagnostics
Current System Time: Fri Feb 06 12:32:19 2009

Windows XP Professional Ver 5.1 Build 2600 Service Pack 3

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\Program Files\Windows Resource Kits\Tools\
c:\Program Files\PHP\
c:\Perl\bin\
c:\Python24\
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\Support Tools\
C
C:\cygwin\Program Files\ISIS\CoSMIC\bin
c:\Program Files\QuickTime\QTSystem\
c:\Program Files\IDM Computer Solutions\UltraEdit-32
C:\cygwin\bin
e:\sm\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 11294(sm)  GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 11294(sm)  GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'sm'
PWD = '/cygdrive/e/sm'
HOME = '/cygdrive/e/sm'
MAKE_MODE = 'unix'

HOMEPATH = '\sm'
GME_ROOT = 'C:\Program Files\GME\'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'e:\sm\Application Data'
HOSTNAME = 'beatrice'
VS71COMNTOOLS = 'c:\Program Files\Microsoft Visual Studio .NET 
2003\Common7\Tools\'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 14 Stepping 8, GenuineIntel'
WINDIR = 'C:\WINDOWS'
OLDPWD = '/usr/bin'
USERDOMAIN = 'PRISMTECH'
PHPRC = 'C:\Program Files\PHP\'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
TEMP = '/cygdrive/c/Temp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
LIB = 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\'
QTJAVA = 'C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip'
PROCESSOR_LEVEL = '6'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'e:\sm'
CLIENTNAME = 'Console'
COSMIC_ROOT = 'C:\Program Files\ISIS\CoSMIC\'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\...@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\POWEREDGE'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyw'
OPENSSL_CONF = 'C:\OpenSSL097i\bin\openssl.cnf'
HOMEDRIVE = 'e:'
PROMPT = '$P$G'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
TMP = '/cygdrive/c/Temp'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = '\\POWEREDGE\Sharp Copier South'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0e08'
CLASSPATH = '.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip'
!E: = 'E:\sm'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '2'
INCLUDE = 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\'
SESSIONNAME = 'Console'
COMPUTERNAME = 'BEATRICE'
_ = '/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin

Re: Possible issue with X-start-menu-items : XWin fails to start when launched from start menu icon

2009-02-06 Thread Alexander Gottwald
Simon McQueen schrieb:
 Attempting to launch XWin Server from the start menu icon does not
 launch a shell or produce the running XWin widget in the system tray.


Well, I think I'm still kind of the maintainer but I have not touched
that package in a long time so it's still not updated to reflect the x11
package layout.

Since updating it would make the person angry who writes my paycheck I
rather put the X-start-menu-items package up for adoption.

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