pdfEdit versus cygwin/ X windows
Hi, I try to run the 'pdfedit' application under cygwin. It seems that the problem is due to the 'X server' configuration as the 'pfedit' team guy has written me (see below). Would you mind having a look ? Thanks in advance. Hervé de Foucault Responsable de proposition - Division Automatismes Proposal Manager - Automation Division Siemens VAI Metals Technologies SAS BP 154 - 51, rue Sibert 42403 Saint-Chamond Cedex France Phone : +33 4 7729 8351 Fax : +33 4 7729 8393 Assist : +33 4 7729 8014 www.siemens-vai.com -Message d'origine- De : Michal Hocko [mailto:[EMAIL PROTECTED] Envoyé : 04/01/2008 17:11 À : Defoucault, Herve Objet : Re: pdfEdit versus cygwin/ X windows On Fri, Jan 04, 2008 at 03:39:36PM +0100, Defoucault, Herve wrote: Hi Michal Hocko, Hi. Thanks for your answer of yesterday. Since then I have progressed a little bit. (I use my professional email to avoid HTML format ;-)) Thanks ;) Sometimes it is really hard (annoying) to read html emails in console... I've got now a new question regarding 'pdfedit'. I was able to install cygwin on my windows XP computer. I am able to start the shell. 1/ My error message is now: = PDFedit 0.3.2 Fatal error! Environment variable DISPLAY is not set - cannot run GUI for PDFedit I am not an expert on cygwin, but seems pretty like problem with your X server configuration under cygwin. DISPLAY property *should* be *always* set inside X session. I then tried to set the DISPLAY variable thanks to the command 'export': Export DISPLAY=127.0.0.1:0.0 This is the localhost address by default. 2/ A second error message: Pdfedit: cannot connect to X server 127.0.0.1:0.0 3/ After running 'xwin' = I ran 'xwin' to launch the X window server. I had 1 new X window titled: X cygwin/X - 0:0 but with the following error message: A fatal error has occurred and cygwin/X wil now exit. Please open /tmp/XWin.log for more information. Vendor: cygwin/X project Release: 6.8.99.901-4 Contact: cygwin-xfree@cygwin.com XWIN was started with the following command line: xwin 4/ Content of the xwin.log Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.99.901-4 Contact: cygwin-xfree@cygwin.com _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root XWin was started with the following command line: xwin (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information 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: 040C (040c) (--) Using preset keyboard for French (Standard) (40c), type 4 (--) 5 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! Fatal server error: could not open default font 'fixed' Conclusion. === Do you have any idea or should I contact the cygwin/X team ? I suppose I missed a configuration somewhere I think that you should check some cygwin/X howtos. Best regards -- Michal Hocko -- 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: pdfEdit versus cygwin/ X windows
Defoucault, Herve schrieb: Fatal server error: could not open default font 'fixed' Conclusion. === Do you have any idea or should I contact the cygwin/X team ? I suppose I missed a configuration somewhere I think that you should check some cygwin/X howtos. http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof -- 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: win32-gui-demos.pl dumps core
Reini Urban [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] So we have bad luck and have to wait for someone who can debug this on Vista. Perhaps not... I duplicated my Cygwin setup on my laptop, which runs XP, and I got the same behavior there. I've attached cygcheck output from that system. cygcheck.out Description: Binary data -- 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: win32-gui-demos.pl dumps core
On 04 January 2008 11:51, Michael Kairys wrote: Reini Urban rurban wrote in message news:[EMAIL PROTECTED] So we have bad luck and have to wait for someone who can debug this on Vista. Perhaps not... I duplicated my Cygwin setup on my laptop, which runs XP, and I got the same behavior there. I've attached cygcheck output from that system. I notice that one common factor between those two machines is they're both running Zone Alarm. How much grief would it cause you to try uninstalling it on one of those machines (and putting it back later if need be)? cheers, DaveK -- Can't think of a witty .sigline today -- 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: Base packages appear to be missing from fresh setup install
On Jan 4, 2008 12:43 AM, Mr Webber captain_webber @ flaminhotcheetomail.com wrote: Just a guess here. The relative location of the setup.exe and the download directory must be the same. Check the .ini file for proof of this. And make sure the download folder name maintains the escape codes. Correct my good sir! it is true that if you plan to install cygwin appropriately in say, Q:\cygwin\, that you must create that dir yourself, place setup.exe there, and then use that... there are some tricks that you can pull though. This is what _i_ do periodically, when production is stopped and i consider it stable: a) grab a BIG hd (last i checked there were some 1.2 gigs of packages? am i correct here?) b) throw setup.exe into that harddrive under the ROOT of the drive c) select to dl packages only d)select a mirror e)select EVERYTHING. yes ladies and gentlemen, you want EVERYTHING. this makes keeping the versions simple. f)dl to say (the big hd):cygwin-packages\ ... move to target machine g)run setup.exe and tell it that you want to install from a local repository h)ippos i)select to install to C:\Cygwin (or wherever your target is) j) enjoy ;) all you have to do to deal with packages is re-run the setup.exe in the removable drive/hdd that you used... it'll know what to look for. i've used this on four machines now with 1 DVD and a total of 2 downloads: setup.exe and all the packages. works every time. my current idea: its stable... theres no major developments happening. -- Morgan gangwere Please Excuse TOFU. Gmail/Mobile has no Power. Space does not reflect society, it expresses it. -- Castells, M., Space of Flows, Space of Places: Materials for a Theory of Urbanism in the Information Age, in The Cybercities Reader, S. Graham, Editor. 2004, Routledge: London. p. 82-93. -- 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: win32-gui-demos.pl dumps core
On 04 January 2008 14:23, Michael Kairys wrote: Dave Korn dave.korn wrote in message news:[EMAIL PROTECTED] I notice that one common factor between those two machines is they're both running Zone Alarm. How much grief would it cause you to try uninstalling it on one of those machines (and putting it back later if need be)? Okay, I will try that on the XP laptop. (I will have to put it back tho' :) I'm sorry to ask you to go to that trouble without being able to really guarantee the likelihood of success, but it was starting to look like you're running out of options to even try so I figured the cost-benefit-effort equation was getting into the realm where it became worth doing. Alas, this is a highly unpredictable and tricky to diagnose area. (Which, as a side note, really just thinking out loud, suggests to me that it would be really good if we could find some kind of definitive diagnostic for these problems, some symptom or side-effect we could detect or test we could perform). cheers, DaveK -- Can't think of a witty .sigline today -- 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: win32-gui-demos.pl dumps core
On 04 January 2008 14:22, Michael Kairys wrote: Dave Korn dave.korn wrote in message news:[EMAIL PROTECTED] How bizarre, your mount table seems to have a couple of oddly-mangled entries in it. I really think this is an artifact of cygcheck. Hmm, yes, it does seem that way; but I've never seen anything like it on any of my systems (2k and XP). It does look purely cosmetic, from what you say. cheers, DaveK -- Can't think of a witty .sigline today -- 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: win32-gui-demos.pl dumps core
Dave Korn [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I notice that one common factor between those two machines is they're both running Zone Alarm. How much grief would it cause you to try uninstalling it on one of those machines (and putting it back later if need be)? Okay, I will try that on the XP laptop. (I will have to put it back tho' :) -- 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: win32-gui-demos.pl dumps core
Dave Korn [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm sorry to ask you to go to that trouble without being able to really guarantee the likelihood of success... No trouble, but no help either. Still crashes. Attached cygcheck output from ZA-less system FWIW. I would in principle be willing to attempt debugging perl as per Reini's instructions except that I must confess I have never used gdb and don't even have the development tools installed... cygcheck.out Description: Binary data -- 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: win32-gui-demos.pl dumps core
heres the cygcheck and perl stackdump -- Morgan gangwere Please Excuse TOFU. Gmail/Mobile has no Power. Space does not reflect society, it expresses it. -- Castells, M., Space of Flows, Space of Places: Materials for a Theory of Urbanism in the Information Age, in The Cybercities Reader, S. Graham, Editor. 2004, Routledge: London. p. 82-93. perl.exe.stackdump Description: Binary data cygcheck.out Description: Binary data -- 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: win32-gui-demos.pl dumps core
Morgan Gangwere [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] heres the cygcheck and perl stackdump Hello, are you having the same problem? -- 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: SFTP error 128
Igor: I turned off Symantec AntiVirus' protections and tried again. I can connect to SSH using a domain account but when I try to SFTP, I still get error 128. There is nothing else running that I can think of. The profile is the default one by cygwin and there is no /etc/rc.d directory. I checked the Event Viewer. The is an event with this: Event Type: Information Event Source: sshd Event Category: None Event ID: 0 Date: 1/4/2008 Time: 11:47:50 AM User: CRCGROUP\sshd_server Computer: TCSERVER Description: The description for Event ID ( 0 ) in Source ( sshd ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: sshd: PID 5980: subsystem request for sftp. Any other ideas? Thanks, Neil -- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details. One common problem with ssh-based services is stray output from profile/rc scripts. Check that your login scripts don't output anything to the console that may be confusing the sftp protocol. Also check for interference from the http://cygwin.com/acronyms/#BLODA. Igor -- 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: SFTP error 128
Ugh, top-posting... Reformatted. On Fri, 4 Jan 2008, Neil Aggarwal wrote: One common problem with ssh-based services is stray output from profile/rc scripts. Check that your login scripts don't output anything to the console that may be confusing the sftp protocol. Also check for interference from the http://cygwin.com/acronyms/#BLODA. Igor Igor: I turned off Symantec AntiVirus' protections and tried again. I can connect to SSH using a domain account but when I try to SFTP, I still get error 128. There is nothing else running that I can think of. The profile is the default one by cygwin and there is no /etc/rc.d directory. I checked the Event Viewer. The is an event with this: Event Type: Information Event Source: sshd Event Category: None Event ID: 0 Date: 1/4/2008 Time: 11:47:50 AM User: CRCGROUP\sshd_server Computer: TCSERVER Description: The description for Event ID ( 0 ) in Source ( sshd ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Everything above this line in the description is cruft that Windows inserts when it cannot interpret the message type id. sshd: PID 5980: subsystem request for sftp. This is the actual message, and it looks like a harmless information message. Any other ideas? See if http://www.derkeiler.com/Newsgroups/comp.security.ssh/2003-06/0117.html is of any help. Also, is the sftp subsystem enabled in /etc/sshd_config? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! That which is hateful to you, do not do to your neighbor. That is the whole Torah; the rest is commentary. Go and study it. -- Rabbi Hillel -- 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: win32-gui-demos.pl dumps core
On Jan 4, 2008 8:42 AM, Michael Kairys [EMAIL PROTECTED] wrote: Morgan Gangwere [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] heres the cygcheck and perl stackdump Hello, are you having the same problem? yes, i am... i've tried running strace on it, but 2 megs of data seems too large.. here's the tail bit for now... -- Morgan gangwere Please Excuse TOFU. Gmail/Mobile has no Power. Space does not reflect society, it expresses it. -- Castells, M., Space of Flows, Space of Places: Materials for a Theory of Urbanism in the Information Age, in The Cybercities Reader, S. Graham, Editor. 2004, Routledge: London. p. 82-93. perl.win32.test.gui.out.tail Description: Binary data -- 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: win32-gui-demos.pl dumps core
morgan gangwere [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] yes, i am... Oh, good! No ZoneAlarm and no Vista :) -- 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/
how to change the prompt in Cygwin
hi all, Could you please help on how to remove the path display in my Cygwin? It looks like following and I don't like it: [EMAIL PROTECTED] /cygdrive/c/Documents and Settings/Desktop $ I want to change to [EMAIL PROTECTED] it is concise and good enough. please suggest. -- 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: how to change the prompt in Cygwin
On 2008-01-05 04:26Z, sun wrote: Could you please help on how to remove the path display in my Cygwin? It looks like following and I don't like it: [EMAIL PROTECTED] /cygdrive/c/Documents and Settings/Desktop $ I want to change to [EMAIL PROTECTED] Add a line like export PS1='\u$' to file '~/.bashrc'. If you want to customize it more, do man bash and look for special characters used in PS1. -- 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: how to change the prompt in Cygwin
Got it, thanks. On 1/5/08, Greg Chicares [EMAIL PROTECTED] wrote: On 2008-01-05 04:26Z, sun wrote: Could you please help on how to remove the path display in my Cygwin? It looks like following and I don't like it: [EMAIL PROTECTED] /cygdrive/c/Documents and Settings/Desktop $ I want to change to [EMAIL PROTECTED] Add a line like export PS1='\u$' to file '~/.bashrc'. If you want to customize it more, do man bash and look for special characters used in PS1. -- 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/ -- 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/