xwinlogon usinf windows 2000
Hi there I have version 6.7 xwinlogon. Works like a charm except for the pathing. I modifiy the script startxdmcp.bat changing the run Xwin to start Xwin. All comes up and even connects to the fontserver when I get the permissions right. However what ever I do , I get the error cannot open RGB_DB '/usr/X11R6/lib/X11/rgb' Running on the c drive I have created c:/usr and c:xwinlogon/usr and set all the paths correctly. It seems the path setting is done in the Xwin.exe program. Can you help ?? Regards Peter -- This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice. Views expressed herein do not necessarily represent the views of the CSIR. CSIR E-mail Legal Notice http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html CSIR Copyright, Terms and Conditions http://mail.csir.co.za/CSIR_Copyright.html For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR Legal Notice send a blank message with REQUEST LEGAL in the subject line to [EMAIL PROTECTED] This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- 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/
would you mind answering this problem?
dear sir, i had an error in attached file using cygwin. would you mind answering how i can solve this problem ? -- 1. i set erroneous PATH statement in .bashrc : export PATH='c:/Program Files/Java':$/{PATH} :{G4INSTALL}/bin/${G4SYSTEM} 2. start cygwin and $ startx then you give the error: A fatal error has occurred and Cygwin/X will nowexit. Please open /tmpXWin.log for more information. Vender: The Cygwin/XProject Release: 6.8.2.0-4 XContact:cygwin-xfree@cygwin.com XWIn was started with the following command line: X:0 -multiwindow -clipboard p.s. i'm a beginner to use cygwin and please teach me how i can set c:\Program Files\Java into PATH ? Yoshida Akira, Ph.D. Nanoscience and Nanotechnology Center,ISIR, Osaka University 8-1 Mihogaoka,Ibaraki,Osaka 567-0047,Japan Tel:+81-6-6879-4285,4286 Fax:+81-6-6879-4287 http://www.sanken.osaka-u.ac.jp/labs/nano/index.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: would you mind answering this problem?
Dear Yoshida, Write ${PATH} insteed of $/{PATH} Alex http://www.aiengine.org -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: would you mind answering this problem?
Yoshida akira wrote on Tuesday, March 14, 2006 11:33 AM:: i had an error in attached file using cygwin. would you mind answering how i can solve this problem ? -- 1. i set erroneous PATH statement in .bashrc : export PATH='c:/Program Files/Java':$/{PATH} :{G4INSTALL}/bin/${G4SYSTEM} 2. start cygwin and $ startx In cygwin, the colon is used to separate path elements, so c:/Program Files/Java actually adds two paths c and /Program Files/Java, neither of which you want. Instead what you need is the Posix path which will be /cygdrive/c/Program Files/Java e.g.: export PATH=/cygdrive/c/Program Files/Java:${PATH}:${G4INSTALL}/bin/${G4SYSTEM} (assuming that ${G4INSTALL}/bin/${G4SYSTEM} is a valid Posix path) Phil -- ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the H.E Information Systems Ltd. Tel:0161 866 9066 Web: www.heis.co.uk This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.clearswift.com ** -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: would you mind answering this problem?
Hi Phil, thanks for reminding - I didn't see it because I expected cygwin to do the translation like it does within programs because of the ' ' But you're right. I was concentration more on his XWin dosn't start :) He should append his new paths at the end of the statement anyway imo. So if he messes something up the rest of cygwin will still work. export PATH=${PATH}:${G4INSTALL}/bin/${G4SYSTEM}:/cygdrive/c/Program Files/Java Alex http://www.aiengine.org Yoshida akira wrote on Tuesday, March 14, 2006 11:33 AM:: i had an error in attached file using cygwin. would you mind answering how i can solve this problem ? -- 1. i set erroneous PATH statement in .bashrc : export PATH='c:/Program Files/Java':$/{PATH} :{G4INSTALL}/bin/${G4SYSTEM} 2. start cygwin and $ startx In cygwin, the colon is used to separate path elements, so c:/Program Files/Java actually adds two paths c and /Program Files/Java, neither of which you want. Instead what you need is the Posix path which will be /cygdrive/c/Program Files/Java e.g.: export PATH=/cygdrive/c/Program Files/Java:${PATH}:${G4INSTALL}/bin/${G4SYSTEM} (assuming that ${G4INSTALL}/bin/${G4SYSTEM} is a valid Posix path) Phil -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: windows XP : cygwin -X server not opening
On 3/14/06, Avinash Sridhar [EMAIL PROTECTED] wrote: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-1 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: X :0 -multiwindow -clipboard ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1400 h 1050 winInitializeDefaultScreens - Returning _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information (==) 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/ winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1400 height: 1050 depth: 32 winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winMultiWindowXMsgProc - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0409 (0409) (--) Using preset keyboard for English (USA) (409), type 4 (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winInitMultiWindowWM - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winInitMultiWindowWM - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - pthread_mutex_lock () returned. 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. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcSetSelectionOwner - Clipboard not yet started, aborting. winWindowProc - WM_DISPLAYCHANGE - orig bpp: 32, last bpp: 32, new bpp: 32 winWindowProc - WM_DISPLAYCHANGE - new width: 1024 new height: 768 winClipboardProc - Call to select () failed: -1. Bailing. winClipboardProc - XDestroyWindow succeeded. winClipboardIOErrorHandler! The above is the log ... Please let me know how to fix this issues. Many thanks to all the kind souls who have contributed to Cygwin. Regards Avinash Sridhar _ 713-471-8605(c) http://nas.cl.uh.edu/sridhara Sorry only text is allowed. Sending text only mail. Avinash Sridhar _ 713-471-8605(c) http://nas.cl.uh.edu/sridhara -- 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/
Shutting down XWin after session? (-once option)
I've recently set up my windows machine to open programs off my linux computer using Cygwin. I've set up an extremely simple batch file and shell script so that I can simply click on the batch file and it'll forward a linux application to my windows machine. I want to replicate opening a program normally in windows, so I'm using the -multiwindow option in XWin. So, after I run a linux application and close it, I want XWin to shut down as well. According to the Cygwin documentation, I can use the -once option so that XWin closes after one session. I cannot get the -once option to work. Perhaps I simply don't understand how to end the session. If anyone knows of a way I can get XWin to shut down after I close the window the linux app was running in (whether it be the -once option, or otherwise) I'd be very grateful. I'm probably not understanding how -once works, so perhaps even if you could explain a way to get that option to work, I could bend it to my own needs. Thanks a lot. -- View this message in context: http://www.nabble.com/Shutting-down-XWin-after-session-%28-once-option%29-t1282431.html#a3409204 Sent from the cygwin-xfree forum at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: windows XP : cygwin -X server not opening
Dear Avinash, from your CV: Senior software engineer with two years of experience on various platforms like UNIX, .. Imo - a Senior with amazing two years of experience should be able to read the messages on his screen, look into a logfile and solve the problem within 5 minutes maybe while also taking a look into the documentation. Thanks for the funny post, it made me laugh a lot. Ask the people where you bought your master. They may also sell you the solution to this. Alex http://www.aiengine.org Avinash Sridhar wrote: On 3/14/06, Avinash Sridhar [EMAIL PROTECTED] wrote: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-1 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: X :0 -multiwindow -clipboard ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1400 h 1050 winInitializeDefaultScreens - Returning _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information (==) 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/ winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1400 height: 1050 depth: 32 winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winMultiWindowXMsgProc - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0409 (0409) (--) Using preset keyboard for English (USA) (409), type 4 (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winInitMultiWindowWM - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winInitMultiWindowWM - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - pthread_mutex_lock () returned. 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. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcSetSelectionOwner - Clipboard not yet started, aborting. winWindowProc - WM_DISPLAYCHANGE - orig bpp: 32, last bpp: 32, new bpp: 32 winWindowProc - WM_DISPLAYCHANGE - new width: 1024 new height: 768 winClipboardProc - Call to select () failed: -1. Bailing. winClipboardProc - XDestroyWindow succeeded. winClipboardIOErrorHandler! The above is the log ... Please let me know how to fix this issues. Many thanks to all the kind souls who have contributed to Cygwin. Regards Avinash Sridhar _ 713-471-8605(c) http://nas.cl.uh.edu/sridhara Sorry only text is allowed. Sending text only mail. Avinash Sridhar _ 713-471-8605(c) http://nas.cl.uh.edu/sridhara -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Shutting down XWin after session? (-once option)
Dear Boscolio, do you start on the connected Unix machine a program which goes not into the background or does not finish. I have the same configuration which works well except when I start a program which keeps connected to the terminal. In this case XWin won't shut down untill the remote program is finished. Alex http://www.aiengine.org Boscolio wrote: I've recently set up my windows machine to open programs off my linux computer using Cygwin. I've set up an extremely simple batch file and shell script so that I can simply click on the batch file and it'll forward a linux application to my windows machine. I want to replicate opening a program normally in windows, so I'm using the -multiwindow option in XWin. So, after I run a linux application and close it, I want XWin to shut down as well. According to the Cygwin documentation, I can use the -once option so that XWin closes after one session. I cannot get the -once option to work. Perhaps I simply don't understand how to end the session. If anyone knows of a way I can get XWin to shut down after I close the window the linux app was running in (whether it be the -once option, or otherwise) I'd be very grateful. I'm probably not understanding how -once works, so perhaps even if you could explain a way to get that option to work, I could bend it to my own needs. Thanks a lot. -- View this message in context: http://www.nabble.com/Shutting-down-XWin-after-session-%28-once-option%29-t1282431.html#a3409204 Sent from the cygwin-xfree forum at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Shutting down XWin after session? (-once option)
Thusfar I've tried programs that should quit right away (i.e. firefox, bnr2, etc). I just realized that I was doing something a bit convoluted and simplified it. I now only need a batch file to do what I have been doing. So my batch file just runs XWin, then runs ssh to connect to my Linux computer. I'm pretty novice at Linux, so I looked around until I figured out how to execute a program through ssh with a single command. The line in my batch file looks like: %RUN% ssh -Y -l username linuxmachine (programtorun) Watching my processes in windows, when I close the forwarded app ssh.exe also closes. So it's not like ssh is still connected and keeping XWin alive. -- View this message in context: http://www.nabble.com/Shutting-down-XWin-after-session-%28-once-option%29-t1282431.html#a3410262 Sent from the cygwin-xfree forum at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: windows XP : cygwin -X server not opening
Alexander wrote: Dear Avinash, from your CV: Senior software engineer with two years of experience on various platforms like UNIX, .. Imo - a Senior with amazing two years of experience should be able to read the messages on his screen, look into a logfile and solve the problem within 5 minutes maybe while also taking a look into the documentation. Thanks for the funny post, it made me laugh a lot. Ask the people where you bought your master. They may also sell you the solution to this. Alex http://www.aiengine.org That's uncalled for. Please provide help when you can, but there's no need to insult people. It would've been better to say nothing at all. Avinash, you're likely running into a conflict with firewall software or some such. If uninstalling it (not merely disabling!) doesn't help, please report your detailed config and what you were doing when you came across this error. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Shutting down XWin after session? (-once option)
Do you run the ssh within the DOS Batch or the startx? My XWin starup within dos is: set CYGWIN=server bash -l -c /usr/X11R6/bin/startx and the startx does the rest. It doesn't use the -once but I can give it a try later today. It may work with -c ssh -l user -Y machine as arguments to the bash shell within the XWin. Alex http://www.ainegine.org -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: windows XP : cygwin -X server not opening
Ok. He should check if he did install the recomended configuration within the Windows setup: For all Users. if yes he should start the Shared memory Service that is where the SHM-MIT is comming from and probably also the mutex pthread. For this he can rtfm where it is explained in detail. And then he may have his chinise big fonts and a running XWindows. But after more than 20 years of C programming and over 10 years of Linux a newbie calling himself Senior is just to funny. Alex http://www.aiengine.org -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Shutting down XWin after session? (-once option)
Ssh is run from the DOS batch file. Here are the functional lines in my batch file (aside from path and run variables): SET DISPLAY=127.0.0.1:0.0 %RUN% XWin -screen 0 -multiwindow -clipboard -once %RUN% ssh -Y -l username linuxmachine (programtorun) I don't think I have any other information to give. Only other thing I did was set X11 forwarding in my ssh config file and set up some ssh authentication keys. -- View this message in context: http://www.nabble.com/Shutting-down-XWin-after-session-%28-once-option%29-t1282431.html#a3410703 Sent from the cygwin-xfree forum at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Shutting down XWin after session? (-once option)
Ok, i can see the problem. Using run bash -l -c XWin -screen 0 -multiwindow -clipboard -once ssh -l alex -Y th.aiengine.org xmms opens xmms and when xmms exits XWindows itself is still activ with 0 Sessions and not shuting down. I guess the program has to be started as part of the XWin. I figure that out and give you more information in about one hour or so. Alex http://www.aiengine.org Boscolio wrote: Ssh is run from the DOS batch file. Here are the functional lines in my batch file (aside from path and run variables): SET DISPLAY=127.0.0.1:0.0 %RUN% XWin -screen 0 -multiwindow -clipboard -once %RUN% ssh -Y -l username linuxmachine (programtorun) I don't think I have any other information to give. Only other thing I did was set X11 forwarding in my ssh config file and set up some ssh authentication keys. -- View this message in context: http://www.nabble.com/Shutting-down-XWin-after-session-%28-once-option%29-t1282431.html#a3410703 Sent from the cygwin-xfree forum at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- 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/