Glen Robinson | 1 Jun 04:49 2007

Unable to open display or run xterm

I did a chmd on /tmp/.X11-unix and got X "kind of" up.  i.e., I have a 
screen and a cursor and alt tab will move me in and out of Windows XP 
windows/apps.  I can't get an xterm running and when I right click on 
the X icon in the system tray and 'exit' the submenu that comes up says 
that 0 processes are running.  Attempting to launch an xterm from a 
cygwin window with "DISPLAY=127.0.0.1:0.0 && xterm &" fails with a 
message that it couldn't open the display.  I am not sure what the 
parameters in the DISPLAY variable are, however, I have tried using 
LOCAL:0:0 and got the same effect.  This occurs on a Dell Inspiron 8600 
laptop and on a very recent buld HP Pavilion (Sempron processor).  Both 
have the same cygwin packages installed, and I can ssh to my linux boxes 
on them wth no problem (though not from X, of course).
The attached XWin log and config file are from this laptop.

Cygwin Configuration Diagnostics
Current System Time: Thu May 31 20:28:03 2007

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:	C:\cygwin\usr\local\bin
	C:\cygwin\bin
	C:\cygwin\bin
	C:\cygwin\usr\X11R6\bin
	c:\Program Files\Common Files\Sonic Shared
	c:\WINDOWS\system32
	c:\WINDOWS
	c:\WINDOWS\System32\Wbem
	c:\Program Files\Common Files\Adobe\AGL
(Continue reading)

Christopher Faylor | 1 Jun 05:24 2007

Re: Unable to open display or run xterm

On Thu, May 31, 2007 at 08:49:13PM -0600, Glen Robinson wrote:
>I did a chmd on /tmp/.X11-unix and got X "kind of" up.  i.e., I have a 
>screen and a cursor and alt tab will move me in and out of Windows XP 
>windows/apps.  I can't get an xterm running and when I right click on 
>the X icon in the system tray and 'exit' the submenu that comes up says 
>that 0 processes are running.  Attempting to launch an xterm from a 
>cygwin window with "DISPLAY=127.0.0.1:0.0 && xterm &" fails with a 
>message that it couldn't open the display.

You're not setting DISPLAY correctly.  Try:

DISPLAY=:0 xterm&

The && does not make any sense for what you are trying to do.

cgf

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

malik martin | 2 Jun 22:58 2007
Picon

Can the repository be updated for Octave 2.9.12 please?

hi you currently have the latest windows release of Octave in the
repository. but the problem is it's a very buggy version and the owner
says those bugs are fixed in version 2.9.12. could you please update
the repository for this latest version?

I'm sure you get these kinds of questions a lot but,

pleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeease?

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

Glen Robinson | 3 Jun 19:25 2007

Re: Unable to open display or run xterm

Christopher Faylor suggested that I try:
DISPLAY=:0 xterm&
This immediately failed with error 53 (after hitting return twice).  The 
exact same thing occurred in attempting to run xclock (DISPLAY=:0 
xclock&).  I am not sure what error 53 is  (or where it is coming from  
- xterm or the shell  - or). When I close windows (right click on X in 
tray then exit button) I get a message that zero clients are running.  I 
am currently trying this on my HP desktop which has a geForce 7600 
display adapter (i.e., 2 monitor capable adapter).  The X display does 
come up and I can move the cursor with the mouse, so I presume X is 
hitting the correct spigot. 

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

Larry Hall (Cygwin X | 3 Jun 19:47 2007

Re: Unable to open display or run xterm

Glen Robinson wrote:
> Christopher Faylor suggested that I try:
> DISPLAY=:0 xterm&
> This immediately failed with error 53 (after hitting return twice).  The 
> exact same thing occurred in attempting to run xclock (DISPLAY=:0 
> xclock&).  I am not sure what error 53 is  (or where it is coming from  
> - xterm or the shell  - or). 

$ net helpmsg 53

The network path was not found.

Sounds to me like other software is getting in your way (anti-virus,
firewall, etc.)

--

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

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

Laura González Macho | 5 Jun 09:05 2007
Picon

Help with may non-us keyboard (es)

I am working from windows XP with a spanish keyboard. My keyboard 
doesn't work with x apps (well, "space bar" and "return" works but 
nothing else ... ). I've tried to add the "-xkblayout *es*" option when 
executing xwin in the startwin.bat, but nothing changes.

Only if I use "-xkblayout *us*" works (well, I can write but guessing 
where the characters must be in a US keyboard that I don't have ...)

This is part of my xwin.log:

...
...
XFree86-Bigfont extension local-client optimization disabled due to lack 
of shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "0000040A" (0000040a)
(--) Using preset keyboard for "Spanish (Spain, Traditional Sort)" 
(40a), type "4"
(++) XKB: layout: "es"
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!
winInitMultiWindowWM - pthread_mutex_lock () returned.
winProcEstablishConnection - Hello
...
....

Thanks in advance!
Laura

(Continue reading)

Duane Ellis | 7 Jun 16:50 2007

Multiple Session Question

Hello,

I've got cygwin working well via SSH to single host, single window. 
I connect via SSH, and run "startkde" - I get the KDE desktop in one 
single window. Works great!

How do I connect to a second machine at the same time.

See below for details.

-Duane.

For example:
    I login as my self - with ssh & a remote session
And I login as another person to the same machine.
     In my case, I have two accounts:
		A development account
	And	A Test account.

Likewise, I have this situation:
	I login to Machine1 - and it works.
	I login to Machine2 - and it works.

Problem:
	I can only have 1 connection to 1 machine at a time.
	Both should have separate window/display.

I have done this with commercial X11 packages, but not CygwinX.

This does not seem to work, and I can't seem to find in the user docs
(Continue reading)

Michel Bardiaux | 7 Jun 17:00 2007
Picon

Modal windows

We have a MOTIF app that works correctly when displayed on a debian 
sarge (that is, using xfree) or win2k+exceed8.0.

With cygwin-xfree on winxp, however, the modal windows do NOT stay on 
top of the main application window, the main comes up whenever one 
clicks in it.

In all 3 cases, the client libraries are linux/xfree, at exactly the 
same version.

Is that behavior

- by design?

- a known bug?

- due to a user error?

- a bug never reported yet?

TIA,
--

-- 
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux <at> mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
(Continue reading)

Reid Thompson | 7 Jun 17:03 2007

Re: Multiple Session Question

On Thu, 2007-06-07 at 10:50 -0400, Duane Ellis wrote:
> Hello,
> 
> I've got cygwin working well via SSH to single host, single window. 
> I connect via SSH, and run "startkde" - I get the KDE desktop in one 
> single window. Works great!
> 
> How do I connect to a second machine at the same time.
> 
> See below for details.
> 
> -Duane.
> 
> 
> For example:
>     I login as my self - with ssh & a remote session
> And I login as another person to the same machine.
>      In my case, I have two accounts:
> 		A development account
> 	And	A Test account.
> 
> Likewise, I have this situation:
> 	I login to Machine1 - and it works.
> 	I login to Machine2 - and it works.
> 
> Problem:
> 	I can only have 1 connection to 1 machine at a time.
> 	Both should have separate window/display.
> 
> I have done this with commercial X11 packages, but not CygwinX.
(Continue reading)

Holger Krull | 7 Jun 17:10 2007
Picon
Picon

Re: Multiple Session Question

Duane Ellis schrieb:
> I've got cygwin working well via SSH to single host, single window. 
> I connect via SSH, and run "startkde" - I get the KDE desktop in one 
> single window. Works great!
> 
> How do I connect to a second machine at the same time.

You will need Xwin :1 for the second and Xwin :2 for the third session
and so on.
But i wonder how your first connect works anyway, have you setup ssh
tunneling somewhere?

> (1) Yes, I have tried using a different display, ie:
>         127.0.0.1:0.0
>     And 127.0.0.1:1.0

You will need this

> (2) I'm not sure what is going on with the /tmp/.X11-unix/dir
>     And can't find docs for it - I suspect it is part of the problem.

I don't think so.

> (3) I'm not sure what the "--screen" options do for the Xwin program.

not needed here

> The script below - deletes the old /tmp/.X11-dir, which I know is a bad

Don't
(Continue reading)


Gmane