RE: SSH X11 forwarding issues

2006-04-06 Thread Sterling Baker
I believe the use of '-X' has been depreciated.  Try using '-Y' instead.

Sterling


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Philip H.
Schlesinger
Sent: Wednesday, April 05, 2006 10:07 PM
To: cygwin-xfree@cygwin.com
Subject: SSH X11 forwarding issues

Hi all.  I just upgraded my Cygwin to the latest version and found a 
rather interesting problem:

I can do the following command in the bash window with no problem:

ssh username@server location

it prompts me for my password and then takes me in from there.

--

However, if I:

startx
ssh -X username@server location

It prompts me for my password and then hangs.

--

If I:

startxwin.bat
ssh -X username@server location

same problem: It prompts me for my password and then hangs.

--

The only way I've successfully made a connection with X forwarding is:

startxwin.bat
Execute putty for windows with X11 forwarding enabled
Enter username and password
And I'm off and running...

Help?

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



xclipboard

2006-04-06 Thread David
Hi,

I have XWin 6.8.2.0-4 and am running on Windows2000
professional, starting it like this:

   XWin -multiplemonitors -clipboard -rootless -screen ...

And, I am runing fvwm2 as the window manager, and a couple
of xterms in it.

So, I left mouse click to highlight some text, and
hit CNTL-C to copy it and move to another window
and hit CNTL-V to paste it. 

Nothing happens. I also tried pasting into the native
windows application Notepad and still nothing.

I looked into the xclipboard man page, but there was
nothing there. I checked the web. Someone suggested I
should use -emulate3buttons.

I would like to be able to copy from one xterm to another.

Every window has the reverse video highlight capability.
However, I can't get beyond that.

Please help.

Thanks,

David





--
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: xclipboard

2006-04-06 Thread Thomas Dickey

On Thu, 6 Apr 2006, David wrote:


Hi,

I have XWin 6.8.2.0-4 and am running on Windows2000
professional, starting it like this:

  XWin -multiplemonitors -clipboard -rootless -screen ...

And, I am runing fvwm2 as the window manager, and a couple
of xterms in it.

So, I left mouse click to highlight some text, and
hit CNTL-C to copy it and move to another window
and hit CNTL-V to paste it.


That won't work because control characters are valid input to xterm.


Nothing happens. I also tried pasting into the native
windows application Notepad and still nothing.


By default xterm uses the primary selection.  It is possible that
cygwin can supply the X clipboard selection to notepad (not necessarily
the same as the Windows clipboard).

xterm can be told to use the clipboard selection (recent xterm versions- 
cygwin probably is not recent) can do this via a menu selection.  See

selectToClipboard in

http://invisible-island.net/xterm/xterm.log.html


I looked into the xclipboard man page, but there was
nothing there. I checked the web. Someone suggested I
should use -emulate3buttons.


That's because xterm's default bindings use the middle button for pasting.


I would like to be able to copy from one xterm to another.


For that, you only need to use the mouse bindings that xterm provides by
default (see manpage): left=start selection, middle=paste, right=extend 
selection.



Every window has the reverse video highlight capability.
However, I can't get beyond that.

Please help.

Thanks,

David





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




--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

--
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: SSH X11 forwarding issues

2006-04-06 Thread Philip H. Schlesinger

Hi Sterling.

I checked the man page and -Y is just -X with less security:

-X  Enables X11 forwarding.  This can also be specified on a 
per-host basis in a configuration file. X11 forwarding should be enabled 
with caution.  Users with the ability to bypass file permissions on the 
remote host (for the user's X authorization database) can access the 
local X11 display through the forwarded connection.  An attacker may 
then be able to perform activities such as keystroke monitoring.


-Y  Enables trusted X11 forwarding.  Trusted X11 forwardings are not 
subjected to the X11 SECURITY extension controls.


Nevertheless, same problem - it freezes after I type in my password.

Other ideas?

- Phil




Sterling Baker wrote:

I believe the use of '-X' has been depreciated.  Try using '-Y' instead.

Sterling


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Philip H.
Schlesinger
Sent: Wednesday, April 05, 2006 10:07 PM
To: cygwin-xfree@cygwin.com
Subject: SSH X11 forwarding issues

Hi all.  I just upgraded my Cygwin to the latest version and found a 
rather interesting problem:


I can do the following command in the bash window with no problem:

ssh username@server location

it prompts me for my password and then takes me in from there.

--

However, if I:

startx
ssh -X username@server location

It prompts me for my password and then hangs.

--

If I:

startxwin.bat
ssh -X username@server location

same problem: It prompts me for my password and then hangs.

--

The only way I've successfully made a connection with X forwarding is:

startxwin.bat
Execute putty for windows with X11 forwarding enabled
Enter username and password
And I'm off and running...

Help?

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





--
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: SSH X11 forwarding issues (with verbose data)

2006-04-06 Thread Philip H. Schlesinger

I tried the -vvv mode and here's the screen capture:

debug3: no such identity: /home/phil/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug3: authmethod_lookup keyboard-interactive
debug3: remaining preferred: password
debug3: authmethod_is_enabled keyboard-interactive
debug1: Next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1
Password:
debug3: packet_send2: adding 32 (len 22 padlen 10 extra_pad 64)
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 0
debug3: packet_send2: adding 48 (len 10 padlen 6 extra_pad 64)
debug1: Authentication succeeded (keyboard-interactive).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: x11_get_proto: /usr/X11R6/bin/xauth -f 
/tmp/ssh-zfHmWgkGRG/xauthfile generate 127.0.0.1:0.0 MIT-MAGIC-COOKIE-1 
untrusted timeout 1200 2/dev/null





Sterling Baker wrote:

I believe the use of '-X' has been depreciated.  Try using '-Y' instead.

Sterling


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Philip H.
Schlesinger
Sent: Wednesday, April 05, 2006 10:07 PM
To: cygwin-xfree@cygwin.com
Subject: SSH X11 forwarding issues

Hi all.  I just upgraded my Cygwin to the latest version and found a 
rather interesting problem:


I can do the following command in the bash window with no problem:

ssh username@server location

it prompts me for my password and then takes me in from there.

--

However, if I:

startx
ssh -X username@server location

It prompts me for my password and then hangs.

--

If I:

startxwin.bat
ssh -X username@server location

same problem: It prompts me for my password and then hangs.

--

The only way I've successfully made a connection with X forwarding is:

startxwin.bat
Execute putty for windows with X11 forwarding enabled
Enter username and password
And I'm off and running...

Help?

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





--
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: SSH X11 forwarding issues

2006-04-06 Thread Jack Tanner
-Y is really what you want. Aside from that, anything useful from -vv? 
What about the server logs? And /tmp/Xwin.log? And what do you mean by 
freezes?


Philip H. Schlesinger wrote:

Hi Sterling.

I checked the man page and -Y is just -X with less security:

-X  Enables X11 forwarding.  This can also be specified on a 
per-host basis in a configuration file. X11 forwarding should be enabled 
with caution.  Users with the ability to bypass file permissions on the 
remote host (for the user's X authorization database) can access the 
local X11 display through the forwarded connection.  An attacker may 
then be able to perform activities such as keystroke monitoring.


-Y  Enables trusted X11 forwarding.  Trusted X11 forwardings are not 
subjected to the X11 SECURITY extension controls.


Nevertheless, same problem - it freezes after I type in my password.

Other ideas?

- Phil




Sterling Baker wrote:

I believe the use of '-X' has been depreciated.  Try using '-Y' instead.

Sterling


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Philip H.
Schlesinger
Sent: Wednesday, April 05, 2006 10:07 PM
To: cygwin-xfree@cygwin.com
Subject: SSH X11 forwarding issues

Hi all.  I just upgraded my Cygwin to the latest version and found a 
rather interesting problem:


I can do the following command in the bash window with no problem:

ssh username@server location

it prompts me for my password and then takes me in from there.

--

However, if I:

startx
ssh -X username@server location

It prompts me for my password and then hangs.

--

If I:

startxwin.bat
ssh -X username@server location

same problem: It prompts me for my password and then hangs.

--

The only way I've successfully made a connection with X forwarding is:

startxwin.bat
Execute putty for windows with X11 forwarding enabled
Enter username and password
And I'm off and running...

Help?

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



(n00b question) How does one activate the scrollbar in an xterm?

2006-04-06 Thread Philip H. Schlesinger
Hi all.  I'm a *nix newbie.  In M$ Windows, I can edit the properties of 
a console window and thus create a scrollback history.


However, the xterms in Cygwin have no scrollbar.  How does one activate 
the scrollbar and adjust the length of scrollback history?


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



RE: (n00b question) How does one activate the scrollbar in an xterm?

2006-04-06 Thread Soong, SylokeJ
I have not done this with cygwin-x before,
but I do it with my sun solaris.

Create .Xdefaults at home directory if does not already exists.
google or man xterm should tell you more.
Enter/append lines similar to these:

xterm*scrollBar: true
xterm*saveLines: 4000
xterm*cursorColor: Red
xterm*pointerColor: Blue
xterm*borderColor: Red


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Philip H. Schlesinger
Sent: Thu, April 06, 2006 12:23 PM
To: cygwin-xfree@cygwin.com
Subject: (n00b question) How does one activate the scrollbar in an
xterm?


Hi all.  I'm a *nix newbie.  In M$ Windows, I can edit the properties of 
a console window and thus create a scrollback history.

However, the xterms in Cygwin have no scrollbar.  How does one activate 
the scrollbar and adjust the length of scrollback history?

- 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: xclipboard

2006-04-06 Thread Reid Thompson

David wrote:

Hi,

I have XWin 6.8.2.0-4 and am running on Windows2000
professional, starting it like this:

   XWin -multiplemonitors -clipboard -rootless -screen ...

And, I am runing fvwm2 as the window manager, and a couple
of xterms in it.

So, I left mouse click to highlight some text, and
hit CNTL-C to copy it and move to another window
and hit CNTL-V to paste it. 


Nothing happens. I also tried pasting into the native
windows application Notepad and still nothing.

I looked into the xclipboard man page, but there was
nothing there. I checked the web. Someone suggested I
should use -emulate3buttons.

I would like to be able to copy from one xterm to another.

Every window has the reverse video highlight capability.
However, I can't get beyond that.

Please help.

Thanks,

David





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

  
if your mouse has a clickable scrollwheel, or any other button that can 
be identified as 'button3', click it.

i.e.
1. highlight text to copy ( ctrl-C is NOT require )
2. make 'paste into' window/Xapp the active window ( click on the 
window/Xapp you want to past into)
3) click the scroll button, or if emulate3buttons is on , click 
left/right buttons in quick sequence ( or click whatever other button 
your mouse has defined as button3
3a) to paste into a native WINDOWS app, select the app, ctrl-v, or right 
click/select paste


--
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: (n00b question) How does one activate the scrollbar in an xterm?

2006-04-06 Thread Reid Thompson

Soong, SylokeJ wrote:

I have not done this with cygwin-x before,
but I do it with my sun solaris.

Create .Xdefaults at home directory if does not already exists.
google or man xterm should tell you more.
Enter/append lines similar to these:

xterm*scrollBar: true
xterm*saveLines: 4000
xterm*cursorColor: Red
xterm*pointerColor: Blue
xterm*borderColor: Red

  

alternatively invoke the xterm with the pertinent command line parameters...

xterm --help
..


xterm -sb -sl 2500 -sr etc, etc, etc

--
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: SSH X11 forwarding issues

2006-04-06 Thread Philip H. Schlesinger

Hi Jack.  See my other post at 9:19 am with the -vvv output.

Freezes: I type my password, hit enter, and I don't get any additional 
output.  -vvv says that things are being sent to /dev/null


- Phil

Jack Tanner wrote:
-Y is really what you want. Aside from that, anything useful from -vv? 
What about the server logs? And /tmp/Xwin.log? And what do you mean by 
freezes?


Philip H. Schlesinger wrote:

Hi Sterling.

I checked the man page and -Y is just -X with less security:

-X  Enables X11 forwarding.  This can also be specified on a 
per-host basis in a configuration file. X11 forwarding should be 
enabled with caution.  Users with the ability to bypass file 
permissions on the remote host (for the user's X authorization 
database) can access the local X11 display through the forwarded 
connection.  An attacker may then be able to perform activities such 
as keystroke monitoring.


-Y  Enables trusted X11 forwarding.  Trusted X11 forwardings are 
not subjected to the X11 SECURITY extension controls.


Nevertheless, same problem - it freezes after I type in my password.

Other ideas?

- Phil




Sterling Baker wrote:

I believe the use of '-X' has been depreciated.  Try using '-Y' instead.

Sterling


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Philip H.
Schlesinger
Sent: Wednesday, April 05, 2006 10:07 PM
To: cygwin-xfree@cygwin.com
Subject: SSH X11 forwarding issues

Hi all.  I just upgraded my Cygwin to the latest version and found a 
rather interesting problem:


I can do the following command in the bash window with no problem:

ssh username@server location

it prompts me for my password and then takes me in from there.

--

However, if I:

startx
ssh -X username@server location

It prompts me for my password and then hangs.

--

If I:

startxwin.bat
ssh -X username@server location

same problem: It prompts me for my password and then hangs.

--

The only way I've successfully made a connection with X forwarding is:

startxwin.bat
Execute putty for windows with X11 forwarding enabled
Enter username and password
And I'm off and running...

Help?

- 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: (n00b question) How does one activate the scrollbar in an xterm?

2006-04-06 Thread Alexander J. Herrmann


Philip H. Schlesinger wrote:

Hi all.  I'm a *nix newbie.  In M$ Windows, I can edit the properties 
of a console window and thus create a scrollback history.


However, the xterms in Cygwin have no scrollbar.  How does one 
activate the scrollbar and adjust the length of scrollback history?


haeh? I guess it depens on what windowmanager you use./ Mu xterm window 
has a history to the time jesus was sucking nibbles.




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




--
And God saidLet there be light.But then the program crashed because he was 
trying to access the 'light' property of a NULL universe pointer.

Alexander J. Herrmann
Analyst/Programmer
http://www.aiengine.org
Email: [EMAIL PROTECTED]


--
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: SSH X11 forwarding issues (with verbose data)

2006-04-06 Thread Jack Tanner

Philip H. Schlesinger wrote:

I tried the -vvv mode and here's the screen capture:

debug1: Authentication succeeded (keyboard-interactive).


OK, good. You're authenticated after entering your password.

debug2: x11_get_proto: /usr/X11R6/bin/xauth -f 
/tmp/ssh-zfHmWgkGRG/xauthfile generate 127.0.0.1:0.0 MIT-MAGIC-COOKIE-1 
untrusted timeout 1200 2/dev/null


1) What do you get if you try that by command hand (sans the /dev/null 
redirection)? 2) What do you get if you skip X-forwarding altogether? 3) 
What do you get if you rm the xauthority data on both sides of the 
connection?



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



Client crashes under XWin -multiwindow

2006-04-06 Thread Fox, Michael
I have a client application that crashes under Xwin -multiwindow 

 

It works just fine if I use twm or any other window manager.

 

I ran an xmonui | xmond on it and it seems that the trouble occurs when
the client makes a GetGeometry request.

 



--
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: SSH X11 forwarding issues (with verbose data)

2006-04-06 Thread Philip H. Schlesinger

Jack Tanner wrote:
 debug2: x11_get_proto: /usr/X11R6/bin/xauth -f
 /tmp/ssh-zfHmWgkGRG/xauthfile generate 127.0.0.1:0.0
 MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2/dev/null

 1) What do you get if you try that by command hand (sans the /dev/null
 redirection)?

Not sure what you mean here...forgive my n00b-ness...


 2) What do you get if you skip X-forwarding altogether?

Works fine.

 3) What do you get if you rm the xauthority data on both sides of the
 connection?

Only .Xauthority was on the remote PC, and problem still exists...

debug3: no such identity: /home/phil/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug3: authmethod_lookup keyboard-interactive
debug3: remaining preferred: password
debug3: authmethod_is_enabled keyboard-interactive
debug1: Next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1
Password:
debug3: packet_send2: adding 32 (len 22 padlen 10 extra_pad 64)
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 0
debug3: packet_send2: adding 48 (len 10 padlen 6 extra_pad 64)
debug1: Authentication succeeded (keyboard-interactive).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: x11_get_proto: /usr/X11R6/bin/xauth -f 
/tmp/ssh-Xc8hsbJjXZ/xauthfile generate 127.0.0.1:0.0 MIT-MAGIC-COOKIE-1 
untrusted timeout 1200 2/dev/null



Jack Tanner wrote:

Philip H. Schlesinger wrote:

I tried the -vvv mode and here's the screen capture:

debug1: Authentication succeeded (keyboard-interactive).


OK, good. You're authenticated after entering your password.

debug2: x11_get_proto: /usr/X11R6/bin/xauth -f 
/tmp/ssh-zfHmWgkGRG/xauthfile generate 127.0.0.1:0.0 
MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2/dev/null


1) What do you get if you try that by command hand (sans the /dev/null 
redirection)? 2) What do you get if you skip X-forwarding altogether? 3) 
What do you get if you rm the xauthority data on both sides of the 
connection?



--
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: SSH X11 forwarding issues (with verbose data)

2006-04-06 Thread Jack Tanner

Philip H. Schlesinger wrote:

Jack Tanner wrote:
  debug2: x11_get_proto: /usr/X11R6/bin/xauth -f
  /tmp/ssh-zfHmWgkGRG/xauthfile generate 127.0.0.1:0.0
  MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2/dev/null
 
  1) What do you get if you try that by command hand (sans the /dev/null
  redirection)?

Not sure what you mean here...forgive my n00b-ness...


Err, that should've said try that command by hand. As in,

$ /tmp/ssh-WHATEVER/xauthfile generate [...] timeout 1200

(Drop the 2 /dev/null bit at the end, thus keeping the output from 
xauthfile from being redirected to /dev/null.)



--
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: (n00b question) How does one activate the scrollbar in an xterm?

2006-04-06 Thread Soong, SylokeJ
I'm thinking that both .Xdefaults and xterm do not depend on the window mgr, so 
that .Xdefaults entries as well as xterm cmd options should function similarly 
on any x window mgr - at least when specifically about the xterm scroll 
history. Is its scroll history not controlled by xterm itself rather than by 
the window mgr?

However, the shell we use and instructions we have for it might determine the 
length of command history (which is not within context of this discussion/list).

~I believe in G*d and Charles Darwin his Prophet.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alexander J. Herrmann
Sent: Thu, April 06, 2006 1:45 PM
To: cygwin-xfree@cygwin.com
Subject: Re: (n00b question) How does one activate the scrollbar in an
xterm?

Philip H. Schlesinger wrote:

 Hi all.  I'm a *nix newbie.  In M$ Windows, I can edit the properties 
 of a console window and thus create a scrollback history.

 However, the xterms in Cygwin have no scrollbar.  How does one 
 activate the scrollbar and adjust the length of scrollback history?

haeh? I guess it depens on what windowmanager you use./ Mu xterm window 
has a history to the time 

--
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: (n00b question) How does one activate the scrollbar in an xterm?

2006-04-06 Thread Thomas Dickey

On Thu, 6 Apr 2006, Soong, SylokeJ wrote:

I'm thinking that both .Xdefaults and xterm do not depend on the window 
mgr, so that .Xdefaults entries as well as xterm cmd options should 
function similarly on any x window mgr - at least when specifically 
about the xterm scroll history. Is its scroll history not controlled by 
xterm itself rather than by the window mgr?


However, the shell we use and instructions we have for it might 
determine the length of command history (which is not within context of 
this discussion/list).


xterm's not a shell;
discussion of xterm is (usually) on-topic for this list.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

--
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: (n00b question) How does one activate the scrollbar in an xterm?

2006-04-06 Thread Soong, SylokeJ

The little girl asked, When will the world end?
The old man responded, When humans cease to exist.
The old man added, However, the shell we inhabit might determine our length of 
days.
The young man from askance joined in, xterm's not a shell.

The little girl asked, When will humans cease to exist?
The old man responded, When humans are no longer aware of themselves.
The old man added, However, the shell we inhabit might determine our 
consciousness.
The young man from askance joined in, xterm's not a shell.

The little girl asked, When will humans no longer be aware of themselves?
The old man responded, When xterm becomes a shell.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Thomas Dickey
Sent: Thu, April 06, 2006 3:20 PM
To: cygwin-xfree@cygwin.com
Subject: RE: (n00b question) How does one activate the scrollbar in an
xterm?


On Thu, 6 Apr 2006, Soong, SylokeJ wrote:

 I'm thinking that both .Xdefaults and xterm do not depend on the window 
 mgr, so that .Xdefaults entries as well as xterm cmd options should 
 function similarly on any x window mgr - at least when specifically 
 about the xterm scroll history. Is its scroll history not controlled by 
 xterm itself rather than by the window mgr?

 However, the shell we use and instructions we have for it might 
 determine the length of command history (which is not within context of 
 this discussion/list).

xterm's not a shell;
discussion of xterm is (usually) on-topic for this list.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

--
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: Scaleable fonts

2006-04-06 Thread Cary Jamison
John Rehill wrote:
 Am posting this here, due to the fact below that it was pointed out
 this is more a cygwin/x thing...

 So what is the purpose of the cygwin/x scaleable fonts?  How exactly
 are they implemented into the running of cygwin  cygwin/x?

 Thanks in advance

Let's back up and look again at what you really want...

 Am trying to get scaleable fonts in a command window
 running under cygwin.

 I want to have it so that when the user changes the
 window size or maximizes it, the fonts 'grow' with the window.

Igor tried to tell you this really isn't a cygwin/x issue, and scalable 
fonts won't do this for you, at least not with the regular command window.

There are other alternatives to the command window.  There is xterm, which 
runs under X, and rxvt, which has both an X and a native-windows mode.  But 
I don't think either of these will do what you want, either.  Most terminal 
type windows just give you more lines/columns when you resize them and not 
increase the font.

But, you can select different font sizes which will cause the window to 
grow/shrink accordingly.  If that is acceptable to you, instead of using the 
normal resize controls, check those out.  e.g. in xterm try ctrl-right 
click.

You may try asking back on the main list if the new native-only experimental 
rxvt will have a similar option if you don't want to run X just to get this.


Cary




--
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: (n00b question) How does one activate the scrollbar in an xterm?

2006-04-06 Thread Philip H. Schlesinger

Thanks!  That did it! :) - Phil

Reid Thompson wrote:

Soong, SylokeJ wrote:

I have not done this with cygwin-x before,
but I do it with my sun solaris.

Create .Xdefaults at home directory if does not already exists.
google or man xterm should tell you more.
Enter/append lines similar to these:

xterm*scrollBar: true
xterm*saveLines: 4000
xterm*cursorColor: Red
xterm*pointerColor: Blue
xterm*borderColor: Red

  
alternatively invoke the xterm with the pertinent command line 
parameters...


xterm --help
..


xterm -sb -sl 2500 -sr etc, etc, etc

--
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: SSH X11 forwarding issues (with verbose data)

2006-04-06 Thread Philip H. Schlesinger
That appears to be something generated on the fly - and by the looks of 
it, on the remote computer, as that directory doesn't exist.


- Phil

Jack Tanner wrote:

Philip H. Schlesinger wrote:

Jack Tanner wrote:
  debug2: x11_get_proto: /usr/X11R6/bin/xauth -f
  /tmp/ssh-zfHmWgkGRG/xauthfile generate 127.0.0.1:0.0
  MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2/dev/null
 
  1) What do you get if you try that by command hand (sans the /dev/null
  redirection)?

Not sure what you mean here...forgive my n00b-ness...


Err, that should've said try that command by hand. As in,

$ /tmp/ssh-WHATEVER/xauthfile generate [...] timeout 1200

(Drop the 2 /dev/null bit at the end, thus keeping the output from 
xauthfile from being redirected to /dev/null.)



--
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: SSH X11 forwarding issues (with verbose data)

2006-04-06 Thread Jack Tanner
No, it should be on the local computer. Try this: run startxwin.bat, 
then open two xterms. In one, run the ssh -Y -vv ... command. When it 
freezes, in the other xterm try to run the xauth command by hand.


By the way, I gave you the wrong command syntax below. That should've been

$ /usr/X11R6/bin/xauth -f /tmp/ssh-WHATEVER/...

If I'm wrong, and it is on the remote computer, then from the second 
xterm you should be able to ssh in without X forwarding, and try it on 
the remote machine.



Philip H. Schlesinger wrote:
That appears to be something generated on the fly - and by the looks of 
it, on the remote computer, as that directory doesn't exist.


- Phil

Jack Tanner wrote:

Philip H. Schlesinger wrote:

Jack Tanner wrote:
  debug2: x11_get_proto: /usr/X11R6/bin/xauth -f
  /tmp/ssh-zfHmWgkGRG/xauthfile generate 127.0.0.1:0.0
  MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2/dev/null
 
  1) What do you get if you try that by command hand (sans the 
/dev/null

  redirection)?

Not sure what you mean here...forgive my n00b-ness...


Err, that should've said try that command by hand. As in,

$ /tmp/ssh-WHATEVER/xauthfile generate [...] timeout 1200

(Drop the 2 /dev/null bit at the end, thus keeping the output from 
xauthfile from being redirected to /dev/null.)



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





--
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: (n00b question) How does one activate the scrollbar in an xterm?

2006-04-06 Thread Igor Peshansky
Ugh, top-posting...  Reformatted.

On Thu, 6 Apr 2006, Soong, SylokeJ wrote:

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Thomas Dickey
 Sent: Thu, April 06, 2006 3:20 PM
 To: [EMAIL PROTECTED]

http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.

 Subject: RE: (n00b question) How does one activate the scrollbar in an xterm?

Paraphrasing the extra-long lead-in: Thomas Dickey wrote:.

  On Thu, 6 Apr 2006, Soong, SylokeJ wrote:
 
   However, the shell we use... [snip]
 
  xterm's not a shell; [snip]

 [an amusing parable about a little girl and an xterm snipped]

Funny, but wa-ay off-topic for this list.  You might be better off
http://cygwin.com/acronyms/#TITTTLing this thread.  Beware the hippos.
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!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

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



Strange architecture under /etc/X11/

2006-04-06 Thread fergus
There seem to be 00s or even 000s of strangely configured links under
/etc/X11/, all taking the form a - a. Often (always?) the link a - a is
located in a directory called a.

eg 

/etc/X11/rstart/commands/x11r6/x11r6

and any number under /etc/X11/xserver/ such as

/etc/X11/xserver/en_US/en_US

This seems to me to cause havoc with file handling resulting in multiple
error msgs No such file or directory or Too many levels of symbolic
links.

Fergus



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