public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Can display remote X window from bash, but not from DOS window
@ 2012-05-31 17:08 David Karr
  0 siblings, 0 replies; only message in thread
From: David Karr @ 2012-05-31 17:08 UTC (permalink / raw)
  To: cygwin-xfree

I have a Win7 laptop with Cygwin and a Ubuntu desktop box.  I can ssh
from the laptop with shared keys and X11 forwarding, so that I can run
a simple command line in a Bash shell on the Win7 box and it will open
up the window for the remote process on my Win7 box.

What I'm having trouble with is setting up a Win7 desktop shortcut
that will do this.

I have a simple Bash script called "dt" (stands for "desktop") that
calls "ssh" and passes the scripts command line parameters to ssh.  As
I said, this works fine when I call it from a Bash shell window.

I wrote a DOS batch script that does something like this:

c:\cygwin\bin\bash -cl "=pathprefix=/dt =remote command line="

This bombs with numerous errors.  This is the first one:

(STS:30397): GLib-GObject-WARNING **: invalid (NULL) pointer instance

What's the correct way to do this?

--
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/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-31 17:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-31 17:08 Can display remote X window from bash, but not from DOS window David Karr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).