Re: Starting applications from Start | ... | Cygwin-X menu

2006-02-20 Thread Angelo Graziosi


On Mon, 20 Feb 2006, Eric Blake wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Wrong list.  Redirected.  Please be sure that followups go to
 cygwin-xfree, as the Cygwin-X start menu item is X related.


Too late for my replay to Brett Serkez techie at serkez dot net!


In any case I think that this is not a stricly problem regarding
'cygwin-xfree at cygwin dot com'.

It should regard the installation process by setup.exe. 

At the end of the installation, when one chooses to add links in Start
menu, many of those links do not seem to work.


Cheers,

   angelo.

 
 According to Angelo Graziosi on 2/20/2006 6:00 AM:
  
  I have noted that many applications do not start when one clicks on the
  links in 
  
 Start | Programs | Cygwin-X (on W2K SP4)
  
  This happens even if one has started XWin (startxwin.bat).
  
  For example, 'xeyes' starts (after startxwin.bat), but emacs does not!
  
  Then, why should one install those links in the Start | Programs menu (by
  setup.exe), if they (many of them) seem do not work ?
  
 




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



Cygwin/X and AIX - client 6 rejected

2006-02-20 Thread andrew pierce
Hello. I am trying to use Cygwin/X for access to our AIX machines. I
can successfully use Xceed to connect, export DISPLAY=ip:0.0, and
run xclock or other x applications.

I can't get the same results using Cygwin. Here are my steps:

1. Start Cygwin
2. type startx to open an xterm on my Windows machine
3. ssh -l user aix machine
4. Login
5. export DISPLAY=win ip:0.0
6. Run xclock

It doesn't work. If I could get this to work, this would be a BIG win
for Open Source at my company.

Thanks SO much for any help.

The output from Cygwin is below:

@CHAL8S5S871 ~
$ startx

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

X :0 -multiwindow -clipboard

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
(==) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TT
F/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/
X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Multi Window or Rootless = ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 2560 height: 1024 depth: 32
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of shar
ed memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409)
(--) Using preset keyboard for English (USA) (409), type 4
Rules = xorg Model = pc105 Layout = us Variant = (null) Options = (null
)
(--) 16 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li
st!
winPointerWarpCursor - Discarding first warp: 1280 512
winInitMultiWindowWM - pthread_mutex_lock () returned.
winProcEstablishConnection - Hello
winInitClipboard ()
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - DISPLAY= 127.0.0.1:0.0
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - DISPLAY= 127.0.0.1:0.0
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winClipboardProc - XOpenDisplay () returned and successfully opened the display.

winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the disp
lay.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the di
splay.
AUDIT: Mon Feb 20 16:00:12 2006: 2776 X: client 6 rejected from IP 10.19.20.221

--
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: Cygwin/X and AIX - client 6 rejected

2006-02-20 Thread René Berber
René Berber wrote:
[snip]
 Looks like XWin access needs to be set, use either xhost + (that gives 
 access
 from all computers to your workstation, if you want to be more specific then
 it's xhost +10.19.20.221) or xauth (I don't know how to use this).

I found how to use xauth.

On the remote server:

#xauth list
- sample output
server1:0 MIT-MAGIC-COOKIE-1 796d707638793975614f785371674a52

On the local workstation:

#xauth add server1:0 MIT-MAGIC-COOKIE-1 796d707638793975614f785371674a52

I'm not shure if it needs to be inside quotes or not.
-- 
René Berber


--
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: Cygwin/X and AIX - client 6 rejected

2006-02-20 Thread Doug VanLeuven

andrew pierce wrote:

Hello. I am trying to use Cygwin/X for access to our AIX machines. I
can successfully use Xceed to connect, export DISPLAY=ip:0.0, and
run xclock or other x applications.

I can't get the same results using Cygwin. Here are my steps:

1. Start Cygwin
2. type startx to open an xterm on my Windows machine
3. ssh -l user aix machine
4. Login
5. export DISPLAY=win ip:0.0
6. Run xclock



I don't have an AIX machine to compare, but ssh sets up display
forwarding normally and I would assume it works the same there.

after 3. ssh -l user machine

check env on remote machine.
Should be a DISPLAY=localhost:10:0
or something similar.

Step 5. would be overriding what is set up by ssh.

Providing /etc/defaults/etc/ssh_config on cygwin has ForwardX11 yes

and /etc/ssh/sshd_config on AIX has X11Forwarding yes
X11DisplayOffset defaults to 10

There could be other X11 trust issues as well, but setting up
X11 forwarding is done in the ssh config files.

Regards, Doug

--
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: Starting applications from Start | ... | Cygwin-X menu

2006-02-20 Thread Igor Peshansky
Ugh, top-posting...  Reformatted.

On Mon, 20 Feb 2006, Angelo Graziosi wrote:

  According to Angelo Graziosi on 2/20/2006 6:00 AM:
  
   I have noted that many applications do not start when one clicks on
   the links in
  
  Start | Programs | Cygwin-X (on W2K SP4)
  
   This happens even if one has started XWin (startxwin.bat).
  
   For example, 'xeyes' starts (after startxwin.bat), but emacs does not!
  
   Then, why should one install those links in the Start | Programs
   menu (by setup.exe), if they (many of them) seem do not work ?

 Too late for my replay to Brett Serkez techie at serkez dot net!

 In any case I think that this is not a stricly problem regarding
 'cygwin-xfree at cygwin dot com'.

 It should regard the installation process by setup.exe.

 At the end of the installation, when one chooses to add links in Start
 menu, many of those links do not seem to work.

FYI, the only link setup adds to the Start Menu is Cygwin/Cygwin Bash
Shell.  All others are added explicitly by the package postinstall
scripts, and have nothing to do with the installer.

The script that adds the links you're complaining about (Cygwin-X) belongs
to the X-start-menu-icons package, which is associated with Cygwin/X --
thus the redirection to this list.
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/