Re: Help porting the XLaunch feature to autoselect the display number

2015-02-24 Thread Jon TURNEY

On 24/02/2015 03:57, Michael DePaulo wrote:

I am trying to port this feature of VcXsrv (and XMing also I think) to
Cygwin XLaunch:
https://sourceforge.net/p/vcxsrv/code/ci/460182676a960385dff96c1563f781213060f6fc/

Attached is my WIP patch. (I know it needs the comments updated for main.cc).

There's a bug in main.cc that is causing this to happen when -1 is specified:
http://imgur.com/Jv4tpip


Protip: Ctrl-c works on MessageBox dialogs to copy their contents.

Thanks for looking into this.

Unfortunately, this turns into a non-trivial amount of work.

The upstream design is that -displayfd introduces a file descriptor that 
the child X server process inherits, to which it will write it's display 
number.


(This fd will be one end of a pipe which the parent process has opened, 
and it will read the display number from the fd for the other end)


In the VcXsrv implementation, instead a handle to some shared memory is 
used to pass the display number back. (I guess a Windows anonymous pipe 
would have worked just as well, but possibly this is simpler to implement).


So, you will need to re-write the changes to main.cc to create a pipe 
(using pipe()), pass the write fd using -displayfd, and read the diplay 
number from the read fd.


Even after you've done this, I'm not 100% sure that cygwin pipes are 
successfully propagated across CreateProcess().  I have a vague memory 
this is where I got stuck when I last looked at this, but I'm not sure 
I'd noticed that CreateProcess() is being invoked with 
bInheritHandles=FALSE.


I found my old (non-working) attempt at implementing this [1], which 
might help you a bit.


[1] 
https://github.com/jon-turney/xlaunch/commit/b3fc02fcc9ac43224137963e2aba39abb88608da


--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

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



Help porting the XLaunch feature to autoselect the display number

2015-02-23 Thread Michael DePaulo
Hi,

i was talking with Jon Turney about this on IRC.

I am trying to port this feature of VcXsrv (and XMing also I think) to
Cygwin XLaunch:
https://sourceforge.net/p/vcxsrv/code/ci/460182676a960385dff96c1563f781213060f6fc/

Attached is my WIP patch. (I know it needs the comments updated for main.cc).

There's a bug in main.cc that is causing this to happen when -1 is specified:
http://imgur.com/Jv4tpip

I am not very familiar with C or C++. I am hoping that someone could
give me some advice. (I am much better at Java and bash.)

Thanks,
-Mike


0001-Now-the-display-number-can-be-set-to-automatic-by-sp.patch
Description: Binary data
--
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: Need help to replicate old behavior of my X setup scripts with latest Xfree86 update

2015-01-09 Thread Benjamin Richards
 -Original Message-
 From: Marco Atzeri [mailto:marco.atz...@gmail.com]
 Sent: Tuesday, December 23, 2014 2:17 PM
 To: cygwin-xfree@cygwin.com
 Subject: Re: Need help to replicate old behavior of my X setup scripts with
 latest Xfree86 update
 
 
 
 
 try putting sleep inf in .startxwinrc
 It should simulate the old behaviour
 
 Regards

Thanks for the suggestion.

I actually figured out something similar. I launched fbpanel instead with this 
command:
exec /usr/bin/fbpanel -p multiwindow

I also discovered that the X server is not always opened on display 0, which I 
wanted to force, so I did some digging and found I can do that by creating a 
~/.xserverrc file to change how it launches the X server. I put this in the 
file instead:
/usr/bin/XWin :0 -multiwindow -nolisten tcp

I don’t need external connections as I’m primarily using the X server for local 
programs or with ssh -Y, so the nolisten switch works fine for me.

I also didn’t want xterm to start up at launch, so I had to create an empty 
~/.Xclients file.

Finally, I had change my startup script so that, if the X server isn't running 
yet, it would launch startxwin in the background and loop until it sees the 
fbpanel process in the process list, or time out (after 30 seconds). If it sees 
the process start, it sets up my configurations as before.

It works, albeit not as cleanly as before. I get the extra icon in my taskbar 
for fbpanel since it’s running, and I see the job number get echoed out to the 
terminal when it backgrounds the startxwin script. It also takes longer to 
start since I’m launching fbpanel on top of the server, though I suppose 
putting the sleep command would alleviate some of that. I’ll look into it. 
Thanks!

Sincerely,

Benjamin Richards



--
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: Need help to replicate old behavior of my X setup scripts with latest Xfree86 update

2014-12-24 Thread Jacob Niehus

On Tue, Dec 23, 2014 at 08:17:21PM +0100, Marco Atzeri wrote:

try putting sleep inf in .startxwinrc
It should simulate the old behaviour


Running sleep or any command from .startxwinrc adds an icon to the Win7
taskbar now (I'm referring specifically to the part of the taskbar
showing icons for running appliecations, not the tray - it's always been
in the tray and that's fine). Is there are any to keep the X server
running without the extra clutter after these new changes?

Thanks,
Jake

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



Need help to replicate old behavior of my X setup scripts with latest Xfree86 update

2014-12-23 Thread Ben Richards
Up until the recent update to xinit-1.3.4-1 which overhauled X session
handling, I had my session set up nicely for my purposes. With the
following code in my .zshrc and an empty .startxwinrc, when I launched
Cygwin, Xwin.exe would start on display :0.0, it would set the
$DISPLAY variable, and automatically kill the X server when I exited
that terminal. I like mintty so this let me use that as my shell.

.zshrc contents:
=
startxwin  xserver.log
x_start_success=$?
if [[ $x_start_success == 0 ]]; then
   export DISPLAY=:0.0

   pid=`ps | grep '/usr/bin/XWin' | awk '{print $1;}'`
   alias kill_xwin=kill $pid
   if [[ $TMUX ==  ]]  [[ $x_start_success == 0 ]]; then
alias exit=kill $pid ; \exit
   fi
fi

The aforementioned update disrupted this flow so I’m wondering if
anyone has any suggestions on how I can regain a similar sort of
functionality. I don’t like using xterm in Cygwin and would like to
keep using mintty as my main terminal interface. Before, when I ran
startxwin it would launch the server and quit with an error status as
to whether it was successful or not, leaving Xwin.exe running in the
background. Now it stays in the foreground unless I specify otherwise.
However, my startup script relied on the assumption that Xwin.exe was
running by the time startxwinrc finished, which I cannot guarantee if
I run it as a background task. It also used the exit status where if
it was nonzero, I could assume that I already had X running and it
wouldn’t kill the server if I typed ‘exit’ to exit any subsequent
mintty windows I launched with Alt+F2.

I've tried various configurations and read through the man pages but
haven’t come up with an elegant solution other than the idea of
looping on the ‘ps’ until I see Xwin.exe in the list. Is there a
better way?

Sincerely,

Benjamin Richards

--
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: Need help to replicate old behavior of my X setup scripts with latest Xfree86 update

2014-12-23 Thread Marco Atzeri



On 12/23/2014 7:24 PM, Ben Richards wrote:

Up until the recent update to xinit-1.3.4-1 which overhauled X session
handling, I had my session set up nicely for my purposes. With the
following code in my .zshrc and an empty .startxwinrc, when I launched
Cygwin, Xwin.exe would start on display :0.0, it would set the
$DISPLAY variable, and automatically kill the X server when I exited
that terminal. I like mintty so this let me use that as my shell.

.zshrc contents:
=
startxwin  xserver.log
x_start_success=$?
if [[ $x_start_success == 0 ]]; then
export DISPLAY=:0.0

pid=`ps | grep '/usr/bin/XWin' | awk '{print $1;}'`
alias kill_xwin=kill $pid
if [[ $TMUX ==  ]]  [[ $x_start_success == 0 ]]; then
 alias exit=kill $pid ; \exit
fi
fi

The aforementioned update disrupted this flow so I’m wondering if
anyone has any suggestions on how I can regain a similar sort of
functionality. I don’t like using xterm in Cygwin and would like to
keep using mintty as my main terminal interface.


try putting sleep inf in .startxwinrc
It should simulate the old behaviour

Regards

--
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: help with running startxwin

2013-06-17 Thread Karl K. Berggren

The -nowgl workaround you suggested worked.

Thank you!

On 14/06/2013 Jon TURNEY wrote:


You might try using a different driver version to see if this fixes the problem.



Or, you should be able to work around this problem by starting the X server
with the -nowgl option, or possibly by using the GLWIN_NO_WGL_EXTENSIONS
environment variable.



--
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: help with running startxwin

2013-06-14 Thread Jon TURNEY
On 12/06/2013 00:18, Karl K. Berggren wrote:
 here's the backlog
 
 also the xwin log attached again, no idea if it would be different from this
 run, but just being thorough.
 
 #0  0x64acb60e in ?? () from /cygdrive/c/windows/SysWOW64/ig7icd32.dll

Thanks.  This isn't as useful as it might be, but it shows that the crash is
occurring somewhere in the OpenGL ICD for the Intel Graphics display driver.

You might try using a different driver version to see if this fixes the problem.

Or, you should be able to work around this problem by starting the X server
with the -nowgl option, or possibly by using the GLWIN_NO_WGL_EXTENSIONS
environment variable.

Short of debugging into the crash, it's difficult to determine if this is a
Cygwin X server bug, or one in the graphics driver.

 On 6/11/2013 9:07 AM, Jon TURNEY wrote:
 On 11/06/2013 02:03, Karl K. Berggren wrote:
 I get the following error when I run startxwin from a cygwin (1.7.20) prompt
 on my windows 8 surface tablet

 A fatal error has occurred and Cygwin/X will now exit

 Caught signal 11 (Segmentation fault). Server aborting
 Thanks for reporting this problem.

 Please can you obtain a backtrace using the method under Generating a
 backtrace when the X server is crashing at startup in [1]?

 [1] http://x.cygwin.com/devel/backtrace.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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: help with running startxwin

2013-06-11 Thread Jon TURNEY
On 11/06/2013 02:03, Karl K. Berggren wrote:
 I get the following error when I run startxwin from a cygwin (1.7.20) prompt
 on my windows 8 surface tablet
 
 A fatal error has occurred and Cygwin/X will now exit
 
 Caught signal 11 (Segmentation fault). Server aborting

Thanks for reporting this problem.

Please can you obtain a backtrace using the method under Generating a
backtrace when the X server is crashing at startup in [1]?

[1] http://x.cygwin.com/devel/backtrace.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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: help with running startxwin

2013-06-11 Thread Karl K. Berggren

here's the backlog

also the xwin log attached again, no idea if it would be different from 
this run, but just being thorough.


#0  0x64acb60e in ?? () from /cygdrive/c/windows/SysWOW64/ig7icd32.dll
No symbol table info available.
#1  0x64abec75 in ?? () from /cygdrive/c/windows/SysWOW64/ig7icd32.dll
No symbol table info available.
#2  0x64afde43 in ?? () from /cygdrive/c/windows/SysWOW64/ig7icd32.dll
No symbol table info available.
#3  0x0001 in ?? ()
No symbol table info available.
#4  0x6d011e00 in ?? ()
No symbol table info available.
#5  0x0008 in ?? ()
No symbol table info available.
#6  0x0008 in ?? ()
No symbol table info available.
#7  0x0008 in ?? ()
No symbol table info available.
#8  0x0008 in ?? ()
No symbol table info available.
#9  0x0010 in ?? ()
No symbol table info available.
#10 0x0008 in ?? ()
No symbol table info available.
#11 0x in ?? ()
No symbol table info available.

On 6/11/2013 9:07 AM, Jon TURNEY wrote:

On 11/06/2013 02:03, Karl K. Berggren wrote:

I get the following error when I run startxwin from a cygwin (1.7.20) prompt
on my windows 8 surface tablet

A fatal error has occurred and Cygwin/X will now exit

Caught signal 11 (Segmentation fault). Server aborting

Thanks for reporting this problem.

Please can you obtain a backtrace using the method under Generating a
backtrace when the X server is crashing at startup in [1]?

[1] http://x.cygwin.com/devel/backtrace.html



Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.14.1.0
OS: CYGWIN_NT-6.2-WOW64 kbgrpkkbsurf 1.7.20(0.266/5/3) 2013-06-07 11:11 i686
OS: Windows 8  [Windows NT 6.2 build 9200] (WoW64)
Package: version 1.14.1-1 built 2013-05-07

XWin was started with the following command line:

/usr/bin/Xwin -multiwindow 

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1680 h 1050
winInitializeScreenDefaults - native DPI x 144 y 144
[293904.214] Initializing built-in extension Generic Event Extension
[293904.214] Initializing built-in extension SHAPE
[293904.214] Initializing built-in extension MIT-SHM
[293904.214] Initializing built-in extension XInputExtension
[293904.214] Initializing built-in extension XTEST
[293904.214] Initializing built-in extension BIG-REQUESTS
[293904.214] Initializing built-in extension SYNC
[293904.214] Initializing built-in extension XKEYBOARD
[293904.214] Initializing built-in extension XC-MISC
[293904.214] Initializing built-in extension XINERAMA
[293904.214] Initializing built-in extension XFIXES
[293904.214] Initializing built-in extension XFree86-Bigfont
[293904.214] Initializing built-in extension RENDER
[293904.214] Initializing built-in extension RANDR
[293904.214] Initializing built-in extension COMPOSITE
[293904.214] Initializing built-in extension DAMAGE
[293904.214] Initializing built-in extension MIT-SCREEN-SAVER
[293904.214] Initializing built-in extension DOUBLE-BUFFER
[293904.214] Initializing built-in extension RECORD
[293904.214] Initializing built-in extension DPMS
[293904.214] Initializing built-in extension X-Resource
[293904.214] Initializing built-in extension GLX
[293904.214] (II) xorg.conf is not supported
[293904.214] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more 
information
[293904.214] LoadPreferences: 
/cygdrive/c/Users/berggren/Dropbox/CygwinHome/.XWinrc not found
[293904.214] LoadPreferences: Loading /etc/X11/system.XWinrc
[293904.214] LoadPreferences: Done parsing the configuration file...
[293904.292] winDetectSupportedEngines - DirectDraw installed, allowing ShadowDD
[293904.292] winDetectSupportedEngines - Windows NT, allowing PrimaryDD
[293904.292] winDetectSupportedEngines - DirectDraw4 installed, allowing 
ShadowDDNL
[293904.370] winDetectSupportedEngines - Returning, supported engines 001f
[293904.401] winSetEngine - Multi Window or Rootless = ShadowGDI
[293904.401] winScreenInit - Using Windows display depth of 32 bits per pixel
[293904.573] winAllocateFBShadowGDI - Creating DIB with width: 1680 height: 
1050 depth: 32
[293904.573] winFinishScreenInitFB - Masks: 00ff ff00 00ff
[293904.573] winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 
d 24 bpp 32
[293904.604] winInitMultiWindowWM - Calling pthread_mutex_lock ()
[293904.635] winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
[293904.635] MIT-SHM extension disabled due to lack of kernel support
[293904.651] XFree86-Bigfont extension local-client optimization disabled due 
to lack of shared memory support in the kernel

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

help with running startxwin

2013-06-10 Thread Karl K. Berggren
I get the following error when I run startxwin from a cygwin (1.7.20) 
prompt on my windows 8 surface tablet


A fatal error has occurred and Cygwin/X will now exit

Caught signal 11 (Segmentation fault). Server aborting

Please open /var/log/xwin/XWin.0.log for more information

Vendor: The Cygwin/X Project
Release: 1.14.1.0

Package: version 1.14.1-1 built 2013-05-07

XWin was started with the following command-line:

X :0 -multiwindow

I have also attached the /var/log file indicated...

Any help would be appreciated.

-
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.14.1.0
OS: CYGWIN_NT-6.2-WOW64 kbgrpkkbsurf 1.7.20(0.266/5/3) 2013-06-07 11:11 i686
OS: Windows 8  [Windows NT 6.2 build 9200] (WoW64)
Package: version 1.14.1-1 built 2013-05-07

XWin was started with the following command line:

X :0 -multiwindow 

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1680 h 1050
winInitializeScreenDefaults - native DPI x 144 y 144
[213447.790] Initializing built-in extension Generic Event Extension
[213447.790] Initializing built-in extension SHAPE
[213447.790] Initializing built-in extension MIT-SHM
[213447.790] Initializing built-in extension XInputExtension
[213447.806] Initializing built-in extension XTEST
[213447.806] Initializing built-in extension BIG-REQUESTS
[213447.806] Initializing built-in extension SYNC
[213447.806] Initializing built-in extension XKEYBOARD
[213447.806] Initializing built-in extension XC-MISC
[213447.806] Initializing built-in extension XINERAMA
[213447.806] Initializing built-in extension XFIXES
[213447.806] Initializing built-in extension XFree86-Bigfont
[213447.806] Initializing built-in extension RENDER
[213447.806] Initializing built-in extension RANDR
[213447.806] Initializing built-in extension COMPOSITE
[213447.806] Initializing built-in extension DAMAGE
[213447.806] Initializing built-in extension MIT-SCREEN-SAVER
[213447.806] Initializing built-in extension DOUBLE-BUFFER
[213447.806] Initializing built-in extension RECORD
[213447.806] Initializing built-in extension DPMS
[213447.806] Initializing built-in extension X-Resource
[213447.806] Initializing built-in extension GLX
[213447.806] (II) xorg.conf is not supported
[213447.806] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more 
information
[213447.806] LoadPreferences: 
/cygdrive/c/Users/berggren/Dropbox/CygwinHome/.XWinrc not found
[213447.806] LoadPreferences: Loading /etc/X11/system.XWinrc
[213447.806] LoadPreferences: Done parsing the configuration file...
[213447.821] winDetectSupportedEngines - DirectDraw installed, allowing ShadowDD
[213447.821] winDetectSupportedEngines - Windows NT, allowing PrimaryDD
[213447.821] winDetectSupportedEngines - DirectDraw4 installed, allowing 
ShadowDDNL
[213447.837] winDetectSupportedEngines - Returning, supported engines 001f
[213447.868] winSetEngine - Multi Window or Rootless = ShadowGDI
[213447.868] winScreenInit - Using Windows display depth of 32 bits per pixel
[213447.931] winAllocateFBShadowGDI - Creating DIB with width: 1680 height: 
1050 depth: 32
[213447.931] winFinishScreenInitFB - Masks: 00ff ff00 00ff
[213447.931] winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 
d 24 bpp 32
[213447.962] winInitMultiWindowWM - Calling pthread_mutex_lock ()
[213447.993] winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
[213448.009] MIT-SHM extension disabled due to lack of kernel support
[213448.024] XFree86-Bigfont extension local-client optimization disabled due 
to lack of shared memory support in the kernel
[213448.071] Fatal signal received in thread 0x8038
[213448.071] (EE) Segmentation fault at address 0x2c
[213448.289] (EE) Install gdb to get reasonable backtraces
[213448.305] (EE) /usr/bin/xorg-backtrace failed with returncode 2
[213448.305] Fatal server error: Caught signal 11 (Segmentation fault). Server 
aborting
[213448.305] Server terminated with error (1). Closing log file.

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

Need help gathering log data for gretl_x11 v1.9.7 crashing in Cygwin 1.7.11

2012-03-14 Thread Chloe
When I run gretl and click File  New Dataset  Ok  Forward  Apply, gretl 
crashes and dissapears, leaving no core or log. There is nothing in 
/var/log/xwin/XWin.0.log either (that gretl creates). How do I collect 
debugging information to submit a bug report?

To reproduce, build and run gretl : http://gretl.sourceforge.net/

I searched the archives for gretl but found nothing:
http://sourceware.org/cgi-bin/search.cgi?wm=wrdform=extendedm=alls=Dul=%2Fml%2Fcygwin-xfree%2F%25q=gretl
 


--
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: Need help gathering log data for gretl_x11 v1.9.7 crashing in Cygwin 1.7.11

2012-03-14 Thread marco atzeri

On 3/14/2012 7:14 AM, Chloe wrote:

When I run gretl and click File  New Dataset  Ok  Forward  Apply, gretl
crashes and dissapears, leaving no core or log. There is nothing in
/var/log/xwin/XWin.0.log either (that gretl creates). How do I collect
debugging information to submit a bug report?

To reproduce, build and run gretl : http://gretl.sourceforge.net/

I searched the archives for gretl but found nothing:
http://sourceware.org/cgi-bin/search.cgi?wm=wrdform=extendedm=alls=Dul=%2Fml%2Fcygwin-xfree%2F%25q=gretl




start with strace and check also with gdb.


Regards
Marco


--
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: Need help gathering log data for gretl_x11 v1.9.7 crashing in Cygwin 1.7.11

2012-03-14 Thread Yaakov (Cygwin/X)

On 2012-03-14 01:14, Chloe wrote:

When I run gretl and click File  New Dataset  Ok  Forward  Apply, gretl
crashes and dissapears, leaving no core or log. There is nothing in
/var/log/xwin/XWin.0.log either (that gretl creates). How do I collect
debugging information to submit a bug report?

To reproduce, build and run gretl : http://gretl.sourceforge.net/


WFM.


Yaakov
Cygwin/X

--
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: Help me

2010-02-23 Thread Larry Hall (Cygwin X)

On 02/23/2010 01:10 PM, Skublics Benedek wrote:


Dear Cygwin Team,

I tried to install cygwin to use xfig. I do everithing that this page said:

http://www.cs.usask.ca/~wew036/latex/xfig.html


These instructions are out-of-date.  Try contacting the author to get them
updated to reflect the current state of Cygwin.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

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



Help with installing cygwin-x for vista

2010-02-11 Thread Radhakrishnan Rathnachalam
Hello:

I have windows vista.  I installed cygwin-x and double clicked on the
cygwin icon on the desktop.  It opened up a new terminal. But, when I
issued commands like pwd, ls etc it did not give any responds as
expedcted.  So, I deleted the cygwin thinking that I might have made
some mistakes during installation. Could some help me with the proper
installation instructiuons for vista and how to issue unix commands?
Thanks.

radha

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



need help to startx

2010-01-03 Thread eric lin
Dear cygwin programers:
 
  I am pretty novice of cygwin, I did not know what is exact package I need to 
download for to start X window.  so I download by some guessing.
the result is 
 
  a fatal error has occured and cygwin/X will now exit
  1.7.3.0(10703000)
  Build Date: 2009-12-22
  X Win was started with the following command-line
  X: 0-multiwindow
 
(shell is runing)(from shell I type startx, again failed)
please help( I will contribute I promised after I get x window), thanks in 
advance, eric

--
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: need help to startx

2010-01-03 Thread Yaakov (Cygwin/X)

On 03/01/2010 20:52, eric lin wrote:

   X Win was started with the following command-line
   X: 0-multiwindow


Your spacing is off.  That needs to be:

X :0 -multiwindow

But I strongly recommend you install the xinit package (in the X11 
category), which includes startxwin and a Start Menu shortcut for 
starting XWin in multiwindow mode.



Yaakov
Cygwin/X

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



how do I get help if I can't figure out how to do anything?

2009-12-04 Thread Wendel Dean Renner
Do you have a list of consultants? 
And it is not like I am ignorant of computers.  I write c++ code. 
Without help, who is going to be able to use anything provided?


Have managed to compile and link a Open GL, X/Motif program (using 
lesstif) and

get Error:  Can't open display.

Need to be able to run program remotely on a ubuntu system.   I can't 
get beyond connection refused.


Ran xstartwin.bat and lost control c - control V on Windows.   


--
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: how do I get help if I can't figure out how to do anything?

2009-12-04 Thread Michael Breuer
Have you looked at the troubleshooting documentation? You know you can 
run with verbose and log options. My guess is that the reason the 
display can't be opened is made reasonable clear in your log file(s).
I'm also going to hazard a guess that your xserver doesn't have opengl 
support.

Wendel Dean Renner wrote:
Do you have a list of consultants? And it is not like I am ignorant of 
computers.  I write c++ code. Without help, who is going to be able to 
use anything provided?


Have managed to compile and link a Open GL, X/Motif program (using 
lesstif) and

get Error:  Can't open display.

Need to be able to run program remotely on a ubuntu system.   I can't 
get beyond connection refused.


Ran xstartwin.bat and lost control c - control V on Windows.  
--

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: how do I get help if I can't figure out how to do anything?

2009-12-04 Thread Christopher Faylor
On Fri, Dec 04, 2009 at 09:44:34AM -0500, Wendel Dean Renner wrote:
Do you have a list of consultants? 
And it is not like I am ignorant of computers.  I write c++ code. 
Without help, who is going to be able to use anything provided?

What is a consultant?  Are you actualy saying that you will be willing
to pay someone to help you?  If not, then this list is your
consultant.  If so, then the answer is probably no.

It's free software so if you don't understand something then you read
the documentation.  If the documentation doesn't help then you ask in an
appropriate forum and are grateful when someone volunteers time to help
you.

cgf

--
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: how do I get help if I can't figure out how to do anything?

2009-12-04 Thread Gene C. Ruzicka

Wendel Dean Renner wrote:
Do you have a list of consultants? And it is not like I am ignorant of 
computers.  I write c++ code. Without help, who is going to be able to 
use anything provided?


Have managed to compile and link a Open GL, X/Motif program (using 
lesstif) and

get Error:  Can't open display.

Need to be able to run program remotely on a ubuntu system.   I can't 
get beyond connection refused.


Ran xstartwin.bat and lost control c - control V on Windows.  
--

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/


One issue that comes to mind is your environment. Have you tried running 
other x-clients such
as xterm or xclock? Is the $DISPLAY environmental variable set? 

Cygwin is a tremendously useful bridge between Windows and Linux but 
it's often frustrating to

use.



--
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: how do I get help if I can't figure out how to do anything?

2009-12-04 Thread Scott Fordin

Have you tried starting the Cygwin X Server with the -ac option
to disable access control?

Scott

Gene C. Ruzicka wrote:

Wendel Dean Renner wrote:
Do you have a list of consultants? And it is not like I am ignorant of 
computers.  I write c++ code. Without help, who is going to be able to 
use anything provided?


Have managed to compile and link a Open GL, X/Motif program (using 
lesstif) and

get Error:  Can't open display.

Need to be able to run program remotely on a ubuntu system.   I can't 
get beyond connection refused.


Ran xstartwin.bat and lost control c - control V on Windows.  -- 
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/


One issue that comes to mind is your environment. Have you tried running 
other x-clients such

as xterm or xclock? Is the $DISPLAY environmental variable set?
Cygwin is a tremendously useful bridge between Windows and Linux but 
it's often frustrating to

use.



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



Please, Help me!

2009-10-07 Thread Luis Junior
Hello, (Excuse me for my bad English)  


I am from Brazil and I am asking for a small help.  
  
I could invent histories, but I think the truth works better! I am without 
work and I lost the hopes, this is last resource asking for donation 
through internet.
  
I never thought that I would ask for donations, because I always worked a 
lot, but I had some big problems.  


This help will make me to work again, I worked in home before, and this was 
impossible... now I don't get to think in anything, because I don't have 
not even how to to maintain my house.
  
My happiness is that I have friends that help me, besides a friend is 
helping each other me now with the sending of these emails.  
  

If you can help, even with a small value I will be eternally thankful.  
  
I am receiving donations through Paypal.com, for safety. 

If you can help me with just $1, It will be a great help, because I believe 
that many can help.


For donations:
My Paypal.com Account:  luisj...@gmail.com
  
  
  
Thank you very much and excuse me.

Luis Junior
luisj...@gmail.com


--
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: Help with xfce4 on Cygwin/X

2009-10-05 Thread Yaakov (Cygwin/X)

On 05/10/2009 12:07, Will Lucas wrote:

Hello,

I posted to this list on Sept 23 with the subject header Help with
xfce4 on Cygwin/X and received no response whatsoever.
Needless to say most of the issues I was having were resolved through
trial and error.


Questions about Cygwin Ports packages should be directed to the 
cygwin-ports-general list; they are not supported here.  Redirecting 
accordingly.



What about a browser?  Is there a pending cygport  of Midori coming.


ftp://ftp.cygwinports.org/pub/cygwinports/portslist-2.txt

Ports provides several modern GUI browsers: arora (Qt4), epiphany, 
konqueror, midori, rekonq.



Yaakov

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



Help with xfce4 on Cygwin/X

2009-09-23 Thread Will Lucas
Hello,

I've subscribed over at Xfce user's mailing list but wanted to start
here before asking there...

I'm using cygwin-1.7 and the 1.6 Xserver.  Previously I've tried to
use the fluxbox (built fine but won't start b/c of missing shared
libs) and used wmaker but it was dull.
I've only used the X-Server for GNU emacs.
I was thrilled when I figured out how to correctly install packages
from the cygwinports project and got pretty far along with xfce4.
I was hoping to sort out some issues (described below) and learn more
about the limitations/best practices of the available packages
(starting with xfce4).  Thanks in advance for any assistance.  I've
looked in the FAQ's http://x.cygwin.com/docs/faq/cygwin-x-faq.html but
haven't found any answers.I  copied the xfce4 auto-generated .config
directory to my cygwin $HOME/.config but configuring xfce4 in Linux
seems tricky enough without having to add in the cygwin layer...here's
how I've started xfce4:
I installed the necessary packages from the mirror and can have used 3
ways to start xfce4:


1) Using a .bat file with (in addition to the usual sets and cleanup stuff):

%RUN% XWin -clipboard -silent-dup-error
%RUN% xterm -e /usr/bin/bash -l
startxfce4

2) Using a .bat file with:
%RUN% XWin -keyhook -clipboard -silent-dup-error
%RUN% xfdesktop

3)  Firing up a normal cygwin shell and using 'startxfce4'

RESULTS:
#1 gives best results with desktop, bottom panel and icons looking
good.  Even the splash screen looks good during startup (couldn't find
'Balou Splash Engine' but 'Mice' worked fine.)
#2 loads with missing icons and the bottom panel either cut off or not
loading.  No mouse icon, just a small line.
#3 Starts the X server and that's it.  Msgs in cygwin shell indicate
several incompatible requests coming from shell script outlined in FAQ
but that's enough to tell me I don't want to start xfce this way.

Starting xfce4 with choice 1 seems best but there are some issues:
A)  'Tips and tricks' won't display anything; err msg in (initial
xterm session window which runs throughout xfce session) states:
/bin/sh: fortune: command not found
B)  Log out icons not working:
      4 [main] xfce4-panel 3996 fork: child -1 - died waiting for
longjmp before initialization, retry 0, exit code 0xC005, errno 11
  4 [main] xfce4-panel 5940 fork: child -1 - died waiting for
longjmp before initialization, retry 0, exit code 0xC005, errno 11
C)  Mousepad not installed?

Here's a copy of the xterm session messages after executing startxfce4
(i.e. option #1):
$ startxfce4
/usr/bin/startxfce4: X server already running on display 127.0.0.1:0.0
xrdb:  Xft.hinting on line 12 overrides entry on line 6
xrdb:  Xft.hintstyle on line 14 overrides entry on line 7
xrdb:  XTerm*background on line 28 overrides entry on line 10
xrdb:  XTerm*foreground on line 29 overrides entry on line 9
xscreensaver: 10:43:22: couldn't get password of root
Agent pid 4776
sh: /usr/bin/iceauth: No such file or directory

** (xfce4-session:2164): WARNING **: Failed to setup the ICE authentication data
, session management might not work properly.
xfdesktop[1824]: starting up
xfce4-settings-helper is already running

** (xfce4-session:2164): WARNING **: ICE connection 0x6f74d8 rejected
(xfce4-panel:5912): xfce4-panel-WARNING **: No X-XFCE-{Module,Exec} entry found
in /usr/share/xfce4/panel-plugins/thunar-tpa.desktop.

(xfce4-panel:5912): xfce4-panel-WARNING **: Failed to create plugin thunar-tpa
** (xfce4-session:2164): WARNING **: ICE connection 0x6f74d8 rejected

** (xfce4-session:2164): WARNING **: ICE connection 0x6f74d8 rejected

(xfce4-settings-helper:2080): xfce4-settings-helper-WARNING **: Failed to connec
t to session manager

/bin/sh: fortune: command not found

MCS-Xfconf settings migration complete

QUESTIONS:
What's the best way to end the xfce4 session?  I've been bringing down
the X Server.
Is using the Konqueror web browser my only option on Cygwin/X?

Thanks very much for any assistance or suggestions.

-Will

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



x keyboard with most keys dead since update -- faq answer 3.2 no help

2009-02-19 Thread Blake Thomas Andrew
Hi Everyone

Please help, I am quite desperate.

The day before yesterday I inadvertently upgraded to the new version of X.

I had had a slight problem -- emacs suddenly froze, and on restart, I
found myself with a US keyboard layout throughout X. (I need
latin-american). I thought that perhaps downloading setxkbmap using
cygwin setup might help restore the keyboard layout, but I
accidentally ended up downloading the whole current version of cygwin.

On restarting the XWin server, I found that xterm now did not respond
to the keyboard.

More exactly, a little trial and error has shown that some keys work
and some don't.

The keys that do not work are the main alphanumeric and punctuation keys.

But the spacebar, tab, enter, backspace, delete, cursor movement keys,
all numberpad keys, the special / key, (and probably all the
function keys also) all do work.

I can also paste onto the command line.

I have a Toshiba Satellite laptop running Windows Vista.

I have been searching for an answer for the past two days.

There is what seems to be the perfect solution in the Cygwin XFree FAQ
-- question 3.2.

Unfortunately I am already using the startxwin.bat from the /usr/bin
directory. I have the same problem even when I start XWin by
double-clicking on this exact file. Viewing the file shows no
reference to the XKEYSYMDB environment variable, and when I paste
echo $XKEYSYMDB into the xterm command line and press Enter, nothing
but a blank line is produced.

This seems to indicate that my problem is not the same as the problem
that Answer 3.2 is the solution to.

In my attempts to solve the problem I have done a complete
reinstall-from-scratch of cygwin. Same result -- can't use the
keyboard.

I need cygwin for my work -- and I haven't been able to do any work
for the last three days. Please help!

Thanks

Andrew Thomas Blake

--
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: x keyboard with most keys dead since update -- faq answer 3.2 no help

2009-02-19 Thread Jon TURNEY

Blake Thomas Andrew wrote:

Hi Everyone

Please help, I am quite desperate.

The day before yesterday I inadvertently upgraded to the new version of X.

I had had a slight problem -- emacs suddenly froze, and on restart, I
found myself with a US keyboard layout throughout X. (I need
latin-american). I thought that perhaps downloading setxkbmap using
cygwin setup might help restore the keyboard layout, but I
accidentally ended up downloading the whole current version of cygwin.

On restarting the XWin server, I found that xterm now did not respond
to the keyboard.


May we see your /var/log/XWin.0.log, please.

Does setting a different keyboard map using setxkbmap make any difference
(as http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-xkb-not-working)?

Cygcheck output as asked for in http://cygwin.com/problems.html ?


More exactly, a little trial and error has shown that some keys work
and some don't.

The keys that do not work are the main alphanumeric and punctuation keys.

But the spacebar, tab, enter, backspace, delete, cursor movement keys,
all numberpad keys, the special / key, (and probably all the
function keys also) all do work.

I can also paste onto the command line.

I have a Toshiba Satellite laptop running Windows Vista.

I have been searching for an answer for the past two days.

There is what seems to be the perfect solution in the Cygwin XFree FAQ
-- question 3.2.

Unfortunately I am already using the startxwin.bat from the /usr/bin
directory. I have the same problem even when I start XWin by
double-clicking on this exact file. Viewing the file shows no
reference to the XKEYSYMDB environment variable, and when I paste
echo $XKEYSYMDB into the xterm command line and press Enter, nothing
but a blank line is produced.

This seems to indicate that my problem is not the same as the problem
that Answer 3.2 is the solution to.

In my attempts to solve the problem I have done a complete
reinstall-from-scratch of cygwin. Same result -- can't use the
keyboard.


--
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: x keyboard with most keys dead since update -- faq answer 3.2 no help

2009-02-19 Thread Blake Thomas Andrew
Hi

I forgot about your third suggestion -- and in fact setxkbmap us
restores the keyboard! But leaves me with a US layout...

So maybe the trouble is a corrupted la layout? Thanks for the help.

Andrew Thomas Blake


On Thu, Feb 19, 2009 at 5:26 PM, Blake Thomas Andrew
blakethomasand...@gmail.com wrote:
 Here is the XWin log output, and cygcheck.out is attached. Thanks for your 
 help.

 Welcome to the XWin X Server
 Vendor: The Cygwin/X Project
 Release: 1.5.3.0 (20090205)
 Contact: cygwin-xfree@cygwin.com
 XWin was started with the following command line:

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

 ddxProcessArgument - Initializing default screens
 winInitializeDefaultScreens - w 1280 h 800
 winInitializeDefaultScreens - Returning
 (II) XF86Config is not supported
 (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
 winPrefsLoadPreferences: /etc/X11/system.XWinrc
 LoadPreferences: Done parsing the configuration file...
 winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
 winAllocateFBShadowGDI - Creating DIB with width: 2560 height: 1024 depth: 32
 winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
 null screen fn ReparentWindow
 null screen fn RestackWindow
 InitQueue - Calling pthread_mutex_init
 InitQueue - pthread_mutex_init returned
 InitQueue - Calling pthread_cond_init
 InitQueue - pthread_cond_init returned
 winInitMultiWindowWM - Hello
 winInitMultiWindowWM - Calling pthread_mutex_lock ()
 winMultiWindowXMsgProc - Hello
 winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
 MIT-SHM extension disabled due to lack of kernel support
 (II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
 (II) GLX: Initialized DRISWRAST GL provider for screen 0
 (--) 5 mouse buttons found
 (--) Setting autorepeat to delay=500, rate=31
 (--) winConfigKeyboard - Layout: 080A (080a)
 (--) Using preset keyboard for Latin American (80a), type 4
 winInitMultiWindowWM - pthread_mutex_lock () returned.
 winProcEstablishConnection - Hello
 winInitClipboard ()
 winInitMultiWindowWM - pthread_mutex_unlock () returned.
 winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
 winMultiWindowXMsgProc - pthread_mutex_lock () returned.
 winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
 winProcEstablishConnection - winInitClipboard returned.
 winClipboardProc - Hello
 DetectUnicodeSupport - Windows NT/2000/XP
 winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
 winClipboardProc - DISPLAY=127.0.0.1:0.0
 winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the 
 disp
 lay.
 winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the 
 di
 splay.
 winClipboardProc - XOpenDisplay () returned and successfully opened the 
 display.


 On Thu, Feb 19, 2009 at 4:48 PM, Jon TURNEY jon.tur...@dronecode.org.uk 
 wrote:
 Blake Thomas Andrew wrote:

 Hi Everyone

 Please help, I am quite desperate.

 The day before yesterday I inadvertently upgraded to the new version of X.

 I had had a slight problem -- emacs suddenly froze, and on restart, I
 found myself with a US keyboard layout throughout X. (I need
 latin-american). I thought that perhaps downloading setxkbmap using
 cygwin setup might help restore the keyboard layout, but I
 accidentally ended up downloading the whole current version of cygwin.

 On restarting the XWin server, I found that xterm now did not respond
 to the keyboard.

 May we see your /var/log/XWin.0.log, please.

 Does setting a different keyboard map using setxkbmap make any difference
 (as http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-xkb-not-working)?

 Cygcheck output as asked for in http://cygwin.com/problems.html ?

 More exactly, a little trial and error has shown that some keys work
 and some don't.

 The keys that do not work are the main alphanumeric and punctuation keys.

 But the spacebar, tab, enter, backspace, delete, cursor movement keys,
 all numberpad keys, the special / key, (and probably all the
 function keys also) all do work.

 I can also paste onto the command line.

 I have a Toshiba Satellite laptop running Windows Vista.

 I have been searching for an answer for the past two days.

 There is what seems to be the perfect solution in the Cygwin XFree FAQ
 -- question 3.2.

 Unfortunately I am already using the startxwin.bat from the /usr/bin
 directory. I have the same problem even when I start XWin by
 double-clicking on this exact file. Viewing the file shows no
 reference to the XKEYSYMDB environment variable, and when I paste
 echo $XKEYSYMDB into the xterm command line and press Enter, nothing
 but a blank line is produced.

 This seems to indicate that my problem is not the same as the problem
 that Answer 3.2 is the solution to.

 In my attempts to solve the problem I have done a complete
 reinstall-from-scratch of cygwin. Same result -- can't use the
 keyboard.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem

Re: x keyboard with most keys dead since update -- faq answer 3.2 no help

2009-02-19 Thread Jon TURNEY

Blake Thomas Andrew wrote:

The keys that do not work are the main alphanumeric and punctuation keys.


Hmm currently for a latin american keyboard, we (effectively) do an 
internal 'setxkbmap la'


Unfortunately, it seems that this sets a Laos keyboard (I think this might 
have been right historically, but has changed, layout codes have been 
rationalized to match ISO 3166-1 country codes)


I suspect 'setxkbmap latam' will work much better


KeyPress event, serial 27, synthetic NO, window 0xa1,
root 0x7c, subw 0x0, time 10376624, (1,81), root:(1862,343),
state 0x10, keycode 24 (keysym 0x1000ebb, U0EBB), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False


This turns out to be the clue needed, as U+0EBB is some Lao vowel sign, as I'm 
sure you know :-)



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



Why doesn't XWin -help work?

2009-02-14 Thread km4hr

XWin -help doesn't do anything on my machine. How about yours? 

I can't get -query to do anything either. Does this indicate that I don't
have cygwin/x installed correctly?
-- 
View this message in context: 
http://www.nabble.com/Why-doesn%27t-%22XWin--help%22-work--tp22018481p22018481.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
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: Why doesn't XWin -help work?

2009-02-14 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

km4hr wrote:
 XWin -help doesn't do anything on my machine. How about yours? 

Are you trying to start it from the standard cmd/bash prompt?  If so,
known issue:

http://sourceware.org/bugzilla/show_bug.cgi?id=9763


Yaakov
Cygwin/X
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkmXjF8ACgkQpiWmPGlmQSPu+wCeO52Rc7MAX4ngpqBW82QlWS8h
bjAAmQF9tat/ltu9oX7tee8r04Wd9Ics
=FSRD
-END PGP SIGNATURE-

--
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: Need some help with linking errors when building latest GTK+

2008-12-08 Thread Jon TURNEY

Andreas Eibach wrote:

Hi,

I'm simply unable to build latest GTK+ (2.14.5) on cygwin atm.
I have a bit of building experience, though, so it might simply be a
Cygwin-specific thing I don't (yet) know about.
(NOTE: This may be a long post.)



Has anyone ever fiddled with this recently?
I'd appreciate any help on this.
Thank you very much in advance


Andreas,

You probably want to take a look at the cygwinports project at 
http://sourceware.org/cygwinports/



--
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: Need some help with linking errors when building latest GTK+

2008-12-08 Thread Andreas Eibach

- Original Message - 
From: Jon TURNEY [EMAIL PROTECTED]
To: cygwin-xfree@cygwin.com
Sent: Monday, December 08, 2008 2:59 PM
Subject: Re: Need some help with linking errors when building latest
GTK+

 Andreas,

 You probably want to take a look at the cygwinports project at
 http://sourceware.org/cygwinports/

Oh yes!

After days of fiddlng with this, it could've been a good thing if I knew
that before!
There are so many orphaned sites and links out there now, so it's bloody
hard to find out about a *recent* project.
As you might have noticed, this list itself is lots more quieter than it
was 2 years ago.
Thanks, I will take a look there!

-Andreas


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



Need some help with linking errors when building latest GTK+

2008-12-05 Thread Andreas Eibach
Hi,

I'm simply unable to build latest GTK+ (2.14.5) on cygwin atm.
I have a bit of building experience, though, so it might simply be a
Cygwin-specific thing I don't (yet) know about.
(NOTE: This may be a long post.)

First of all, the GTK+ tree seems to have some bugs:

[0] Preamble: -lintl is always linked in TWICE - this is nonsense.
Commenting out LIBS = -lintl in the Makefile(s) did the trick.

[1] BOTH -export-symbols and -export-symbols-regex were specified.
This lead to a fatal error, since these are mutually exclusive an must
not be specified at the very same time.
#Commenting out the line
LIBTOOL_EXPORT_OPTIONS = -export-symbols-regex ^[^_].*
let me continue without problems.

[2] On Cygwin environment, I investigated another problem that WINDRES
environment variable in gdk/win32/rc was not
recognized, thus auto-transforming this line in the Makefile:
$(WINDRES) gdk.rc $@
to [pointless]
gdk.rc $@

As a .rc is not an executable script file, This resulted in lots of ugly
errors. When completing the line WINDRES =
/usr/bin/windres in the parent Makefile, everything worked up to ...

[3] ... this point. Lots of coffee breaks later, it breaks off at this
LONG line:

libtool: link: if test x`/usr/bin/sed 1q ./gdk.def` = xEXPORTS; then
cp ./gdk.def .libs/cyggdk-win32-2.0-0.dll.def; else echo EXPORTS 
.libs/cyggdk-win32-2.0-0.dll.def; cat ./gdk.def 
.libs/cyggdk-win32-2.0-0.dll.def; fi
libtool: link:  gcc -shared .libs/cyggdk-win32-2.0-0.dll.def
.libs/gdk.o .libs/gdkapplaunchcontext.o .libs/gdkcairo.o
.libs/gdkcolor.o .libs/gdkcursor.o .libs/gdkdisplay.o
.libs/gdkdisplaymanager.o .libs/gdkdnd.o .libs/gdkdraw.o
.libs/gdkevents.o .libs/gdkfont.o .libs/gdkgc.o .libs/gdkglobals.o
.libs/gdkimage.o .libs/gdkkeys.o .libs/gdkkeyuni.o .libs/gdkpango.o
.libs/gdkpixbuf-drawable.o .libs/gdkpixbuf-render.o .libs/gdkpixmap.o
.libs/gdkpolyreg-generic.o .libs/gdkrectangle.o
.libs/gdkregion-generic.o .libs/gdkrgb.o .libs/gdkscreen.o
.libs/gdkselection.o .libs/gdkvisual.o .libs/gdkwindow.o
.libs/gdkwindowimpl.o .libs/gdkenumtypes.o
libs/gdkkeynames.o  -Wl,--whole-archive
win32/.libs/libgdk-win32.a -Wl,--no-whole-archive  -L/usr/lib -limm32 -l
shell32 -lole32 /usr/lib/libcairo.dll.a -lmsimg32 -lgdi32
/usr/lib/libpixman-1.dll.a -lpng12 /usr/lib/libXrender.dll.a
/usr/lib/libX11.dll.a /usr/lib/libxcb-xlib.dll.a /usr/lib/libxcb.dll.a
/usr/lib/libXau.dll.a /usr/lib/libXdmcp.dll.a
/usr/lib/libfontconfig.dll.a /usr/lib/libexpat.dll.a
/usr/lib/libfreetype.dll.a -lz
../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dll.a /usr/lib/libgio-2.0.dll.a
/usr/lib/libgobject-2.0.dll.a /usr/lib/libgmodule-2.0.dll.a
/usr/lib/libglib-2.0.dll.a -luser32 -lkernel32 /usr/lib/libintl.dll.a
/usr/lib/libiconv.dll.a  -Wl,win32/rc/gdk-win32-res.o -Wl,-luuid   -o
.libs/cyggdk-win32-2.0-0.dll -Wl,--enable-auto-image-base -Xlinker --out
-implib -Xlinker .libs/libgdk-win32-2.0.dll.a

Creating library file: .libs/libgdk-win32-2.0.dll.a

.libs/gdkcolor.o: In function `gdk_color_to_string':
/home/Administrator/build/gtk+-2.14.5/gdk/gdkcolor.c:376: undefined
reference to `_pango_color_to_string'
.libs/gdkcolor.o: In function `gdk_color_parse':
/home/Administrator/build/gtk+-2.14.5/gdk/gdkcolor.c:340: undefined
reference to `_pango_color_parse'

[BIG SNIP - 50 undefined pango_* references later...]

.libs/gdkpango.o: In function `gdk_pango_renderer_draw_glyphs':
/home/Administrator/build/gtk+-2.14.5/gdk/gdkpango.c:251: undefined
reference to `_pango_cairo_show_glyph_string'
win32/.libs/libgdk-win32.a(gdkfont-win32.o): In function
`gdk_font_from_description_for_display':
/home/Administrator/build/gtk+-2.14.5/gdk/win32/gdkfont-win32.c:1246:
undefined reference to `_pango_font_description_get_size'
collect2: ld returned 1 exit status
make[4]: *** [libgdk-win32-2.0.la] Error 1
make[4]: Leaving directory `/home/Administrator/build/gtk+-2.14.5/gdk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/Administrator/build/gtk+-2.14.5/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/Administrator/build/gtk+-2.14.5/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Administrator/build/gtk+-2.14.5'
make: *** [all] Error 2


I do have a theory, though.
Pango is trunk and has been built without problems, BUT ...
As I could see, although _explicitly_ specifying
--enable-shared --enable-static

the libpango*.dll.a files are still from 2005. But probably the compiler
*does* need this .dll.a badly! Yet I'm unable to build a .dll.a, instead
I get:

Warning: This system can not link to static lib archive
/usr/lib/libpango-w32.1.0.la.
I have the capability to make that library automatically link in where
you link this library.
But I can only do this if you have a shared version of the library,
which you do not appear to have.

Has anyone ever fiddled with this recently?
I'd appreciate any help on this.
Thank you very much in advance

Regards
-Andreas


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem

Re: Help with startxwin.bat (I did read the FAQ)

2008-11-25 Thread Jon TURNEY

Srinath Avadhanula wrote:

Hi,

On Mon, Nov 24, 2008 at 6:53 PM, Yaakov (Cygwin/X)
[EMAIL PROTECTED] wrote:

The latest xorg-server is 1.5.3-4.  Either it, or last Thursday's
1.5.3-3, will certainly fix the could not open default font 'fixed' error.



Thanks for the info! I finally got it working :)

I had to change the server from which I was fetching stuff to see the
latest version. Also I had a shortcut to an outdated startxwin.bat. It
looks like the new location of startxwin.bat is /usr/bin/startxwin.bat
whereas it was previously /usr/X11R6/bin/startxwin.bat.


Hmm... you mean like it says here [1] in the FAQ, which you have read? :)

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-whereis-startxwin-bat

--
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: Cygwin X-Win scripting help

2008-11-24 Thread Jon TURNEY

tbishop wrote:

Of course I did that :) :) :)  It doesn't work and I am lost, that's
all the opening of several windows at least they pop up confuses me
until there is only one.. and it's like an empty Cygwin window...
and the X session is dead,, who knows like we haven't heard Vista
is full of bugs :( :( :(  any more ideas please let me know..


It seems far more likely this is a Cygwin/X problem than a Vista problem, and 
I'd like to help you, but this is just far too vague a problem report for me 
to suggest anything intelligent.


http://cygwin.com/problems.html


Jon TURNEY wrote:

tbishop wrote:

I have used XP and have used this script for a long time as a bat file to
get
to my UNIX box:
===
@echo off


C:
chdir C:\cygwin\bin

bash --login -c \XWin.exe -query 128.49.000.44 -from 128.23.77.149

for some reason on Vista it seems NOT to work the same, way, it opens up
3
command
tools, the 3rd one blank and a blank Xsession... nothing on the screen
but
an X
in the middle does anyone have any ideas???

If this is a new computer with Vista on it you'll need to change the
-from 
IP address to match.


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



Help with startxwin.bat (I did read the FAQ)

2008-11-24 Thread Srinath Avadhanula
Hi,

I suddenly began getting the error message:

A fatal error has occured and Cygwin/X will now exit. Please open
/tmp/XWin.log for more information. The trailing part of /tmp/XWin.log
mentions the following:

Fatal server error:
could not open default font 'fixed'

Looks like this problem has already been mentioned in the following FAQ:

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof

Unfortunately, following the procedure outlined there didn't seem to
help. I tried:

1. $ mount
C:\Programs\cygwin\bin on /usr/bin type system (binmode)
C:\Programs\cygwin\lib on /usr/lib type system (binmode)
C:\Programs\cygwin on / type system (binmode)
c: on /c type system (binmode)

2. $ umount /usr/share/fonts/
umount: /usr/share/fonts/: No such file or directory

2. Reinstalling all the font-* packages by running setup.exe. Just to
be on the safe side, I re-installed everything in the X11 category
which was marked as Keep.

Even after following all these steps, startxwin.bat still reports the
same error. One strange thing I noticed is that the /usr/X11R6/lib/X11
directory does not contain a fonts/ subdirectory. Is that normal? If
not, how do I recreate it?

Elsewhere, I read that anti-virus softwares, firewall etc end up
messing things. So I disabled Symantec Client Firewall and Norton Anti
Virus. Still the same story. Is there anything else I can try?

Thanks,
Srinath

--
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: Help with startxwin.bat (I did read the FAQ)

2008-11-24 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Srinath Avadhanula wrote:
 I suddenly began getting the error message:
 
 A fatal error has occured and Cygwin/X will now exit. Please open
 /tmp/XWin.log for more information. The trailing part of /tmp/XWin.log
 mentions the following:

Please upgrade to the latest xorg-server.


Yaakov
Cygwin/X

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkkrMA8ACgkQpiWmPGlmQSOBNwCgw+Zc9Ve+6mhrgwrTpgPJ3y2I
NVYAoMF4d5kPv8lbgn1OAiyDxQjfwJ9q
=98SE
-END PGP SIGNATURE-

--
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: Help with startxwin.bat (I did read the FAQ)

2008-11-24 Thread Srinath Avadhanula
Hi Yakov,

On Mon, Nov 24, 2008 at 5:51 PM, Yaakov (Cygwin/X)
[EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 Srinath Avadhanula wrote:
 I suddenly began getting the error message:

 A fatal error has occured and Cygwin/X will now exit. Please open
 /tmp/XWin.log for more information. The trailing part of /tmp/XWin.log
 mentions the following:

 Please upgrade to the latest xorg-server.


Thanks for the reply. I did upgrade to the latest xorg-server. (It is
now at 1.5.3-2). In fact, as I mentioned previously, I tried
reinstalling all packages under the X11 category. However, this
doesn't seem to fix things.

I have a suspicion that my /usr/X11R6/lib/X11 directory is somehow
corrupted. An ls there shows fewer directories that on another
machine where this seems to work. On my (problem) machine:

$ ls /usr/X11R6/lib/X11/
app-defaults  lbxproxy   rstart  xdmxkb  xsm
fsproxymngr  twm xinit  xserver

Strangely, no fonts/ directory! On another machine which I use where X
seems to be working fine, I see a whole bunch of other directories...

Regards,
Srinath

--
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: Help with startxwin.bat (I did read the FAQ)

2008-11-24 Thread Larry Hall (Cygwin X)

Srinath Avadhanula wrote:

Hi Yakov,

On Mon, Nov 24, 2008 at 5:51 PM, Yaakov (Cygwin/X)
[EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Srinath Avadhanula wrote:

I suddenly began getting the error message:

A fatal error has occured and Cygwin/X will now exit. Please open
/tmp/XWin.log for more information. The trailing part of /tmp/XWin.log
mentions the following:

Please upgrade to the latest xorg-server.



Thanks for the reply. I did upgrade to the latest xorg-server. (It is
now at 1.5.3-2). In fact, as I mentioned previously, I tried
reinstalling all packages under the X11 category. However, this
doesn't seem to fix things.

I have a suspicion that my /usr/X11R6/lib/X11 directory is somehow
corrupted. An ls there shows fewer directories that on another
machine where this seems to work. On my (problem) machine:

$ ls /usr/X11R6/lib/X11/
app-defaults  lbxproxy   rstart  xdmxkb  xsm
fsproxymngr  twm xinit  xserver

Strangely, no fonts/ directory! On another machine which I use where X
seems to be working fine, I see a whole bunch of other directories...


The current version doesn't have/use /usr/X11R6  It uses just plain
/usr for X stuff now, along with a modular X installation.  See the
anouncements.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Help with startxwin.bat (I did read the FAQ)

2008-11-24 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Srinath Avadhanula wrote:
 Thanks for the reply. I did upgrade to the latest xorg-server. (It is
 now at 1.5.3-2). In fact, as I mentioned previously, I tried
 reinstalling all packages under the X11 category. However, this
 doesn't seem to fix things.

The latest xorg-server is 1.5.3-4.  Either it, or last Thursday's
1.5.3-3, will certainly fix the could not open default font 'fixed' error.


Yaakov
Cygwin/X
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkkrPocACgkQpiWmPGlmQSN6VgCgyXMv4upJKq0D8BW9f8yCANi5
UvMAn2XAgkfa++sBAnILAx08/INQAyRQ
=q3sA
-END PGP SIGNATURE-

--
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: Help with startxwin.bat (I did read the FAQ)

2008-11-24 Thread Srinath Avadhanula
Hi,

On Mon, Nov 24, 2008 at 6:53 PM, Yaakov (Cygwin/X)
[EMAIL PROTECTED] wrote:

 The latest xorg-server is 1.5.3-4.  Either it, or last Thursday's
 1.5.3-3, will certainly fix the could not open default font 'fixed' error.


Thanks for the info! I finally got it working :)

I had to change the server from which I was fetching stuff to see the
latest version. Also I had a shortcut to an outdated startxwin.bat. It
looks like the new location of startxwin.bat is /usr/bin/startxwin.bat
whereas it was previously /usr/X11R6/bin/startxwin.bat.

Regards,
Srinath

--
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: Cygwin X-Win scripting help

2008-11-23 Thread tbishop

Jon,

Of course I did that :) :) :)  It doesn't work and I am lost, that's
all the opening of several windows at least they pop up confuses me
until there is only one.. and it's like an empty Cygwin window...
and the X session is dead,, who knows like we haven't heard Vista
is full of bugs :( :( :(  any more ideas please let me know..

Tom




Jon TURNEY wrote:
 
 tbishop wrote:
 I have used XP and have used this script for a long time as a bat file to
 get
 to my UNIX box:
 ===
 @echo off
 
 
 C:
 chdir C:\cygwin\bin
 
 bash --login -c \XWin.exe -query 128.49.000.44 -from 128.23.77.149
 
 for some reason on Vista it seems NOT to work the same, way, it opens up
 3
 command
 tools, the 3rd one blank and a blank Xsession... nothing on the screen
 but
 an X
 in the middle does anyone have any ideas???
 
 If this is a new computer with Vista on it you'll need to change the
 -from 
 IP address to match.
 
 
 --
 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/
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Cygwin-X-Win-scripting-help-tp20614082p20655494.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
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: Cygwin X-Win scripting help

2008-11-21 Thread Jon TURNEY

tbishop wrote:

I have used XP and have used this script for a long time as a bat file to get
to my UNIX box:
===
@echo off


C:
chdir C:\cygwin\bin

bash --login -c \XWin.exe -query 128.49.000.44 -from 128.23.77.149

for some reason on Vista it seems NOT to work the same, way, it opens up 3
command
tools, the 3rd one blank and a blank Xsession... nothing on the screen but
an X
in the middle does anyone have any ideas???


If this is a new computer with Vista on it you'll need to change the -from 
IP address to match.



--
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: Can anyone help with a multiple monitor system?

2008-08-24 Thread John Emmas

I found a log file called XWin.log and it immediately told me what was
wrong

 winScreenInit - Monitors do not all have same pixel format / display
depth.
Using primary display only. 

As an experiment, I tried setting both my monitors to 1200x1024 at
16-bit depth. XWin then launched and worked as expected.  Curiously,
I found that I can set my monitors to different settings AFTER I start XWin
and it seems to be quite happy to carry on working.  It just doesn't seem
to like *starting* if the monitor settings are different, which is a pity.

Armed with my new knowledge I decided to search Google.  I'd always thought
that I was unusual in having twin monitors running at different resolutions
but in fact, it seems to be quite common.  I found lots of comments about
the same problem - though not all of them about Cygwin.  Some were about
a package (project?) called comp.windows.x.  I've never heard of this.
Can anyone tell me if it's connected with Cygwin or is it something totally
different?

Cheers,

John



- Original Message - 
From: John Emmas [EMAIL PROTECTED]

To: cygwin-xfree@cygwin.com
Sent: 23 August 2008 09:31
Subject: Can anyone help with a multiple monitor system?



I have a dual-head (twin monitor) setup using a Matrox Millenium G400
graphics card.  I've been using this successfully for many years under
both
Windows and Linux (64Studio).

Using GTK, I've built a myself a small Hello World type app.  It's just
a
simple GTK dialog box with a label saying Hello World and a 'Close'
button.  If I build it under GNU GCC and run it under Linux it runs fine.
However, if I re-boot into Windows and build it under Cygwin, it only
displays properly on my left-hand monitor.  If I drag the dialog box to my
right-hand monitor, the dialog gets displayed - but not its contents.

I'm starting my X server by running startxwin.bat which can be found in
c:\cygwin\usr\X11R6\bin.  I've already taken a look within startxwin.bat
and
I noticed that it offers various command-line switches to Xwin.  One of
these is '-multiplemonitors' which I thought might help.  I modified
startxwin.bat to add this as an extra parameter when starting Xwin but it
didn't make any difference.  Can anyone suggest anything else I could try?

Thanks,

John

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



Can anyone help with a multiple monitor system?

2008-08-23 Thread John Emmas

I have a dual-head (twin monitor) setup using a Matrox Millenium G400
graphics card.  I've been using this successfully for many years under both
Windows and Linux (64Studio).

Using GTK, I've built a myself a small Hello World type app.  It's just a
simple GTK dialog box with a label saying Hello World and a 'Close'
button.  If I build it under GNU GCC and run it under Linux it runs fine.
However, if I re-boot into Windows and build it under Cygwin, it only
displays properly on my left-hand monitor.  If I drag the dialog box to my
right-hand monitor, the dialog gets displayed - but not its contents.

I'm starting my X server by running startxwin.bat which can be found in
c:\cygwin\usr\X11R6\bin.  I've already taken a look within startxwin.bat and
I noticed that it offers various command-line switches to Xwin.  One of
these is '-multiplemonitors' which I thought might help.  I modified
startxwin.bat to add this as an extra parameter when starting Xwin but it
didn't make any difference.  Can anyone suggest anything else I could try?

Thanks,

John 



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



Need help

2008-08-21 Thread Shahed Hussain
Dear Concern,

I need a help to login to a solaris machine using cygwin. As far as I know, the 
command x -query IP_ADDRESS should bring the window of the solaris machine in 
to the window machine. 

Can you please tell me what program has to be run in the solaris machine to 
enable this facility

waiting for your feedback...

BR // Shahed


  

--
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: Need help

2008-08-21 Thread Scott Fordin

Hi, Shahed,

You need to use xhost in the Windows xterm to enable remote
clients (in this case, the Solaris box) to connect to the
Cygwin X server. You may also need to enable localhost to
connect as well. Specifically:

xhost +solaris_ip
xhost +localhost

You could also just do an xhost +, but that opens up your
display to everyone, so I don't recommend it. You also need
to make sure that X forwarding is enabled on the Windows
side. There are a number of different ways to do this, but
here's what I do to export the display of a Solaris app to
a Windows machine:

   1. (Windows) Open a Cygwin bash shell.

   2. (Windows) Start the Cygwin X server and an xterm
  with the startx command.

   3. (Windows) Allow connections to the Cygwin X server
  with the xhost command, as described above.

   4. (Windows) Connect to the Solaris machine with

 ssh -X solaris_machine -l solaris_user_name

   4. (Solaris) (optional) You shouldn't have to do this
  because you used -X with ssh, but depending on the
  Solaris app you're trying to display on your Windows
  system, you may need to explicitly export the Solaris
  display; for example, if you're using a C shell:

 setenv DISPLAY windows_machine:0.0

   5. (Solaris) Launch your app through the ssh connection,
  and it should display on the Windows machine.

Hope this helps,

Scott

Shahed Hussain wrote:

Dear Concern,

I need a help to login to a solaris machine using cygwin. As far as I know, the command x -query IP_ADDRESS should bring the window of the solaris machine in to the window machine. 


Can you please tell me what program has to be run in the solaris machine to 
enable this facility

waiting for your feedback...

BR // Shahed


  


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



Informations and help

2008-07-07 Thread jean DAHDAH


Dear Sir/Madam,

I've just installed the cygwin program, and i have some problem.
I've opened an X server and after that i've closed it. But the problem  
is when i try to open a new one i can't and it appear a message about  
a fattal error with closing the first one.
I wan't to know if there any possibility to reopen another X server or  
what ihave to do.


thanks for your help

Sincerely

DAHDAH Jean

Jean DAHDAH
Doctorant
Dept Optique P.M. Duffieux, FEMTO-ST
Université de Franche-Comté
25030 Besançon
FRANCE

Tél:  (33) 3 81 66 64 16
portable: (33) 6 37 90 49 39


This message was sent using IMP, the Internet Messaging Program.



--
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: Informations and help

2008-07-07 Thread Sylvain RICHARD





I've just installed the cygwin program, and i have some problem.
I've opened an X server and after that i've closed it. But the problem 
is when i try to open a new one i can't and it appear a message about 
a fattal error with closing the first one.
I wan't to know if there any possibility to reopen another X server or 
what ihave to do.

Jean,

Having the error message would be helpful.
Most probably, the X server you started is still running and the new one 
can't listen on :0. You can check this by looking for an X icon in the 
system tray (close to the time, usually bottom right of your screen).
You can use this server, just set the DISPLAY variable correctly. You 
can kill the server with a right click and the appropriate menu option.


For the generics of using X, you had better read some generic nix 
documents as:

- X works the same on cygwin as anywhere else
-there is currently no cygwin maintainer for cygwin/X anyway.

Best of luck,

Sylvain RICHARD

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



Help with Cygwin Xemacs c-x c-f

2008-04-22 Thread marksong

I am a newbie to Cygwin, and just installed Cygwin with Xemacs. The first
problem I encountered is this find-file. In solaris, when I do c-x c-f it
will show the files in the current directory; in my Cygwin Xemacs, however
it always shows the root directory (where I start off the xemacs) regardless
where the current directory is. 
Any idea on how I should fix this problem?
thanks in advance

Mark
-- 
View this message in context: 
http://www.nabble.com/Help-with-Cygwin-Xemacs-c-x-c-f-tp16824277p16824277.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
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: Help

2008-04-17 Thread Igor Peshansky
Dharini,

http://cygwin.com/acronyms/#PPIOSPE.  Not only will you have the access
to more expertise than any one person can provide, but your query and the
answers to it will be in the archives for others to find later.

I've redirected your query to the appropriate list, and set the Reply-To
header accordingly -- please make sure your mailer honors it.

On Thu, 17 Apr 2008, dharini sutharsan wrote:

 Hello Sir
 i want to use XV for my educational work and i couldn understand the
 installation procedure... kindly guide me in installing Xv...

 I hav cygwin and can in install XV in cygwin.. if so give me the
 procedures sir...

 Thanks in advance

 Regards
 Dharini

What installation procedure are you referring to?  The supported
installation procedure for Cygwin is in the FAQ:
http://cygwin.com/faq/faq-nochunks.html#faq.setup.setup.  Was there a
particular way that it didn't work?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

That which is hateful to you, do not do to your neighbor.  That is the whole
Torah; the rest is commentary.  Go and study it. -- Rabbi Hillel

--
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: Help

2008-04-17 Thread Yaakov (Cygwin Ports)

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Igor Peshansky wrote:
| On Thu, 17 Apr 2008, dharini sutharsan wrote:
|
| Hello Sir
| i want to use XV for my educational work and i couldn understand the
| installation procedure... kindly guide me in installing Xv...
|
| I hav cygwin and can in install XV in cygwin.. if so give me the
| procedures sir...

If you mean the shareware graphics program, you'll need to build it
yourself due to its license.  You can use the following with cygport(1):

http://cygwin-ports.cvs.sourceforge.net/cygwin-ports/ports/graphics/xv/

OTOH, if you mean the X Video extension, it is not supported on Cygwin.


Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkgH3vEACgkQpiWmPGlmQSO9dQCg55mvlptuvm/+9Ys8jdqOD332
UBYAoKrNk40pqxgnb2TTAiYmdAN4Pffz
=cGjM
-END PGP SIGNATURE-

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



Help with Font settings

2008-01-29 Thread Vanderhaden, Peter
I'm running Cygwin/X and have figured out how to run terminals for SSH
access.  The problem is that the font is extremely small, and the colors
are terrible.  I've figured out how to chang ethe background color, but
haven't been able to change the size or color of the fonts.  I'd also
like to be able to use underlined and bold fonts.  Can anyone help me
out?
Thanks,
Peter V.

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



helP: malfunction of the x window system

2007-12-04 Thread [EMAIL PROTECTED]
Hi All,

I'm trying to start the Xwindows system both under Cygwin using startx command 
or directly.
It does not work and return the message:

XWin was started with teh following command line:
X :0 -multiwindow -clipboard

_XSERVTransSocketCreateListener: listen() failed
_XSERVTransSocketINITCreateListener: ...SocketCreateListener() failed
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
_XSERVTransSocketCreateListener: listen() failed
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListener: failed to create listener for local

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already 
running

I checked there were not other Xserver running...
The system was working properly few day ago.
I also tried Xming and does not work either on this computer.

Any suggestion would be greatly appreciated

Massimo





--
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: helP: malfunction of the x window system

2007-12-04 Thread Holger Krull
[EMAIL PROTECTED] schrieb:
 XWin was started with teh following command line:
 X :0 -multiwindow -clipboard
 
 _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
 _XSERVTransMakeAllCOTSServerListener: failed to create listener for local
 
 Fatal server error:
 Cannot establish any listening sockets - Make sure an X server isn't already 
 running
 
 I checked there were not other Xserver running...
 The system was working properly few day ago.
 I also tried Xming and does not work either on this computer.

Did you install new firewall software recently?

--
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: helP: malfunction of the x window system

2007-12-04 Thread [EMAIL PROTECTED]
Thank you for the suggestion.

I did not install new firewalls. The firewall was running also before when the 
x-server was working correctly.

I suspect that the issue was generated trying to run Xming. I had some minor 
problem with Xfree (before the major issue I reported now) and I tried Xming to 
see if it was working better.  Clearly  I did not solve the problem since now 
nor Xming neither Xfree are working...

for comparison I tried an evaluation version of a commercial x-server and it 
works. But it is not working as good as the cygwin-Xfree was working in the 
past.

thanks again,
any suggestion is very appreciated








-- Initial Header ---

From  : [EMAIL PROTECTED]
To  : cygwin-xfree@cygwin.com
Cc  :
Date  : Tue, 04 Dec 2007 23:48:48 +0100
Subject : Re: helP: malfunction of the x window system







 [EMAIL PROTECTED] schrieb:
  XWin was started with teh following command line:
  X :0 -multiwindow -clipboard
 
  _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
  _XSERVTransMakeAllCOTSServerListener: failed to create listener for local
 
  Fatal server error:
  Cannot establish any listening sockets - Make sure an X server isn't 
  already running
 
  I checked there were not other Xserver running...
  The system was working properly few day ago.
  I also tried Xming and does not work either on this computer.

 Did you install new firewall software recently?

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



Help: X don't start

2007-08-06 Thread José Cláudio Faria
Dear members,

I'm new with Cygwin and I've been trying to start X from my cygwin in
the latest week.
I read a lot in FAQ, Google, list of discussion and all documentation
I found, but without success.
So, I'm needing a help!

OS: XP SP2 and my main hardware is:
Proc: AMD Athlon (TM) XP 2000+
Video: NVDIA GeForce4 MX 400

###
Below my XWin.log file
###
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 32
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to
lack of shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0416 (0416)
(--) Using preset keyboard for Portuguese (Brazil, ABNT) (416), type 4
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
removing from list!

Fatal server error:
could not open default font 'fixed'
winDeinitMultiWindowWM - Noting shutdown in progress


###
And also my cygcheck -s -v -r result
###
Cygwin Configuration Diagnostics
Current System Time: Sun Aug 05 23:40:56 2007

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\Arquivos de programas\MiKTeX 2.6\miktex\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\ARQUIV~1\TABLEC~1.01
c:\ARQUIV~1\TABLEC~1.0

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1003(Fabiano Daniel) GID: 513(Nenhum)
0(root)   513(Nenhum)   544(Administradores)
545(Usuários)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1003(Fabiano Daniel) GID: 513(Nenhum)
0(root)   513(Nenhum)   544(Administradores)
545(Usuários)

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

USER = 'Fabiano Daniel'
PWD = '/usr/X11R6/bin'
HOME = '/home/Fabiano Daniel'
MAKE_MODE = 'unix'

HOMEPATH = '\Documents and Settings\Fabiano Daniel'
MANPATH = 
'/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man:/usr/share/qt3/doc/man:/usr/X11R6/man'
APPDATA = 'C:\Documents and Settings\Fabiano Daniel\Dados de aplicativos'
HOSTNAME = 'MICRO_FABIANO'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 8 Stepping 0, AuthenticAMD'
WINDIR = 'C:\WINDOWS'
QTDIR = '/usr/lib/qt3'
OLDPWD = '/usr'
USERDOMAIN = 'MICRO_FABIANO'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
TEMP = '/cygdrive/c/DOCUME~1/FABIAN~1/CONFIG~1/Temp'
COMMONPROGRAMFILES = 'C:\Arquivos de programas\Arquivos comuns'
USERNAME = 'Fabiano Daniel'
PROCESSOR_LEVEL = '6'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Documents and Settings\Fabiano Daniel'
QMAKESPEC = '/usr/lib/qt3/mkspecs/cygwin-g++'
PS1 = '\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\MICRO_FABIANO'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
TMP = '/cygdrive/c/DOCUME~1/FABIAN~1/CONFIG~1/Temp'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = 'Canon i250'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0800'
PKG_CONFIG_PATH = '/usr/X11R6/lib/pkgconfig'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Arquivos de programas'
NUMBER_OF_PROCESSORS = '1'
SESSIONNAME = 'Console'
COMPUTERNAME = 'MICRO_FABIANO'
_ = '/usr/bin/cygcheck'
POSIXLY_CORRECT = '1'

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_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01

Re: Help: X don't start

2007-08-06 Thread Larry Hall (Cygwin X)

José Cláudio Faria wrote:

Dear members,

I'm new with Cygwin and I've been trying to start X from my cygwin in
the latest week.
I read a lot in FAQ, Google, list of discussion and all documentation
I found, but without success.
So, I'm needing a help!

OS: XP SP2 and my main hardware is:
Proc: AMD Athlon (TM) XP 2000+
Video: NVDIA GeForce4 MX 400

###
Below my XWin.log file
###
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 32
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to
lack of shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0416 (0416)
(--) Using preset keyboard for Portuguese (Brazil, ABNT) (416), type 4
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
removing from list!

Fatal server error:
could not open default font 'fixed'
winDeinitMultiWindowWM - Noting shutdown in progress



Have you tried the FAQ?

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof


cygwin  1.6.9-6


Looks like you're not running the net release of Cygwin.  You may want
to contact Red Hat for support.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

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



help! cygwin window linux cmds dont work/ not recognised

2007-07-23 Thread edzio

Hi,
I just installed cygwin from cygwin.com, the window opens with a bash-3.2$ 
prompt no colon - i am trying cygwin to have a command line c++ compiler
that behaves like linux. but commands like   ls  or cd  arent recognised or
any command at all... what am i missing?
-- 
View this message in context: 
http://www.nabble.com/help%21-cygwin-window-linux-cmds-dont-work--not-recognised-tf4128721.html#a11740927
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
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: help! cygwin window linux cmds dont work/ not recognised

2007-07-23 Thread Erich Dollansky

Hi,

edzio wrote:

Hi,
I just installed cygwin from cygwin.com, the window opens with a bash-3.2$ 
prompt no colon - i am trying cygwin to have a command line c++ compiler

that behaves like linux. but commands like   ls  or cd  arent recognised or
any command at all... what am i missing?


I would guess that you did not install them.

Try the built-in commands.

And then start setup again to install more packages. You will need gcc.

Erich

--
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: help! cygwin window linux cmds dont work/ not recognised

2007-07-23 Thread Christopher Faylor
On Mon, Jul 23, 2007 at 02:57:06AM -0700, edzio wrote:
I just installed cygwin from cygwin.com, the window opens with a bash-3.2$ 
prompt no colon - i am trying cygwin to have a command line c++ compiler
that behaves like linux. but commands like   ls  or cd  arent recognised or
any command at all... what am i missing?

A couple of things: 1) You're sending email to the wrong list.  2) You
are not providing the details that are mentioned at the site and at the
bottom of messages to this mailing list, instead expecting us to use our
psychic abilities to solve your problems.

Use the cygwin mailing list for these types of questions and when you do
that, read and comprehend http://cygwin.com/problems.html.

--
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: Help Needed For Multiple Monitors

2007-07-13 Thread Surinder Singh

Hi Geordy:

Hurryy 

It worked.

Thanks a million.

Surinder

On 7/12/07, Geordy Korte [EMAIL PROTECTED] wrote:

Hi Surnder,

Make sure that both monitors have the same color depth. A couple of
years ago you even needed to have the same resolution on the monitors
but that was fixed.  Check you color depth.

Geordy
On 7/11/07, Surinder Singh [EMAIL PROTECTED] wrote:
 Hi Geordy:

 I tried what you said and it still does not change anything.  In
 additon, i tried the -multiplemonitors options too, without success.

 I don't know how to solve this.

 Surnder

 On 7/11/07, Geordy Korte [EMAIL PROTECTED] wrote:
  Hi,
 
  Try restarting the X server.  If you start the X server and after that
  you switch on the secondi screen in windows then you will get these
  white screens.  Samething happens if you resize your screen.  Should
  that not help then here is my X server startup:
 
  %RUN% XWin -multiwindow -clipboard -silent-dup-error
 
  Cheers,
 
  Geordy
 
  On 7/10/07, Surinder Singh [EMAIL PROTECTED] wrote:
   My setup has multiple monitors (or dual monitors). Since I may not be
   using the correct term for that, let me just describe that to remove
   any ambuguity.  I have the laptop display and then a monitor
   connected.  I can drag windows from one to the other display *as if*
   the two monitors were connected physically (they are not).  So I have
   one computer (my laptop) and two displays.
  
   what I notice is that when I open startx, the window displays well on
   the screen of the laptop, but not on the extra monitor.  When I drag
   it there, it becomes white and nothing is visible inside the window.
  
   I searched the archives and googled and googled.  Best I got was an
   advice to add -multiplemonitors the list of options for X to start.
   I did that, and it does not help.   What should I be doing?  (I am
   using the latest cygwin).
  
   Thanks.
  
   --
   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/
  
  
 
 
  --
  ==
  Geordy Korte
  ICQ 14458242
  MSN [EMAIL PROTECTED]
 
  --
  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/




--
==
Geordy Korte
ICQ 14458242
MSN [EMAIL PROTECTED]

--
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: Help Needed For Multiple Monitors

2007-07-12 Thread Geordy Korte

Hi Surnder,

Make sure that both monitors have the same color depth. A couple of
years ago you even needed to have the same resolution on the monitors
but that was fixed.  Check you color depth.

Geordy
On 7/11/07, Surinder Singh [EMAIL PROTECTED] wrote:

Hi Geordy:

I tried what you said and it still does not change anything.  In
additon, i tried the -multiplemonitors options too, without success.

I don't know how to solve this.

Surnder

On 7/11/07, Geordy Korte [EMAIL PROTECTED] wrote:
 Hi,

 Try restarting the X server.  If you start the X server and after that
 you switch on the secondi screen in windows then you will get these
 white screens.  Samething happens if you resize your screen.  Should
 that not help then here is my X server startup:

 %RUN% XWin -multiwindow -clipboard -silent-dup-error

 Cheers,

 Geordy

 On 7/10/07, Surinder Singh [EMAIL PROTECTED] wrote:
  My setup has multiple monitors (or dual monitors). Since I may not be
  using the correct term for that, let me just describe that to remove
  any ambuguity.  I have the laptop display and then a monitor
  connected.  I can drag windows from one to the other display *as if*
  the two monitors were connected physically (they are not).  So I have
  one computer (my laptop) and two displays.
 
  what I notice is that when I open startx, the window displays well on
  the screen of the laptop, but not on the extra monitor.  When I drag
  it there, it becomes white and nothing is visible inside the window.
 
  I searched the archives and googled and googled.  Best I got was an
  advice to add -multiplemonitors the list of options for X to start.
  I did that, and it does not help.   What should I be doing?  (I am
  using the latest cygwin).
 
  Thanks.
 
  --
  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/
 
 


 --
 ==
 Geordy Korte
 ICQ 14458242
 MSN [EMAIL PROTECTED]

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





--
==
Geordy Korte
ICQ 14458242
MSN [EMAIL PROTECTED]

--
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: Help Needed For Multiple Monitors

2007-07-11 Thread Geordy Korte

Hi,

Try restarting the X server.  If you start the X server and after that
you switch on the secondi screen in windows then you will get these
white screens.  Samething happens if you resize your screen.  Should
that not help then here is my X server startup:

%RUN% XWin -multiwindow -clipboard -silent-dup-error

Cheers,

Geordy

On 7/10/07, Surinder Singh [EMAIL PROTECTED] wrote:

My setup has multiple monitors (or dual monitors). Since I may not be
using the correct term for that, let me just describe that to remove
any ambuguity.  I have the laptop display and then a monitor
connected.  I can drag windows from one to the other display *as if*
the two monitors were connected physically (they are not).  So I have
one computer (my laptop) and two displays.

what I notice is that when I open startx, the window displays well on
the screen of the laptop, but not on the extra monitor.  When I drag
it there, it becomes white and nothing is visible inside the window.

I searched the archives and googled and googled.  Best I got was an
advice to add -multiplemonitors the list of options for X to start.
I did that, and it does not help.   What should I be doing?  (I am
using the latest cygwin).

Thanks.

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





--
==
Geordy Korte
ICQ 14458242
MSN [EMAIL PROTECTED]

--
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: Help Needed For Multiple Monitors

2007-07-11 Thread Surinder Singh

Hi Geordy:

I tried what you said and it still does not change anything.  In
additon, i tried the -multiplemonitors options too, without success.

I don't know how to solve this.

Surnder

On 7/11/07, Geordy Korte [EMAIL PROTECTED] wrote:

Hi,

Try restarting the X server.  If you start the X server and after that
you switch on the secondi screen in windows then you will get these
white screens.  Samething happens if you resize your screen.  Should
that not help then here is my X server startup:

%RUN% XWin -multiwindow -clipboard -silent-dup-error

Cheers,

Geordy

On 7/10/07, Surinder Singh [EMAIL PROTECTED] wrote:
 My setup has multiple monitors (or dual monitors). Since I may not be
 using the correct term for that, let me just describe that to remove
 any ambuguity.  I have the laptop display and then a monitor
 connected.  I can drag windows from one to the other display *as if*
 the two monitors were connected physically (they are not).  So I have
 one computer (my laptop) and two displays.

 what I notice is that when I open startx, the window displays well on
 the screen of the laptop, but not on the extra monitor.  When I drag
 it there, it becomes white and nothing is visible inside the window.

 I searched the archives and googled and googled.  Best I got was an
 advice to add -multiplemonitors the list of options for X to start.
 I did that, and it does not help.   What should I be doing?  (I am
 using the latest cygwin).

 Thanks.

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




--
==
Geordy Korte
ICQ 14458242
MSN [EMAIL PROTECTED]

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



Help Needed For Multiple Monitors

2007-07-10 Thread Surinder Singh

My setup has multiple monitors (or dual monitors). Since I may not be
using the correct term for that, let me just describe that to remove
any ambuguity.  I have the laptop display and then a monitor
connected.  I can drag windows from one to the other display *as if*
the two monitors were connected physically (they are not).  So I have
one computer (my laptop) and two displays.

what I notice is that when I open startx, the window displays well on
the screen of the laptop, but not on the extra monitor.  When I drag
it there, it becomes white and nothing is visible inside the window.

I searched the archives and googled and googled.  Best I got was an
advice to add -multiplemonitors the list of options for X to start.
I did that, and it does not help.   What should I be doing?  (I am
using the latest cygwin).

Thanks.

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



Help with may non-us keyboard (es)

2007-06-05 Thread Laura González Macho
I am working from windows XP with a spanish keyboard. My keyboard 
doesn't work with x apps (well, space bar and return works but 
nothing else ... ). I've tried to add the -xkblayout *es* option when 
executing xwin in the startwin.bat, but nothing changes.


Only if I use -xkblayout *us* works (well, I can write but guessing 
where the characters must be in a US keyboard that I don't have ...)


This is part of my xwin.log:

...
...
XFree86-Bigfont extension local-client optimization disabled due to lack 
of shared memory support in the kernel

(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 040A (040a)
(--) Using preset keyboard for Spanish (Spain, Traditional Sort) 
(40a), type 4

(++) XKB: layout: es
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!

winInitMultiWindowWM - pthread_mutex_lock () returned.
winProcEstablishConnection - Hello
...


Thanks in advance!
Laura

--

Laura González Machoe-mail: [EMAIL PROTECTED]
   Telef : +34 91 337 4162
  Telefónica I+D   Fax   : +34 91 337 4505



--
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: help :- startx doesn't work on Cygwin.

2007-04-26 Thread Larry Hall (Cygwin X)
Nisha wrote:
 Hello,
 
 I installed cygwin on my WinXP system and accoording
 to the further instructions given, i try to run
 startx. I am getting the following error. 
 Please help.
 
 The extract of the last error is as below (I am
 attaching the full error with this email.)
 
 6 [main] xterm 144 child_copy: linked dll
 data write copy failed, 0x3EB000
 ..0x3EB440, done 0, windows pid 2452, Win32 error 487
 xterm: Error 29, errno 11: Resource temporarily
 unavailable
 Reason: spawn: fork() failed
 xinit:  Resource temporarily unavailable (errno 11): 
 can't send HUP to process
 group 144
 


Rerun 'setup.exe' and install the 'rebase' package.  Read it's README in
/usr/share/doc/Cygwin and follow those instructions for how to run
'rebaseall'.



-- 
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

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



help :- startx doesn't work on Cygwin.

2007-04-25 Thread Nisha
Hello,

I installed cygwin on my WinXP system and accoording
to the further instructions given, i try to run
startx. I am getting the following error. 
Please help.

The extract of the last error is as below (I am
attaching the full error with this email.)

6 [main] xterm 144 child_copy: linked dll
data write copy failed, 0x3EB000
..0x3EB440, done 0, windows pid 2452, Win32 error 487
xterm: Error 29, errno 11: Resource temporarily
unavailable
Reason: spawn: fork() failed
xinit:  Resource temporarily unavailable (errno 11): 
can't send HUP to process
group 144




regards
Mrs. P. Nisha Menon


P.NISHA
SOFTWARE ENGINEER

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.99.901-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

X :0 -multiwindow -clipboard

winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Multi Window or Rootless = ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 32
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of shar
ed memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0407 (0407)
(--) Using preset keyboard for German (Germany) (407), type 4
Rules = xorg Model = pc105 Layout = de Variant = (null) Options = (null
)
expected keysym, got dead_diaresis: line 143 of pc/de
The XKEYBOARD keymap compiler (xkbcomp) reports:
 Warning:  Type ONE_LEVEL has 1 levels, but RALT has 2 symbols
   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from li
st!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li
st!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from
 list!
winPointerWarpCursor - Discarding first warp: 512 384
winInitMultiWindowWM - pthread_mutex_lock () returned.
winProcEstablishConnection - Hello
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
cat: /home/NishaMenon/.Xauthority: No such file or directory
winInitClipboard ()
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - winInitClipboard returned.
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the disp
lay.
winClipboardProc - XOpenDisplay () returned and successfully opened the display.

winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the di
splay.
  6 [main] xterm 144 child_copy: linked dll data write copy failed, 0x3EB000
..0x3EB440, done 0, windows pid 2452, Win32 error 487
xterm: Error 29, errno 11: Resource temporarily unavailable
Reason: spawn: fork() failed
xinit:  Resource temporarily unavailable (errno 11):  can't send HUP to process
group 144

waiting for X server to shut down winClipboardProc - winClipboardFlushWindowsMes
sageQueue trapped WM_QUIT message, exiting main loop.
winClipboardProc - XDestroyWindow succeeded.

winClipboardIOErrorHandler!



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

Plese help me to solve my problem

2007-03-27 Thread M. Tampo

Dear sir

Hi, I have troubled in use of Cygwin/X.

When I start the Cygwin/X by using a command startx, Error comments are 
shown as

follower,
This is error message-
(WW) /tmp mounted int textmode
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 960 depth: 32
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of 
shared memory support in the kernel

(--) Setting autorepeat to delay=500, rate=31
(II) Loading US keyboard layout.
(--) winConfigKeyboard - Layout: E0010411 (0411)
(--) Using preset keyboard for Japanese (411), type 7
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!


Fatal server error:
could not open default font 'fixed'

End of error messages-

If you know where is appropriate explanation how to solve this problem,
Please tell me the site.

Motonobu Tampo 



--
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: Plese help me to solve my problem

2007-03-27 Thread Larry Hall (Cygwin X)

M. Tampo wrote:

Dear sir

Hi, I have troubled in use of Cygwin/X.

When I start the Cygwin/X by using a command startx, Error comments 
are shown as

follower,
This is error message-
(WW) /tmp mounted int textmode
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more 
information
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per 
pixel
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 960 
depth: 32
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 
bpp 32

null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack 
of shared memory support in the kernel

(--) Setting autorepeat to delay=500, rate=31
(II) Loading US keyboard layout.
(--) winConfigKeyboard - Layout: E0010411 (0411)
(--) Using preset keyboard for Japanese (411), type 7
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!


Fatal server error:
could not open default font 'fixed'

End of error messages-

If you know where is appropriate explanation how to solve this problem,
Please tell me the site.


PCYMTSTAFABP*

http://www.cygwin.com/ml/cygwin-xfree/2007-01/msg00043.html

* Please configure your mailer to search the archives for answers before
  posting. ;-)

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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: Urgent Help

2007-03-21 Thread Holger Krull
[EMAIL PROTECTED] schrieb:
 info. Xwin was started with the command-line: /usr/X11R6/XWin
 -multiwindo -clipboard -silent-dup-error

 _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
 _XSERVTransMakeAllCOTSServerListeners: server already running
 


Looks like this is a regular topic now.
Possible causes are:
firewall software (disable for test, some need deinstall)
another software already listening on port 6000
wrong owner of /tmp/.X11-unix or of the file in that directory (created
as Administrator but now used as regular user)

PS: Urgent Help is a bad description. Sounds like urgent business
proposal from nigeria

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



Requesting Help Troubleshooting App That Won't Start

2006-12-07 Thread Wayne Anderson
Hello mailing list.  I'm new to Cygwin/X, and I'm trying to use it to run
Micros 8700 apps (on a SCO OpenServer 5 machine) from my Win2K PC.

I'm running an out-of-the box default install of Cygwin/X, except for adding
the -ac switch to the startxdmcp.bat file (thanks to Matt Flemming's web
site).  I can successfully run startxdmcp.bat and log in to the OpenServer
desktop.  All the built-in OpenServer apps seem to work, and all the Micros
8700 apps work except one (Configurator), which of course is the one I need.

When I attempt to start the app, the outline of the window begins to
display, but before the contents become visible it immediately closes.  The
XWin.log file looks exactly the same whether I run a working app or the
nonworking one, so that doesn't seem to give me any clues.  I don't know
where to go from here to troubleshoot - any suggestions would be
appreciated.

The information contained in this e-mail message is private and confidential
information intended only for the use of the individual or entity to whom it
is addressed.  If the reader of this e-mail message is not the intended
recipient you are notified any disclosure, dissemination, distribution,
copying or the taking of any action based upon the information contained in
this message is strictly prohibited.

--
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: help for cygwin and XWin

2006-10-16 Thread Igor Peshansky
First, http://cygwin.com/acronyms/#PPIOSPE.

Second, this was not my bug -- I simply redirected the message to the
appropriate list (as I'm doing with yours now).

More below.

On Sun, 15 Oct 2006, Patrick HENRY wrote:

 I am blocked with exactly the same bug you have get with cygwin 2 years
 ago.

 Fonts are OK

 I think it is the configuration of my computer  because on an other one
 it runs differenty.

 Maybe threads maybe shared memory, I don't know.

 Do you have fixed the problem ?
 If yes I am very interested.

 Thanks,
 P. HENRY



 Here a copy of your message:

 -

 First, please start a new thread instead of replying to a message from
 an unrelated thread -- otherwise it screws up the threading.  Second,
 you've sent this to the wrong list -- redirecting this to cygwin-xfree.
 Igor

 On Fri, 4 Jun 2004, Will Senn wrote:

  All,
 
  I have read the thread on this error and while interesting and
  captivating, it doesn't appear to apply to my installation.
 
  I heard cygwin switched to X.org from XFree86 over licensing, etc. I
  decided groovy, my cygwin installation is getting a bit stale anyway.
  So, I deleted my cygwin directory along with all the references in the
  registry and downloaded the realease directory, and burned it to DVD
  (can't believe it won't fit on a CD anymore) yesterday. I ran setup,
  pointed it to my spankin' new cygwin DVD and let 'er rip for a while.
  The installation worked like a charm for the command line stuff. I did
  my usual tweakage - added %1 %2 %3 %4 %5 %6 %7 %8 %9 to cygwin.bat,
  add Cygwin Prompt Here to the registry, associated .sh files with
  cygwin.bat and installed my brand new _fullbackup.sh and _incbackup.sh
  files (thanks Fred Kulack for the -T- steer - embedded spaces are SUCH
  a pain) and added them to the Scheduled Tasks. I ran both jobs once to
  be sure they worked and Voila! Eureka! it worked.
 
  However, I then tried to run startx from the command line to compare
  X.org with the previous XFree86 and bummer, dude...
  ~could not open default font 'fixed'
  ouch, looked in the archives for this list, read the thread and looked
  at the faq entry, but neither possibility appears to apply:
 
  1. xorg-x11-fnts is missing - nope, it's there.
  2. /usr/X11R6/lib/X11/fonts is invalid, ls lists all the normal
  directories and misc contains a slew of .pcf.gz files.
 
 
  I reran /etc/postinstall/xorg-x11-fnts.sh.done, but it didn't fix
  anything.
 
  here's some of the output of the command (extraneous stuff omitted
  including extra linebreaks).
 
  Please give a helpful suggestion as to next steps...
 
  Thanks,
 
  Will
  - -snip
  $ startx
  Welcome to the XWin X Server
  Vendor: The Cygwin/X Project
  Release: 6.7.0.0-9
  Contact: cygwin-xfree@cygwin.com
  XWin was started with the following command line:
  X :0 -multiwindow -clipboard
  (snip)
  (EE) Keyboardlayout US (0409) is unknown
  Rules = xorg Model = pc101 Layout = us Variant = (null)
  Options = (null)
  Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
  removing from list!
  Fatal server error:
  could not open default font 'fixed'

Third, search the recent archives of the cygwin-xfree list at
http://cygwin.com/ml/cygwin-xfree/2006-10/ -- there were plenty of
reports (and a few solutions).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

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



Help to run Cygwin X

2006-10-12 Thread Gadi Shavit


Hi,
 
I installed Cygwin with X and I am trying to run XWin on an XP Professional.
I am getting the following failure (from XWin.log):
 
(WW) /tmp mounted int textmode
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 16
winInitVisualsShadowGDI - Masks f800 07e0 001f BPRGB 6 d 16 bpp 16
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winMultiWindowXMsgProc - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of 
shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409) 
(--) Using preset keyboard for English (USA) (409), type 4
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from 
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from 
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from 
list!
 
Fatal server error:
could not open default font 'fixed'
winDeinitMultiWindowWM - Noting shutdown in progress
 
Can you help?
 
Thank you,
    Gadi 

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



Help to compile Cygwin X

2006-10-12 Thread Gadi Shavit
Hi,
 
I am trying to build Cygwin X version 6.8 for Windows XP
First message I get when running make World is: 

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS. 

It is not clear to me what exactly I need set in ./config/cf 
Are there any specific instruction what needs to be configured there?

When the build process continues I get an error message saying the directory 
programs/xrx does not exist. Where can I find this directory in the Cygwin tree?

Can you help?
 
Thank you,
    Gadi 

--
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: Help to run Cygwin X

2006-10-12 Thread Lionel B

Gadi Shavit wrote:


Hi,
 
I installed Cygwin with X and I am trying to run XWin on an XP Professional.

I am getting the following failure (from XWin.log):
 
/.../
 
Fatal server error:

could not open default font 'fixed'


http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof

--
Lionel B


--
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: Help to compile Cygwin X

2006-10-12 Thread Charli Li
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gadi Shavit just had to cough out the following stream of bytes from the
specified email client, on 10/12/2006 3:42 AM:
 Hi,
  
 I am trying to build Cygwin X version 6.8 for Windows XP
 First message I get when running make World is: 
 
 I hope you checked the configuration parameters in ./config/cf
 to see if you need to pass BOOTSTRAPCFLAGS. 
 
 It is not clear to me what exactly I need set in ./config/cf 
 Are there any specific instruction what needs to be configured there?
 
 When the build process continues I get an error message saying the directory 
 programs/xrx does not exist. Where can I find this directory in the Cygwin 
 tree?
 
 Can you help?
  

First of all, you are supposed to be using imake, not make.  This has
been mentioned in previous thread(s) on this list.

- --
Charli
- ---
You're like *this*, but then you're like *this*!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFLqw6KGyf4JaPChgRAvq+AKChTLbLU/Z+RtC3+vfs/oiw27OOagCgmMxk
naSSMOrHz9shhDOusBhFjPc=
=l2Xs
-END PGP SIGNATURE-

--
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: GNOME Please Help

2006-10-06 Thread John Breslin
I got it from ftp://sunsite.dk via setup.exe

--
Where'd you get the startgnome.bat?  This file
shouldn't even be here!
In other words, what mirror did you use to install Cygwin?

--
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: GNOME Please Help

2006-10-06 Thread Larry Hall (Cygwin X)

John Breslin wrote:

I got it from ftp://sunsite.dk via setup.exe


http://cygwin.com/cgi-bin2/package-grep.cgi?grep=startgnome.bat

Pointing 'setup.exe' at some 3rd party's site and installing packages
from there does not mean that this list supports that package.  Please
take this question to the maintainer of this software.  It's off-topic
here.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

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



GNOME Please Help

2006-10-05 Thread John Breslin
I installed Cygwin/Gnome and when i run
c:\cygwin\startgnome.bat /f
the X server window appears, disappears, and all i'm
left with is this log, and i'm not sure what to do
next to get Gnome to start.

Thank you,

John

/opt/gnome/bin/startgnome: line 45: [: too many
arguments
/opt/gnome/bin/startgnome: line 51: [: too many
arguments
starting gnome on display :0

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.99.901-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

X :0 

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be
set to root
winValidateArgs - g_iNumScreens: 1
iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See
http://x.cygwin.com/docs/faq/cygwin-x-faq.html for
more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported
engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display
depth of 32 bits per pixel
winFinishScreenInitFB - Masks: 00ff ff00
00ff
MIT-SHM extension disabled due to lack of kernel
support
XFree86-Bigfont extension local-client optimization
disabled due to lack of shared memory support in the
kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409)

(--) Using preset keyboard for English (USA) (409),
type 4
Rules = xorg Model = pc105 Layout = us Variant =
(null) Options = (null)
(--) 3 mouse buttons found
Could not init font path element
/usr/X11R6/lib/X11/fonts/CID/, removing from list!
Could not init font path element
/usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
winPointerWarpCursor - Discarding first warp: 797 573
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled,
returning.
/opt/gnome/etc/startgnomerc: line 23: [: too many
arguments
/opt/gnome/etc/startgnomerc: line 27: [: too many
arguments
FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/
refcount is 2, should be 1; fixing.

waiting for X server to shut down .(II) XF86Config is
not supported
(II) See
http://x.cygwin.com/docs/faq/cygwin-x-faq.html for
more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported
engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winFinishScreenInitFB - Masks: 00ff ff00
00ff
MIT-SHM extension disabled due to lack of kernel
support
XFree86-Bigfont extension local-client optimization
disabled due to lack of shared memory support in the
kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409)

(--) Using preset keyboard for English (USA) (409),
type 4
Rules = xorg Model = pc105 Layout = us Variant =
(null) Options = (null)
(--) 3 mouse buttons found
Could not init font path element
/usr/X11R6/lib/X11/fonts/CID/, removing from list!
Could not init font path element
/usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/
refcount is 2, should be 1; fixing.
winDeinitMultiWindowWM - Noting shutdown in progress




--
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: GNOME Please Help

2006-10-05 Thread Charli Li
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John Breslin just had to cough out the following stream of bytes from
the specified email client, on 10/5/2006 12:48 PM:
 I installed Cygwin/Gnome and when i run
 c:\cygwin\startgnome.bat /f
 the X server window appears, disappears, and all i'm
 left with is this log, and i'm not sure what to do
 next to get Gnome to start.
 
 [snip]
 
 
 
 

Where'd you get the startgnome.bat?  This file shouldn't even be here!
In other words, what mirror did you use to install Cygwin?

Next time, please follow the problem reporting guidelines at:
 Problem reports: http://cygwin.com/problems.html

- --
Charli
- ---
Sheesh, where did you get all this stuff?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFFJdaFKGyf4JaPChgRAjwAAJi/z3Uv+rxoGHuyc8c7fOKBZ9PkAJ99tcJ9
OjQPbQ0vDdHsyXbmRvaYHA==
=3/PO
-END PGP SIGNATURE-

--
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: Help please !!!

2006-05-15 Thread Larry Hall (Cygwin X)

Oleg Moshinpo wrote:

Please help ! Cygwin gives me an error ! About this I send you files :

Screenshot of error

Error message from tmp dir



Error from the log:

Fatal server error:
could not open default font 'fixed'

From the FAQ:

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746

--
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: Newbie help

2006-04-04 Thread Igor Peshansky
Indenting slightly reformatted below.  Now, doesn't that look better?

On Tue, 4 Apr 2006, John Rehill wrote:

 John Rehill wrote:

   Total newbie here in relation to not only cygwin  cygwin/X but also
   to UNIX... I'm a total windows slave.
  
   Anyway I've been given the delightful task of trying to configure
   cygwin and cygwin/X server for use on our systems.  But I've run
   into a wall.  Well actually quite a few really but I'll get to the
   point of the first one...
  
   How do I enable cygwin/X server as a service on Windows 2k  XP?
   I've read the help files and FAQ but although it said to use the
   cygserver-config script I'm at a lost as to how to do that.

 René Berber replied

  Uh? where exactly did you read that?

   All I need for the moment is the ability to start the server first.
   The rest I'll ask about later (if people are kind)

 René Berber replied

  Type startx in a Cygwin window.

 Oops sorry my mistake I was reading that in the cgywin user guide, about
 cgyserver and not in the cgywin/x server user guide.

FYI, the Cygwin/X guide may also mention cygserver, as XWin is compiled
with the SHM extension which won't work without it, but that is purely
optional.  Just so you don't get confused reading about cygserver there.
You do not *need* cygserver to run Cygwin/X.

 Since realising my mistake I've tried adding xwin.exe as a service,
 which worked but when I try to run a terminal window nothing happens.

 What am I doing wrong?

While it is possible to run XWin as a service (using a service wrapper
like cygrunsrv or srvany), it is not recommended, and will not do what you
want anyway.  XWin needs to run separately for each user, while the
service will be global to the machine.  You'll also have to allow
interaction with the desktop, and make sure the X server is started with
the right parameters.

If you simply want to start the X server before other programs, put a
shortcut to startxwin.bat (or bash startxwin.sh) into the user's Startup
folder.

 Thanks for the help btw...

You're welcome,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac
--
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: Newbie help

2006-04-04 Thread Jim Drash
I think you are confused about the use of the word server as it
applies to X-Windows type applications.  In X windows, the client is
the program such as emacs. The X-Windows server manages the display
for the client program.  A client program will ask the X-Windows
server to draw something on the display.  The X-Windows Server does
the work and we users get to see the result.

The Cygwin X-Windows server is NOT a Windows Service.  It is just a
program, like any other.  Once you have lauched it, you can lauch a
terminal program like xterm (A X-Windows Client program) to start up
other X-Window client programs.




On 4/3/06, John Rehill [EMAIL PROTECTED] wrote:
 Hey guys,

 Total newbie here in relation to not only cygwin  cygwin/X but also to
 UNIX... I'm a total windows slave.

 Anyway I've been given the delightful task of trying to configure cygwin and
 cygwin/X server for use on our systems.  But I've run into a wall.  Well
 actually quite a few really but I'll get to the point of the first one...

 How do I enable cygwin/X server as a service on Windows 2k  XP?  I've read
 the help files and FAQ but although it said to use the cygserver-config
 script I'm at a lost as to how to do that.

 All I need for the moment is the ability to start the server first.  The
 rest I'll ask about later (if people are kind)



 --
 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: Newbie help

2006-04-04 Thread Benton, Kevin
 Hey guys,
 
 Total newbie here in relation to not only cygwin  cygwin/X but also
to
 UNIX... I'm a total windows slave.
 
 Anyway I've been given the delightful task of trying to configure
cygwin
 and
 cygwin/X server for use on our systems.  But I've run into a wall.
Well
 actually quite a few really but I'll get to the point of the first
one...
 
 How do I enable cygwin/X server as a service on Windows 2k  XP?  I've
 read
 the help files and FAQ but although it said to use the
cygserver-config
 script I'm at a lost as to how to do that.
 
 All I need for the moment is the ability to start the server first.
The
 rest I'll ask about later (if people are kind)

You may want to be a bit more specific about what you're trying to do.
As others have said, if you want to run X-based applications in Windows,
you need to use startxwin to start X.  I've created an entry in my
Startup folder that runs X for me.  From there, I can run X-based
applications.

X runs in user space rather than as a server application.  The way
typical X-windows users see things is that program that runs under
startxwin is the client application, not the server.  Server
applications for X-Windows are running programs (like xterm, emacs,
etc.).  This may seem like a role reversal, but there's a reason for
that - the program producing the information is the server and the
program displaying it is the client.  So, if I want to display an xterm
on my.host.com, I can do that by telling xterm -display my.host.com:0.
That will cause xterm to serve itself to the X client on my.host.com
instance 0.  If the client allows the server to display information, the
window will appear.  If not, the server will get a rejection notice.  If
the client rejects, the user can tell the client to accept connections
by using xhost +my.other.host.com.

For more information, see...

man xterm
man xhost

I hope this helps.



--
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: Newbie help

2006-04-04 Thread Benton, Kevin
 X runs in user space rather than as a server application.  The way
typical
 X-windows users see things is that program that runs under startxwin
is
 the client application, not the server.  Server applications for
X-Windows
 are running programs (like xterm, emacs, etc.).  This may seem like a
role
 reversal, but there's a reason for that - the program producing the
 information is the server and the program displaying it is the client.
 So, if I want to display an xterm on my.host.com, I can do that by
telling
 xterm -display my.host.com:0.  That will cause xterm to serve itself
to
 the X client on my.host.com instance 0.  If the client allows the
server
 to display information, the window will appear.  If not, the server
will
 get a rejection notice.  If the client rejects, the user can tell the
 client to accept connections by using xhost +my.other.host.com.
 
 For more information, see...
 
 man xterm
 man xhost
 
 I hope this helps.

ARRG!  I got my server and client relationships backwards.  Regardless,
the rest of the info is still useful.  :)

---
Kevin Benton
Perl/Bugzilla Developer/Administrator, Perforce SCM Administrator
Digital Media Pervasive Computing Solutions Group
Advanced Micro Devices
 
The opinions stated in this communication do not necessarily reflect the
view of Advanced Micro Devices and have not been reviewed by management.
This communication may contain sensitive and/or confidential and/or
proprietary information.  Distribution of such information is strictly
prohibited without prior consent of Advanced Micro Devices.  This
communication is for the intended recipient(s) only.  If you have
received this communication in error, please notify the sender, then
destroy any remaining copies of this communication.


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



Newbie help

2006-04-03 Thread John Rehill
Hey guys,

Total newbie here in relation to not only cygwin  cygwin/X but also to
UNIX... I'm a total windows slave.

Anyway I've been given the delightful task of trying to configure cygwin and
cygwin/X server for use on our systems.  But I've run into a wall.  Well
actually quite a few really but I'll get to the point of the first one...

How do I enable cygwin/X server as a service on Windows 2k  XP?  I've read
the help files and FAQ but although it said to use the cygserver-config
script I'm at a lost as to how to do that.

All I need for the moment is the ability to start the server first.  The
rest I'll ask about later (if people are kind)



--
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: Newbie help

2006-04-03 Thread René Berber
John Rehill wrote:

 Total newbie here in relation to not only cygwin  cygwin/X but also to
 UNIX... I'm a total windows slave.
 
 Anyway I've been given the delightful task of trying to configure cygwin and
 cygwin/X server for use on our systems.  But I've run into a wall.  Well
 actually quite a few really but I'll get to the point of the first one...
 
 How do I enable cygwin/X server as a service on Windows 2k  XP?  I've read
 the help files and FAQ but although it said to use the cygserver-config
 script I'm at a lost as to how to do that.

Uh? where exactly did you read that?

 All I need for the moment is the ability to start the server first.  The
 rest I'll ask about later (if people are kind)

Type startx in a Cygwin window.
-- 
René Berber


--
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: Newbie help

2006-04-03 Thread John Rehill
John Rehill wrote:

 Total newbie here in relation to not only cygwin  cygwin/X but also to
 UNIX... I'm a total windows slave.
 
 Anyway I've been given the delightful task of trying to configure cygwin
and
 cygwin/X server for use on our systems.  But I've run into a wall.  Well
 actually quite a few really but I'll get to the point of the first one...
 
 How do I enable cygwin/X server as a service on Windows 2k  XP?  I've
read
 the help files and FAQ but although it said to use the cygserver-config
 script I'm at a lost as to how to do that.

René Berber replied

Uh? where exactly did you read that?

 All I need for the moment is the ability to start the server first.  The
 rest I'll ask about later (if people are kind)

René Berber replied

Type startx in a Cygwin window.


--

Oops sorry my mistake I was reading that in the cgywin user guide, about
cgyserver and not in the cgywin/x server user guide.

Since realising my mistake I've tried adding xwin.exe as a service, which
worked but when I try to run a terminal window nothing happens.

What am I doing wrong?

Thanks for the help btw...


--
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: Newbie help

2006-04-03 Thread Larry Hall (Cygwin X)

John Rehill wrote:

John Rehill wrote:


Total newbie here in relation to not only cygwin  cygwin/X but also to
UNIX... I'm a total windows slave.

Anyway I've been given the delightful task of trying to configure cygwin

and

cygwin/X server for use on our systems.  But I've run into a wall.  Well
actually quite a few really but I'll get to the point of the first one...

How do I enable cygwin/X server as a service on Windows 2k  XP?  I've

read

the help files and FAQ but although it said to use the cygserver-config
script I'm at a lost as to how to do that.


René Berber replied

Uh? where exactly did you read that?


All I need for the moment is the ability to start the server first.  The
rest I'll ask about later (if people are kind)


René Berber replied

Type startx in a Cygwin window.


--

Oops sorry my mistake I was reading that in the cgywin user guide, about
cgyserver and not in the cgywin/x server user guide.

Since realising my mistake I've tried adding xwin.exe as a service, which
worked but when I try to run a terminal window nothing happens.

What am I doing wrong?



You're trying to start the X server as a Windows service.  Don't do that.
Just run startxwin.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746

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



Can anyone help with this XWin.log error?

2005-12-26 Thread Alan Guedeney
I tried to Google this with no luck! Any help appreciated ... VNC Server is 
running, but not in use.


XWin.log
==

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/XWin -query 192.168.0.104 -nodecoration
-lesspointer

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1024 h 768
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Cannot create /tmp/.X11-unix with root ownership
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



--
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: Can anyone help with this XWin.log error?

2005-12-26 Thread Larry Hall (Cygwin X)

Alan Guedeney wrote:
I tried to Google this with no luck! Any help appreciated ... VNC Server 
is running, but not in use.


XWin.log
==

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/XWin -query 192.168.0.104 -nodecoration
-lesspointer

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1024 h 768
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Cannot create /tmp/.X11-unix with root ownership
winCheckDisplayNumber - Cygwin/X is already running on display 0

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



Consult the FAQ:

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#duplicate-invocation


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746

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



I need help to configure Norton Firewall 2005

2005-12-15 Thread m. z.

I have Norton Internet security 2005 and I installed cygwin cygwin/x.
In the firewall configuration in the programs menu I added manually 
Xwin.exe.
The cygwin or cygwin/x start only if I am not connected to internet, but if 
I connect to internet, the windows appears (the xterm for example), but the 
prompt for the command line does not appear, so I cannot work. That mean 
that the firewall is stopping something. In fact if I stop the firewall 
everithing works.
If someone has Norton, please say to me how to make the configuration. Thank 
you




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



Could you help with this error?

2005-12-14 Thread Chojar, Atul
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

XWin :0 -query 138.69.14.68 -clipboard 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1024 h 768
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Cannot create /tmp/.X11-unix with root ownership
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
(==) FontPath set to
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib
/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75d
pi/,/usr/X11R6/lib/X11/fonts/100dpi/
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of
shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409) 
(--) Using preset keyboard for English (USA) (409), type 4
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from list!

Fatal server error:
XDMCP fatal error: Session failed Session 21 failed for display
e364347.rv.tss.sls.acs-inc.com:0: Cannot open display


Thanks!

Atul 
 Chojar, Atul.vcf 


Chojar, Atul.vcf
Description: Binary data
--
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/

I need help with cygwin.

2005-09-24 Thread fxiong
I don't know what is wrong with my cygwin. After I install cygwin and type
startx in the command line. A error have accurred, it says that a fatal error
has occurred and Cygwin/x will now exit. Xwin was started with following
command-line:
X :0 -multiwindow-clipboard
Can you help me.
thank you.




--
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: I need help with cygwin.

2005-09-24 Thread Jack Tanner

[EMAIL PROTECTED] wrote:

I don't know what is wrong with my cygwin. After I install cygwin and type
startx in the command line. A error have accurred, it says that a fatal error
has occurred and Cygwin/x will now exit. Xwin was started with following
command-line:
X :0 -multiwindow-clipboard
Can you help me.
thank you.


http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-fatal-error


--
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: Who wants to help porting Mozilla to Cygwin?

2005-08-28 Thread bruno patin

Gerrit,



No, I tried to debug with gdb but was not very successful.  Currently
I cannot build the tree myself, they move a lot of stuff around and
there are errors all the time.  Maybe I should try to build the latest
release instead of CVS sources.


Do you mean that what you said before is not true anymore ? What I don't 
understand (but I did not search a lot in the mozilla site) is that it 
means no stability of the mozilla development. Is it true ?


Do you want me to retry a compile ? I kept your mails of november. Do I 
have to follow the same instructions ?


Bruno



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



  1   2   3   4   >