Re: cygwin x11 doesn't start after windows 10 upgrade

2020-08-04 Thread Steinar Bang
>>>>> Eliot Moss :
> On 8/2/2020 4:25 PM, Steinar Bang wrote:
>>>>>>> "Holger, Vodafone" :
>> 
>>> And I have checked on my system today, my strace output stop at the same 
>>> tmmon64.dll, so it is likely the reason for the error.
>>> I have opened a service request with our IT and wait for their answer.
>> 
>> Did you get any further with this?
>> 
>> I added the directory C:\cygwin64\bin to the Trend Micro exclusion list,
>> but that didn't help: XWin.exe still won't start.
>> 
>> Is it neccessary to do some kind of cache flushing? If so: how?

> I wonder it you might need to add directories containing the .dll files
> being loaded by your cygwin programs, too ...

I googled up this documentation which states "All subdirectories in the
directory path you specify will also be excluded."
 
https://docs.trendmicro.com/all/smb/wfbs-services/server/wfbs-svc/v3.7/en/docs/WebHelp/_WFBS-SVC/C08-Scans/ExcludingFilesFoldersFromScans.htm

I changed the exclusion to be C:\cygwin64

But I still have no luck in starting XWin.exe, unfortunately.

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


Re: cygwin x11 doesn't start after windows 10 upgrade

2020-08-02 Thread Steinar Bang
> "Holger, Vodafone" :

> And I have checked on my system today, my strace output stop at the same 
> tmmon64.dll, so it is likely the reason for the error.
> I have opened a service request with our IT and wait for their answer.

Did you get any further with this?

I added the directory C:\cygwin64\bin to the Trend Micro exclusion list,
but that didn't help: XWin.exe still won't start.

Is it neccessary to do some kind of cache flushing? If so: how?

Thanks!

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


Re: cygwin x11 doesn't start after windows 10 upgrade

2020-07-02 Thread Steinar Bang
Here's another datapoint:
After trying to start XWin.exe, the keyboard on the laptop becomes
sluggish and laggy and the only way I've found to get it normal again,
is to reboot the Windows 10 laptop.

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


Re: cygwin x11 doesn't start after windows 10 upgrade

2020-07-02 Thread Steinar Bang
> "Holger, Vodafone" :

> Update: Solution:
> When changing the execution mode of C:\cygwin64\bin\XWin.exe to „Windows 7 
> Compatbility“ the start of XWin work.

> There is no Virus Blocking of TrendMicro but an incompatibility (no block 
> message in TM). 

Didn't help me, unfortunately.

Here's what I did:
 1. Search up XWin.exe in the tastrt menu and open the location
 2. Windows explore opened on the start menu shortcut
 3. I right-clicked the XWin.exe shortcut and selected "Open location"
 4. This opened C:\cygwin64\bin
 5. I right-clicked C:\cygwin64\bin\XWin.exe and selected Properties...
 6. In the propertiesd dialog I selected the "Compatibility" tab
 7. In the compatibility tab I selected Windows 7 compatibility as shown here: 
https://www.groovypost.com/howto/geek-stuff/run-a-program-in-windows-7-compatibility-mode/
 8. I clicked on the "OK" button
 9. I tried running XWin.exe from the cygwin bash command line, but it exited 
at the same place as it always have since these problems startted:

sbang@ITEM-S63383:~$ XWin.exe
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.20.5.0
OS: CYGWIN_NT-10.0-18363 ITEM-S63383 3.1.5-340.x86_64 2020-06-01 08:59 UTC 
x86_64
OS: Windows 7  [Windows NT 6.1 build 7600] (Win64)
Package: version 1.20.5-3 built 2019-09-06

winInitializeScreenDefaults - primary monitor w 1920 h 1080
winInitializeScreenDefaults - native DPI x 120 y 120
XWin was started with the following command line:

XWin

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /cygdrive/d/Profiles/sbang/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - RemoteSession: no
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 0005
sbang@ITEM-S63383:~$

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


Re: cygwin x11 doesn't start after windows 10 upgrade

2020-06-14 Thread Steinar Bang
> Marco Atzeri via Cygwin :

> I guess we have only two methods to further going down

> 1) checking with strace if it is crashing during any system call

>  strace -o XWin.strace /usr/bin/XWin :0 -multiwindow  -auth

> XWin.strace should contain some hints, hopefully

XWin.strace attached to this message.

> 2) use the gdb debugger, but it will require the installation of

> several debuginfo packages

Just give me the commands and I will try to follow them.

--- Process 149068 created
--- Process 149068 loaded C:\Windows\System32\ntdll.dll at 7ffda7fa
--- Process 149068 loaded C:\Windows\System32\kernel32.dll at 7ffda6ff
--- Process 149068 loaded C:\Windows\System32\KernelBase.dll at 7ffda4fe
--- Process 149068 loaded C:\Windows\System32\advapi32.dll at 7ffda757
--- Process 149068 thread 151064 created
--- Process 149068 loaded C:\Windows\System32\msvcrt.dll at 7ffda77d
--- Process 149068 thread 151172 created
--- Process 149068 loaded C:\Windows\System32\sechost.dll at 7ffda6e8
--- Process 149068 loaded C:\cygwin64\bin\cygwin1.dll at 00018004
--- Process 149068 loaded C:\Windows\System32\rpcrt4.dll at 7ffda70d
--- Process 149068 loaded C:\Windows\System32\gdi32.dll at 7ffda6f3
--- Process 149068 loaded C:\Windows\System32\win32u.dll at 7ffda551
--- Process 149068 loaded C:\Windows\System32\gdi32full.dll at 7ffda5eb
--- Process 149068 loaded C:\Windows\System32\msvcp_win.dll at 7ffda569
--- Process 149068 loaded C:\Windows\System32\ucrtbase.dll at 7ffda529
--- Process 149068 thread 149136 created
--- Process 149068 loaded C:\Windows\System32\user32.dll at 7ffda662
--- Process 149068 loaded C:\Windows\System32\ole32.dll at 7ffda605
--- Process 149068 loaded C:\Windows\System32\combase.dll at 7ffda6b4
--- Process 149068 loaded C:\Windows\System32\bcryptprimitives.dll at 
7ffda549
--- Process 149068 loaded C:\Windows\System32\shell32.dll at 7ffda787
--- Process 149068 loaded C:\cygwin64\bin\cygpixman-1-0.dll at 0003f43d
--- Process 149068 loaded C:\cygwin64\bin\cygtirpc-3.dll at 0003f2dd
--- Process 149068 loaded C:\cygwin64\bin\cygnettle-6.dll at 0003f4a2
--- Process 149068 loaded C:\Windows\System32\cfgmgr32.dll at 7ffda53b
--- Process 149068 loaded C:\cygwin64\bin\cygXau-6.dll at 0003f6c6
--- Process 149068 loaded C:\cygwin64\bin\cygxcb-composite-0.dll at 
0003f2db
--- Process 149068 loaded C:\cygwin64\bin\cygxcb-ewmh-2.dll at 0003f287
--- Process 149068 loaded C:\cygwin64\bin\cygxcb-icccm-4.dll at 0003f284
--- Process 149068 loaded C:\cygwin64\bin\cygxcb-image-0.dll at 0003f283
--- Process 149068 loaded C:\Windows\System32\SHCore.dll at 7ffda730
--- Process 149068 loaded C:\Windows\System32\windows.storage.dll at 
7ffda573
--- Process 149068 loaded C:\cygwin64\bin\cygxcb-util-1.dll at 0003f27f
--- Process 149068 loaded C:\cygwin64\bin\cygxcb-xfixes-0.dll at 
0003f27e
--- Process 149068 loaded C:\cygwin64\bin\cygxcb-1.dll at 0003f289
--- Process 149068 loaded C:\Windows\System32\dwmapi.dll at 7ffda339
--- Process 149068 loaded C:\Windows\System32\profapi.dll at 7ffda4e7
--- Process 149068 loaded C:\cygwin64\bin\cygXdmcp-6.dll at 0003f6ba
--- Process 149068 loaded C:\Windows\System32\powrprof.dll at 7ffda4ea
--- Process 149068 loaded C:\cygwin64\bin\cygXfont2-2.dll at 0003f6af
--- Process 149068 loaded C:\Windows\System32\opengl32.dll at 7ffd79e4
--- Process 149068 loaded C:\cygwin64\bin\cyggcc_s-seh-1.dll at 0003f5cb
--- Process 149068 loaded C:\Windows\System32\umpdc.dll at 7ffda4e6
--- Process 149068 loaded C:\cygwin64\bin\cygxcb-shm-0.dll at 0003f280
--- Process 149068 loaded C:\Windows\System32\shlwapi.dll at 7ffda72a
--- Process 149068 loaded C:\Windows\System32\kernel.appcore.dll at 
7ffda4ef
--- Process 149068 loaded C:\cygwin64\bin\cyggssapi_krb5-2.dll at 
0003f56d
--- Process 149068 loaded C:\cygwin64\bin\cygbz2-1.dll at 0003f68e
--- Process 149068 loaded C:\Windows\System32\cryptsp.dll at 7ffda539
--- Process 149068 loaded C:\cygwin64\bin\cygfontenc-1.dll at 0003f5d7
--- Process 149068 loaded C:\cygwin64\bin\cygz.dll at 0003f278
--- Process 149068 loaded C:\Windows\System32\glu32.dll at 7ffd7d2a
--- Process 149068 loaded C:\cygwin64\bin\cygkrb5-3.dll at 0003f4dd
--- Process 149068 loaded C:\cygwin64\bin\cygfreetype-6.dll at 0003f5bf
--- Process 149068 loaded C:\cygwin64\bin\cygk5crypto-3.dll at 0003f4ea
--- Process 149068 loaded C:\cygwin64\bin\cygkrb5support-0.dll at 
0003f51f
--- Process 149068 loaded C:\cygwin64\bin\cygintl-8.dll at 0003f50c
--- Process 149068 loaded C:\cygwin64\bin\cygkrb5support-0.dll at 
0016
--- Process 149068 unloaded DLL at 

Re: cygwin x11 doesn't start after windows 10 upgrade

2020-06-14 Thread Steinar Bang
>>>>> "Henry S. Thompson via Cygwin" :

> Steinar Bang writes:
> [troubles with XWin]

> Have a look at what Windows shows as the processes that are running.

> I've had intermittent problems with XWin processes running without
> actually showing any windows.  You can see process information either
> with a special tool such as ProcExp or with the builtin Windows task
> manager, via Control-Alt-Delete.

> If you find XWin processes, let us know.

There were no XWin processes in the "Processes" tab of the task manager.

I couldn't see any XWin processes in sysinternals procexp64 either.  And
search for "xwin" in procexp gave no matches.

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


Re: cygwin x11 doesn't start after windows 10 upgrade

2020-06-14 Thread Steinar Bang
> Jon Turney :

> Sorry to hear you are having problems. [1] lists the ways of starting
> the X server we think should work [2].

Ok. xlaunch is still on the list in [1] and it has worked fine for me
until these problems started.

It seems likely that this is something that happened in the recent Win10
upgrade.  But the problem is figuring out what, since there isn't much
in the way of error messages. :-)

> The simplest way to run the X server is using 'XWin' at a command line.

> Does that work?

Nope.

> I'm guessing probably not.  Does it hang? Or exit
> after doing nothing?

It exits after doing nothing.

> Does 'XWin -logverbose 3' produce any more information?

Unfortunately not.

Here it is:
sbang@ITEM-S63383:~$ XWin -logverbose 3
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.20.5.0
OS: CYGWIN_NT-10.0-18363 ITEM-S63383 3.1.5-340.x86_64 2020-06-01 08:59 UTC 
x86_64
OS: Windows 10  [Windows NT 10.0 build 18363] (Win64)
Package: version 1.20.5-3 built 2019-09-06

XWin was started with the following command line:

XWin -logverbose 3

OsVendorInit - Creating default screen 0
winInitializeScreens - 1
winInitializeScreen - 0
winValidateArgs - Returning.
(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /cygdrive/d/Profiles/sbang/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winGetDisplay: DISPLAY=:0.0
winDetectSupportedEngines - RemoteSession: no
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 0005
sbang@ITEM-S63383:~$


Thanks!


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


Re: cygwin x11 doesn't start after windows 10 upgrade

2020-06-14 Thread Steinar Bang
> Marco Atzeri via Cygwin :

> Hi Steinar,
> forgot to ask, there is stackdump  of Xwin ?

> usually the stack dump are under /usr/bin

>   ls /usr/bin | grep stack

> but they can also be on your home directory
> or in other places.

Nothing in /usr/bin but there is an lxterminal.exe.stackdump in my home
directory (I'm guessing that it isn't really helpful though. It probably
only crashed because there was no XWin to connect to).

I've attached the lxterminal stack trace to this message (this is from
one of the xlaunch attempts because lxterminal is what I start locally
with XWin).

> Re-looking at your Xwin.0.log
[snip!]
> on my log the next record is
>winSetEngine - Multi Window or Rootless => ShadowGDI

> so it seems something is going wrong there

> from "man Xwin" I see two possible options for troubleshooting
> engine detection faults
[snip!]
> on my system both options work, can you check on yours ?

>startxwin -- -engine 4

Here is the attempt:
sbang@ITEM-S63383:~$ startxwin -- -engine 4

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.20.5.0
OS: CYGWIN_NT-10.0-18363 ITEM-S63383 3.1.5-340.x86_64 2020-06-01 08:59 UTC 
x86_64
OS: Windows 10  [Windows NT 10.0 build 18363] (Win64)
Package: version 1.20.5-3 built 2019-09-06

XWin was started with the following command line:

/usr/bin/XWin :0 -multiwindow -engine 4 -auth
 /cygdrive/d/Profiles/sbang/.serverauth.747

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /cygdrive/d/Profiles/sbang/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - RemoteSession: no
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 0005
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
sbang@ITEM-S63383:~$


Thanks!

Stack trace:
FrameFunctionArgs
000C428  0018005CADE (0018023E2ED, 0018021FC46, 000C428, 000B320)
000C428  001800463E9 (000, 000, 000, 003F8AF3FD0)
000C428  00180046422 (0018023E3A9, 000C2D8, 000C428, 000)
000C428  001800A97DF (000, 000, 000, 000)
000C428  001800A9A2D (000C440, 000, 000, 000)
000  001800AAC94 (000C440, 000, 000, 000)
End of stack trace
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
>>>>> Steinar Bang :
>>>>> Marco Atzeri via Cygwin :


>> can you reset the default

>> db_home:  /home/%U

>> close all processes and try X again ?
>> This should use /home/sbang as your new home and
>> we can see if it is a permission problem that is causing
>> issue to Xwin

> I changed the /etc/nsswitch.conf file, and rebooted to ensure all
> processes had been killed.  But cygwin still seemed to use the
> windows profile directory.  I still have HOME set to the profile
> directory.  I have all of my unix-y program setup files there (used by
> GNU emacs, git bash, and mingw utilities)

> But still no luck in launching XWin, either with xlaunch or from the
> command line.

> I will unset HOME and reboot and try again.

I renamed environment HOME to HOME_DISABLED (in advanced system
settings) and rebooted.

cmd.exe showed that HOME was gone.

However, in cygwin bash HOME was still set to the profile directory and
that was still used as the HOME dir.

startxwin still failed to start X.

Output from the cygwin console for this attempt (I have rebooted with
HOME in place so that I can send email using emacs and Gnus):

sbang@ITEM-S63383:~$ pwd
/cygdrive/d/Profiles/sbang
sbang@ITEM-S63383:~$ env | grep HOME
ATLAS_HOME=C:\Applications\Atlassian\atlassian-plugin-sdk-8.0.16
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_241
HOME=/cygdrive/d/Profiles/sbang
HOME_DISABLED=d:\Profiles\sbang
HOMEDRIVE=d:
HOMEPATH=\Profiles\sbang
sbang@ITEM-S63383:~$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
#This file is read once by the first process in a Cygwin process tree.
#To pick up changes, restart all Cygwin processes.  For a description
#see https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch
#
# Defaults:
# passwd:   files db
# group:files db
# db_enum:  cache builtin
db_home:  /home/%U
# db_home:  windows
# db_shell: /bin/bash
# db_gecos: 
sbang@ITEM-S63383:~$ startwinx
-bash: startwinx: command not found
sbang@ITEM-S63383:~$ startxwin

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.20.5.0
OS: CYGWIN_NT-10.0-18363 ITEM-S63383 3.1.5-340.x86_64 2020-06-01 08:59 UTC 
x86_64
OS: Windows 10  [Windows NT 10.0 build 18363] (Win64)
Package: version 1.20.5-3 built 2019-09-06

XWin was started with the following command line:

/usr/bin/XWin :0 -multiwindow -auth
 /cygdrive/d/Profiles/sbang/.serverauth.985

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /cygdrive/d/Profiles/sbang/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - RemoteSession: no
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 0005
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
sbang@ITEM-S63383:~$

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


Re: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
> Marco Atzeri via Cygwin :
>>> It is never a good idea to have the Cygwin Home dir the
>>> same of Windows user dir

>> Why this not a good idea?

> because permissions like the one needed for ssh
> can be screwd by Windows ACL permission inherited

Ok.

FWIW I have used cygwin ssh for two things:
 1. Launching mosh sessions (this still worked after the Win10 upgrade)
 2. Running "ssh -Y " sessions from lxterminal launched with XWin by xlaunch
and it has worked fine until the reboot followed by the Win10 upgrade.

mosh still works, and normal ssh (without -Y) from cygwin terminals
still works, after the Win10 upgrade.

> can you reset the default

> db_home:  /home/%U

> close all processes and try X again ?
> This should use /home/sbang as your new home and
> we can see if it is a permission problem that is causing
> issue to Xwin

I changed the /etc/nsswitch.conf file, and rebooted to ensure all
processes had been killed.  But cygwin still seemed to use the
windows profile directory.  I still have HOME set to the profile
directory.  I have all of my unix-y program setup files there (used by
GNU emacs, git bash, and mingw utilities)

But still no luck in launching XWin, either with xlaunch or from the
command line.

I will unset HOME and reboot and try again.

For now, here's the output from the launch from the cygwin console:
sbang@ITEM-S63383:~$ pwd
/cygdrive/d/Profiles/sbang
sbang@ITEM-S63383:~$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
#This file is read once by the first process in a Cygwin process tree.
#To pick up changes, restart all Cygwin processes.  For a description
#see https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch
#
# Defaults:
# passwd:   files db
# group:files db
# db_enum:  cache builtin
db_home:  /home/%U
# db_home:  windows
# db_shell: /bin/bash
# db_gecos: 
sbang@ITEM-S63383:~$ ll /home/sbang
ls: cannot access '/home/sbang': No such file or directory
sbang@ITEM-S63383:~$ pwd
/cygdrive/d/Profiles/sbang
sbang@ITEM-S63383:~$ startxwin

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.20.5.0
OS: CYGWIN_NT-10.0-18363 ITEM-S63383 3.1.5-340.x86_64 2020-06-01 08:59 UTC 
x86_64
OS: Windows 10  [Windows NT 10.0 build 18363] (Win64)
Package: version 1.20.5-3 built 2019-09-06

XWin was started with the following command line:

/usr/bin/XWin :0 -multiwindow -auth
 /cygdrive/d/Profiles/sbang/.serverauth.652

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /cygdrive/d/Profiles/sbang/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - RemoteSession: no
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 0005
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
sbang@ITEM-S63383:~$

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


Re: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
>>>>> Steinar Bang :

>>>>> Marco Atzeri via Cygwin :
>> this looks like another program blocking the effort and it can be as
>> Xwin can NOT write files with the needed permission on your home
>> directory

> Could this be a virus checker blocking the writer?

What files is it XWin tries to write? And where does it try to write
them?

Thanks!

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


Re: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
> Marco Atzeri via Cygwin :

> this looks like another program blocking the effort and it can be as
> Xwin can NOT write files with the needed permission on your home
> directory

Could this be a virus checker blocking the writer?

> What is the output of
>   grep home  /etc/nsswitch.conf

sbang@ITEM-S63383:~$ grep home  /etc/nsswitch.conf
# db_home:  /home/%U
db_home:  windows
sbang@ITEM-S63383:~$


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


Re: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
> Marco Atzeri via Cygwin :

> as attachment was mentioned in the link.
> In line screw up the search function of the mailing list
> archive.

Sorry!

>> USER = 'sbang'
>> PWD = '/cygdrive/d/Profiles/sbang'
>> HOME = '/cygdrive/d/Profiles/sbang'

> It is never a good idea to have the Cygwin Home dir the
> same of Windows user dir

Why this not a good idea?

> have you modified the "/etc/nsswitch.conf" ?

Not intentionally.  It looks like this:

sbang@ITEM-S63383:~$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
#This file is read once by the first process in a Cygwin process tree.
#To pick up changes, restart all Cygwin processes.  For a description
#see https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch
#
# Defaults:
# passwd:   files db
# group:files db
# db_enum:  cache builtin
# db_home:  /home/%U
db_home:  windows
# db_shell: /bin/bash
# db_gecos: 

> nothing obvious from the other data

Ok

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


Re: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
>>>>> Steinar Bang :

>>>>> Marco Atzeri via Cygwin :
>> can you start X11 with startxwin ?
>> If you start with just "XWin :0 -multiwindow -clipboard"
>> does it work ?

> startxwin isn't found:
>  sbang@ITEM-S63383:~$ startxwin
>  -bash: startxwin: command not found
>  sbang@ITEM-S63383:~$ which startxwin
>  which: no startxwin in (/usr/local/bin:/usr/bin:/cygdrive/c/Program Files 
> (x86)/Common 
> Files/Oracle/Java/javapath:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
>  Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common 
> Files/Intel/WirelessCommon:/cygdrive/c/Program 
> Files/Git/cmd:/cygdrive/c/ProgramFiles/apache-maven-3.6.3/bin:/cygdrive/c/Program
>  Files 
> (x86)/Calibre2:/cygdrive/c/ProgramFiles/GnuWin32/bin:/cygdrive/c/Program 
> Files/nodejs:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
>  Files/Java/jdk1.8.0_241/bin:/cygdrive/c/Program 
> Files/PuTTY:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/d/Profiles/sbang/AppData/Local/
>  
> Microsoft/WindowsApps:/cygdrive/d/Profiles/sbang/AppData/Local/Programs/Fiddler:/cygdrive/d/Profiles/sbang/AppData/Roaming/npm:/cygdrive/c/Program
>  Files/Microsoft VS Code/bin:/cygdrive/c/Application
>  
> s/Atlassian/atlassian-plugin-sdk-8.0.16/bin:/cygdrive/d/Profiles/sbang/AppData/Local/Microsoft/WindowsApps:/cygdrive/d/Profiles/sbang/apps/bin:/usr/local/go)
>  sbang@ITEM-S63383:~$

> I thought it might be because xorg-scripts wasn't installed, so I
> installed xorg-scripts 1.0.1-1, but it didb't make startxwin appear.

> I *do* have xorg-server 1.20.5-3 installed (and it was working until a
> couple of days ago).

> startxwin is supposed to be installed with xorg-server?

I was missing the xinit package and installed xinit 1.4.1-1 and then I
got startxwin.

It failed in the startup with messages that looks similar to the ones
output to the log file:
sbang@ITEM-S63383:~$ startxwin
xauth:  file /cygdrive/d/Profiles/sbang/.Xauthority does not exist
xauth:  file /cygdrive/d/Profiles/sbang/.Xauthority does not exist

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.20.5.0
OS: CYGWIN_NT-10.0-18363 ITEM-S63383 3.1.5-340.x86_64 2020-06-01 08:59 UTC 
x86_64
OS: Windows 10  [Windows NT 10.0 build 18363] (Win64)
Package: version 1.20.5-3 built 2019-09-06

XWin was started with the following command line:

/usr/bin/XWin :0 -multiwindow -auth
 /cygdrive/d/Profiles/sbang/.serverauth.1056

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /cygdrive/d/Profiles/sbang/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - RemoteSession: no
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 0005
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
sbang@ITEM-S63383:~$


Starting with "XWin :0 -multiwindow -clipboard" outputs pretty much the
same as the log file (X doesn't start):
sbang@ITEM-S63383:~$ XWin :0 -multiwindow -clipboard
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.20.5.0
OS: CYGWIN_NT-10.0-18363 ITEM-S63383 3.1.5-340.x86_64 2020-06-01 08:59 UTC 
x86_64
OS: Windows 10  [Windows NT 10.0 build 18363] (Win64)
Package: version 1.20.5-3 built 2019-09-06

XWin was started with the following command line:

XWin :0 -multiwindow -clipboard

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /cygdrive/d/Profiles/sbang/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - RemoteSession: no
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 0005
sbang@ITEM-S63383:~$

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


Re: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
> Marco Atzeri via Cygwin :

> can you start X11 with startxwin ?
> If you start with just "XWin :0 -multiwindow -clipboard"
> does it work ?

startxwin isn't found:
 sbang@ITEM-S63383:~$ startxwin
 -bash: startxwin: command not found
 sbang@ITEM-S63383:~$ which startxwin
 which: no startxwin in (/usr/local/bin:/usr/bin:/cygdrive/c/Program Files 
(x86)/Common 
Files/Oracle/Java/javapath:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
 Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common 
Files/Intel/WirelessCommon:/cygdrive/c/Program 
Files/Git/cmd:/cygdrive/c/ProgramFiles/apache-maven-3.6.3/bin:/cygdrive/c/Program
 Files (x86)/Calibre2:/cygdrive/c/ProgramFiles/GnuWin32/bin:/cygdrive/c/Program 
Files/nodejs:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
 Files/Java/jdk1.8.0_241/bin:/cygdrive/c/Program 
Files/PuTTY:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/d/Profiles/sbang/AppData/Local/Microsoft/WindowsApps:/cygdrive/d/Profiles/sbang/AppData/Local/Programs/Fiddler:/cygdrive/d/Profiles/sbang/AppData/Roaming/npm:/cygdrive/c/Program
 Files/Microsoft VS Code/bin:/cygdrive/c/Application
 
s/Atlassian/atlassian-plugin-sdk-8.0.16/bin:/cygdrive/d/Profiles/sbang/AppData/Local/Microsoft/WindowsApps:/cygdrive/d/Profiles/sbang/apps/bin:/usr/local/go)
 sbang@ITEM-S63383:~$

I thought it might be because xorg-scripts wasn't installed, so I
installed xorg-scripts 1.0.1-1, but it didb't make startxwin appear.

I *do* have xorg-server 1.20.5-3 installed (and it was working until a
couple of days ago).

startxwin is supposed to be installed with xorg-server?

Thanks!

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


Re: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
> Marco Atzeri via Cygwin :

> Hi Steinar,
> please provide the cygcheck.out as suggested by:

>> Problem reports:  https://cygwin.com/problems.html

Here is cygcheck.out:

Cygwin Configuration Diagnostics
Current System Time: Sat Jun 13 10:28:45 2020

Windows 10 Enterprise Ver 10.0 Build 18363 

Path:   C:\cygwin64\usr\local\bin
C:\cygwin64\bin
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
C:\ProgramData\Oracle\Java\javapath
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0
C:\Program Files\Intel\WiFi\bin
C:\Program Files\Common Files\Intel\WirelessCommon
C:\Program Files\Git\cmd
C:\ProgramFiles\apache-maven-3.6.3\bin
C:\Program Files (x86)\Calibre2
C:\ProgramFiles\GnuWin32\bin
C:\Program Files\nodejs
C:\WINDOWS\System32\WindowsPowerShell\v1.0
C:\Program Files\Java\jdk1.8.0_241\bin
C:\Program Files\PuTTY
C:\WINDOWS\System32\OpenSSH
D:\Profiles\sbang\AppData\Local\Microsoft\WindowsApps
D:\Profiles\sbang\AppData\Local\Programs\Fiddler
D:\Profiles\sbang\AppData\Roaming\npm
C:\Program Files\Microsoft VS Code\bin
C:\Applications\Atlassian\atlassian-plugin-sdk-8.0.16\bin
D:\Profiles\sbang\AppData\Local\Microsoft\WindowsApps
D:\Profiles\sbang\apps\bin
C:\cygwin64\usr\local\go

Output from C:\cygwin64\bin\id.exe
UID: 1294839(sbang)
GID: 1049089(AD-ONE+Group(513)
=1049089(AD-ONE+Group(513))
545(Users)
4(INTERACTIVE)
66049(CONSOLE LOGON)
11(Authenticated Users)
15(This Organization)
4095(CurrentSession)
66048(LOCAL)
1361473(AD-ONE+Group(312897))
1361472(AD-ONE+Group(312896))
1086844(AD-ONE+Group(38268))
1484203(AD-ONE+Group(435627))
1266009(AD-ONE+Group(217433))
1086606(AD-ONE+Group(38030))
1497990(AD-ONE+Group(449414))
1333979(AD-ONE+Group(285403))
1333928(AD-ONE+Group(285352))
1186662(AD-ONE+Group(138086))
1484283(AD-ONE+Group(435707))
1463770(AD-ONE+Group(415194))
1281522(AD-ONE+Group(232946))
1333933(AD-ONE+Group(285357))
1525979(AD-ONE+Group(477403))
1059787(AD-ONE+Group(11211))
1186571(AD-ONE+Group(137995))
4294967295(Unknown+Group)
70145(Authentication authority asserted identity)
1266497(AD-ONE+Group(217921))
401408(Medium Mandatory Level)

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

USER = 'sbang'
PWD = '/cygdrive/d/Profiles/sbang'
HOME = '/cygdrive/d/Profiles/sbang'

USERDOMAIN = 'AD-ONE'
OS = 'Windows_NT'
NVM_DIR = '/cygdrive/d/Profiles/sbang/.nvm'
LS_COLORS = 
'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01
 
;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
PROCESSOR_LEVEL = '6'
PSModulePath = 'C:\Program 
Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules'
CommonProgramW6432 = 'C:\Program Files\Common Files'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
LANG = 'en_US.UTF-8'
TZ = 'Europe/Oslo'
HOSTNAME = 'ITEM-S63383'
PUBLIC = 'd:\Profiles\Public'
OLDPWD = '/cygdrive/d/Profiles/sbang'
ATLAS_HOME = 'C:\Applications\Atlassian\atlassian-plugin-sdk-8.0.16'
UATDATA = 'C:\WINDOWS\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77'
USERNAME = 'sbang'
JAVA_HOME = 'C:\Program Files\Java\jdk1.8.0_241'
LOGONSERVER = '\\WOSLODCONE02'
PROCESSOR_ARCHITECTURE = 'AMD64'
LOCALAPPDATA = 'd:\Profiles\sbang\AppData\Local'
COMPUTERNAME = 'ITEM-S63383'
FPS_BROWSER_APP_PROFILE_STRING = 'Internet Explorer'
!:: = '::\'
LC_COLLATE = 'POSIX'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'd:\Profiles\sbang'
PATHEXT = 

Re: cygwin x11 doesn't start after windows 10 upgrade

2020-06-13 Thread Steinar Bang
>>>>> Steinar Bang :

> Platform: amd64, windows 10 10.0.18363 Build 18363,
>   cygwin xorg-server 1.20.5-3, xlaunch 20160530-1

> I start X11 by double clicking the following config.xlaunch:
>  https://gist.github.com/steinarb/8687e2113c601e061da909e75a180f39

> After the reboot caused by a windows 10 upgrade, launching X11 using
> xlaunch have stopped working.

[snip! attempts at fixing]
> Here's XWin.0.log from a startup attempt:
>  https://gist.github.com/steinarb/dacfec5172fd547cbec7c87723163193

The log doesn't have any obvious errors, but I've tried googling the
most error-message-like lines (so far without any luck).

I tried googling "xorg.conf is not supported" and found
 
https://stackoverflow.com/questions/27526938/x-does-not-start-after-cygwin-upgrade
(title was promising but this is from 2014 and probably irrelevant)

I tried googling "Returning, supported engines 0005" and found
 https://sourceware.org/legacy-ml/cygwin/2015-09/msg00084.html
(title also promising, but from 2015 and probably irrelevant as well)


Is the problem that I'm using xlaunch?  From the version number it looks
like it is from 2016?  Has the world change enough that it now longer
works for launching x?

What does people use to launch cygwin X these days?

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


cygwin x11 doesn't start after windows 10 upgrade

2020-06-11 Thread Steinar Bang
Platform: amd64, windows 10 10.0.18363 Build 18363,
  cygwin xorg-server 1.20.5-3, xlaunch 20160530-1

I start X11 by double clicking the following config.xlaunch:
 https://gist.github.com/steinarb/8687e2113c601e061da909e75a180f39

After the reboot caused by a windows 10 upgrade, launching X11 using
xlaunch have stopped working.

I have tried:
 1. Running xlaunch directly instead of double clicking config.xlaunch
 2. Running setup-86_64.exe to install all pending upgrades
 3. Running setup-86_64.exe to reinstall xlaunch
 4. Running setup-86_64.exe to reinstall xorg-server

But none of this has made any difference.

Does anyone have an idea what the problem might be?

Here's XWin.0.log from a startup attempt:
 https://gist.github.com/steinarb/dacfec5172fd547cbec7c87723163193

Thanks1


- Steinar


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


Re: Adjust the default font size from the server side

2020-05-02 Thread Steinar Bang
>>>>> Steinar Bang :

> Is it possible to set the default font sizes for each application on
> the server side so that the applications look good on both laptops
> (right now the text is so small that it is hard to read on the
> 1920x1080 display).

Turns out emacs was easy to fix.

I removed a line from my ancient (not really changed since 2004 (a
little bit changed in 2011 for an application I don't use anymore), and
with history going back to the late 80-ies, early 90-ies) .Xdefaults
file on the server side:
 Emacs*Font:
-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1

But eclipse will probably be a harder nut to crack.

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


Adjust the default font size from the server side

2020-05-02 Thread Steinar Bang
I run "ssh -Y " connections from cygwin xfree to the same server from
two separate laptops.

I run a script that starts GNU Emacs and eclipse IDE on th server,
displaying on the laptop.

One of the laptops has a fairly low screen resolution (1366x768), the
other has a fairly high resolution (1920x1080).

Is it possible to set the default font sizes for each application on the
server side so that the applications look good on both laptops (right
now the text is so small that it is hard to read on the 1920x1080
display).

Thanks!


- Steinar

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


Re: Eclipse running on debian with remote display to cygwin X11 starts all squashed to a point

2018-03-09 Thread Steinar Bang
> Jon Turney :

> Probably the simplest way is to replace your existing
> /usr/bin/XWin.exe with it (after making a copy of the original so you
> can put it back afterwards)

The XWin.20180308-git-3ca71c7f563c3e91.exe file did not work
unfortunately:
 - With no extra argument eclipse showed up squashed
 - With "-extension XRANDR" (my mistake, working for memory), nothing
   worked (I didn't try again with the right argument)

> I discovered that there is some RANDR state which doesn't always get
> initialized correctly, so also just running 'xrandr' might be a
> workaround (which was confusing me greatly when testing things :))

> I built another snapshot which fixes that, which you might also like to try.

> ftp://cygwin.com/pub/cygwinx/x86_64/XWin.20180309-git-42c162c6c1f98253.exe.bz2

With this XWin.exe eclipse showed up without requiring any extra
arguments.

Thanks for fixing this! :-)


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



Re: Eclipse running on debian with remote display to cygwin X11 starts all squashed to a point

2018-03-08 Thread Steinar Bang
> Brian Inglis :

> Have you tried explicitly specifying -geometry compatible with the target
> display, to see if that works?

The documentation for the eclipse executable doesn't list the typical
X11 arguments, and when I tried -geometry it didn't seem to have any
effect.

Thanks!


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



Re: Eclipse running on debian with remote display to cygwin X11 starts all squashed to a point

2018-03-08 Thread Steinar Bang
>>>>> Steinar Bang <s...@dod.no>:

>> I've built a snapshot with some potential fixes. Perhaps you could try
>> that and see if it improves things for you?

>> ftp://cygwin.com/pub/cygwinx/x86_64/XWin.20180308-git-3ca71c7f563c3e91.exe.bz2

> Ok I will try this and see how it works out.  I will report back both
> the results of both this version and the "-extension RANDR".

I have downloaded it and bunzip2'd it and started it from the command
line, and it started and displayed a big black window.

But I'm unsure how to start it in the same way as XLaunch starts and how
to fire up lxterminal locally...?


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



Re: Eclipse running on debian with remote display to cygwin X11 starts all squashed to a point

2018-03-08 Thread Steinar Bang
>>>>> Steinar Bang <s...@dod.no>:
>>>>> Jon Turney <jon.tur...@dronecode.org.uk>:

>> It might also be worth trying adding the '-extension RANDR' option to
>> the X server, to disable RANDR.

> Thanks! I will try this, before I try the new version.

I added "-extension RANDR" to "Additional parameters for X server" in
the "Extra settings" window of the XLaunch wizard, and then eclipse
oxygen started fine.

However, this time I got a lot of GTk warnings.  Perhaps it didn't get
far enough, previously...?  It didn't start outputting anything until
after I had selected a workspace in the initial workspace selection
dialog. 

The output from starting eclipse:
 sb@lorenzo:~$ ~/eclipse/java-oxygen/eclipse/eclipse 
 org.eclipse.m2e.logback.configuration: The 
org.eclipse.m2e.logback.configuration bundle was activated before the state 
location was initialized.  Will retry after the state location is initialized.
 org.eclipse.m2e.logback.configuration: Logback config file: 
/home/sb/workspaces/ws02/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.8.2.20171007-0217.xml
 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in 
[bundleresource://496.fwk2108318195:1/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: Found binding in 
[bundleresource://496.fwk2108318195:2/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
explanation.
 SLF4J: Actual binding is of type 
[ch.qos.logback.classic.util.ContextSelectorStaticBinder]
 org.eclipse.m2e.logback.configuration: Initializing logback

 (Eclipse:22561): Gtk-WARNING **: Allocating size to GtkBox 0x7f1c3020d1b0 
without calling gtk_widget_get_preferred_width/height(). How does the code know 
the size to allocate?

 (Eclipse:22561): Gtk-WARNING **: Allocating size to GtkBox 0x7f1c3020d1b0 
without calling gtk_widget_get_preferred_width/height(). How does the code know 
the size to allocate?

 (Eclipse:22561): Gtk-WARNING **: Allocating size to GtkBox 0x7f1c3020d1b0 
without calling gtk_widget_get_preferred_width/height(). How does the code know 
the size to allocate?

 (Eclipse:22561): Gtk-WARNING **: Negative content width -1 (allocation 1, 
extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)

 (Eclipse:22561): Gtk-WARNING **: Negative content width -1 (allocation 1, 
extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)
 sb@lorenzo:~$


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



Re: Eclipse running on debian with remote display to cygwin X11 starts all squashed to a point

2018-03-08 Thread Steinar Bang
> Jon Turney :

> It might also be worth trying adding the '-extension RANDR' option to
> the X server, to disable RANDR.

Thanks! I will try this, before I try the new version.

[snip!]
> Well, with those details, I was able to reproduce some weird behaviour
> (not working menus, oddly placed windows), although not exactly what
> you see.

> You didn't mention if any warnings are written by eclipse to the terminal?

There's only one message but it doesn't look relevant to this:
 sb@lorenzo:~$ ~/eclipse/java-oxygen/eclipse/eclipse 
 org.eclipse.m2e.logback.configuration: The 
org.eclipse.m2e.logback.configuration bundle was activated before the state 
location was initialized.  Will retry after the state location is initialized.

(emacs outputs a heap of GTk messages, though. But it comes up normally,
so that probably isn't relevant)

> That seems to be related to certain versions of GTK+ getting confused
> by the RANDR data provided by XWin and ending up believing the display
> is 0x0 pixels in size.

> I've built a snapshot with some potential fixes. Perhaps you could try
> that and see if it improves things for you?

> ftp://cygwin.com/pub/cygwinx/x86_64/XWin.20180308-git-3ca71c7f563c3e91.exe.bz2

Ok I will try this and see how it works out.  I will report back both
the results of both this version and the "-extension RANDR".

Thanks again!


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



Re: Eclipse running on debian with remote display to cygwin X11 starts all squashed to a point

2018-03-07 Thread Steinar Bang
> Jon Turney :

> This seems like a problem with the integrated WM not doing what is
> expected, Java programs do seem to be problematic in this regard.  So,
> you can probably work around this by running the Cygwin X server in
> windowed, rather than multiwindow mode.

I've thought about trying it but it's not really the behaviour I want.

> I tried to reproduce this, but eclipse worked ok for me.

> Can you tell me the versions of Xwin, debian and eclipse you are using?

"uname -r" in cygwin reports:
 2.9.0(0.318/5/3)

sb@mccoy:~$ cygcheck -c | grep xorg
xorg-server   1.19.6-1OK
xorg-server-common1.19.6-1OK
xorg-x11-fonts-dpi75  7.5-3   OK
xorg-x11-fonts-misc   7.5-3   OK
sb@mccoy:~$

The debian version is 9.3.

The eclipse version is eclipse oxygen, installed with the eclipse
installer from
 https://www.eclipse.org/downloads/eclipse-packages/

I got the same squashed up window from eclipse-neon installed in the
same way.


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



Eclipse running on debian with remote display to cygwin X11 starts all squashed to a point

2018-03-06 Thread Steinar Bang
Here's what I do:
 - Start cygwin XLaunch for the Windows 10 desktop
   - Select "Multiple windows"
   - Launch the lxterminal locally
 - In an lxterminal tab do the command
ssh -Y myhost.mydomain.lan
 - In the ssh session give the command
~/eclipse/java-oxygen/eclipse/eclipse

What happens is that:
 1. First the banner starts and displays normally
 2. Then a window shows up squashed to a point, there is an eclipse icon
(possibly intended for the toolbar) near the point, but it can't be
selected
 3. It's not possible to stretch or resize the point
 4. I tried pressing the return to select the default in the workspace
select dialog (which is the first dialog to open when eclipse is
started normally)

I think the problem is with cygwin X and/or the way I'm running it,
because I have tried doing "ssh -Y " from a terminal window on the
debian computer's mate desktop to a different computer, and then doing a
new "ssh -Y" from the remote computer and back to the debian and then
started eclipse on the debian computer.  And that eclipse started
normally, running through two ssh X forwards.

Does anyone know what might be causing the eclipse display problem, and
what I can do to fix it?

Thanks!


- Steinar




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



Re: Problems with users home directory on cygwin64 on Windows 10

2018-02-08 Thread Steinar Bang
> Ross Boulet :

> Have you tried running mkpasswd? The man page for mkpasswd looks like
> it might accomplish what you want.

Thanks! That worked!

Here's what I did:
 1. Let the mkpasswd program create an /etc/passwd for my user
 sb@ITEM-S63383:~$ mkpasswd -c -p "$(cygpath -H)" >/etc/passwd
 sb@ITEM-S63383:~$

 2. Checked the content of the generated /etc/passwd
 sb@ITEM-S63383:~$ grep sb /etc/passwd
 
sb:*:1294839:1049089:U-AD\sb,S-1-5-21-2260904419-1400770398-4175912926-246263:/cygdrive/d/Profiles/sb:/bin/bash
 sb@ITEM-S63383:~$

 3. Checked what getent said and it still gave /home/sb as the home
directory
 sb@ITEM-S63383:~$ getent passwd sb
 
sb:*:1294839:1049089:U-AD\sb,S-1-5-21-2260904419-1400770398-4175912926-246263:/home/sb:/bin/bash
 sb@ITEM-S63383:~$

 4. Stopped all cygwin windows

 5. Started a new cygwin window and now the home directory was correct
 sb@ITEM-S63383:~$ getent passwd sb
 
sb:*:1294839:1049089:U-AD\sb,S-1-5-21-2260904419-1400770398-4175912926-246263:/cygdrive/d/Profiles/sb:/bin/bash
 sb@ITEM-S63383:~$

> Also, this mailing list is deprecated. Please see
> https://cygwin.com/ml/cygwin-xfree-announce/2015-03/msg1.html

Ah, sorry about that!  Old habit!

Next time I will use the main cygwin mailing list. :-)


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



Problems with users home directory on cygwin64 on Windows 10

2018-02-07 Thread Steinar Bang
Platform: Intel i7, Windows 10 Pro
  Cygwin64

I installed cygwin X yesterday (basically the xorg-server, xlaunch,
lxterminal, openssh and mosh).  SSH doesn't work in the resulting
installation because cygwin believes the home directory is /home/sb.

I have set HOME as an environment variable, that in cygwin looks like:
 HOME=/cygdrive/d/Profiles/sb

getent reports the following:
 sb@ITEM-S63383:~$ getent passwd sb
 
sb:*:1294839:1049089:U-AD-ONE\sb,S-1-5-21-2260904419-1400770398-4175912926-246263:/home/sb:/bin/bash
 sb@ITEM-S63383:~$

The user "sb" is an AD user and the computer belongs to an active domain.

I have tried the following:
 1. Adding the following line to the /etc/nsswitch.conf file (also known
as C:\cygwin64\etc\nsswitch.conf ):
 db_home:  windows
 2. Stopped all cygwin windows, but this didn't help
 3. Changed the config to
 db_home:  /%H
 4. Stopped all cygwin windows, but the home directory was still
/home/sb
 5. Changed the /etc/nsswitch.conf file back to
 db_home:  windows
 5. Rebooted, but home directory was still /home/sb
 6. Checked for /etc/password and/or /etc/group, but no such file were
present

Any ideas?

Thanks!


- Steinar


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



Bash startup problems on Windows 2008 server

2008-06-25 Thread Steinar Bang
I tried installing cygwin (the current setup.exe from www.cygwin.com) on
a freshly installed Windows 2008 server.

The installation started normally, and I didn't see anything strange
until I was going to check up on the progress.  Then the cygwin setup
window was gone.

There was no desktop icon, but there was a start menu entry.  When I
selected the Cygwin Bash Shell entry, a command line window flashed up
and disappeared.

I tried running the install again, using all defaults from the original
install.  I got no error messages, but again no desktop icon was
created.

Trying to select the start menu item, gave me the same command line
window popping up, and then disappearing.

I started cmd.exe and ran bash, and got the following (which looks
similar to what's displayed in the window that opens and disappears):

C:\Users\myuser\cygwin\bin\bash
  2 [main] bash 3832 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VI
OLATION
480 [main] bash 3832 open_stackdumpfile: Dumping stack trace to bash.exe.sta
ckdump
 408620 [main] bash 3832 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VI
OLATION
 425466 [main] bash 3832 _cygtls::handle_exceptions: Error while dumping state (
probably corrupted stack)

Anyone has any idea what might be wrong here?

Thanx!


- Steinar


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



Problems installing on vista, no /bin in path

2008-05-23 Thread Steinar Bang
I clicked on the setup.exe on the http://cygwin.com page, and tried
installing cygwin on a Vista system.  The installation seemed to go
fine, but I got an error message at the end.

Still, the cygwin icon appeared on the desktop, and when double clicking
on the desktop I got a bash prompt.

However, I didn't find any other programs.

I've tried re-running the setup.exe as administrator three times.  The
first time I got the same error message at the end.  The second time I
didn't recreate the start menu entry, and the desktop icon, and got no
error message at the end.  The third time I recreated the desktop icon
and start menu entry, but got no error message.

But the behaviour didn't change: no applications were found.

echo $PATH revealed that /bin was not in the PATH.  What's the simplest
way to fix that?

Also, the desktop shortcut set no working directory.  Is this normal?
Shouldn't the working directory be whatever is the working directory of
the user.

The user account I created the cygwin installation under originally, and
am trying to use it under, is a domain user that is local administrator
on the vista machine.

All hints, tips, etc appreciated!

Thanx!


- Steinar


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



Re: Alt key isn't Meta in Cygwin xterm (Norwegian keyboard)

2003-11-25 Thread Steinar Bang
 Hans Dekker [EMAIL PROTECTED]:

 Change to es file:

   key RALT  { type[Group1]=TWO_LEVEL,
 [ Mode_switch, Multi_key ]   };
   modifier_map Mod5   { RALT };

The no file looks like this:

key RALT  { type[Group1]=TWO_LEVEL,
  [ ISO_Level3_Shift, Multi_key ]   };
modifier_map Mod5   { RALT };

But I'm not sure how this applies to the left Alt not being taken as
meta in xterm?

I'd guess it had something to do with keycaps rather than X keysym
mappings, since Alt works fine as Meta in Emacs...?



Re: Alt key isn't Meta in Cygwin xterm (Norwegian keyboard)

2003-11-18 Thread Steinar Bang
 Alexander Gottwald [EMAIL PROTECTED]:

 Hm, xev reports Alt+b but the bash gets â. Must be a problem with xterm.
 - Press Control and click into the xterm window. You'll get a menu.
 Select Meta Sends Escape from the menu.

This menu entry was previously unselected.  I selected it, and the
behaviour remains unchanged.  Ie. Alt-b still generates â.

The results from xev when pressing Alt-b, are:

KeyPress event, serial 17, synthetic NO, window 0x141,
root 0x3a, subw 0x0, time 944035290, (120,91), root:(267,161),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:  

KeyPress event, serial 22, synthetic NO, window 0x141,
root 0x3a, subw 0x0, time 944036182, (120,91), root:(267,161),
state 0x8, keycode 56 (keysym 0x62, b), same_screen YES,
XLookupString gives 1 bytes:  b



C-k C-k in GNU Emacs doesn't copy the end of line

2003-11-13 Thread Steinar Bang
Platform: GNU Emacs 21.2.1 on RH8 (vanilla RH8 Emacs)
  Cygwin XFree86-xserv 4.3.0-21
  Win2k
  Norwegian keyboard (autodetected by the X server)

When GNU Emacs from RH8 is displaying on Cygwin/XFree86, and I do the
command C-k C-k to get a line into the kill buffer, and then C-y to
get it back again, the end of line is lost.

When displaying natively on the RH8 X server, the command works as
expected. 



Re: xinit: The application has failed to start because cygfreetype-6.dll was not found.

2003-11-07 Thread Steinar Bang
 Harold L Hunt II [EMAIL PROTECTED]:

(I'm not Constantine, but I see the same problem)
 However, I want to know what application was failing in your xinit
 scripts.  There should not be an application that requires
 cygfreetype-9.dll in the default script.  Have you modified your
 script?

Yes.

I've added two xterms doing an ssh -X into linux boxes I always work
on, and there is a sleep between each xterm start.

 What program are you launching that requires this DLL? 

The dialog that pops up, has the title:
XWin.exe - Unable To Locate DLL

 Are you launching emacs?

No.

I did the update today.



Re: Updated on sourceware: XFree86-xserv-4.3.0-14

2003-09-22 Thread Steinar Bang
For whatever reason, my AltGr is Control key on Norwegian keyboard
problem, has gone away with this release.



AltGr is CTRL on Norwegian keyboard (Was: [ANNOUNCEMENT] Server...)

2003-09-16 Thread Steinar Bang
 Harold L Hunt II [EMAIL PROTECTED]:

 Perhaps Test99/4.3.0-9 fixes your problem?

Nope.  I did an update today, and the AltGr button still misbehaves.
I ran xev and pressed and released AltGr.  Here's the result:

KeyPress event, serial 17, synthetic NO, window 0x101,
root 0x3a, subw 0x0, time 12190428, (79,107), root:(85,132),
state 0x0, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
XLookupString gives 0 characters:  

KeyRelease event, serial 22, synthetic NO, window 0x101,
root 0x3a, subw 0x0, time 12190679, (79,107), root:(85,132),
state 0x80, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
XLookupString gives 0 characters:  



Re: AltGr is CTRL on Norwegian keyboard

2003-09-16 Thread Steinar Bang
 Harold L Hunt II [EMAIL PROTECTED]:

 You don't have any of the Windows PowerToys installed, do you?

Not intentially.

Can they be installed during a service pack upgrade?  Can they be
remotely installed by helpful IT support people?  Is there a way to
find out if I have them installed?

And do PowerToys exist for Win2k? (a search for powertoy on
www.google.com just popped up Powertoys for XP)



Re: [ANNOUNCEMENT] Server Test 96

2003-09-12 Thread Steinar Bang
 Harold L Hunt II [EMAIL PROTECTED]:

 Links:
 I just posted Test 96 to the server development page:
 http://xfree86.cygwin.com/devel/shadow/
[snip!]
 3) winconfig.c - Add new defaults for keyboardlayout: English (USA,
 Dvorak) and Norwegian.  (Alexander Gottwald)

The Alt Gr key doesn't work properly on the Norwegian keyboard.
When pressing Alt Gr+2 to get @ in GNU Emacs, I get C-2 in the
minibuffer instead.

Looks like Alt Gr may be interpreted as the control key?  Is there a
way to debug this?

This is in rootless mode, and without an XF86Config file, on
xfree86-xserv 4.3.0-5, which is the one I got when I ran setup.exe
today, to upgrade my cygwin installation.



























CygWin GPLing by proxy (Was: Cannot display through rsh)

2003-08-16 Thread Steinar Bang
 Igor Pechtchanski [EMAIL PROTECTED]:

[snip!]
 Unfortunately, you wouldn't be able to distribute the resulting
 application, because anything linked with cygwin1.dll automatically
 becomes GPLd.  If you could find an open-source JDK, this problem
 would not arise.

IANAL, but... can this be right?

If I write an application for UNIX/linux and make it available under
some other license than GPL, and someone else ports it to CygWin, I
don't see how this would automatically make my application be GPL'd?

An in any case, this would only apply to the JDK in this case.  A Java
application running inside the JDK shouldn't be affected in any way.

Ah well.  Off-topic I guess.  And it isn't even Friday anymore.



Re: Problems setting Norwegian keyboard

2003-08-14 Thread Steinar Bang
 Steinar Bang [EMAIL PROTECTED]:

 Alexander Gottwald [EMAIL PROTECTED]:
 On Mon, 11 Aug 2003, Steinar Bang wrote:

 My /etc/X11/XF86Config file contains:

 Section InputDevice
Identifier Keyboard1
Driver Keyboard
 
Option XkbModel pc102
Option XkbLayout no
Option XKbOptions 
 EndSection

 can you send /tmp/XWin.log?

 Attached to this message.

 ddxProcessArgument - Initializing default screens
 winInitializeDefaultScreens - w 1280 h 960
 winInitializeDefaultScreens - Returning
 OsVendorInit - Creating bogus screen 0
 (++) Using config file: /etc/X11/XF86Config
 Data incomplete in file /etc/X11/XF86Config
   At least one Device section is required.
 (EE) Problem parsing the config file
 InitOutput - Error reading config file
[snip!]

I guess this is the cause of my problems?

Do I need something more in my XF86Config?  Some extra levels perhaps?

The InputDevice sections in my linux XF86Config files, look like
they have identical syntax, without any extra levels.



Re: Problems setting Norwegian keyboard

2003-08-14 Thread Steinar Bang
 Alexander Gottwald [EMAIL PROTECTED]:

 Do I need something more in my XF86Config?
[snip!]

 there is a minimal sample at
 http://www.tu-chemnitz.de/~goal/xfree/XF86Config.bz2

Thanx!  I put in the dummy sections at the end of this file (see my
attached XF86Config file below).  I could change the line in
startxwin.bat to look like this:
start XWin -multiwindow -clipboard
and still get a Norwegian keyboard.

I didn't put in your fontpath settings, though.  Seems to work without
them.  Should I put them in?

 BTW: can you run the program from 
 http://www.tu-chemnitz.de/~goal/keyboard.tar.gz

I get a 404 Not found on that URL, unfortunately.

 It will print your windows keyboardsettings. With this information I
 can the norwegian layout to the list of preconfigured ones.

Great!

Thanx!


- Steinar

Section InputDevice
Identifier Keyboard1
Driver Keyboard

Option XkbModel pc102
Option XkbLayout no
Option XKbOptions 
EndSection
# 
# The following sections are just added to fulfill the requirements of the 
# configfile parser and have no effect on the configuration of the 
# Cygwin/XFree86 XServer.
#
Section Device
Identifier  dummy
Driver  dummy
EndSection
Section Monitor
Identifier  dummy
EndSection
Section Screen
Identifier  dummy
Device  dummy
Monitor dummy
EndSection
Section ServerLayout
Identifier  dummy
Screen  dummy
InputDevice Keyboard1 CoreKeyboard
EndSection


Re: XFree86-xserv 4.3.0-3 crashing Win2k

2003-08-14 Thread Steinar Bang
 Harold L Hunt II [EMAIL PROTECTED]:

 Steinar,
 XFree86-xserv-4.3.0-3 is Test95.

 So, no, your bug is not fixed in Test95.

 Besides, your bug seems to occur when you simply click on the tray
 icon, before you even get a menu, correct?

Nope.  It happens after I've selected Exit.



Re: Updated on sourceware: XFree86-bin-icons-4.3.0-2

2003-08-14 Thread Steinar Bang
 Harold L Hunt II [EMAIL PROTECTED]:

 The XFree86-bin-icons-4.3.0-2 package has been updated in the Cygwin
 distribution.

Is there a way to list the content of an installed cygwin package?
Ie. something like rpm -ql or dpkg -L?

The other day I was looking for a nice icon to use on my startxwin.bat
shortcut(s) on the desktop, and I was wondering if one could be found
in here?



Re: XFree86-xserv 4.3.0-3 crashing Win2k

2003-08-14 Thread Steinar Bang
 Steinar Bang [EMAIL PROTECTED]:

 Steinar Bang [EMAIL PROTECTED]:
 Platform: Intel PIII, Win2k professional,
 XFree86-xserv 4.3.0-3

 Now I've crashed Win2k twice in one day, by opening the RMBM on the
 icon in the tool tray, and selecting Exit.

 Make that thrice.

 The first time it happened I had the root window visible, but the
 second time I did not have the root window visible, and all X
 windows were closed.

 This was with the root window invisible and all X windows closed.


I'm guessing that I'm seeing what is described in the quote by Harold
below, and that this is fixed in Server Test 95.

 Harold L Hunt II [EMAIL PROTECTED]:
[snip!]
 Changes:

 1) Signal the clipboard and multiwindow window manager threads to
 stop trying to reconnect when the server is being shutdown.  These
 reconnection attempts were causing intermittent GPFs (General
 Protection Faults) on shutdown.  (Earle F. Philhower III)



XFree86-xserv 4.3.0-3 crashing Win2k

2003-08-14 Thread Steinar Bang
Platform: Intel PIII, Win2k professional,
  XFree86-xserv 4.3.0-3

Now I've crashed Win2k twice in one day, by opening the RMBM on the
icon in the tool tray, and selecting Exit.

The XFree86-xserv process had been started with the following command
line: 
 start XWin -multiwindow -clipboard -xf86config /etc/X11/XF86Config -keyboard 
Keyboard1

The first time it happened I had the root window visible, but the
second time I did not have the root window visible, and all X windows
were closed.

I don't have the time to reproduce this willingly, but if someone
tells me what I should look at I can do so if it happens again.

There doesn't seem to be anything obvious in /tmp/XWin.log
(attached). 


- Steinar

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 960
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
(++) Using config file: /etc/X11/XF86Config
Data incomplete in file /etc/X11/XF86Config
At least one Device section is required.
(EE) Problem parsing the config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Multi Window = ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winCreateBoundingWindowWindowed - User w: 1280 h: 960
winCreateBoundingWindowWindowed - Current w: 1280 h: 960
winAdjustForAutoHide - Original WorkArea: 0 0 932 1247
winAdjustForAutoHide - Adjusted WorkArea: 0 0 932 1247
winCreateBoundingWindowWindowed - WindowClient w 1247 h 932 r 1247 l 0 b 932 t 0
winCreateBoundingWindowWindowed -  Returning
winAllocateFBShadowGDI - Creating DIB with width: 1247 height: 932 depth: 32
winAllocateFBShadowGDI - Dibsection width: 1247 height: 932 depth: 32 size image: 
4648816
winAllocateFBShadowGDI - Created shadow stride: 1247
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
winCreateDefColormap - Deferring to fbCreateDefColormap ()
null screen fn ReparentWindow
null screen fn RestackWindow
winFinishScreenInitFB - Calling winInitWM.
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitWM - Returning.
winFinishScreenInitFB - Calling winInitClipboard.
winInitClipboard ()
winFinishScreenInitFB - returning
winScreenInit - returning
InitOutput - Returning.
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
winClipboardProc - Hello
winClipboardProc - Calling pthread_mutex_lock ()
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = xfree86 Model = pc101 Layout = us Variant = (null) Options = (null)
winPointerWarpCursor - Discarding first warp: 623 466
winBlockHandler - Releasing pmServerStarted
winInitMultiWindowWM - pthread_mutex_lock () returned.
DetectUnicodeSupport - Windows NT/2000/XP
winInitMultiWindowWM - Calling setlocale ()
winBlockHandler - pthread_mutex_unlock () returned
winInitMultiWindowWM - setlocale () returned
winInitMultiWindowWM - XInitThreads () returned.
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winClipboardProc - pthread_mutex_lock () returned.
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - XInitThreads () returned.
winClipboardProc - pthread_mutex_unlock () returned.
winClipboardProc - DISPLAY=127.0.0.1:0.0
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: PRIMARY
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify - ATOM: CLIPBOARD
SelectionNotify 

Re: XFree86-xserv 4.3.0-3 crashing Win2k

2003-08-14 Thread Steinar Bang
 Harold L Hunt II [EMAIL PROTECTED]:

 You guys don't happen to be running on machines with two CPUs or a
 Pentium 4 3.0+ GHz with HyperThreading enabled, do you?

Nope.  Single CPU PIII 700MHz, with Windows 2000, 5.00.2195, SP2.



Re: XFree86-xserv 4.3.0-3 crashing Win2k

2003-08-14 Thread Steinar Bang
 Steinar Bang [EMAIL PROTECTED]:

 Harold L Hunt II [EMAIL PROTECTED]:
 Steinar,
 XFree86-xserv-4.3.0-3 is Test95.

 So, no, your bug is not fixed in Test95.

 Besides, your bug seems to occur when you simply click on the tray
 icon, before you even get a menu, correct?

 Nope.  It happens after I've selected Exit.

Ie. after I've first selected Exit in the RMBM on the X icon in the
tooltray, and then clicked on the Exit button in the dialog that
opens. 



Re: Problems setting Norwegian keyboard

2003-08-14 Thread Steinar Bang
 Alexander Gottwald [EMAIL PROTECTED]:

  BTW: can you run the program from 
  http://www.tu-chemnitz.de/~goal/keyboard.tar.gz

 I get a 404 Not found on that URL, unfortunately.

 http://www.tu-chemnitz.de/~goal/xfree/keyboard.tar.gz

$ ./keyboard.exe
KeyboardType: 4: IBM enhanced (101- or 102-key) keyboard
KeyboardLayout: 0414

Note: I have an icon in the tool tray which either displays the text
NO or EN.  Left-button clicking on this icon, opens a menu that
offers selection of Norwegian (bokmål) or English (United
States).  Changing the selection affects the keyboard when typing,
but doesn't affect the output of keyboard.exe.



Problems setting Norwegian keyboard

2003-08-14 Thread Steinar Bang
Platform: Intel PIII, Win2k professional,
  XFree86-xserv 4.3.0-3,
  XFree86-etc 4.3.0-3,
  XFree86-startup-scripts 4.2.0-5

I'm starting XWin in rootless mode, from a desktop shortcut to 
C:\cygwin\usr\X11R6\bin\startxwin.bat

I'm unable to get a Norwegian keyboard, using the -keyboard flag to
XWin.exe.

So far I've tried 
 start XWin -multiwindow -clipboard -keyboard no
 start XWin -multiwindow -clipboard -keyboard no-latin1
 start XWin -multiwindow -clipboard -keyboard Keyboard1
 start XWin -multiwindow -clipboard -keyboard Keyboard1
 start XWin -multiwindow -clipboard -xf86config /etc/X11/XF86Config -keyboard Keyboard1
 start XWin -multiwindow -clipboard -xf86config /etc/X11/XF86Config -keyboard 
Keyboard1
without any success.  I still get US layout.

My /etc/X11/XF86Config file contains:

Section InputDevice
Identifier Keyboard1
Driver Keyboard

Option XkbModel pc102
Option XkbLayout no
Option XKbOptions 
EndSection

Thanx!


- Steinar



Re: XFree86-xserv 4.3.0-3 crashing Win2k

2003-08-14 Thread Steinar Bang
 Steinar Bang [EMAIL PROTECTED]:

 Platform: Intel PIII, Win2k professional,
 XFree86-xserv 4.3.0-3

 Now I've crashed Win2k twice in one day, by opening the RMBM on the
 icon in the tool tray, and selecting Exit.

Make that thrice.

 The first time it happened I had the root window visible, but the
 second time I did not have the root window visible, and all X
 windows were closed.

This was with the root window invisible and all X windows closed.



Re: Uses for Cygwin/XFree86

2002-10-27 Thread Steinar Bang
 Rick Umali [EMAIL PROTECTED]:

 I captured the screen shots into Paint Shop Pro, and saved the
 images directly to JPG. I didn't save them into BMP, unfortunately.

Once you have saved them as JPEGs, the blurring has already occurred. 

What happens is that sharp transitions are blurred because of the
quantization done by the JPEG algorithm.  Basically, the high
frequency components in the image are chopped away.





Re: Slashdotting

2002-07-09 Thread Steinar Bang

 Harold Hunt [EMAIL PROTECTED]:

 This time we might get a lot of new users because we are so easy to
 install now.  Crossing my fingers...

For or against the new users? :-)





Re: Cut down xfree server for XDMCP only

2002-06-24 Thread Steinar Bang

 Tim Thomson [EMAIL PROTECTED]:

 On Sun, 2002-06-16 at 02:30, Rasjid Wilcox wrote:

 Strangely enough, I was planning to start work on project again
 this month, and perhaps even this weekend, with my first step being
 to do the script to configure XDMCP access on a 'standard' linux
 distribution.

 Hehe, finding a standard linux distrib could be fun :)

Typical might be a better term.  I know from experience that both
RedHat 7.2, and debian Woody/Testing, comes with XDMCP against remote
machines turned off.

 Do you mean a script to enable an xdm type server for accepting
 remote connections? This would be a great idea!

Yup. :-)

 Kind of tricky though, with xdm, kdm, and gdm all doing this, but
 using different locations, and ach distribution probably puts the
 config files in different locations as well :)

Yup. :-/





Re: XDMCP Logon to RedHat 7.2

2002-06-05 Thread Steinar Bang

 Alexander Gottwald [EMAIL PROTECTED]:

 Is access from nonlocal machine allowed? Some distributions install
 xdm/kdm/gdm in a configuration where only local clients are allowed
 to connect.

I know that debian testing and RedHat 7.2 does this.  My guess is that
all distributions does this for security reasons.





Re: xfree packages

2002-04-16 Thread Steinar Bang

 Ian Burrell [EMAIL PROTECTED]:

 Harold Hunt wrote:

 Also, I request that you keep the XFree86-xserv package, as that
 will allow us to realize the immediate benefit of being able to
 release the Test-** server or updates to the stable server as small
 downloads that everyone can keep up to date with.

 Good idea. I'm going to call it xfree86-xwin though. I think I'll
 put the startup-scripts.tgz in this package.

An extra bonus with this package would be to create minimized installs
that just talk XDMCP to some display manager, and has no X
applications or fonts by its own.

That's how I used CygWin/XFree86 anyway.





Re: changing default text type without reinstall?

2002-02-06 Thread Steinar Bang

 Michael A Chase [EMAIL PROTECTED]:

[...]
 I think you found most of what you needed, but did the articles you
 found explain enough?  If not, what parts were insufficient or
 unclear?

An example of changing the line ending convention for a part of the
directory tree would have saved me from pondering the command line
arguments and why they went wrong.

Also, I'm still not sure how the line ending conversion works.

I tried notepad.exe both on /home/sba/.bashrc and on some files in a
freshly checked out CVS workspace, and files both places showed up
correctly.

I then tried notepad.exe on a file in the /etc directory, and this
file still had only LF line separators, as seen from notepad.

This means that it probably wasn't neccessary for me to check out the
CVS workspace again, because all files in the directories under the
new mount point were changed somehow? (since notepad.exe doesn't read
any form of cygwin config)

An explanation of the principles makes it easier to understand what to
do, and what to expect.

[snip!]
 The thing that puzzles me about that error message is that it didn't
 complain about c:cygwinhome instead since the bash command line
 reader uses '\' as an escape character.  The easy way to avoid that
 problem is to use '/' instead of '\' even in Windows paths passed to
 cygwin programs.

I tried
mount -t c:/cygwin/home /home
and that worked fine.

 There are two types of mount points, user and system.  By default
 mount creates user (-u) mount points.  These only apply to the
 current user and override the corresponding system mount points.
 Normally I only create system (-s) mount points.

Ah, I should have used 
mount -s -t c:/cygwin/home /home
I guess (I didn't read this far before running the command...:-) ).

Thanx for your help!


- Steinar

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: changing default text type without reinstall?

2002-02-05 Thread Steinar Bang

 Michael A Chase [EMAIL PROTECTED]:

 Steinar Bang [EMAIL PROTECTED] wrote:

 Platform: CygWin 1.3.2, CygWin/XFree86 4.1.0, Win2k

 Is it possible to change from text type Unix to text type DOS,
 without reinstall?

 mount --help

I'm guessing mount -t is what I should use?  The explanation is
text files get \r\n line endings.

But I am unsure of how I should use this command.  What exactly does
it do?  Does it insert a translation between the file system and the
cygwin programs?

Will just running the mount command make the change persistent?  I
didn't find anything under /etc or /usr/etc that looked like a mount
table.

I am also usure of what directories I should run it on.  When I run
the command with no arguments, I get this response
~$ mount
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)
d: on /cygdrive/d type user (binmode,noumount)
~$ 

I tried changing the mode of the /home directory
~$ mount -t c:\cygwin\home /home
mount: /home: Invalid argument

I tried changing the mode of the root directory
~$ mount -t c:\cygwin  /
mount: warning: user mount point of '/' masks system mount.
mount: /: Invalid argument

I tried seeing if I could change all directories.
~$ mount -t
mount: too many arguments

Thanx!


- Steinar

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: changing default text type without reinstall?

2002-02-05 Thread Steinar Bang

 Steinar Bang [EMAIL PROTECTED]:

 Michael A Chase [EMAIL PROTECTED]:
 Steinar Bang [EMAIL PROTECTED] wrote:

 Platform: CygWin 1.3.2, CygWin/XFree86 4.1.0, Win2k

 Is it possible to change from text type Unix to text type DOS,
 without reinstall?

 mount --help

The results of mount --help, is here
http://www.cygwin.com/cygwin-ug-net/using-utils.html#MOUNT

 I'm guessing mount -t is what I should use?  The explanation is
 text files get \r\n line endings.

 But I am unsure of how I should use this command.  What exactly does
 it do?  Does it insert a translation between the file system and the
 cygwin programs?

 Will just running the mount command make the change persistent?  I
 didn't find anything under /etc or /usr/etc that looked like a mount
 table.

Here's some more information on the cygwin mount table
http://www.cygwin.com/cygwin-ug-net/using.html#MOUNT-TABLE

The mount table is in the registry, and running the mount command
should put the changes there.  The documentation says that the mount
command can be used to add mount points, which makes it strange that
the below command failed:

 I tried changing the mode of the /home directory
   ~$ mount -t c:\cygwin\home /home
   mount: /home: Invalid argument

Why is /home an invalid argument?  Have I misunderstodd what is
meant by a posix path?

Thanx!


- Steinar

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Getting line ending conversion (crlf - lf) in cygwin cvs?

2002-01-30 Thread Steinar Bang

Platform: CygWin 1.3.2, CygWin/XFree86 4.1.0, Win2k

I installed cygwin with default text type Unix.

This is what is recommended by the cygwin/xfree86 User's Guide:
http://xfree86.cygwin.com/docs/ug/setup-cygwin-installing.html
(item 7, in the list in the above URL).

So what I'm wondering now, is:

 1. is it possible to make cygwin CVS do line ending translation,
without changing the default text type for all of cygwin?

 2. is it possible to change the default line ending for a cygwin
installation, without reinstalling cygwin?

 3. will changing the default line ending convention for cygwin
interfere with cygwin/xfree86?  I assume the choice is in the
User's Guide for a reason?  Will it help that I'm not running any
cygwin native X clients?  I'm using XDMCP to log in to linux boxes

Thanx!


- Steinar

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/