From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Keven Bowen" To: cygwin-xfree@cygwin.com Subject: cerpelli commerciale (s.r.l.) Date: Wed, 15 Apr 2015 18:59:00 -0000 Message-id: X-SW-Source: 2015-04/msg00002.html List-Id: Good morning, ========================================================================== CERPELLI COMMERCIALE S.R.L. 51, Via Biagioni 55047 Seravezza LU Seravezza ITALY +39 0341 517 493 Attachment: cerpelli_commerciale_srl.cab Description: application/vnd.ms-cab-compressed -- 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/ >>From cygwin-xfree-return-32119-listarch-cygwin-xfree=sources.redhat.com@cygwin.com Sun Apr 19 21:08:15 2015 Return-Path: Delivered-To: listarch-cygwin-xfree@sources.redhat.com Received: (qmail 46489 invoked by alias); 19 Apr 2015 21:08:13 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Delivered-To: mailing list cygwin-xfree@cygwin.com Received: (qmail 46480 invoked by uid 89); 19 Apr 2015 21:08:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yh0-f47.google.com Received: from mail-yh0-f47.google.com (HELO mail-yh0-f47.google.com) (209.85.213.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 19 Apr 2015 21:08:11 +0000 Received: by yhda23 with SMTP id a23so15074423yhd.2 for ; Sun, 19 Apr 2015 14:08:09 -0700 (PDT) X-Received: by 10.236.8.101 with SMTP id 65mr10692935yhq.94.1429477688983; Sun, 19 Apr 2015 14:08:08 -0700 (PDT) Received: from legolas (107-141-16-11.lightspeed.jcsnms.sbcglobal.net. [107.141.16.11]) by mx.google.com with ESMTPSA id b66sm13864768yha.9.2015.04.19.14.08.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 19 Apr 2015 14:08:07 -0700 (PDT) From: "Nicholas Fitzkee" To: Subject: Magic Cookie - SSH Secure Shell Date: Sun, 19 Apr 2015 21:08:00 -0000 Message-ID: <000d01d07ae4$ef4c6dc0$cde54940$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00003.txt.bz2 Content-length: 3573 Hello! I've enjoyed using Cygwin/X for a long time - thanks for helping it to work. I'm writing because I recently tried installing Cygwin/X on a new Windows 8.1 Pro system. The new xinit system has thrown me, and I'm writing for some help. Typically, I start Xwin when I log in, and I rarely use the Cygwin terminal to run programs. Instead, I use an older SSH client (SSH Secure Shell 3.2.9), similar to PuTTY, to use X11 apps remotely. I don't want to see any xterms or menus when I start, and I need to listen for TCP connections from my SSH app. So far, I've created my own .startxwinrc file and set it to executable. Its contents are below: --- snip --- #!/bin/sh sleep inf -- snip -- In addition, I added the server args to my "XWin Server" shortcut. The complete shortcut target now reads: D:\cygwin\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; /usr/bin/startxwin -- -listen tcp -multiwindow -clipboard" All seems to be well and good - when I start Cygwin Terminal and type "export DISPLAY=:0.0" and then xeyes, the eyes come up. Similarly, when I use "export DISPLAY='localhost:0.0' and run xeyes from Cygwin Terminal, it also works. However, when I try logging into my remote server (X-connections are forwarded) using the program, I get the following error messages, and I can't run X11 apps remotely: --- snip --- Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-79-generic x86_64) ... blah blah ... Last login: ... blah blah ... Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyxset: unable to open display "localhost:16.0" Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyxset: unable to open display "localhost:16.0" Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyxset: unable to open display "localhost:16.0" Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyxset: unable to open display "localhost:16.0" Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyxhost: unable to open display "localhost:16.0" --- snip --- I have no idea how to fix this or what it means, but I think it may be related to the following thread (regarding PuTTY), which doesn't appear to have ever been resolved. https://cygwin.com/ml/cygwin-xfree/2015-02/msg00075.html I will note that I can work around this using a shortcut target of: D:\cygwin\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; Xwin -listen tcp -multiwindow -clipboard" However, this seems like a bit of a hack. Ultimately, I have graduate and undergraduate students who need to be able to quickly set up their own Windows systems to run X11 apps on my linux server. These students are often not particularly tech-saavy, so I'd like my tutorial for them to be as simple as posslble. As an example, you can see what I wrote for the old xinit at this link: http://fitzkee.chemistry.msstate.edu/sites/default/files/bootcamp/session-03 _running-x11.pdf Your assistance for fixing the problem would be greatly appreciated, as would any explanation about why this is happening. Thanks, Nick -- 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/