RE: how can i change the color of xterms that connected with ssh to unix account

2007-12-26 Thread Meir Yanovich
Hello and thanks for the reply 
I don't have the possibility to change the remote host 
I was hopping to be able to change the color of the xterm window 
Every time I log in into remote host but to control it from cygwin 
For example if I type :
Can it be done ? 
Also I can't find the file /usr/share/doc/xterm-229/ctlseqs.txt 
In my installation is there some web reference to that ? 
Thanks allot 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Phil Betts
Sent: Friday, December 21, 2007 8:23 PM
To: cygwin-xfree@cygwin.com
Subject: RE: how can i change the color of xterms that connected with
ssh to unix account

Meir Yanovich wrote on Wednesday, December 19, 2007 2:51 PM::

> Hello all
> Im new to cygwin and X im using the
> cygwin\usr\X11R6\bin\startxwin.bat for simple x display
> for using the unix tools in windows and to connect with ssh to unix
> accounts
> now i like to be able to change the color of the xterm every time I
> connect with ssh to remote host
> can it be done ?
> Thanks

To change the xterm background to pink, use this command:
$ echo -e '\e]11;pink\007'

To do this automatically when you log in via ssh, add the following 
to your .bash_profile on the remote host.

if [ ! -z "$SSH_TTY" ];then echo -e '\e]11;pink\007';fi

To ensure this only happens on interactive shells, change the first
part to:

if [[ $- == *i* ]] && [ ! -z "$SSH_TTY" ];then ...


Read the file /usr/share/doc/xterm-229/ctlseqs.txt for other escape
sequences you can use to control xterm.

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/


--
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: Problem with installing the X environment

2007-12-26 Thread Larry Hall (Cygwin X)

On 12/26/2007, David Garber wrote:
When I run it with xwin, I got the window, but if I try to run "xterm &" or 
anything else, I got "exit 53" immediately afterwards. 


NET HELPMSG 53 Returns: "The network path was not found."

This means you're missing a required DLL.  Run 'cygcheck xterm' to find out
what's missing and then 'cygcheck -f ' to find out what
package you need to install to fulfill this requirement.  Then re-run
'setup.exe' and install that package.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: Use remote graphical program

2007-12-26 Thread Larry Hall (Cygwin X)

horacioemilio wrote:

Hi,

I am trying to use a remote program which is installed on a remote linux
machine. In these situations I usually do;

0) on my windows machine I start cygwin and afterwards use startxwin.sh

1) ssh -X name-of-the-gateway-machine

2) ssh -X name-of-the-linux-machine-inside-the-remote-network

3) program-name &

and programs like emacs or firefox appear on my desktop.

But for some other program which uses more advanced graphics it does not
work, I get the following error message;

[EMAIL PROTECTED]:~> Xlib:  extension "GLX" missing on display "localhost:10.0" 
.

Xlib:  extension "GLX" missing on display "localhost:10.0".






Do you know how could I overcome this situation ?


This is more appropriately directed to the Cygwin X list.  I've reset the
"Reply-To" there.  Please send any follow-up the the Cygwin X list.

From the above, it's clear the application you're trying to use wants
to access the underlying hardware (via OpenGL).  This is not supported
in the current Cygwin X server.  I believe there is a MinGW version which
has some support for this though.  You may want to investigate that.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

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