Not able to Get a Remote Machine after export of display

2004-12-16 Thread Krishna Bhushan K
Hi All,

This is regarding a problem faced while using Cygwin.
I am not able to open Xterm from a remote machine
after setting the remote 
DISPLAY variable to the local one.

Following are the entries in my startxdmcp.bat:

SET DISPLAY=223.221.113.105:0.0 (Local display)
SET REMOTE_HOST=ipshp071
start XWin -kb -query %REMOTE_HOST% -notrayicon
-emulate3buttons -clipboard -unixkill -lesspointer

After i logon to this machine, I telnet to a remote
machine. set the DISPLAY variable there to
223.221.113.105:0.0. open a xterm using Xterm&. It
says "Per display information not found".

Is there any problem with the above entries?
Could anyone please suggest a solution to this
problem.

Thanks,
Krishna Bhushan 



__ 
Do you Yahoo!? 
Dress up your holiday email, Hollywood style. Learn more. 
http://celebrity.mail.yahoo.com


Problems with ssh and X

2004-12-16 Thread Dr Christian Hicks
Problem sorted. Thanks Jean-Sebastien.

Chris.

Dr Christian Hicks
Senior Lecturer,
Director of Postgraduate Training,
School of Mechanical & Systems Engineering,
Stephenson Building,
University of Newcastle upon Tyne,
NE1 7RU.
Phone: +44 191 222 6238
Mobile 0796 398 9449
Fax: + 44 191 222 8600
Homepage: http://www.staff.ncl.ac.uk/chris.hicks


Re: cygwin, and comment on rejection

2004-12-16 Thread Christopher Faylor
On Thu, Dec 16, 2004 at 12:06:18PM -0500, Christopher Faylor wrote:
>On Thu, Dec 16, 2004 at 09:36:37AM -0700, Sarir Khamsi wrote:
>>Christopher Faylor <[EMAIL PROTECTED]> writes:
>>>Good point.  I do reject some subjects like that in the main cygwin
>>>list but I hadn't done so here.
>>>
>>>I have now, though.  However, if people think that's too harsh, I'll
>>>remove that restriction.
>>
>>A person's inability to articulate their problem should not deprive
>>them of help.  Yes, I feel this is too harsh.
>
>I thought I'd get that response but it sort of misses the point, IMO.
>This doesn't stop people cold.  It just prevents their first attempt
>sending email to the mailing list from being a clueless one.  This is
>exactly what the suggestions at http://cygwin.com/problems.html were
>intended to stop.

But, regardless, I asked for feedback and the first two responses were
"don't do it" so I've removed this.

cgf


Re: cygwin, and comment on rejection

2004-12-16 Thread Christopher Faylor
On Thu, Dec 16, 2004 at 09:36:37AM -0700, Sarir Khamsi wrote:
>Christopher Faylor <[EMAIL PROTECTED]> writes:
>>Good point.  I do reject some subjects like that in the main cygwin
>>list but I hadn't done so here.
>>
>>I have now, though.  However, if people think that's too harsh, I'll
>>remove that restriction.
>
>A person's inability to articulate their problem should not deprive
>them of help.  Yes, I feel this is too harsh.

I thought I'd get that response but it sort of misses the point, IMO.
This doesn't stop people cold.  It just prevents their first attempt
sending email to the mailing list from being a clueless one.  This is
exactly what the suggestions at http://cygwin.com/problems.html were
intended to stop.

cgf


Re: cygwin

2004-12-16 Thread Andrew Schulman
> >>>please add me to mailing list..  I am having nothing but problems with
> >>>this
> >>
> >>The ability to add yourself to the mailing list is well-tested.  You
> >>can think of it as an entrance examination if you want.  No one is
> >>going to do this for you.
> >
> >As an additional exam, we should add the ability to write an
> >intelligent subject line.  A subject of "cygwin" or "cygwin problem" on
> >a post to any cygwin-related mailing list should result in instant
> >ejection from the list.
> 
> Good point.  I do reject some subjects like that in the main cygwin list
> but I hadn't done so here.
> 
> I have now, though.  However, if people think that's too harsh, I'll
> remove that restriction.

No, I wasn't serious about ejecting subscribers, or even individual 
postings.  Just making my little point.

-- 
To reply by email, replace "deadspam.com" by "alumni.utexas.net"



Re: cygwin, and comment on rejection

2004-12-16 Thread Sarir Khamsi
Christopher Faylor <[EMAIL PROTECTED]> writes:

> Good point.  I do reject some subjects like that in the main cygwin list
> but I hadn't done so here.
>
> I have now, though.  However, if people think that's too harsh, I'll
> remove that restriction.

A person's inability to articulate their problem should not deprive
them of help. Yes, I feel this is too harsh.

Sarir

"A kindly tongue is the lodestone of the hearts of men."


Re: cygwin

2004-12-16 Thread Christopher Faylor
On Thu, Dec 16, 2004 at 10:26:29AM -0500, Andrew Schulman wrote:
>>>please add me to mailing list..  I am having nothing but problems with
>>>this
>>
>>The ability to add yourself to the mailing list is well-tested.  You
>>can think of it as an entrance examination if you want.  No one is
>>going to do this for you.
>
>As an additional exam, we should add the ability to write an
>intelligent subject line.  A subject of "cygwin" or "cygwin problem" on
>a post to any cygwin-related mailing list should result in instant
>ejection from the list.

Good point.  I do reject some subjects like that in the main cygwin list
but I hadn't done so here.

I have now, though.  However, if people think that's too harsh, I'll
remove that restriction.

I always wonder if people who post subjects like that also go into the
bank, hand their checks to the teller and say "Bank!".  Or if they go to
the auto shop to get their car fixed and open the discussion by pointing
and saying "Car!"

cgf


Re: cygwin

2004-12-16 Thread Andrew Schulman
> >please add me to mailing list..  I am having nothing but problems with
> >this
> 
> The ability to add yourself to the mailing list is well-tested.  You can
> think of it as an entrance examination if you want.  No one is going to
> do this for you.

As an additional exam, we should add the ability to write an intelligent 
subject line.  A subject of "cygwin" or "cygwin problem" on a post to 
any cygwin-related mailing list should result in instant ejection from 
the list.

-- 
To reply by email, replace "deadspam.com" by "alumni.utexas.net"


Re: Problems with ssh and X

2004-12-16 Thread Jean-Sebastien Trottier
Hi Christian,

If I recall my past life properly, -Y (X11ForwardingTrusted) does not
enable -X (X11Forwarding)...

Try this instead:
ssh -X -Y -l username remotemachine

Also, when you get bored of using command-line options, read 'man
ssh_config'

G'day,
JST

On Thu, Dec 16, 2004 at 09:49:49AM +, Dr Christian Hicks wrote:
> First, please accept my apologies for send my message
> to the wrong list. Thanks to Igor for suggesting the
> FAQ list. I have now tried:
> 
> ssh -Y -l username remotemachine
> 
> I now get the error message:
> 
> connect 212.159.18.214 port 6000 Connection refused.
> 
> (the IP address is the static IP address provided by my ISP)
> There is still nothing in the log of my Netgear NG834G firewall
> or the ZoneAlarm log. I shutdown Zone alarm and the same thing
> happened.
> 
> Any thoughts or suggestions would be gratefully received.
> 
> Many thanks,
> Chris.
> 
> Dr Christian Hicks
> Senior Lecturer,
> Director of Postgraduate Training,
> School of Mechanical & Systems Engineering,
> Stephenson Building,
> University of Newcastle upon Tyne,
> NE1 7RU.
> Phone: +44 191 222 6238
> Mobile 0796 398 9449
> Fax: + 44 191 222 8600
> Homepage: http://www.staff.ncl.ac.uk/chris.hicks
> 


Re: default font size

2004-12-16 Thread Alexander Gottwald
On Thu, 16 Dec 2004, Josef Dalcolmo wrote:

> Hello,
> 
> the default font size within the xterm, that comes up on the default 
> installation of Cygwin is tiny. I would generally prefer a larger size. How 
> do I increase the font size? (there is no XF86Config file any more).

select another font

xterm -fn 7x13 or xterm -fn 12x24

fontnames can be listed with xlsfonts

or xterm -fa "Courier" -fs 12

fontnames can be listed with fs-list

adding -dpi 100 to the XWin commandline may help too (and installing the 
xorg-x11-f100 package)

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: default font size

2004-12-16 Thread Thomas Dickey
On Thu, 16 Dec 2004, Josef Dalcolmo wrote:
Hello,
the default font size within the xterm, that comes up on the default 
installation of Cygwin is tiny. I would generally prefer a larger size. 
How do I increase the font size? (there is no XF86Config file any more).
The default font size for xterm is normally the alias "fixed".
That can be set by a resource value (see the manpage).
The available fonts can be listed with xlsfonts.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


Re: cygwin

2004-12-16 Thread Christopher Faylor
On Wed, Dec 15, 2004 at 10:09:32PM -0700, MP wrote:
>please add me to mailing list..  I am having nothing but problems with
>this

The ability to add yourself to the mailing list is well-tested.  You can
think of it as an entrance examination if you want.  No one is going to
do this for you.


default font size

2004-12-16 Thread Josef Dalcolmo
Hello,

the default font size within the xterm, that comes up on the default 
installation of Cygwin is tiny. I would generally prefer a larger size. How do 
I increase the font size? (there is no XF86Config file any more).

- Josef


Re: Problems with ssh and X

2004-12-16 Thread Alexander Gottwald
On Thu, 16 Dec 2004, Dr Christian Hicks wrote:

> The remote machine is running SunOs 5.7 on a sparc SUNW,Ultra-4.

When doing X11Forwarding the DISPLAY variable should point to
localhost:10.0 (or higher numbers) or is unset if X11Forwarding
does not work. In your case it is set to remotehost:0.0 which
is wrong. Find the place where the DISPLAY variable is set and
prevent it.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Problems with ssh and X

2004-12-16 Thread Dr Christian Hicks
The remote machine is running SunOs 5.7 on a sparc SUNW,Ultra-4.
Best regards,
Chris.

Dr Christian Hicks
Senior Lecturer,
Director of Postgraduate Training,
School of Mechanical & Systems Engineering,
Stephenson Building,
University of Newcastle upon Tyne,
NE1 7RU.
Phone: +44 191 222 6238
Mobile 0796 398 9449
Fax: + 44 191 222 8600
Homepage: http://www.staff.ncl.ac.uk/chris.hicks


Re: Problems with ssh and X

2004-12-16 Thread Alexander Gottwald
On Thu, 16 Dec 2004, Dr Christian Hicks wrote:

> First, please accept my apologies for send my message
> to the wrong list. Thanks to Igor for suggesting the
> FAQ list. I have now tried:
> 
> ssh -Y -l username remotemachine
> 
> I now get the error message:
> 
> connect 212.159.18.214 port 6000 Connection refused.
> 
> (the IP address is the static IP address provided by my ISP)
> There is still nothing in the log of my Netgear NG834G firewall
> or the ZoneAlarm log. I shutdown Zone alarm and the same thing
> happened.

Which unix you're connecting too? Gentoo does set the DISPLAY
variable to the remote ip and breaks X11 Forwarding.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Problems with ssh and X

2004-12-16 Thread Dr Christian Hicks
First, please accept my apologies for send my message
to the wrong list. Thanks to Igor for suggesting the
FAQ list. I have now tried:

ssh -Y -l username remotemachine

I now get the error message:

connect 212.159.18.214 port 6000 Connection refused.

(the IP address is the static IP address provided by my ISP)
There is still nothing in the log of my Netgear NG834G firewall
or the ZoneAlarm log. I shutdown Zone alarm and the same thing
happened.

Any thoughts or suggestions would be gratefully received.

Many thanks,
Chris.

Dr Christian Hicks
Senior Lecturer,
Director of Postgraduate Training,
School of Mechanical & Systems Engineering,
Stephenson Building,
University of Newcastle upon Tyne,
NE1 7RU.
Phone: +44 191 222 6238
Mobile 0796 398 9449
Fax: + 44 191 222 8600
Homepage: http://www.staff.ncl.ac.uk/chris.hicks