RE: Need help to replicate old behavior of my X setup scripts with latest Xfree86 update

2015-01-09 Thread Benjamin Richards
> -Original Message-
> From: Marco Atzeri [mailto:marco.atz...@gmail.com]
> Sent: Tuesday, December 23, 2014 2:17 PM
> To: cygwin-xfree@cygwin.com
> Subject: Re: Need help to replicate old behavior of my X setup scripts with
> latest Xfree86 update
> 
> 
> 
> 
> try putting "sleep inf" in .startxwinrc
> It should simulate the old behaviour
> 
> Regards

Thanks for the suggestion.

I actually figured out something similar. I launched fbpanel instead with this 
command:
exec /usr/bin/fbpanel -p multiwindow

I also discovered that the X server is not always opened on display 0, which I 
wanted to force, so I did some digging and found I can do that by creating a 
~/.xserverrc file to change how it launches the X server. I put this in the 
file instead:
/usr/bin/XWin :0 -multiwindow -nolisten tcp

I don’t need external connections as I’m primarily using the X server for local 
programs or with ssh -Y, so the nolisten switch works fine for me.

I also didn’t want xterm to start up at launch, so I had to create an empty 
~/.Xclients file.

Finally, I had change my startup script so that, if the X server isn't running 
yet, it would launch startxwin in the background and loop until it sees the 
fbpanel process in the process list, or time out (after 30 seconds). If it sees 
the process start, it sets up my configurations as before.

It works, albeit not as cleanly as before. I get the extra icon in my taskbar 
for fbpanel since it’s running, and I see the job number get echoed out to the 
terminal when it backgrounds the startxwin script. It also takes longer to 
start since I’m launching fbpanel on top of the server, though I suppose 
putting the sleep command would alleviate some of that. I’ll look into it. 
Thanks!

Sincerely,

Benjamin Richards



--
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: Need help to replicate old behavior of my X setup scripts with latest Xfree86 update

2014-12-24 Thread Jacob Niehus

On Tue, Dec 23, 2014 at 08:17:21PM +0100, Marco Atzeri wrote:

try putting "sleep inf" in .startxwinrc
It should simulate the old behaviour


Running sleep or any command from .startxwinrc adds an icon to the Win7
taskbar now (I'm referring specifically to the part of the taskbar
showing icons for running appliecations, not the tray - it's always been
in the tray and that's fine). Is there are any to keep the X server
running without the extra clutter after these new changes?

Thanks,
Jake

--
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: Need help to replicate old behavior of my X setup scripts with latest Xfree86 update

2014-12-23 Thread Marco Atzeri



On 12/23/2014 7:24 PM, Ben Richards wrote:

Up until the recent update to xinit-1.3.4-1 which overhauled X session
handling, I had my session set up nicely for my purposes. With the
following code in my .zshrc and an empty .startxwinrc, when I launched
Cygwin, Xwin.exe would start on display :0.0, it would set the
$DISPLAY variable, and automatically kill the X server when I exited
that terminal. I like mintty so this let me use that as my shell.

.zshrc contents:
=
startxwin &> xserver.log
x_start_success=$?
if [[ $x_start_success == 0 ]]; then
export DISPLAY=:0.0

pid=`ps | grep '/usr/bin/XWin' | awk '{print $1;}'`
alias kill_xwin="kill $pid"
if [[ $TMUX == "" ]] && [[ $x_start_success == 0 ]]; then
 alias exit="kill $pid ; \exit"
fi
fi

The aforementioned update disrupted this flow so I’m wondering if
anyone has any suggestions on how I can regain a similar sort of
functionality. I don’t like using xterm in Cygwin and would like to
keep using mintty as my main terminal interface.


try putting "sleep inf" in .startxwinrc
It should simulate the old behaviour

Regards

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



Need help to replicate old behavior of my X setup scripts with latest Xfree86 update

2014-12-23 Thread Ben Richards
Up until the recent update to xinit-1.3.4-1 which overhauled X session
handling, I had my session set up nicely for my purposes. With the
following code in my .zshrc and an empty .startxwinrc, when I launched
Cygwin, Xwin.exe would start on display :0.0, it would set the
$DISPLAY variable, and automatically kill the X server when I exited
that terminal. I like mintty so this let me use that as my shell.

.zshrc contents:
=
startxwin &> xserver.log
x_start_success=$?
if [[ $x_start_success == 0 ]]; then
   export DISPLAY=:0.0

   pid=`ps | grep '/usr/bin/XWin' | awk '{print $1;}'`
   alias kill_xwin="kill $pid"
   if [[ $TMUX == "" ]] && [[ $x_start_success == 0 ]]; then
alias exit="kill $pid ; \exit"
   fi
fi

The aforementioned update disrupted this flow so I’m wondering if
anyone has any suggestions on how I can regain a similar sort of
functionality. I don’t like using xterm in Cygwin and would like to
keep using mintty as my main terminal interface. Before, when I ran
startxwin it would launch the server and quit with an error status as
to whether it was successful or not, leaving Xwin.exe running in the
background. Now it stays in the foreground unless I specify otherwise.
However, my startup script relied on the assumption that Xwin.exe was
running by the time startxwinrc finished, which I cannot guarantee if
I run it as a background task. It also used the exit status where if
it was nonzero, I could assume that I already had X running and it
wouldn’t kill the server if I typed ‘exit’ to exit any subsequent
mintty windows I launched with Alt+F2.

I've tried various configurations and read through the man pages but
haven’t come up with an elegant solution other than the idea of
looping on the ‘ps’ until I see Xwin.exe in the list. Is there a
better way?

Sincerely,

Benjamin Richards

--
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: Need help gathering log data for gretl_x11 v1.9.7 crashing in Cygwin 1.7.11

2012-03-14 Thread Yaakov (Cygwin/X)

On 2012-03-14 01:14, Chloe wrote:

When I run gretl and click File>  New Dataset>  Ok>  Forward>  Apply, gretl
crashes and dissapears, leaving no core or log. There is nothing in
/var/log/xwin/XWin.0.log either (that gretl creates). How do I collect
debugging information to submit a bug report?

To reproduce, build and run gretl : http://gretl.sourceforge.net/


WFM.


Yaakov
Cygwin/X

--
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: Need help gathering log data for gretl_x11 v1.9.7 crashing in Cygwin 1.7.11

2012-03-14 Thread marco atzeri

On 3/14/2012 7:14 AM, Chloe wrote:

When I run gretl and click File>  New Dataset>  Ok>  Forward>  Apply, gretl
crashes and dissapears, leaving no core or log. There is nothing in
/var/log/xwin/XWin.0.log either (that gretl creates). How do I collect
debugging information to submit a bug report?

To reproduce, build and run gretl : http://gretl.sourceforge.net/

I searched the archives for gretl but found nothing:
http://sourceware.org/cgi-bin/search.cgi?wm=wrd&form=extended&m=all&s=D&ul=%2Fml%2Fcygwin-xfree%2F%25&q=gretl




start with strace and check also with gdb.


Regards
Marco


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



Need help gathering log data for gretl_x11 v1.9.7 crashing in Cygwin 1.7.11

2012-03-13 Thread Chloe
When I run gretl and click File > New Dataset > Ok > Forward > Apply, gretl 
crashes and dissapears, leaving no core or log. There is nothing in 
/var/log/xwin/XWin.0.log either (that gretl creates). How do I collect 
debugging information to submit a bug report?

To reproduce, build and run gretl : http://gretl.sourceforge.net/

I searched the archives for gretl but found nothing:
http://sourceware.org/cgi-bin/search.cgi?wm=wrd&form=extended&m=all&s=D&ul=%2Fml%2Fcygwin-xfree%2F%25&q=gretl
 


--
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: need help to startx

2010-01-03 Thread Yaakov (Cygwin/X)

On 03/01/2010 20:52, eric lin wrote:

   X Win was started with the following command-line
   X: 0-multiwindow


Your spacing is off.  That needs to be:

X :0 -multiwindow

But I strongly recommend you install the xinit package (in the X11 
category), which includes startxwin and a Start Menu shortcut for 
starting XWin in multiwindow mode.



Yaakov
Cygwin/X

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



need help to startx

2010-01-03 Thread eric lin
Dear cygwin programers:
 
  I am pretty novice of cygwin, I did not know what is exact package I need to 
download for to start X window.  so I download by some guessing.
the result is 
 
  a fatal error has occured and cygwin/X will now exit
  1.7.3.0(10703000)
  Build Date: 2009-12-22
  X Win was started with the following command-line
  X: 0-multiwindow
 
(shell is runing)(from shell I type startx, again failed)
please help( I will contribute I promised after I get x window), thanks in 
advance, eric

--
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: Need help

2008-08-21 Thread Scott Fordin

Hi, Shahed,

You need to use xhost in the Windows xterm to enable remote
clients (in this case, the Solaris box) to connect to the
Cygwin X server. You may also need to enable localhost to
connect as well. Specifically:

xhost +
xhost +localhost

You could also just do an xhost +, but that opens up your
display to everyone, so I don't recommend it. You also need
to make sure that X forwarding is enabled on the Windows
side. There are a number of different ways to do this, but
here's what I do to export the display of a Solaris app to
a Windows machine:

   1. (Windows) Open a Cygwin bash shell.

   2. (Windows) Start the Cygwin X server and an xterm
  with the startx command.

   3. (Windows) Allow connections to the Cygwin X server
  with the xhost command, as described above.

   4. (Windows) Connect to the Solaris machine with

 ssh -X  -l 

   4. (Solaris) (optional) You shouldn't have to do this
  because you used -X with ssh, but depending on the
  Solaris app you're trying to display on your Windows
  system, you may need to explicitly export the Solaris
  display; for example, if you're using a C shell:

 setenv DISPLAY :0.0

   5. (Solaris) Launch your app through the ssh connection,
  and it should display on the Windows machine.

Hope this helps,

Scott

Shahed Hussain wrote:

Dear Concern,

I need a help to login to a solaris machine using cygwin. As far as I know, the command "x -query IP_ADDRESS" should bring the window of the solaris machine in to the window machine. 


Can you please tell me what program has to be run in the solaris machine to 
enable this facility

waiting for your feedback...

BR // Shahed


  


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



Need help

2008-08-21 Thread Shahed Hussain
Dear Concern,

I need a help to login to a solaris machine using cygwin. As far as I know, the 
command "x -query IP_ADDRESS" should bring the window of the solaris machine in 
to the window machine. 

Can you please tell me what program has to be run in the solaris machine to 
enable this facility

waiting for your feedback...

BR // Shahed


  

--
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: I need help to configure Norton Firewall 2005

2005-12-15 Thread Robert Body

Oops, you did say you have Norton 2005.

I paid for it in Sept, then 2006 came out, and I called them 2 months later 
and asked to upgrade to 2006, and they refunded me the yearly subscription, 
and gave me website address to go to:

something like www.symantec.com/upgrade

where you get a reduced price ($50 vs $70)

Norton 2006 I find less system-bogging, but still i feel the effect with my 
1 gig Ram and P4-3gig.
I would recommend researching Norton 2006 option, it might be the easiest 
way to fix your present and future problems. It feels different from 2005 
version that i used (free for 3 months since May, then paide for it in Sept)


-Robert



From: "m. z." <[EMAIL PROTECTED]>
Reply-To: cygwin-xfree@cygwin.com
To: cygwin-xfree@cygwin.com
Subject: I need help to configure Norton Firewall 2005
Date: Thu, 15 Dec 2005 15:44:17 +

I have Norton Internet security 2005 and I installed cygwin cygwin/x.
In the firewall configuration in the programs menu I added manually 
Xwin.exe.
The cygwin or cygwin/x start only if I am not connected to internet, but if 
I connect to internet, the windows appears (the xterm for example), but the 
prompt for the command line does not appear, so I cannot work. That mean 
that the firewall is stopping something. In fact if I stop the firewall 
everithing works.
If someone has Norton, please say to me how to make the configuration. 
Thank you




--
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: I need help to configure Norton Firewall 2005

2005-12-15 Thread Robert Body

Hi M.Z.,

I have Norton Security 2006 and i didn't do anything special for cygwin.
I had internet connection up and running, and installed cygwin and X, and at 
some point Norton Firewall came up asking if I give permission to the 
individual components like "ssh" or "icewm" or even "setup.exe". I just said 
"Yes, always".


Which Norton version do you have? (not that I can help with that, but others 
who can, would want to know which version you're using)


-Robert


From: "m. z." <[EMAIL PROTECTED]>
Reply-To: cygwin-xfree@cygwin.com
To: cygwin-xfree@cygwin.com
Subject: I need help to configure Norton Firewall 2005
Date: Thu, 15 Dec 2005 15:44:17 +

I have Norton Internet security 2005 and I installed cygwin cygwin/x.
In the firewall configuration in the programs menu I added manually 
Xwin.exe.
The cygwin or cygwin/x start only if I am not connected to internet, but if 
I connect to internet, the windows appears (the xterm for example), but the 
prompt for the command line does not appear, so I cannot work. That mean 
that the firewall is stopping something. In fact if I stop the firewall 
everithing works.
If someone has Norton, please say to me how to make the configuration. 
Thank you




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



I need help to configure Norton Firewall 2005

2005-12-15 Thread m. z.

I have Norton Internet security 2005 and I installed cygwin cygwin/x.
In the firewall configuration in the programs menu I added manually 
Xwin.exe.
The cygwin or cygwin/x start only if I am not connected to internet, but if 
I connect to internet, the windows appears (the xterm for example), but the 
prompt for the command line does not appear, so I cannot work. That mean 
that the firewall is stopping something. In fact if I stop the firewall 
everithing works.
If someone has Norton, please say to me how to make the configuration. Thank 
you




--
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: I need help with cygwin.

2005-09-24 Thread Jack Tanner

[EMAIL PROTECTED] wrote:

I don't know what is wrong with my cygwin. After I install cygwin and type
startx in the command line. A error have accurred, it says that a fatal error
has occurred and Cygwin/x will now exit. Xwin was started with following
command-line:
X :0 -multiwindow-clipboard
Can you help me.
thank you.


http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-fatal-error


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



I need help with cygwin.

2005-09-24 Thread fxiong
I don't know what is wrong with my cygwin. After I install cygwin and type
startx in the command line. A error have accurred, it says that a fatal error
has occurred and Cygwin/x will now exit. Xwin was started with following
command-line:
X :0 -multiwindow-clipboard
Can you help me.
thank you.




--
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: Need Help for XWin problem

2005-05-19 Thread Alexander Gottwald
Chuck Pak wrote:

>
> Hello,
> I am new to this cygwinX and I am trying to make XWin work through SUN
> Solaris remote server
> My local PC is Sony VAIO notebook with MS XP Pro SP2
> And startx and telnet works fine but not XWin
> I've been searching FAQ for a while and tried them too.
> BTW, how can I change "Owner of /tmp/.X11-unix should be set to root"?

You can not fix this unless you switch to an operating system with full unix
user managment and run XWin as root.

>
> Fatal server error:
> XDMCP fatal error: Session failed Session 14 failed for display
> 1xx.xx.xx.xxx:0: Cannot open display

Check the FAQ. The -from parameter might be of great interest
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#xdmcp

bye
ago

NP: SITD - Plastination City
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


Need Help for XWin problem

2005-05-19 Thread Chuck Pak

(BHello,
(BI am new to this cygwinX and I am trying to make XWin work through SUN
(BSolaris remote server
(BMy local PC is Sony VAIO notebook with MS XP Pro SP2
(BAnd startx and telnet works fine but not XWin
(BI$B!G(Bve been searching FAQ for a while and tried them too.
(BBTW, how can I change $B!H(BOwner of /tmp/.X11-unix should be set to 
(Broot$B!I(B?
(BThanks for your help in advance
(B
$B(BBest Regards
$B(BChuck Pak
(B
(BXWin.log
(BWelcome to the XWin X Server
(BVendor: The Cygwin/X Project
(BRelease: 6.8.2.0-2
(B
(BContact: cygwin-xfree@cygwin.com
(B
(BXWin was started with the following command line:
(B
(BXWin -query 1xx.xx.xx.xx (IP address is for my customer SUN server)
(B
(BddxProcessArgument - Initializing default screens
(BwinInitializeDefaultScreens - w 1024 h 768
(BwinInitializeDefaultScreens - Returning
(B_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(B(II) XF86Config is not supported
(B(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more
(Binformation
(B(==) FontPath set to
(B"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6
(B/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/f
(Bonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(BMIT-SHM extension disabled due to lack of kernel support
(BXFree86-Bigfont extension local-client optimization disabled due to lack
(Bof shared memory support in the kernel
(B(--) Setting autorepeat to delay=500, rate=31
(B(II) Loading US keyboard layout.
(B(--) winConfigKeyboard - Layout: "E0210411" (0411) 
(B(--) Using preset keyboard for "Japanese" (411), type "7"
(B(--) 3 mouse buttons found
(BCould not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
(Bfrom list!
(B
(BFatal server error:
(BXDMCP fatal error: Session failed Session 14 failed for display
(B1xx.xx.xx.xxx:0: Cannot open display
(B
(BwinDeinitMultiWindowWM - Noting shutdown in progress

Re: need help - X11/Xlib.h

2004-04-26 Thread Sergiy Zuban
Probably it's in xorg-x11-devel (?)
pls, discard my previous email.

Best regards,
Sergiy Zuban
--
Monday, April 26, 2004, 6:58:44 PM, you wrote:
> Hello there,

> I'll be appreciate if you help me:
> What cygwin package I should install to get X11/Xlib.h installed (i can't find it 
> now)??

> Thanks.

> Best regards,
> Sergiy Zuban



Re: need help - X11/Xlib.h

2004-04-26 Thread Harold L Hunt II
xorg-x11-devel

Sergiy Zuban wrote:

Hello there,

I'll be appreciate if you help me:
What cygwin package I should install to get X11/Xlib.h installed (i can't find it 
now)??
Thanks.

Best regards,
Sergiy Zuban



need help - X11/Xlib.h

2004-04-26 Thread Sergiy Zuban
Hello there,

I'll be appreciate if you help me:
What cygwin package I should install to get X11/Xlib.h installed (i can't find it 
now)??

Thanks.

Best regards,
Sergiy Zuban



Re: Need help on cygwin

2004-03-08 Thread Harold L Hunt II
Steve,

Try this:

http://x.cygwin.com/docs/faq/cygwin-xfree-faq.html#microsoft-services-for-unix

Harold

Steve Lee wrote:

Hi all,
 
I need some help, I was able to start X server. After
the X server was started, the GUI came up, but I was
unable to type anything. 
 
 
Thanks.
 
 
--
PL

__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com


Need help on cygwin

2004-03-08 Thread Steve Lee
Hi all,
 
I need some help, I was able to start X server. After
the X server was started, the GUI came up, but I was
unable to type anything. 
 
 
Thanks.
 
 
--
PL


__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com


Re: Xterm: need HELP to configure it properly

2003-08-25 Thread Alexey Lyubimov
Harold,
I don't use any Windows Power Toys on my box. But it is not very fast: 
Celeron 466/92 Mbytes RAM/Matrox G200 4Mb
Alexey
 
>Alexey,
>
>There is likely something else wrong with your system. I have never seen 
your problem reported before. Do you have any Windows Power Toys 
installed? Some of >those have been reported to cause problems. Also, do 
you have any keyboard utility programs installed? How fast is your 
machine (speed may play a factor in whether >or not this problem shows 
up).
>
>Harold
>
>
>After the first-time install of  X, I have found that I need to press 
 key TWICE when I want to run any command in the Xterm console.
>It was a surprise for me. So my question is:
>What should I do to force Xterm act like usual bash shell: I mean how to 
type a command and press  _once_ to run it?
>
>Thank you,
>Alexey Lyubimov 


Re: Xterm: need HELP to configure it properly

2003-08-25 Thread Harold L Hunt II
Alexey,

There is likely something else wrong with your system.  I have never 
seen your problem reported before.  Do you have any Windows Power Toys 
installed?  Some of those have been reported to cause problems.  Also, 
do you have any keyboard utility programs installed?  How fast is your 
machine (speed may play a factor in whether or not this problem shows up).

Harold

Alexey Lyubimov wrote:

After the first-time install of  X, I have found that I need to press 
 key TWICE when I want to run any command in the Xterm console.
It was a surprise for me. So my question is:
What should I do to force Xterm act like usual bash shell: I mean how to 
type a command and press  _once_ to run it?
 
Thank you,
Alexey Lyubimov 



Xterm: need HELP to configure it properly

2003-08-25 Thread Alexey Lyubimov
After the first-time install of  X, I have found that I need to press 
 key TWICE when I want to run any command in the Xterm console.
It was a surprise for me. So my question is:
What should I do to force Xterm act like usual bash shell: I mean how to 
type a command and press  _once_ to run it?
 
Thank you,
Alexey Lyubimov 


Re: Need help unsubscribing

2003-08-14 Thread Christopher Faylor
On Wed, Aug 06, 2003 at 01:19:22PM -0600, Tim Heath wrote:
>I have been doing that, it is not working.  What can I do to prove this 
>to you?

Follow the directions that I provided.  They will work.  In the extremely
unlikely event that they don't work, you'll be directed to the proper
place to report your problems and you'll know the proper information to
provide.

cgf

>On Wed, Aug 06, 2003 at 01:03:21PM -0400, Harold L Hunt II wrote:
>>Tim,
>>
>>Go all the way to the bottom of the following page and send in an
>unsubscribe request.  You then reply to that message and you will be
>>unsubscribed.
>>
>>http://cygwin.com/lists.html
>
>If that doesn't work, go here and progress all the way through step 5
>if needed:
>
>http://sources.redhat.com/lists.html#unsubscribe-simple



Re: Need help unsubscribing

2003-08-14 Thread Christopher Faylor
On Wed, Aug 06, 2003 at 01:03:21PM -0400, Harold L Hunt II wrote:
>Tim,
>
>Go all the way to the bottom of the following page and send in an 
>unsubscribe request.  You then reply to that message and you will be 
>unsubscribed.
>
>http://cygwin.com/lists.html

If that doesn't work, go here and progress all the way through step 5
if needed:

http://sources.redhat.com/lists.html#unsubscribe-simple
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com


Need help unsubscribing

2003-08-12 Thread Tim Heath
I have followed the directions to the best of my ability and still 
cannot get unsubscribed from this emailing list.  Can someone help me 
please?

Thanks,

Tim Heath

P.S.

It is a great list, just have too much work right now to read all of it.




Re: Need help unsubscribing

2003-08-08 Thread Tim Heath
I have been doing that, it is not working.  What can I do to prove this 
to you?

Tim

Harold L Hunt II wrote:

Tim,

Go all the way to the bottom of the following page and send in an 
unsubscribe request.  You then reply to that message and you will be 
unsubscribed.

http://cygwin.com/lists.html

Harold

Tim Heath wrote:

I have followed the directions to the best of my ability and still 
cannot get unsubscribed from this emailing list.  Can someone help me 
please?

Thanks,

Tim Heath

P.S.

It is a great list, just have too much work right now to read all of it.










Re: Need help unsubscribing

2003-08-06 Thread Harold L Hunt II
Tim,

Go all the way to the bottom of the following page and send in an 
unsubscribe request.  You then reply to that message and you will be 
unsubscribed.

http://cygwin.com/lists.html

Harold

Tim Heath wrote:

I have followed the directions to the best of my ability and still 
cannot get unsubscribed from this emailing list.  Can someone help me 
please?

Thanks,

Tim Heath

P.S.

It is a great list, just have too much work right now to read all of it.





Re: Need help with a glu problem

2003-04-02 Thread Brian Ford
On Wed, 02 Apr 2003, Gary Pekmezi wrote:

> might it have something to do with the fact that glut.a is in
> /lib/w32api
>

Bingo!

There is currently no libglut supplied for use with X.  I am working in my
spare time to change that, but don't hold your breath.

Recap:

For X:
-I /usr/X11R6/include -L /usr/X11R6/lib -lGLU -lGL

For native:
-lgluix -lglui -lglut32 -lglu32 -lopengl32
and see /usr/doc/opengl-1.1.0/README

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444




Re: Need help with a glu problem

2003-04-02 Thread Gary Pekmezi
Thanks for the reply. I actually figured out this too; somewhere in the
makefile, cc was used instead of gcc. 
My newest problem involves a statement about undefined references to
routines in glut.h. Everywhere a glut function is called there is an
undefined reference error(might it have something to do with the fact
that glut.a is in /lib/w32api). I promise to quit posting if this turns
out to be another simple mistake on my part.




"Gerald Pekmezi" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> I am trying to build a finite element program from source. All goes 
> well until I get the following error message:
> 
> gcc -O2 -Wall -I./ -I/usr/include -I/usr/X11R6/include -c -o 
> setFunktions.o setFunktions.c
> cc1: warning: changing search order for system directory 
> "/usr/include"
> cc1: warning: as it has already been specified as a non-system
directory
> setFunktions.c: In function `drawNurl_plot':
> setFunktions.c:1286: `GLU_ERROR' undeclared (first use in this
function)
> setFunktions.c:1286: (Each undeclared identifier is reported only once
> setFunktions.c:1286: for each function it appears in.)
> setFunktions.c:1286: warning: passing arg 3 of `gluNurbsCallback' from
> incompatible pointer type
> setFunktions.c: In function `drawNurs_plot':
> setFunktions.c:1353: `GLU_ERROR' undeclared (first use in this
function)
> setFunktions.c:1353: warning: passing arg 3 of `gluNurbsCallback' from
> incompatible pointer type
> setFunktions.c: In function `senddata':
> setFunktions.c:5985: warning: passing arg 4 of `qsort' from
incompatible
> pointer type
> setFunktions.c:6054: warning: passing arg 4 of `qsort' from
incompatible
> pointer type
> make: *** [setFunktions.o] Error 1
> 
> I can see where GLU_ERROR is defined in /usr/X11R6/include/GL/glu.h so

> I don't understand the reason for the error. Thanks in advance for any

> help
> 
> 
> 
> 


Re: Need help with a glu problem

2003-04-02 Thread Gary Pekmezi
I found the solution to this particular problem. I deleted /usr/include
and kept /usr/X11R6/include in my makefile. Now if I could only figure
out what "make error 255" is.



"Gerald Pekmezi" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> I am trying to build a finite element program from source. All goes 
> well until I get the following error message:
> 
> gcc -O2 -Wall -I./ -I/usr/include -I/usr/X11R6/include -c -o 
> setFunktions.o setFunktions.c
> cc1: warning: changing search order for system directory 
> "/usr/include"
> cc1: warning: as it has already been specified as a non-system
directory
> setFunktions.c: In function `drawNurl_plot':
> setFunktions.c:1286: `GLU_ERROR' undeclared (first use in this
function)
> setFunktions.c:1286: (Each undeclared identifier is reported only once
> setFunktions.c:1286: for each function it appears in.)
> setFunktions.c:1286: warning: passing arg 3 of `gluNurbsCallback' from
> incompatible pointer type
> setFunktions.c: In function `drawNurs_plot':
> setFunktions.c:1353: `GLU_ERROR' undeclared (first use in this
function)
> setFunktions.c:1353: warning: passing arg 3 of `gluNurbsCallback' from
> incompatible pointer type
> setFunktions.c: In function `senddata':
> setFunktions.c:5985: warning: passing arg 4 of `qsort' from
incompatible
> pointer type
> setFunktions.c:6054: warning: passing arg 4 of `qsort' from
incompatible
> pointer type
> make: *** [setFunktions.o] Error 1
> 
> I can see where GLU_ERROR is defined in /usr/X11R6/include/GL/glu.h so

> I don't understand the reason for the error. Thanks in advance for any

> help
> 
> 
> 
> 


Need help with a glu problem

2003-04-02 Thread Gerald Pekmezi
I am trying to build a finite element program from source. All goes well
until I get the following error message:

gcc -O2 -Wall -I./ -I/usr/include -I/usr/X11R6/include -c -o
setFunktions.o setFunktions.c
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
setFunktions.c: In function `drawNurl_plot':
setFunktions.c:1286: `GLU_ERROR' undeclared (first use in this function)
setFunktions.c:1286: (Each undeclared identifier is reported only once
setFunktions.c:1286: for each function it appears in.)
setFunktions.c:1286: warning: passing arg 3 of `gluNurbsCallback' from
incompatible pointer type
setFunktions.c: In function `drawNurs_plot':
setFunktions.c:1353: `GLU_ERROR' undeclared (first use in this function)
setFunktions.c:1353: warning: passing arg 3 of `gluNurbsCallback' from
incompatible pointer type
setFunktions.c: In function `senddata':
setFunktions.c:5985: warning: passing arg 4 of `qsort' from incompatible
pointer type
setFunktions.c:6054: warning: passing arg 4 of `qsort' from incompatible
pointer type
make: *** [setFunktions.o] Error 1

I can see where GLU_ERROR is defined in /usr/X11R6/include/GL/glu.h so I
don't understand the reason for the error.
Thanks in advance for any help





Re: Need help with ssh -X error message.

2002-12-24 Thread Alexander Gottwald
Booker wrote:

> Aloha,
> 
> When I connect to server using ssh -X ... I can log in fine, but when I
> log in an error message is displayed:
> 
> Warning: No xauth data; using fake authentication data for X11
^^
> forwarding.
> 
> but I continue with my log in and get into my shell.  I can run xclients
> fine and they tunnel back over the ssh connection.  But I am confused as
> to why I get that error message and everything still works.

It's not an error. It's a warning. By default the xserver is not setup to 
use the authentication cookies. ssh normally uses these cookies. But if none
is set, ssh will print this warning

bye
ago

NP: grauzone.02-12-23
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723




Need help with ssh -X error message.

2002-12-23 Thread Booker
Aloha,

When I connect to server using ssh -X ... I can log in fine, but when I
log in an error message is displayed:

Warning: No xauth data; using fake authentication data for X11
forwarding.

but I continue with my log in and get into my shell.  I can run xclients
fine and they tunnel back over the ssh connection.  But I am confused as
to why I get that error message and everything still works.

Booker

MELE KALIKIMAKA to everyone also!  http://64.224.244.55/




Re: have cygwin/XFree86 running ... but need help connecting remotely

2002-11-19 Thread Rasjid Wilcox
On Wed, 20 Nov 2002 1:59 am, Kenn Murrah wrote:
> Greetings ...
>
> Okay, I know I should be able to understand this from the documentation,
> but I don't ...
>
> I've installed CygwinXFree86 on my windows box ... I can double-click the
> shortcut on the desktop to run the program, and I can run startxwin.sh,
> startx, etc. ...
>
> but how do i connect to a remote box?  I want to connect to a linux box on
> my network, and I'm puzzled about how to make that happen.
>
> Can anyone provide this elementary help to me?

Depends on what type of connection you want?

Did you just want to ssh into the box, or did you want to set up XDMCP.

If you just want to ssh, then type
$ ssh [EMAIL PROTECTED]

If you want to ssh and forward the X session over ssh, then
$ ssh -X [EMAIL PROTECTED]

If you want XDMCP, then I would suggest reading the Linux XDMCP howto.  
http://www.tldp.org/HOWTO/XDMCP-HOWTO/

Also see the Cygwin-XFree86 FAQ etc. http://xfree86.cygwin.com/docs/

Cheers,

Rasjid.




have cygwin/XFree86 running ... but need help connecting remotely

2002-11-19 Thread Kenn Murrah
Greetings ...

Okay, I know I should be able to understand this from the documentation, but
I don't ...

I've installed CygwinXFree86 on my windows box ... I can double-click the
shortcut on the desktop to run the program, and I can run startxwin.sh,
startx, etc. ...

but how do i connect to a remote box?  I want to connect to a linux box on
my network, and I'm puzzled about how to make that happen.

Can anyone provide this elementary help to me?

Thanks in advance,

kenn







RE: Need help

2002-10-19 Thread Jean-Claude Gervais
http://themes.freshmeat.net/articles/view/465/


-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner@;cygwin.com]On
Behalf Of Carlton Teel
Sent: Friday, October 18, 2002 4:08 PM
To: [EMAIL PROTECTED]
Subject: Need help

Greetings all,

I have been trying to locate the steps needed to use the fvwm
distributed with Cygwin, but I have not found the silver bullet yet.
Can you point to where I need to look or provide me with the necessary
steps?   Once fvwm is in place, how do I integrate in another theme for
fvwm to use?

Your assistance would be greatly appreciated :)

BTW - Thanks for providing this product!

Carlton




Need help

2002-10-18 Thread Carlton Teel
Greetings all,

I have been trying to locate the steps needed to use the fvwm
distributed with Cygwin, but I have not found the silver bullet yet.
Can you point to where I need to look or provide me with the necessary
steps?   Once fvwm is in place, how do I integrate in another theme for
fvwm to use?

Your assistance would be greatly appreciated :)

BTW - Thanks for providing this product!

Carlton

begin:vcard 
n:Teel;Carlton
tel;fax:972-231-5704
tel;work:972-231-5702 x206
x-mozilla-html:FALSE
url:www.signal-analysis.com
org:Innovative Signal Analysis, Inc.
version:2.1
email;internet:[EMAIL PROTECTED]
title:Principal Engineer
adr;quoted-printable:;;3301 East Renner Road=0D=0ASuite 200;Richardson;TX;75082;USA
x-mozilla-cpt:;4552
fn:Carlton Teel
end:vcard



RE: need help scripting multiple xfree startups

2002-07-22 Thread Thomas Chadwick

Are you looking on the cygwin machine or on one of the remote machines?  It 
should be there on the cygwin machine.  I believe twm is packaged with the 
Xserver, so if you can run X, twm should be there and so should its config 
file in /usr/X11R6/lib/X11/twm.

Just in case it really is missing, I'll email you my copy (off-list).

>From: "Dennis Foreman" <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: RE: need help scripting multiple xfree startups
>Date: Mon, 22 Jul 2002 11:06:04 -0400
>
>I looked for:
>/usr/X11R6/lib/X11/twm/system.twmrc and can only find a 
>.../mwm/system.mwmrc
>
>Is there a relationship between mwm and twm? Can I use the mwm file instead
>of the twm file?
>
>I have gotten the RSA keys set up and working. My machine is in a secure
>area (home, no kids, no visitor access). The remote machine is also secure
>from general access.
>
>regards,
>D. J. Foreman
>website: http://WWW.CS.Binghamton.EDU/~foreman
>
>-Original Message-
>From: Thomas Chadwick [mailto:[EMAIL PROTECTED]]
>Sent: Monday, July 22, 2002 9:25 AM
>To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Subject: Re: need help scripting multiple xfree startups
>
>
> >From: "Dennis Foreman" <[EMAIL PROTECTED]>
> >Reply-To: <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Subject: need help scripting multiple xfree startups
> >Date: Sun, 21 Jul 2002 14:30:18 -0400
> >
>[snip]
> >
> >I need to repeat this 8 more times for each of 8 different machines. Is
> >there some way of automating this? (Yes, I know a script will do it. I 
>need
> >some detailed help on what to put in the script.) Especially eliminating
> >having to type a pw every time
>
>There is plenty of information about this in the ssh man page.  Here's a
>quick recipe:
>
>1) Open a Cygwin bash window and cd into ~/.ssh (if the directory doesn't
>exist, create it).
>2) Run "ssh-keygen -t rsa1".  Accept the default filename of 
>~/.ssh/identity
>and use a blank passphrase.  PROTECT THIS FILE!  Anyone who gets ahold of 
>it
>can use it as if they were you and gain access to systems without a 
>password
>or passphrase.  Consider yourself warned!
>3) FTP the resulting file named identity.pub onto each of the target 
>systems
>and put it in /tmp (DO NOT put it in ~/.ssh).
>4) On each remote system, append the contents of the identity.pub file to
>the file ~/.ssh/authorized_keys:
>
> cat /tmp/identity.pub >> ~/.ssh/authorized_keys
>
>5) At this point, you should be able to ssh to each remote system and get 
>in
>without being prompted for a password.
>
> >and clicking to establish the Xwindow on the
> >X desktop.
> >
> >regards,
> >D. J. Foreman
> >website: http://WWW.CS.Binghamton.EDU/~foreman
>
>I'd say you've already figured out most of this part.  To automatically
>launch an xterm and have it run a command on a remote machine, put the
>following command in your favorite X startup script (e.g. startxwin.bat,
>startxwin.sh, or .xinitrc) in the same section where you see other xterms
>being launched (I've put backslashes to indicate that this should all be on
>1 line):
>
>ssh -X -l remote_username remote_hostname \
>xterm -title "remote_username@remote_hostname" \
>-e remote_command
>
>If you're putting this in startxwin.bat, you may need to preceed it with
>"run" or "start" (I don't know for sure, I don't use that script).  If
>you're putting it in startxwin.sh or .xinitrc, append an ampersand ("&") to
>the end.
>
>Want it to act on 8 other machines?  Repeat the same command 8 more times
>with a different value for remote_machine each time.
>
>As for getting the xterm to place itself on your screen without having to
>click:  If you're using the default Window Manager twm, copy the file
>/usr/X11R6/lib/X11/twm/system.twmrc to ~/.twmrc.  Then edit ~/.twmrc and 
>add
>"RandomPlacement" on a line by itself towards the top of the file just 
>after
>the comments.  If you're using some other window manager, then consult its
>man page.
>
>
>_
>Send and receive Hotmail on your mobile device: http://mobile.msn.com




_
Chat with friends online, try MSN Messenger: http://messenger.msn.com




RE: need help scripting multiple xfree startups

2002-07-22 Thread Dennis Foreman

The geometry flag is perfect. It will allow me to put each window exactly
where I want it consistently. Thanks very much Thomas, for your friendly,
detailed assistance.

regards,
D. J. Foreman
website: http://WWW.CS.Binghamton.EDU/~foreman

-Original Message-
From: Thomas Chadwick [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 22, 2002 9:34 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: need help scripting multiple xfree startups


>From: "Thomas Chadwick" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: Re: need help scripting multiple xfree startups
>Date: Mon, 22 Jul 2002 09:25:09 -0400

[snip]

>As for getting the xterm to place itself on your screen without having to
>click:  If you're using the default Window Manager twm, copy the file
>/usr/X11R6/lib/X11/twm/system.twmrc to ~/.twmrc.  Then edit ~/.twmrc and
>add
>"RandomPlacement" on a line by itself towards the top of the file just
>after
>the comments.  If you're using some other window manager, then consult its
>man page.

Alternatively, you can specify the exact size and position of each xterm
using the -geometry flag:

ssh -X -l remote_username remote_hostname \
xterm -geometry 80x25+10+10 \
-title "remote_username@remote_hostname" \
-e remote_command

The "80x25" part specifies the size of the window in characters. 80x25 is
typical.  The "+10+10" part specifies the position of the upper-left corner
of the window with respect to the upper-left corner of the screen in pixels.
  In this case it's 10 pixels in from the left edge, and 10 pixels down from
the top edge.


_
Send and receive Hotmail on your mobile device: http://mobile.msn.com





RE: need help scripting multiple xfree startups

2002-07-22 Thread Dennis Foreman

I looked for:
/usr/X11R6/lib/X11/twm/system.twmrc and can only find a .../mwm/system.mwmrc

Is there a relationship between mwm and twm? Can I use the mwm file instead
of the twm file?

I have gotten the RSA keys set up and working. My machine is in a secure
area (home, no kids, no visitor access). The remote machine is also secure
from general access.

regards,
D. J. Foreman
website: http://WWW.CS.Binghamton.EDU/~foreman

-Original Message-
From: Thomas Chadwick [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 22, 2002 9:25 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: need help scripting multiple xfree startups


>From: "Dennis Foreman" <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: need help scripting multiple xfree startups
>Date: Sun, 21 Jul 2002 14:30:18 -0400
>
[snip]
>
>I need to repeat this 8 more times for each of 8 different machines. Is
>there some way of automating this? (Yes, I know a script will do it. I need
>some detailed help on what to put in the script.) Especially eliminating
>having to type a pw every time

There is plenty of information about this in the ssh man page.  Here's a
quick recipe:

1) Open a Cygwin bash window and cd into ~/.ssh (if the directory doesn't
exist, create it).
2) Run "ssh-keygen -t rsa1".  Accept the default filename of ~/.ssh/identity
and use a blank passphrase.  PROTECT THIS FILE!  Anyone who gets ahold of it
can use it as if they were you and gain access to systems without a password
or passphrase.  Consider yourself warned!
3) FTP the resulting file named identity.pub onto each of the target systems
and put it in /tmp (DO NOT put it in ~/.ssh).
4) On each remote system, append the contents of the identity.pub file to
the file ~/.ssh/authorized_keys:

cat /tmp/identity.pub >> ~/.ssh/authorized_keys

5) At this point, you should be able to ssh to each remote system and get in
without being prompted for a password.

>and clicking to establish the Xwindow on the
>X desktop.
>
>regards,
>D. J. Foreman
>website: http://WWW.CS.Binghamton.EDU/~foreman

I'd say you've already figured out most of this part.  To automatically
launch an xterm and have it run a command on a remote machine, put the
following command in your favorite X startup script (e.g. startxwin.bat,
startxwin.sh, or .xinitrc) in the same section where you see other xterms
being launched (I've put backslashes to indicate that this should all be on
1 line):

ssh -X -l remote_username remote_hostname \
xterm -title "remote_username@remote_hostname" \
-e remote_command

If you're putting this in startxwin.bat, you may need to preceed it with
"run" or "start" (I don't know for sure, I don't use that script).  If
you're putting it in startxwin.sh or .xinitrc, append an ampersand ("&") to
the end.

Want it to act on 8 other machines?  Repeat the same command 8 more times
with a different value for remote_machine each time.

As for getting the xterm to place itself on your screen without having to
click:  If you're using the default Window Manager twm, copy the file
/usr/X11R6/lib/X11/twm/system.twmrc to ~/.twmrc.  Then edit ~/.twmrc and add
"RandomPlacement" on a line by itself towards the top of the file just after
the comments.  If you're using some other window manager, then consult its
man page.


_
Send and receive Hotmail on your mobile device: http://mobile.msn.com





RE: need help scripting multiple xfree startups

2002-07-22 Thread Thomas Chadwick

>From: "Dennis Foreman" <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>To: "Cygwin-Xfree" <[EMAIL PROTECTED]>
>Subject: RE: need help scripting multiple xfree startups
>Date: Mon, 22 Jul 2002 08:20:51 -0400

[snip]

>What is the difference between:
>1.  running cygwin then startxwin.sh
>2.  startxwin.bat, then ssh from inside the xterm?

The difference is simply a matter of perference.  They all do the same thing 
in slightly different ways.


_
Chat with friends online, try MSN Messenger: http://messenger.msn.com




Re: need help scripting multiple xfree startups

2002-07-22 Thread Thomas Chadwick

>From: "Thomas Chadwick" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: Re: need help scripting multiple xfree startups
>Date: Mon, 22 Jul 2002 09:25:09 -0400

[snip]

>As for getting the xterm to place itself on your screen without having to
>click:  If you're using the default Window Manager twm, copy the file
>/usr/X11R6/lib/X11/twm/system.twmrc to ~/.twmrc.  Then edit ~/.twmrc and 
>add
>"RandomPlacement" on a line by itself towards the top of the file just 
>after
>the comments.  If you're using some other window manager, then consult its
>man page.

Alternatively, you can specify the exact size and position of each xterm 
using the -geometry flag:

ssh -X -l remote_username remote_hostname \
xterm -geometry 80x25+10+10 \
-title "remote_username@remote_hostname" \
-e remote_command

The "80x25" part specifies the size of the window in characters. 80x25 is 
typical.  The "+10+10" part specifies the position of the upper-left corner 
of the window with respect to the upper-left corner of the screen in pixels. 
  In this case it's 10 pixels in from the left edge, and 10 pixels down from 
the top edge.


_
Send and receive Hotmail on your mobile device: http://mobile.msn.com




Re: need help scripting multiple xfree startups

2002-07-22 Thread Thomas Chadwick

>From: "Dennis Foreman" <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: need help scripting multiple xfree startups
>Date: Sun, 21 Jul 2002 14:30:18 -0400
>
[snip]
>
>I need to repeat this 8 more times for each of 8 different machines. Is
>there some way of automating this? (Yes, I know a script will do it. I need
>some detailed help on what to put in the script.) Especially eliminating
>having to type a pw every time

There is plenty of information about this in the ssh man page.  Here's a 
quick recipe:

1) Open a Cygwin bash window and cd into ~/.ssh (if the directory doesn't 
exist, create it).
2) Run "ssh-keygen -t rsa1".  Accept the default filename of ~/.ssh/identity 
and use a blank passphrase.  PROTECT THIS FILE!  Anyone who gets ahold of it 
can use it as if they were you and gain access to systems without a password 
or passphrase.  Consider yourself warned!
3) FTP the resulting file named identity.pub onto each of the target systems 
and put it in /tmp (DO NOT put it in ~/.ssh).
4) On each remote system, append the contents of the identity.pub file to 
the file ~/.ssh/authorized_keys:

cat /tmp/identity.pub >> ~/.ssh/authorized_keys

5) At this point, you should be able to ssh to each remote system and get in 
without being prompted for a password.

>and clicking to establish the Xwindow on the
>X desktop.
>
>regards,
>D. J. Foreman
>website: http://WWW.CS.Binghamton.EDU/~foreman

I'd say you've already figured out most of this part.  To automatically 
launch an xterm and have it run a command on a remote machine, put the 
following command in your favorite X startup script (e.g. startxwin.bat, 
startxwin.sh, or .xinitrc) in the same section where you see other xterms 
being launched (I've put backslashes to indicate that this should all be on 
1 line):

ssh -X -l remote_username remote_hostname \
xterm -title "remote_username@remote_hostname" \
-e remote_command

If you're putting this in startxwin.bat, you may need to preceed it with 
"run" or "start" (I don't know for sure, I don't use that script).  If 
you're putting it in startxwin.sh or .xinitrc, append an ampersand ("&") to 
the end.

Want it to act on 8 other machines?  Repeat the same command 8 more times 
with a different value for remote_machine each time.

As for getting the xterm to place itself on your screen without having to 
click:  If you're using the default Window Manager twm, copy the file 
/usr/X11R6/lib/X11/twm/system.twmrc to ~/.twmrc.  Then edit ~/.twmrc and add 
"RandomPlacement" on a line by itself towards the top of the file just after 
the comments.  If you're using some other window manager, then consult its 
man page.


_
Send and receive Hotmail on your mobile device: http://mobile.msn.com




RE: need help scripting multiple xfree startups

2002-07-22 Thread Dennis Foreman

I have read about the RSA protocol, and tried it, so that works. I need to
run this procedure a total of NINE TIMES before I can begin doing any work.
And this happens EVERY time I want to do the work. Thus, I need a script
that will automate as much as possible.

What is the difference between:
1.  running cygwin then startxwin.sh
2.  startxwin.bat, then ssh from inside the xterm?

The problem is connecting to multiple systems. Can I get some hints on how
to script it?

regards,
D. J. Foreman
website: http://WWW.CS.Binghamton.EDU/~foreman




RE: need help scripting multiple xfree startups

2002-07-21 Thread Harold Hunt

Dennis,

Never email me directly.  Only respond to [EMAIL PROTECTED]

Harold

> -Original Message-
> From: Dennis Foreman [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 21, 2002 7:27 PM
> To: Harold Hunt
> Subject: RE: need help scripting multiple xfree startups
>
>
> Harold,
> My computer is in a secure area (unless someone wants to mess
> with my attack
> cat), so passwords on the machine are NOT a problem. I have read about the
> RSA protocol, so that ,might work. Remember that I said I needed
> to run this
> procedure a total of NINE TIMES before I can begin doing any
> work. And this
> happens EVERY time I want to do the work. Thus, I need a script that will
> automate as much as possible. Time is money!
>
> What is the difference between:
> 1.  running cygwin then startxwin.sh
> 2.  startxwin.bat, then ssh from inside the xterm?
>
> The problem is connecting to multiple systems. How can I script it?
>
> regards,
> D. J. Foreman
> website: http://WWW.CS.Binghamton.EDU/~foreman
>
> -Original Message-
> From: Harold Hunt [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 21, 2002 4:50 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: need help scripting multiple xfree startups
>
>
> Dennis,
>
> I always launch Cygwin/XFree86 from an icon on the desktop that points to
> the startxwin.bat file in c:\cygwin\usr\X11R6\bin.  The batch
> file starts an
> xterm and when the xterm pops up I run:
>
> ssh -X -C username@hostname
>
> I type in my password and that is it.
>
> As for avoiding typing in your password, I can say a few things,
> but I can't
> hold your hand on this one.  You should already know that saving
> a password
> on a computer in plaintext represents a huge security risk.  With
> that being
> said, I am sure that you know that ssh allows you to use keys to
> verify the
> identity of a user and to provide authentication (via a password check).
> You can, I am told, clear the password on an ssh key.  Clearing
> the password
> on an ssh key is just a dangerous as saving a password to disk in
> plaintext.
>
> However, if you are willing to except the risks of having an ssh
> key with no
> password, then I suggest that you search google for ``OpenSSH''
> and read the
> docs on their site about how to change the password on a key, etc.  I have
> never personally done this, so I cannot provide any further details.
>
> Harold
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Dennis Foreman
> > Sent: Sunday, July 21, 2002 2:30 PM
> > To: [EMAIL PROTECTED]
> > Subject: need help scripting multiple xfree startups
> >
> >
> > Hi,
> > I need some hints on how to reduce the manual efforts in logging
> > in remotely
> > under ssh.
> > Currently I can start Xfree using these steps:
> > 1. Open a Cygwin window.
> > 2a. run: ssh -Xl myuserid UNIX_system_domain_name
> > 2b. enter password
> > 3. open ANOTHER Cygwin window
> > 4. in this new window, run: startxwin.sh
> > 5. click to place the xterm on the X desktop
> > 6. run my program
> >
> > I need to repeat this 8 more times for each of 8 different machines. Is
> > there some way of automating this? (Yes, I know a script will do
> > it. I need
> > some detailed help on what to put in the script.) Especially eliminating
> > having to type a pw every time and clicking to establish the
> > Xwindow on the
> > X desktop.
> >
> > regards,
> > D. J. Foreman
> > website: http://WWW.CS.Binghamton.EDU/~foreman
> >
>
>




RE: need help scripting multiple xfree startups

2002-07-21 Thread Harold Hunt

Dennis,

I always launch Cygwin/XFree86 from an icon on the desktop that points to
the startxwin.bat file in c:\cygwin\usr\X11R6\bin.  The batch file starts an
xterm and when the xterm pops up I run:

ssh -X -C username@hostname

I type in my password and that is it.

As for avoiding typing in your password, I can say a few things, but I can't
hold your hand on this one.  You should already know that saving a password
on a computer in plaintext represents a huge security risk.  With that being
said, I am sure that you know that ssh allows you to use keys to verify the
identity of a user and to provide authentication (via a password check).
You can, I am told, clear the password on an ssh key.  Clearing the password
on an ssh key is just a dangerous as saving a password to disk in plaintext.

However, if you are willing to except the risks of having an ssh key with no
password, then I suggest that you search google for ``OpenSSH'' and read the
docs on their site about how to change the password on a key, etc.  I have
never personally done this, so I cannot provide any further details.

Harold

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Dennis Foreman
> Sent: Sunday, July 21, 2002 2:30 PM
> To: [EMAIL PROTECTED]
> Subject: need help scripting multiple xfree startups
>
>
> Hi,
> I need some hints on how to reduce the manual efforts in logging
> in remotely
> under ssh.
> Currently I can start Xfree using these steps:
> 1. Open a Cygwin window.
> 2a. run: ssh -Xl myuserid UNIX_system_domain_name
> 2b. enter password
> 3. open ANOTHER Cygwin window
> 4. in this new window, run: startxwin.sh
> 5. click to place the xterm on the X desktop
> 6. run my program
>
> I need to repeat this 8 more times for each of 8 different machines. Is
> there some way of automating this? (Yes, I know a script will do
> it. I need
> some detailed help on what to put in the script.) Especially eliminating
> having to type a pw every time and clicking to establish the
> Xwindow on the
> X desktop.
>
> regards,
> D. J. Foreman
> website: http://WWW.CS.Binghamton.EDU/~foreman
>




RE: need help

2002-03-12 Thread Harold Hunt

RTFM

http://xfree86.cygwin.com/docs/cg/

Harold

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Narasimha Reddy K
> Sent: Wednesday, March 13, 2002 2:23 AM
> To: '[EMAIL PROTECTED]'
> Subject: need help
>
>
> Please send the build instructions of XFREE86 on windows.
>
> Regards,
>
> N Reddy
>
>
>
> DISCLAIMER: Information contained and transmitted by this E-MAIL is
> proprietary to MASCOT SYSTEMS LTD and is intended for use only by the
> individual or entity to which it is addressed, and may contain information
> that is privileged, confidential or exempt from disclosure under
> applicable
> law. If this is a forwarded message, the content of this E-MAIL
> may not have
> been sent with the authority of the Company. If you are not the intended
> recipient, an agent of the intended recipient or a person responsible for
> delivering the information to the named recipient, you are
> notified that any
> use, distribution, transmission, printing, copying or
> dissemination of this
> information in any way or in any manner is strictly prohibited.
> If you have
> received this communication in error, please delete this mail & notify us
> immediately at [EMAIL PROTECTED] Before opening attachments,
> please scan for viruses
>
>




need help

2002-03-12 Thread Narasimha Reddy K

Please send the build instructions of XFREE86 on windows.

Regards,

N Reddy



DISCLAIMER: Information contained and transmitted by this E-MAIL is
proprietary to MASCOT SYSTEMS LTD and is intended for use only by the
individual or entity to which it is addressed, and may contain information
that is privileged, confidential or exempt from disclosure under applicable
law. If this is a forwarded message, the content of this E-MAIL may not have
been sent with the authority of the Company. If you are not the intended
recipient, an agent of the intended recipient or a person responsible for
delivering the information to the named recipient, you are notified that any
use, distribution, transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited. If you have
received this communication in error, please delete this mail & notify us
immediately at [EMAIL PROTECTED] Before opening attachments,
please scan for viruses