From kde-cygwin Sun Dec 17 17:21:07 2006 From: Iqbal Javid Date: Sun, 17 Dec 2006 17:21:07 +0000 To: kde-cygwin Subject: KDE 3.1.4 installation on Cygwin -- Suggestions Message-Id: <20061217172107.25412.qmail () web81212 ! mail ! mud ! yahoo ! com> X-MARC-Message: https://marc.info/?l=kde-cygwin&m=116638043215887 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0762707883==" --===============0762707883== Content-Type: multipart/alternative; boundary="0-1721082477-1166376067=:23578" --0-1721082477-1166376067=:23578 Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: quoted-printable I have installed Cygwin and KDE 3.1.4 packages on Windows XP system. I fo= llowed the setup process explained=0Awith the KDE 3.1.4 release. The steps= are given here:=0A1. install required cygwin packages.=0A2. download the p= ackages and unpack them into the cygwin root=0A3. rebase all dll's to avoid= cygwin remap problem =0A=09=0A=09=0A=091. create file list=0A=0A=09=09find /op= t/qt/3.3 /opt/kde3.4 -name '*.dll' >/tmp/files.lst=0A=0A=092. close *ALL* c= ygwin processes =0A=09=0A=093. open a windows command shell (cmd.exe) from = Start/Run and goto cygwin installation root =0A=0A=09=09cd c:\cygwin =0A=09= =09bin\ash bin/rebaseall -b 0x61000000 -v -T tmp/files.lst=0A=0A4. start k= de =0A=0A 1. display only kicker (uses Xwin multiwindow mode)=0A=0A=09=09a= t first create a simple startscript =0A=0A=09=09cat >~/startkde=0A = export DISPLAY=3D127.0.0.1:0=0A=09=09/usr/sbin/cygserver &=0A=09=09e= xport CYGWIN=3Dserver=0A=09=09export DISPLAY=3D127.0.0.1:0=0A=09=09xwin -mu= ltiwindow -clipboard &=0A=09=09xhost +=0A=09=09export SHELL=3D/bin/bash=0A= =09=09kdeinit +kicker &=0A=0A=09[press ENTER, then CTRL-D] =0A=0A =09chmod= a+x ~/startkde=0A=0A=09no you can start kde with =0A=09=0A=09=09~/startkde= &=0A=0A stop kde - run =0A=0A=09=09kdeinit_shutdown =09=0A=09=09=0A=09the= n close the bash window=0A =0A=0A When I execute the startkde script, foll= owing output messages are generated. =0A Can someone explain the reaso= n for the startkde failure and suggest steps to correctly =0A setup the K= DE?. Thanks in advance.=0A=0A =0A /home/RootUser/startkde: line 2:= =0A: command not found=0A/home/RootUser/startkde: line 5: =0A: command not= found=0AWelcome to the XWin X Server=0AVendor: The Cygwin/X Project=0ARele= ase: 6.8.99.901-4=0A=0AContact: cygwin-xfree@cygwin.com=0A=0AXWin was start= ed with the following command line:=0A=0Axwin -multiwindow -clipboard =0A= =0A_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root=0AwinVal= idateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1=0A(II) XF86Config is = not supported=0A(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for= more information=0AwinDetectSupportedEngines - Windows NT/2000/XP=0Axhost:= unable to open display "127.0.0.1:0=0A"=0AwinDetectSupportedEngines - Dir= ectDraw installed=0AwinDetectSupportedEngines - DirectDraw4 installed=0Awin= DetectSupportedEngines - Returning, supported engines 00000007=0AwinSetEngi= ne - Multi Window or Rootless =3D> ShadowGDI=0AwinAdjustVideoModeShadowGDI = - Using Windows display depth of 32 bits per pixel=0AwinAllocateFBShadowGDI= - Creating DIB with width: 1280 height: 1024 depth: 32=0AwinFinishScreenIn= itFB - Masks: 00ff0000 0000ff00 000000ff=0AwinInitVisualsShadowGDI - Masks = 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32=0Anull screen fn ReparentWin= dow=0Anull screen fn RestackWindow=0AInitQueue - Calling pthread_mutex_init= =0AInitQueue - pthread_mutex_init returned=0AInitQueue - Calling pthread_co= nd_init=0AInitQueue - pthread_cond_init returned=0A/home/RootUser/startkde:= line 8: =0A: command not found=0AwinInitMultiWindowWM - Hello=0AwinInitMul= tiWindowWM - Calling pthread_mutex_lock ()=0AwinMultiWindowXMsgProc - Hello= =0AwinMultiWindowXMsgProc - Calling pthread_mutex_lock ()=0AMIT-SHM extensi= on disabled due to lack of kernel support=0AXFree86-Bigfont extension local= -client optimization disabled due to lack of shared memory support in the k= ernel=0A(--) Setting autorepeat to delay=3D500, rate=3D31=0A(--) winConfigK= eyboard - Layout: "00000409" (00000409) =0A(--) Using preset keyboard for "= English (USA)" (409), type "4"=0ARules =3D "xorg" Model =3D "pc105" Layout = =3D "us" Variant =3D "(null)" Options =3D "(null)"=0A(--) 3 mouse buttons f= ound=0ACould not init font path element /usr/X11R6/lib/X11/fonts/TTF/, remo= ving from list!=0ACould not init font path element /usr/X11R6/lib/X11/fonts= /Type1/, removing from list!=0ACould not init font path element /usr/X11R6/= lib/X11/fonts/CID/, removing from list!=0AwinPointerWarpCursor - Discarding= first warp: 640 512=0AwinInitMultiWindowWM - pthread_mutex_lock () returne= d.=0AwinInitMultiWindowWM - pthread_mutex_unlock () returned.=0AwinMultiWin= dowXMsgProc - pthread_mutex_lock () returned.=0AwinInitMultiWindowWM - DISP= LAY=3D127.0.0.1:0.0=0AwinMultiWindowXMsgProc - pthread_mutex_unlock () retu= rned.=0AwinMultiWindowXMsgProc - DISPLAY=3D127.0.0.1:0.0=0AwinProcEstablish= Connection - Hello=0AwinInitClipboard ()=0AwinClipboardProc - Hello=0ADetec= tUnicodeSupport - Windows NT/2000/XP=0AwinClipboardProc - DISPLAY=3D127.0.0= .1:0.0=0AwinProcEstablishConnection - winInitClipboard returned.=0AwinInitM= ultiWindowWM - XOpenDisplay () returned and successfully opened the display= .=0AwinMultiWindowXMsgProc - XOpenDisplay () returned and successfully open= ed the display.=0AwinClipboardProc - XOpenDisplay () returned and successfu= lly opened the display.=0AwinProcSetSelectionOwner - Clipboard not yet star= ted, aborting.=0AwinProcSetSelectionOwner - Clipboard not yet started, abor= ting.=0A + Exit 127 ~/startkde=0A=0AJavid=0A=0A=0A --0-1721082477-1166376067=:23578 Content-Type: text/html; charset=ascii Content-Transfer-Encoding: quoted-printable
I have installed Cygwin and  KDE 3.1.4 packages o= n Windows XP system.  I followed the setup process explained
with t= he KDE 3.1.4 release.  The steps are given here:
1. install re=
quired cygwin packages.
2. download the packages and unpack them into th= e cygwin root
3. rebase all dll's to avoid cygwin remap problem
=09<before running rebaseall make sure, that no cygwin process is=
 running>
=09
=091. create file list

=09=09find /opt/qt/3.3= /opt/kde3.4 -name '*.dll' >/tmp/files.lst

=092. close *ALL* cygw= in processes
=09
=093. open a windows command shell (cmd.exe) from S= tart/Run and goto cygwin installation root

=09=09cd c:\cygwin
= =09=09bin\ash bin/rebaseall -b 0x61000000 -v -T tmp/files.lst

4. st= art kde

1. display only kicker (uses Xwin multiwindow mode)

=09=09at first create a simple startsc= ript

=09=09cat >~/startkde
export DISPLAY=3D1= 27.0.0.1:0
=09=09/usr/sbin/cygserver &
=09=09export CYGWIN=3Dserv= er
=09=09export DISPLAY=3D127.0.0.1:0
=09=09xwin -multiwindow -clipbo= ard &
=09=09xhost +
=09=09export SHELL=3D/bin/bash
=09=09kdein= it +kicker &

=09[press ENTER, then CTRL-D]

=09chmod a+= x ~/startkde

=09no you can start kde with
=09
=09=09~/startkd= e &

stop kde - run

=09=09kdeinit_shutdown =09
=09= =09
=09then close the bash window
 

When I execute the = startkde script, following output messages are generated.
Can som= eone explain the reason for the startkde failure and suggest steps to corr= ectly
setup the KDE?. Thanks in advance.


/home/= RootUser/startkde: line 2:
: command not found
/home/RootUser/startk= de: line 5:
: command not found
Welcome to the XWin X Server
Vend= or: The Cygwin/X Project
Release: 6.8.99.901-4

Contact: cygwin-xfree@cyg= win.com

XWin was started with the following command line:

xwi= n -multiwindow -clipboard

_XSERVTransmkdir: Owner of /tmp/.X11-unix= should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiv= eScreen: 1
(II) XF86Config is not supported
(II) See http://= x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
= winDetectSupportedEngines - Windows NT/2000/XP
xhost: unable to open di= splay "127.0.0.1:0
"
winDetectSupportedEngines - DirectDraw installed=
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupported= Engines - Returning, supported engines 00000007
winSetEngine - Multi Win= dow or Rootless =3D> ShadowGDI
winAdjustVideoModeShadowGDI - Using Wi= ndows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creati= ng DIB with width: 1280 height: 1024 depth: 32
winFinishScreenInitFB - Masks: 00ff0000 000= 0ff00 000000ff
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000f= f BPRGB 8 d 24 bpp 32
null screen fn ReparentWindow
null screen fn Re= stackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthrea= d_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue= - pthread_cond_init returned
/home/RootUser/startkde: line 8:
: com= mand not found
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Ca= lling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWi= ndowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled = due to lack of kernel support
XFree86-Bigfont extension local-client opt= imization disabled due to lack of shared memory support in the kernel
(-= -) Setting autorepeat to delay=3D500, rate=3D31
(--) winConfigKeyboard -= Layout: "00000409" (00000409)
(--) Using preset keyboard for "English = (USA)" (409), type "4"
Rules =3D "xorg" Model =3D "pc105" Layout =3D "us" Variant =3D= "(null)" Options =3D "(null)"
(--) 3 mouse buttons found
Could not i= nit font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list!Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing= from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CI= D/, removing from list!
winPointerWarpCursor - Discarding first warp: 64= 0 512
winInitMultiWindowWM - pthread_mutex_lock () returned.
winInitM= ultiWindowWM - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc = - pthread_mutex_lock () returned.
winInitMultiWindowWM - DISPLAY=3D127.0= .0.1:0.0
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
w= inMultiWindowXMsgProc - DISPLAY=3D127.0.0.1:0.0
winProcEstablishConnecti= on - Hello
winInitClipboard ()
winClipboardProc - Hello
DetectUnic= odeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=3D127.0.0.1:0.0
winProcEstablishConnection - winInitClipboard r= eturned.
winInitMultiWindowWM - XOpenDisplay () returned and successfull= y opened the display.
winMultiWindowXMsgProc - XOpenDisplay () returned = and successfully opened the display.
winClipboardProc - XOpenDisplay () = returned and successfully opened the display.
winProcSetSelectionOwner -= Clipboard not yet started, aborting.
winProcSetSelectionOwner - Clipboa= rd not yet started, aborting.
+ Exit 127 ~/startkde
Javid

--0-1721082477-1166376067=:23578-- --===============0762707883== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kde-cygwin mailing list kde-cygwin@kde.org https://mail.kde.org/mailman/listinfo/kde-cygwin --===============0762707883==--