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/



Re: Unable to load any usable iso8859 font

2009-02-04 Thread Rajesh Advani


Dan Moulding wrote:
 
 I typically update my Cygwin installations about once a month, and
 rarely run into any difficulties. However, this morning after updating
 I could no longer start any X applications due to some apparent font
 problems. Please note that I successfully installed the *new* Cygwin/X
 a couple of months ago, and previously resolved some of the seemingly
 more common font problems (like boxes showing up in emacs).
 
 This time, I was getting Unable to load any usable iso8859 font
 errors anytime I'd try to start xterm.
 

I had the exact same problem, and a couple of others including missing adobe 
fonts.
Here are the packages I installed, to get over font related issues. I may have 
installed a few extra ones.

font-adobe-dpi100 - To fix the adobe font issues
font-adobe-dpi75  - To fix the adobe font issues
font-bitstream-dpi100 - Just in case
font-bitstream-dpi75 - Just in case
font-bitstream-type1 - Just in case
font-bitstream-vera-ttf - Just in case
font-misc-misc - I think I read something somewhere on the internet which led 
me to install this. Don't remember.
xorg-scripts - I had trouble with xinit - (specifically the X Win Server 
shortcut not working from D drive which I've mentioned in another post)

I don't think I installed anything else other than the default upgrade options.

If someone can tell me how to retrieve a list of all installed packages on my 
system, I can send that over too.

Rajesh



  

--
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/



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

2009-01-30 Thread Rajesh Advani
Bug description: X Win Server shortcut won't work if Cygwin not in C drive

To reproduce:
1. Install Cygwin/X in a drive other than C: (say D:)
2. Try starting the x server using the Start Menu - Cygwin-X 
Nothing will happen.

Reason:
The shortcut 'XWin Server' runs the command - 

path-to-cygwin\bin\run.exe /usr/bin/startxwin.bat

However, it doesn't provide a Start in directory. The default Start in is 
in C:, and the above command for some reason needs to be executed in the same 
in a working directory on the same drive where Cygwin is installed.

Solution/Workaround:
Change/Set the Start in value in the 'XWin Server' shortcut, to the drive 
where you installed Cygwin (say D:\).


Note: Both the machines I tested this in, already had Cygwin/X11R6 installed. I 
got this problem (and a couple of issues of missing Adobe and ISO8859 fonts - 
but that's a different problem) when I upgraded from X116 to X117. I haven't 
tried a fresh install, but I don't see a reason why that would behave 
differently.


  

--
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/