[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin-xfree
Subject:    Re: Startx claimed there was antoher WM running and refused to start
From:       Mark Paulus <mark.paulus () mci ! com>
Date:       2005-04-27 16:47:50
Message-ID: 0IFM00CC46NQET () pmismtp02 ! mcilink ! com
[Download RAW message or body]

Ahhh, but you do have a WM running.
Cygwin/X uses the  MS Windows Manager when the -multiwindow option
is given, which is WM 1.

Do you, by chance, have a .xinitrc file in your home directory?
This might be trying to start an additional Window Manager.

Which Window Manager are you trying to run?

If you want to run X in it's own window, and use a different WM, then you 
could create a file:  $(HOME)/.xserverrc, which looks like this:
$ cat .xserverrc
exec X :0 -clipboard

and then .xinitrc, which starts up your WM and any other processes:
$ cat .xinitrc
#exec fvwm2 -f /usr/X11R6/share/fvwm/system.fvwm2rc-sample-95
#exec fvwm2
exec wmaker
#exec openbox
#ssh-agent wmaker > ~/.ssh-agent
#export DISPLAY=localhost:0
#xhost +

On Wed, 27 Apr 2005 09:18:41 -0700, wangxin@onid.orst.edu wrote:

> I am running cygwin on WindowsXP. StartX failed to start and claimed there
> is another wm running, which is not correct. :-)

> Can anyone help me figure out what is wrong here?

> Here is the log. :-)

> Thanks!
> ------------------------------------

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

> Contact: cygwin-xfree@cygwin.com

> XWin was started with the following command line:

> X :0 -multiwindow -clipboard

> _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
> winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
> (II) XF86Config is not supported
> (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
> (==) FontPath set to
> "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,
> 
/usr/X11R6/lib/X11/fonts/100dpi/"
> winDetectSupportedEngines - Windows NT/2000/XP
> winDetectSupportedEngines - DirectDraw installed
> winDetectSupportedEngines - DirectDraw4 installed
> winDetectSupportedEngines - Returning, supported engines 00000007
> winSetEngine - Multi Window or Rootless => ShadowGDI
> winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
> winAllocateFBShadowGDI - Creating DIB with width: 1600 height: 1200 depth: 32
> winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
> winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
> null screen fn ReparentWindow
> null screen fn RestackWindow
> InitQueue - Calling pthread_mutex_init
> InitQueue - pthread_mutex_init returned
> InitQueue - Calling pthread_cond_init
> InitQueue - pthread_cond_init returned
> winInitMultiWindowWM - Hello
> winInitMultiWindowWM - Calling pthread_mutex_lock ()
> winMultiWindowXMsgProc - Hello
> winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
> MIT-SHM extension disabled due to lack of kernel support
> XFree86-Bigfont extension local-client optimization disabled due to lack of
> shared memory support in the kernel
> (--) Setting autorepeat to delay=500, rate=31
> (--) winConfigKeyboard - Layout: "00000409" (00000409)
> (--) Using preset keyboard for "English (USA)" (409), type "4"
> Rules = "xorg" Model = "pc105" Layout = "us" Variant = "(null)" Options =
> "(null)"
> (--) 5 mouse buttons found
> Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from
> list!
> winPointerWarpCursor - Discarding first warp: 800 600
> winInitMultiWindowWM - pthread_mutex_lock () returned.
> winProcEstablishConnection - Hello
> winInitMultiWindowWM - pthread_mutex_unlock () returned.
> cat: /c/xinwang/.XauthoritywinMultiWindowXMsgProc - pthread_mutex_lock ()
> returned.
> > No such file or directory
> winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
> winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
> winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
> winInitClipboard ()
> winProcEstablishConnection - winInitClipboard returned.
> winClipboardProc - Hello
> DetectUnicodeSupport - Windows NT/2000/XP
> winClipboardProc - DISPLAY=127.0.0.1:0.0
> winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the
> display.
> winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the
> display.
> winClipboardProc - XOpenDisplay () returned and successfully opened the display.
> [FVWM][CatchRedirectError]: <<ERROR>> another WM is running
> winClipboardProc - Call to select () failed: -1.  Bailing.
> winClipboardProc - XDestroyWindow succeeded.

> waiting for X server to shut down
> winClipboardIOErrorHandler!


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic