public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Window Maker issues, launching from cygwin
@ 2017-06-27 20:05 David DLC
  2017-06-27 20:25 ` Nellis, Kenneth
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: David DLC @ 2017-06-27 20:05 UTC (permalink / raw)
  To: cygwin

Hello everyone,

I have been trying to use WindowMaker with Cygwin, but I'm receiving
some errors. When starting WindowMaker from Windows directly, it will
open for a second, shutting down immediately after that.

If I run startx, the window opens, but I can't click on anything. I
get this output when running startx. There is some kind of error near
the bottom, but I have the .Xresources file in my home directory, so
I'm not sure what's wrong. Any help would be much appreciated!



$ startx

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.19.2.0
OS: CYGWIN_NT-10.0 DESKTOP-QMBDM9N 2.8.0(0.309/5/3) 2017-04-01 20:47 x86_64
OS: Windows 10  [Windows NT 10.0 build 15063] (Win64)
Package: version 1.19.2-1 built 2017-03-09

XWin was started with the following command line:

/usr/bin/X :0 -auth /home/David Dela Cruz/.serverauth.9196

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /home/David Dela Cruz/.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 00000005
winSetEngine - Using Shadow DirectDraw NonLocking
winScreenInit - Using Windows display depth of 32 bits per pixel
winWindowProc - WM_SIZE - new client area w: 1902 h: 983
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
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
(EE) AIGLX: No native OpenGL in modes with a root window
(II) IGLX: enabled GLX_MESA_copy_sub_buffer
(II) IGLX: Loaded and initialized swrast
(II) GLX: Initialized DRISWRAST GL provider for screen 0
winPointerWarpCursor - Discarding first warp: 951 491
(--) 5 mouse buttons found
(--) Setting autorepeat to delay=500, rate=31
(--) Windows keyboard layout: "00000409" (00000409) "US", type 7
(--) Found matching XKB configuration "English (USA)"
(--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
winProcEstablishConnection - winInitClipboard returned.
winClipboardThreadProc - DISPLAY=:0.0
OS maintains clipboard viewer chain: yes
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
/etc/X11/xinit/xinitrc-common: line 20: [: too many arguments
Excessive file argument "Cruz/.Xresources"
1 error in preprocessor.
/etc/X11/xinit/xinitrc: line 20: [: too many arguments
xinit: connection to X server lost
winClipboardProc - winClipboardFlushWindowsMessageQueue trapped
WM_QUIT message, exiting main loop.

waiting for X server to shut down winClipboardProc - XDestroyWindow succeeded.
winDeinitMultiWindowWM - Noting shutdown in progress
(II) Server terminated successfully (0). Closing log file.

$ /usr/bin/xterm: Xt error: Can't open display: :0

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Window Maker issues, launching from cygwin
  2017-06-27 20:05 Window Maker issues, launching from cygwin David DLC
@ 2017-06-27 20:25 ` Nellis, Kenneth
  2017-06-27 20:31 ` Jon Turney
  2017-06-27 21:42 ` Brian Inglis
  2 siblings, 0 replies; 6+ messages in thread
From: Nellis, Kenneth @ 2017-06-27 20:25 UTC (permalink / raw)
  To: David DLC, cygwin

From: David DLC 
> $ startx
> ... 
> /usr/bin/X :0 -auth /home/David Dela Cruz/.serverauth.9196
> ...
> /etc/X11/xinit/xinitrc-common: line 20: [: too many arguments
> Excessive file argument "Cruz/.Xresources"
> 1 error in preprocessor.
> /etc/X11/xinit/xinitrc: line 20: [: too many arguments
> ...

It seems that /etc/X11/xinit/xinitrc-common and /etc/X11/xinit/xinitrc are unhappy 
with the spaces in your home directory.

Sorry, don't use X or WindowMaker, so can't help further.

--Ken Nellis

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Window Maker issues, launching from cygwin
  2017-06-27 20:05 Window Maker issues, launching from cygwin David DLC
  2017-06-27 20:25 ` Nellis, Kenneth
@ 2017-06-27 20:31 ` Jon Turney
  2017-06-27 21:42 ` Brian Inglis
  2 siblings, 0 replies; 6+ messages in thread
From: Jon Turney @ 2017-06-27 20:31 UTC (permalink / raw)
  To: The Cygwin Mailing List; +Cc: David DLC

On 27/06/2017 21:05, David DLC wrote:
> I have been trying to use WindowMaker with Cygwin, but I'm receiving
> some errors. When starting WindowMaker from Windows directly, it will
> open for a second, shutting down immediately after that.
> 
> If I run startx, the window opens, but I can't click on anything. I
> get this output when running startx. There is some kind of error near
> the bottom, but I have the .Xresources file in my home directory, so
> I'm not sure what's wrong. Any help would be much appreciated!
> 
> 
> $ startx
[...]
> /etc/X11/xinit/xinitrc-common: line 20: [: too many arguments
> Excessive file argument "Cruz/.Xresources"

I'm guessing this is failing because the pathname of your home directory 
has spaces in it.



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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Window Maker issues, launching from cygwin
  2017-06-27 20:05 Window Maker issues, launching from cygwin David DLC
  2017-06-27 20:25 ` Nellis, Kenneth
  2017-06-27 20:31 ` Jon Turney
@ 2017-06-27 21:42 ` Brian Inglis
  2 siblings, 0 replies; 6+ messages in thread
From: Brian Inglis @ 2017-06-27 21:42 UTC (permalink / raw)
  To: cygwin

On 2017-06-27 14:05, David DLC wrote:
> /etc/X11/xinit/xinitrc-common: line 20: [: too many arguments
> Excessive file argument "Cruz/.Xresources"
> 1 error in preprocessor.
> /etc/X11/xinit/xinitrc: line 20: [: too many arguments

Fix the above two lines 20 in /etc/X11/xinit/xinitrc{,-common}
by adding double quotes around the string containing $HOME, which
might be like the lines below, from the only system script I could
find containing $HOME, where the whole file name is double quoted,
including the embedded $HOME:

$ fgrep '$HOME' /etc/profile.d/bash_completion.sh
        [ -r "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion" ] && \
            . "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion"

If your scripts are similar, such as:
	[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
then you need to double quote both the test and use as in:
	[ -r "$HOME/.Xresources" ] && xrdb "$HOME/.Xresources"
and do the same kind of change in both files.

Many admins, packages, and distros have already made these kinds of
fixes, as more people are using Windows or Mac based home directories
which may have "friendlier" names, served up by Samba, CIFS, or NFS.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Window Maker issues, launching from cygwin
@ 2017-06-28 17:14 David DLC
  0 siblings, 0 replies; 6+ messages in thread
From: David DLC @ 2017-06-28 17:14 UTC (permalink / raw)
  To: cygwin

I actually went ahead and created a new user on my computer, renaming
it to something with no spaces. However, when I run it, I am
encountering something a little different. The window opens, then
quickly closes before anything can be done.

$ startx

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.19.2.0
OS: CYGWIN_NT-10.0 DESKTOP-QMBDM9N 2.8.0(0.309/5/3) 2017-04-01 20:47 x86_64
OS: Windows 10  [Windows NT 10.0 build 15063] (Win64)
Package: version 1.19.2-1 built 2017-03-09

XWin was started with the following command line:

/usr/bin/X :0 -auth /home/DavidDLC/.serverauth.12112

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /home/DavidDLC/.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 00000005
winSetEngine - Using Shadow DirectDraw NonLocking
winScreenInit - Using Windows display depth of 32 bits per pixel
winWindowProc - WM_SIZE - new client area w: 1902 h: 983
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
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
(EE) AIGLX: No native OpenGL in modes with a root window
(II) IGLX: enabled GLX_MESA_copy_sub_buffer
(II) IGLX: Loaded and initialized swrast
(II) GLX: Initialized DRISWRAST GL provider for screen 0
winPointerWarpCursor - Discarding first warp: 951 491
(--) 16 mouse buttons found
(--) Setting autorepeat to delay=500, rate=31
(--) Windows keyboard layout: "00000409" (00000409) "US", type 7
(--) Found matching XKB configuration "English (USA)"
(--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
winProcEstablishConnection - winInitClipboard returned.
winClipboardThreadProc - DISPLAY=:0.0
OS maintains clipboard viewer chain: yes
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
xinit: connection to X server lost
winClipboardProc - winClipboardFlushWindowsMessageQueue trapped
WM_QUIT message,

     exiting main loop.

waiting for X server to shut down winClipboardProc - XDestroyWindow succeeded.
winDeinitMultiWindowWM - Noting shutdown in progress
(II) Server terminated successfully (0). Closing log file.


$ /usr/bin/xterm: Xt error: Can't open display: :0

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Window Maker issues, launching from cygwin
@ 2017-06-27 20:59 David DLC
  0 siblings, 0 replies; 6+ messages in thread
From: David DLC @ 2017-06-27 20:59 UTC (permalink / raw)
  To: cygwin

On Tue, Jun 27, 2017 at 3:31 PM, Jon Turney <jon.turney@dronecode.org.uk> wrote:
>
>
> I'm guessing this is failing because the pathname of your home directory has
> spaces in it.
>
>

How would you suggest changing the pathname?

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-06-28 17:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-27 20:05 Window Maker issues, launching from cygwin David DLC
2017-06-27 20:25 ` Nellis, Kenneth
2017-06-27 20:31 ` Jon Turney
2017-06-27 21:42 ` Brian Inglis
2017-06-27 20:59 David DLC
2017-06-28 17:14 David DLC

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).