Xlib: connection to 192.168.0.249:0.0 refused by server

2006-01-19 Thread PoWah Wong
I start Cygwin/X by:
cd /usr/X11R6/bin
startx

My windows XP IP address is 192.168.0.249.
I connect to the lab1 computer by:
ssh -l admin 192.168.0.254

[EMAIL PROTECTED] admin]$ DISPLAY=192.168.0.249:0.0
[EMAIL PROTECTED] admin]$ export DISPLAY
[EMAIL PROTECTED] admin]$ gvim
Xlib: connection to 192.168.0.249:0.0 refused by
server
Xlib: No protocol specified

E233: cannot open displayXlib: connection to
192.168.0.249:0.0 refused by server
Xlib: No protocol specified

Hit ENTER or type command to continue



If my client is a unix computer, then xhost + will
fix the problem.
Now my client is a windows XP computer, what should I do?






__ 
Find your next car at http://autos.yahoo.ca

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



How to add a title to xterm

2005-12-05 Thread PoWah Wong
How to add a title to xterm?

I start cygwinx by startx.
The following commands does not work:
xterm -T columbia 
xterm -title columbia 
xterm -title columbia 






__ 
Find your next car at http://autos.yahoo.ca

--
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: How to add a title to xterm

2005-12-05 Thread PoWah Wong
e.g. I do something like this:
PS1=[EMAIL PROTECTED] \w\n\$ 

--

PoWah Wong wrote:

 How to add a title to xterm?
 
 I start cygwinx by startx.
 The following commands does not work:
 xterm -T columbia 
 xterm -title columbia 
 xterm -title columbia 

The default cygwin prompt contains escape characters
that set the window
title to contain the CWD.  Thus anything you set the
title to will be
overwritten the next time a prompt is printed.  You
need to either
modify the prompt so that it doesn't try to set the
window title, or
change the prompt to include the desired window title.

Brian






__ 
Find your next car at http://autos.yahoo.ca

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



two cygwin X sessions at the same time

2005-11-11 Thread PoWah Wong
I would like to run two cygwin X sessions at the same
time.  In addition, they will have the same look and
feel as using startx.
$ startx
...
XWin was started with the following command line:

X :0 -multiwindow -clipboard

...



These commands will start two cygwin X sessions but
having different look and feel:
X :0 -query mycomputer 
X :1 -query mycomputer 


This command will get an error:
X :0 -query mycomputer -multiwindow -clipboard 








__ 
Find your next car at http://autos.yahoo.ca

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



setup PATH variable by PATH=%PATH:/usr/X11R6/bin

2005-09-01 Thread PoWah Wong
I want to setup my PATH variable by following the
instructions of Chapter 4. Using Cygwin/X, section
startx at http://x.cygwin.com/docs/ug/using.html.

After doing
PATH=%PATH:/usr/X11R6/bin
my original path is lost.

I use windows XP SP2.

Log is:

[EMAIL PROTECTED] ~
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdri
ve/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/j2sdk1.4.2_07/bin:/cy
gdrive/c/apache-ant-1.6.2/bin:/cygdrive/c/Program
Files/cvsnt:/cygdrive/c/Progra
m Files/Microsoft Visual
Studio/Common/Tools/WinNT:/cygdrive/c/Program
Files/Mic
rosoft Visual
Studio/Common/MSDev98/Bin:/cygdrive/c/Program
Files/Microsoft Visu
al Studio/Common/Tools:/cygdrive/c/Program
Files/Microsoft Visual Studio/VC98/bi
n

[EMAIL PROTECTED] ~
$ PATH=%PATH:/usr/X11R6/bin

[EMAIL PROTECTED] ~
$ echo $PATH
%PATH:/usr/X11R6/bin

[EMAIL PROTECTED] ~
$






__ 
Find your next car at http://autos.yahoo.ca

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