Re: How do I start WM?

2010-02-25 Thread Holger Krull

Am 25.02.2010 03:54, schrieb Kenneth Wolcott:



If I don't set the DISPLAY environment variable then it complains
about it not being set.

If I do set the DISPLAY environment variable then it complains about
not being able to use it.

$ openbox-session
which: no hsetroot in [PATH content deleted]
which: no esetroot in [PATH content deleted]
xsetroot:  unable to open display 'KWOLCOTT-T61:0.0'
which: no gnome-settings-daemon in [PATH content deleted]
which: no xfce-mcs-manager in [PATH content deleted]
which: no start_kdeinit in [PATH content deleted]
Openbox-Message: Failed to open the display from the DISPLAY
environment variable.



This is expected, i just wanted to see if it was complaining about 
anything else.


I can confirm problems with openbox. It does not start everytime i try 
on my computer and i get the same behavior that you described, a short 
view of the black background.


--
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: How do I start WM?

2010-02-25 Thread Holger Krull

Am 25.02.2010 12:18, schrieb Yaakov (Cygwin/X):

On 2010-02-25 04:25, Holger Krull wrote:

I can confirm problems with openbox. It does not start everytime i try
on my computer and i get the same behavior that you described, a short
view of the black background.


Openbox is just a window manager.  If that's all you have in ~/.xinitrc,
you won't see anything because there are no windows for the WM to decorate.




I know that. Sorry for being to short with the description.
The X-Server dies when openbox starts, and it shouldn't do that, even 
without a window manager. But i see this only every tenth attempt to 
start openbox, while the original poster seems to have this every time.


And I changed /etc/X11/xinit/xinitrc, no ~/.xinitrc

Interestingly, putting openbox at the end of the start script and doing

exec openbox-session /tmp/openbox.log 21

seems to stop that, but i haven't tried enough to be sure.


--
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: How do I start WM?

2010-02-24 Thread Holger Krull

Am 23.02.2010 15:11, schrieb Joseph Ess:

How do I start XWindows in full screen mode with OpenBox window manager?
It used to be that I'd just put the command for the window manager at the end 
of startxwin.bat.  Now that file's gone away.
I can't use startxwin.exe as it is multi-window only.  I can run XWin.exe, but 
the only command line or .XWinrc options I can find for that program are for 
Windows-specific functions(i.e. system tray icon).
TIA,
Joe


To achive this, create a icon that points to
C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startx

Edit /etc/X11/xinit/xinitrc and change
twm 
to
openbox 

That changes the behavior for all users.


--
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: How do I start WM?

2010-02-24 Thread Holger Krull

Am 24.02.2010 21:21, schrieb Kenneth Wolcott:

Hi;


To achive this, create a icon that points to
C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startx

Edit /etc/X11/xinit/xinitrc and change
twm
to
openbox

That changes the behavior for all users.


   I tried this last advice.

   I get a quick flash and then gone (Windoze XP SP3, Cygwin 1.7).

   What did I do wrong or what I do too much of or what did I do not enough of?

   I'm really looking forward to a having a nice KDE screen initiated
by cygwin rather than twm.



1. Do you have a .xinitrc in your home directory? (try ls -la )
If so, delete it.

2. Will it start if you manually enter startx in a cygwin shell?

2. If you don't change /etc/X11/xinit/xinitrc, can you start the X 
Server with startx using twm?




--
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: How do I start WM?

2010-02-24 Thread Holger Krull

Am 24.02.2010 23:56, schrieb Kenneth Wolcott:

Hi Holger;


1. Do you have a .xinitrc in your home directory? (try ls -la )
If so, delete it.


   I do not have a ~/.xinitrc in either /home/kwolcott


2. Will it start if you manually enter startx in a cygwin shell?


   I was able to start twm using startx without any problem, but I
would like have KDE (yes I know it is much more heavy than twm)
   I would like to use some KDE-based utilites (konsole and that time
manager I keep forgetting the name of);


2. If you don't change /etc/X11/xinit/xinitrc, can you start the X Server
with startx using twm?


Yes.



In your first mail you said you wanted to start openbox as a window 
manager, now you talk about kde. That are two different things.


What happens if you start openbox in a bash shell without starting a 
X-Server first?



--
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: 1.7.1: no xdmcp login prompt after upgrade

2010-01-22 Thread Holger Krull

Am 15.01.2010 21:32, schrieb Paxton, Michael:

After upgrading to Cygwin/X 1.7.1, XDMCP query to any remote host no
longer produces a login prompt. All XDMCP connections functioned
correctly prior to upgrade.

Examination of an iptrace report (ipreport10.out) on the remote host
shows that Cygwin/X is not continuing the connection sequence after the
remote host replies to the initial port 177 communication.


Did you try to do use numeric ip addresses and the -from switch to see 
if it produces a different result? Like:

XWin -query xdmcp.numeric.host.address -from your.own.numeric.address



--
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: startxwin.exe without lingering DOS window

2010-01-06 Thread Holger Krull

Am 07.01.2010, 00:14 Uhr, schrieb Raul Acevedo r...@cantara.com:



How do you run startxwin.exe so that it doesn't leave a lingering MS-DOS
window after it starts the programs in ~/.startwinrc?


C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe



--
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: problem with connection to debian with Cygwin X

2008-05-28 Thread Holger Krull

[EMAIL PROTECTED] schrieb:


I connect  from windows to rest of machines with cygwin with the
instruction X -query  ip address. To one debian machine run perfectly,
but the others machines don't run. I receive the error

43395 [main] X 4716 child_copy: linked dll data write copy failed
0x3F3000..0X3F4020, done 0,, windows pid 2277572, Win32 error 487

and I haven't idea of reason. I have compared the config files of debian
machines, but I think that are equal.

Could you help me ?


Maybe it is the same as in:
http://www.cygwin.com/ml/cygwin/2006-01/msg00782.html
where the logitech process monitor was the evil app.

--
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: Couldn't startx. could not open default font 'fixed'

2008-05-03 Thread Holger Krull

Gosha Osipov schrieb:

Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
removing from li
st!
Fatal server error:
could not open default font 'fixed'
winDeinitMultiWindowWM - Noting shutdown in progress (full log file attached).



I deleted cygwin and completely downloaded if from the Internet and
reinstalled all packeges (in stable version), but the problem still
remains.


Check
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof

--
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: How to start up X directly, in a startx-like manner?

2008-04-17 Thread Holger Krull

Robert Latest schrieb:


I like to use cygwin in a self-contained, maximized window in which my
window manager runs (fvwm). Currently I start this by first opening a
bash shell and then typeng startx, which then reads my .xinitrc and
does what I want.

However, I'd like this to happen on a single click. I found
startxwin.bat, but that just puts X-like windows on top of the
normal Windows desktop. It doesn't create the cover-all Windows
window with X inside. I played with the -fullscreen option inside
startxwin.bat, but at any rate, startxwin.bat doesn't honor my
.xinitrc


Maybe putting:
C:\cygwin\bin\bash.exe -c -l 'run bash -c -l Xwin.exe :0  export DISPLAY=:0.0; xterm;  
fvwm2 
in an Icon does what you want.


--
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: How to start up X directly, in a startx-like manner?

2008-04-17 Thread Holger Krull

Holger Krull schrieb:

Robert Latest schrieb:


I like to use cygwin in a self-contained, maximized window in which my
window manager runs (fvwm). Currently I start this by first opening a
bash shell and then typeng startx, which then reads my .xinitrc and
does what I want.

However, I'd like this to happen on a single click. I found
startxwin.bat, but that just puts X-like windows on top of the
normal Windows desktop. It doesn't create the cover-all Windows
window with X inside. I played with the -fullscreen option inside
startxwin.bat, but at any rate, startxwin.bat doesn't honor my
.xinitrc


Maybe putting:
C:\cygwin\bin\bash.exe -c -l 'run bash -c -l Xwin.exe :0  export 
DISPLAY=:0.0; xterm;  fvwm2 

in an Icon does what you want.

The closing ' missed the copy and paste, so the line should be
C:\cygwin\bin\bash.exe -c -l 'run bash -c -l Xwin.exe :0  export DISPLAY=:0.0; xterm;  
fvwm2 '


--
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: FW: How to create an icon to startx with no extra CMD.EXE window

2008-04-09 Thread Holger Krull

Siegfried Heintze (Aditi) schrieb:

I use:
E:\cygwin\bin\bash.exe -c -l 'run bash -c -l CYGWIN=server Xwin.exe :0 -query 
192.168.11.1 -from 192.168.11.2 -once  -dpi 120  '



If you don't have cygserver running you should delete CYGWIN=server, if you 
don't need larger fonts delete -dpi 120


Very interesting. Could you kindly point me to the documentation? I removed the -query 
and the -from and the Cygwin=server and it was not working correctly. Since 
I'm running DHCP, I was not sure what to put for those IP addresses you are using.



Sorry, i didn't adapt it for local use, i'm using XDMCP to connect to another 
computer.
You probably want to try:
C:\cygwin\bin\bash.exe -c -l 'run bash -c -l startxwin.sh '
or
C:\cygwin\bin\bash.exe -c -l 'run bash -c -l Xwin.exe :0  export DISPLAY=:0.0; xterm;  
fvwm2  '
If you want a unix style fvwm window manager with background window.



--
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: Problem with X (disappears) and Sun Directory Server Console

2008-01-28 Thread Holger Krull
ohaya schrieb:

 startconsole.  This causes the console GUI to appear but when I type
 in my username/password, everything, including the original xterm window
 disappears.
 
 I've tried access the admin console using Hummingbird Exceed, and that
 seems to work fine.  This problem only occurs when I use Cygwin X.
 
 The XWin.log file has the following in it after this happens:
 
 _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
 _XSERVTransmkdir: Mode of /tmp/.X11-unix should be set to 1777 (II)
 XF86Config is not supported (II) See
 http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
 winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per
 pixel

Just guessing, but maybe Sun doesn't like 16 Bit color. Did you try with 
windoes in 32 Bit color mode?




--
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: pdfEdit versus cygwin/ X windows

2008-01-04 Thread Holger Krull
Defoucault, Herve schrieb:


 Fatal server error:
 could not open default font 'fixed'

 Conclusion.
 ===
 Do you have any idea or should I contact the cygwin/X team ?
 I suppose I missed a configuration somewhere
 
 I think that you should check some cygwin/X howtos.

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


--
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: Fwd: ForwardX11 not working

2007-12-14 Thread Holger Krull
Mirko Vukovic schrieb:

  - I have ran ssh-host-config and set CYGWIN=ntsec server.  I said yes
 to privilege separation, and I have an sshd user in /etc/passwd
  - I have set DISPLAY=localhost:0.0 in .bash_profile
  ^^
 Don't do this.

Really don't. Just give it a try.


 I am confused with the discussion in the this post:
 http://sourceware.org/ml/cygwin-xfree/2002-10/msg00071.html.  Those
 guys specifically tell to have DISPLAY defined before an ssh login.

If you read that post more carefully you will see your mistake.
You need to set DISPLAY on the computer you're X11 Server is runninng before 
you use ssh to login to your Windows Computer. That is to let ssh know which 
connection to forward. 'Inside' the ssh connection the forwarding mechanism 
will set DISPLAY. If you change it, it will be wrong. 


 Naively, I am assuming that each machine should have a DISPLAY set,
 for the simple reason that when I am physically at that machine, I
 need display in order to open x-windows.

That will not work.
If you change the role of the computers you can not fix DISPLAY in 
.bash_profile. That is not a good idea anyway, because you could have more than 
one X Server running.


--
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: problem with xterm

2007-12-06 Thread Holger Krull
Pelotudo schrieb:
  [EMAIL PROTECTED]
 $ ssh -X network
 [EMAIL PROTECTED]'s password: 
 Warning: untrusted X11 forwarding setup failed: xauth key data not generated
 Warning: No xauth data; using fake authentication data for X11 forwarding.
 user edt
 [1] 18207
 user connect 127.0.0.1 port 6000: Bad address
 X connection to localhost:38.0 broken (explicit kill or server shutdown).

You probably need ssh -Y

--
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: helP: malfunction of the x window system

2007-12-04 Thread Holger Krull
[EMAIL PROTECTED] schrieb:
 XWin was started with teh following command line:
 X :0 -multiwindow -clipboard
 
 _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
 _XSERVTransMakeAllCOTSServerListener: failed to create listener for local
 
 Fatal server error:
 Cannot establish any listening sockets - Make sure an X server isn't already 
 running
 
 I checked there were not other Xserver running...
 The system was working properly few day ago.
 I also tried Xming and does not work either on this computer.

Did you install new firewall software recently?

--
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: Pasting and copying between X and Windows

2007-12-03 Thread Holger Krull
jose isaias cabrera schrieb:
 cygwin XWin, I would love to paste and copy between the two worlds.  I
 have googled the issue, but nothing seems to be very updated. 
 Everything seems to be old or has no real answer.
 
 Is this possible?

Yes, add -clipboard to the Xwin Parameters.

--
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: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread Holger Krull
jose isaias cabrera schrieb:
 
 jose isaias cabrera schrieb:
 I am trying to connect to a Gentoo X Server and it is connecting,
 but I
 don't seem to be able to open an xterm.  All I get is a full screen
 without anything.  I am running this command:

 XWin -query d-tuxedo

 Are you sure XDMCP is enabled on this server?
 Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
 I did that and I get the same thing.  I get the Cygwin X Window with the
 title,

 Cygwin/X - d-tuxedo.na.xde3.xerox.org

 Because I think I am connecting, but I am not getting anything yet.


 What you get if you try to connect with XDMCP (that's the protocol you
 are using if you chose -query) is completely depending on the settings
 of the gentoo Server.
 Usually that would be a login window.
 If you don't get anything, i assume xdmcp is not enabled on the
 gentoo box. Check if a process is listening to udp port 177
 (netstat -unlp |grep 177).
 
 So, here is what I get,
 
 d-tuxedo 10:14:06- su
 Password:
 d-tuxedo jicman # netstat -unlp |grep 177
 d-tuxedo jicman #
 
 
 so, I guess  so, maybe XDMCP is not enabled.  But I am able to get into
 gnome when I am in front of the machine...

Yes, looks like xdmcp is not enabled. If you sitting at the machine you don't 
need xdmcp, only if you want to connect via the network. 
Enable xdmcp or use ssh tunneling. I recommend the first.

--
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: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread Holger Krull
jose isaias cabrera schrieb:
 
 Greetings.
 
 I am trying to connect to a Gentoo X Server and it is connecting, but I
 don't seem to be able to open an xterm.  All I get is a full screen
 without anything.  I am running this command:
 
 XWin -query d-tuxedo

Are you sure XDMCP is enabled on this server?
Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip

--
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: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread Holger Krull
jose isaias cabrera schrieb:
 I am trying to connect to a Gentoo X Server and it is connecting, but I
 don't seem to be able to open an xterm.  All I get is a full screen
 without anything.  I am running this command:

 XWin -query d-tuxedo

 Are you sure XDMCP is enabled on this server?
 Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
 I did that and I get the same thing.  I get the Cygwin X Window with the
 title,
 
 Cygwin/X - d-tuxedo.na.xde3.xerox.org
 
 Because I think I am connecting, but I am not getting anything yet.
 

What you get if you try to connect with XDMCP (that's the protocol you are 
using if you chose -query) is completely depending on the settings of the 
gentoo Server.
Usually that would be a login window.
If you don't get anything, i assume xdmcp is not enabled on the gentoo box. 
Check if a process is listening to udp port 177 (netstat -unlp |grep 177).

--
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: FW: Problem starting xwin in windows domain

2007-11-29 Thread Holger Krull
Paul Mulcahy schrieb:
 Maybe you have a problem with ntfs file permissions.
 The domain users must have at least write access to tmp and their home
 directory, and read access to most of the rest. The domain Administrator
 
 I suspect it is somewhere in permissions but I have allowed the user and
 group full access to the C: drive (my machine and test machine). None of
 this has helped.
 
 Did you use mkpasswd to add the domain accounts to cygwins passwd file?
 
 Yes I've done this too but it has made little difference. The warning
 message at the start is gone but it is still the same error message.
 
 Are there any registry files that Cygwin needs? I suspect there is something
 that it can not access that it needs but I am unsure what.

At least HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
You could use sysinternals process monitor to track file and registry access 
and see if something fails. (Or just add everyone full access to see if it 
makes a difference, but remove that later)

--
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: DISPLAY set up

2007-11-24 Thread Holger Krull
Hernan Praddaude schrieb:
 I installed cigwin and I'm able to get the full screen and the pointer but
 nothing else. At some stage of the trying process I receive the error msg.
 that DISPLAY is not set.

Maybe you tell us how you start Xwin, what application you try to use and what 
you did exactly to get that error message. 

--
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: A problem about the fonts when i remote login the suse from my windowsXP box

2007-11-12 Thread Holger Krull
Terrylai schrieb:
try 
XWin -screen 0 1280x800x16 -dpi 120

or even higher dpi setting


--
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: Xargs....

2007-10-22 Thread Holger Krull
xerces8 schrieb:
 From: Hall Nation [EMAIL PROTECTED]
 I need to know about the xargs command. What does it do ?
 
 You also need to know about the man command.
 And google ;-)
 

Is this a replay of older messages? Didn't we have that before?
That man is a troll or a bot.

--
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: XWin Multiwindow fails to start

2007-10-22 Thread Holger Krull
Nick Douma schrieb:
 No one who has any suggestions... ?

Not for your main problem. Just the general idea that sometimes deleting and 
reinstalling helps to solve strange problems. 
 
 On Tue, Oct 16, 2007 at 11:38:33AM +0200, Nick Douma wrote:
 I'm using the latest version of Cygwin, and Xwin 6.8.99.901-4. Whenever I 
 try to run X with `startx` or startx 
 scripts, it fails. If I run it directly with `X :0` it works fine (so it 
 appears), but when I run it with `X :0 
 -multiwindow` it fails with the following log:

 Also, when I run it with the `X :0` command, the DISPLAY var is not set, and 
 xterm does not start up 
 automatically.

That is no surprise, the DISPLAY variable doesn't set itself, you need a script 
to do that. The same with the starting of xterm, if you just start the X11 
server, it will not start an xterm.


--
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: Where is X(7) man page, ques about but#2

2007-10-22 Thread Holger Krull
Paul McFerrin schrieb:

 Under cygwin, I installed *ALL* of the xorg-x11-* packages but I am
 still missing the X(7) man page.  Where can I find one?

it is
 man XWin

 


--
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: CygwinX xwin after login black screen

2007-10-11 Thread Holger Krull
ludek_coufal schrieb:
 I have problem  connect with CygwinX to SUSE 10 (SLES).  
 1. Procedure:
 - startxwin.bat

(Sidenote: You don't need startxwin.bat if you do:)

 - xwin :1 -query 132.9.1.3 -from 132.9.1.94

 - login screen is displayed
 - enter username and password

1.What Windowmanger do you choose? kde, gnome something else? Does it work if 
you choose a different one?

2.Can you connect from any other computer with xdmcp to this Suse system?

3.I assume your are using kdm on the suse system, is any message printed in 
/var/log/kdm.log when you try to connect? Or in /var/log/messages?



--
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: sftp how insert @

2007-10-11 Thread Holger Krull
ludek_coufal schrieb:
 I can test sftp, but I can not change keyboard and insert, enter @.
 Procedure:
 - startxwin.bat
 - I can enter (sftp [EMAIL PROTECTED])but how insert @?  On keyboard @ 
 not work.

(You don't need X11 to run sftp)
Most likely you need to uncomment the following entrys in ~/.inputrc
# Allow 8-bit input/output
set meta-flag on
set convert-meta off
set input-meta on
set output-meta on

--
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: sftp how insert @

2007-10-11 Thread Holger Krull
xerces8 schrieb:
 @ is not a 8 bit character, so those changes in .inputrc should not be needed.
 Probably the keyboard layout for X11 is wrong.
 Cut  paste from any other program should work just fine.

You are right, i should have checked. 
So using setxkbmap will probably help. Or not using X11.

 

--
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: Checking if the X Server is running

2007-10-02 Thread Holger Krull
As someone pointed out in another post the sequence ps |grep has a risk of 
finding grep itself in the list. The command pgrep combines both and hasn't 
that risk.
 
 Thanks Holger. Now this works perfectly. It does open
 up a Windows cmd window – which remains open until I
 finish with my app – but I can live with that. 

That can be avoided by dual nested start like:
C:\cygwin\bin\bash.exe -c -l 'run bash -c -l Xwin.exe :0 -query 192.168.11.1 
-once  '

The first bash closes after the command and so does the cmd window which 
started it. The  at the end is important to get a independend process.

--
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: Checking if the X Server is running

2007-10-01 Thread Holger Krull
O. Olson schrieb:
 --- Holger Krull [EMAIL PROTECTED] ha scritto:

Teach your email program to not include the full email adress while quoting!

 
 #!/bin/sh
 if `ps | grep XWin  /dev/null`

I suggest using grep -i 
to make it case ignoring. I found a cygwin installation that has Xwin and not 
XWin in the process list.


 Now I modified the above shell script to: 
 
 --
 #!/bin/sh
 if `ps | grep XWin  /dev/null`
then
   xterm -e /usr/bin/bash -l
else
   XWin -multiwindow -clipboard -silent-dup-error

My guess is access control, try adding -ac to the xwin parameters to find out.




--
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: Checking if the X Server is running

2007-10-01 Thread Holger Krull
Holger Krull schrieb:
I was to fast on my last email. I tested it now:
You need (on windows):
set DISPLAY=127.0.0.1:0.0 c:\cygwin\bin\bash.exe -l /home/krull/test.sh

(it is important that there is no space between 0.0 and )

test.sh:
#!/bin/sh
ps |grep -i /xwin /dev/null
if [ $? -eq 0 ]
then
   xterm -e /usr/bin/bash -l 
else
   run XWin :2 -multiwindow -clipboard -silent-dup-error
   xterm -e /usr/bin/bash -l 
fi



--
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: Checking if the X Server is running

2007-10-01 Thread Holger Krull
Holger Krull schrieb:
 Holger Krull schrieb:
 I was to fast on my last email. I tested it now:
 You need (on windows):
 set DISPLAY=127.0.0.1:0.0 c:\cygwin\bin\bash.exe -l /home/krull/test.sh
 
 (it is important that there is no space between 0.0 and )
 
 test.sh:
 #!/bin/sh
 ps |grep -i /xwin /dev/null
 if [ $? -eq 0 ]
 then
xterm -e /usr/bin/bash -l 
 else
run XWin :2 -multiwindow -clipboard -silent-dup-error

that :2 is from my testing, sorry, doesn't belong there

xterm -e /usr/bin/bash -l 
 fi
 
 
 
 --
 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: Windows GUI apps from xterm

2007-09-30 Thread Holger Krull
Igor Peshansky schrieb:
 Now from the same cygwin shell, if I run rsh any_unix_machine, I am
 now logged into a unix box, now I run rsh terminal_server_name, I am
 now back on the terminal server. Now if I run calc, it doesn't work,
 attached are 2 snapshots.
 so you have
 terminal-server -unix -terminal-server

 I'm not suprised that this doesn't work.
 The second rsh session you create on the terminal server is not aware of
 the former terminal-server connection. You wouldn't expect to see the
 graphical output of calc if you would sit in front of the unix server
 and doing a rsh to the terminal-server.
 
 Actually, the calc process is spawned by the inetd service, which usually
 cannot interact with the desktop by default.  If the OP enables the
 Interact with Desktop checkbox for the inetd service, this should work.

He is on a terminal server, would be interesting to see on which 'Desktop' calc 
will get displayed. If this is the physical display of the server this will be 
not helping, i guess.



--
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: Checking if the X Server is running

2007-09-30 Thread Holger Krull
O. Olson schrieb:
   Is there any way of checking if the X Server is
 currently running? Because if you try this again, it
 gives you “A fatal error” … which does not crash your
 computer – but is a bit annoying to me. 
 

There probably is a more elegant solution but doing
ps |grep Xwin /dev/null || run Xwin -your options here

will only start Xwin if it is not running already.
(Assuming you will only start one Xwin)

--
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: Checking if the X Server is running

2007-09-30 Thread Holger Krull
O. Olson schrieb:
 --- Holger Krull [EMAIL PROTECTED] ha scritto:
 There probably is a more elegant solution but doing
 ps |grep Xwin /dev/null || run Xwin -your options
 here

 will only start Xwin if it is not running already.
 (Assuming you will only start one Xwin)

   I don’t think I managed to get this to work. Actually
 I am not sure if the pipes are working, because I am
 getting no output for 
 
 $ ps |grep Xwin

I misstyped XWin, it is W not w. Sorry, i didn't test it.

--
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: Checking if the X Server is running

2007-09-30 Thread Holger Krull
O. Olson schrieb:
 ps |grep XWin /dev/null ||XWin -multiwindow
 -clipboard -silent-dup-error
 
 to work from the Cygwin Command Prompt as well as from
 a script file (.sh). I am now trying to copy and
 modify my startxwin.bat file – to see if it can do

I suggest you start the shell script from a batchfile.

Like:
C:\cygwin\bin\bash.exe -l yourstartscript.sh
Or make an Windows Icon with that command.

If yourstartscript.sh is not found you have to give the full path to it in 
cygwin notation.
Like:
C:\cygwin\bin\bash.exe -l /home/krull/startscript.sh

There could be a remaining extra Window, can be avoided with:
C:\cygwin\bin\bash.exe -c -l 'run bash -l -c yourstartscript.sh  '


--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-19 Thread Holger Krull
Michael Giroux schrieb:
 Do the CygwinX developers watch this list?

As far as i know xwin is unmaintained at the moment. 



--
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: FW: Uninstalling Cygwin/X ??

2007-09-17 Thread Holger Krull
Lisa Di lorenzo schrieb:
p.s. I'd like to uninstall it so that I can re-install it, in the hopes of 
 having a 'home' directory created for me the second time around: 
 C:\cygwin\home\
 I read that this should happen if I install Cygwin/X to the properly 
 instructed places in the installation guide.  Is this correct?

http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-all


--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-12 Thread Holger Krull
Jean-Claude Gervais schrieb:

 The IS a drawback though, it doesn't give you the full desktop with the
 background and everything you might be looking for, but in practice the
 things you really want are the apps, anyway.

That is not true, if you tunnel through ssh you can easily start kde, gnome or 
whatever window manager you like if you tell xwin not to start its own local 
window manager.
(kde is startkde, gnome is gnome-session, icewm is icewm-session)



--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-12 Thread Holger Krull
Jean-Claude Gervais schrieb:
 Michael,
 
   I am assuming you are invoking the ssh connection from a graphical
 xterm window, it won't work from a console-mode bash prompt.

It will if you set DISPLAY right before starting ssh.


--
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: xterm changed from german to english

2007-09-12 Thread Holger Krull
Sebastian Posch schrieb:
 I have a german WindowsXP installation with a german keyboard. Since
 yesterday all of a sudden I get only english input in xterm. y is z, -
 is / ...
 
 I still have german input in bash and DOS prompt, so I tried restarting
 the X server and reinstalling xterm, but it didn't help.
 
 I'd be interested in what could've been causing this.

It could be windows xp switching the keyboard for Xwin, i have this annoying 
behaviour with skype. I have to manually select german. (Eingabegebietsschema)

--
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: Windows GUI apps from xterm

2007-09-12 Thread Holger Krull

Keep things on the list please.

 Now from the same cygwin shell, if I run rsh any_unix_machine, I am
 now logged into a unix box, now I run rsh terminal_server_name, I am
 now back on the terminal server. Now if I run calc, it doesn't work,
 attached are 2 snapshots.

so you have
terminal-server -unix -terminal-server

I'm not suprised that this doesn't work.
The second rsh session you create on the terminal server is not aware of the 
former terminal-server connection. You wouldn't expect to see the graphical 
output of calc if you would sit in front of the unix server and doing a rsh to 
the terminal-server.


--
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: Windows GUI apps from xterm

2007-09-12 Thread Holger Krull
xerces8 schrieb:
 Holger Krull [EMAIL PROTECTED] wrote :
 Keep things on the list please.

 Now from the same cygwin shell, if I run rsh any_unix_machine, I am
 now logged into a unix box, now I run rsh terminal_server_name, I am
 now back on the terminal server. Now if I run calc, it doesn't work,
 attached are 2 snapshots.
 so you have
 terminal-server -unix -terminal-server

 I'm not suprised that this doesn't work.
 The second rsh session you create on the terminal server is not aware of the 
 former
 terminal-server connection. You wouldn't expect to see the graphical output 
 of calc if you would
 sit in front of the unix server and doing a rsh to the terminal-server.
 
 Actually this works just fine, _if_ :
  - remote login client and server program know and do propagate the DISPLAY 
 variable
 
 (telnet is more likely to support DISPLAY propagation than rlogin/rsh)

No, this is not relevant. We are talking about a Windows Application here.
Calc knows nothing about DISPLAY, it is not using 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: Xdmcp too slow with SOME Linux accounts.

2007-09-11 Thread Holger Krull
Michael Giroux schrieb:
 From this, it seems the response issue is somehow related to these clients.
 
 Since I'm only starting one client (Eclipse) the others I have no way
 of knowing what the others are.

Yes you do. 
Make an addtional connection with ssh and make ps print all processes for your 
account.
Or ask someone who is root to do so.


 To test the theory that this is the cause of the problem, is there any
 way to prevent these clients from starting and connecting to my XWin
 server?

Yes. 
But these clients get started by the login process on the unix/linux computer 
so we would need to know exactly how you connect and start eclipse for further 
advice.


--
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: Fonts on X-forwarded apps are too small

2007-09-10 Thread Holger Krull
Reuben D. Budiardja schrieb:

 At first I thought this has something to do with resolution / DPI of cygwin X 
 server, but I couldn't find any info on how to configure it (and I'm not 
 really sure if this the problem/solution).

the option for setting dpi is named -dpi
Start Xwin with -dpi 120 or whatever dpi setting you like.
xwin -help |less will show all options.



--
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: How to turn off text antialias ?

2007-09-10 Thread Holger Krull
xerces8 schrieb:
  
 I find the text/font antialias blurry and want to turn it off.
 How do I do that ?


 The app is gaim running on a remote debian etch system.

gaim uses gtk if i remember right, so setting 
GDK_USE_XFT=0
before starting it may be enough.



--
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: How to turn off text antialias ?

2007-09-10 Thread Holger Krull
xerces8 schrieb:
 From: Holger Krull [EMAIL PROTECTED]
 Date: Mon, 10 Sep 2007 16:16:40 +0200
 
 xerces8 schrieb:
  
 I find the text/font antialias blurry and want to turn it off.
 How do I do that ?

 The app is gaim running on a remote debian etch system.
 gaim uses gtk if i remember right, so setting 
 GDK_USE_XFT=0
 before starting it may be enough.
 
 No, unfortunately it is not.

To bad.
XFT font antialiasing should be completly disabled creating a file named 
.fonts.conf in your remote home directory with following entry:

match target=font
   edit name=antialias mode=assign
  boolfalse/bool
   /edit
/match


--
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: font and screen size

2007-09-06 Thread Holger Krull
Cole Radcliffe schrieb:
 That is weird. I do not have a .Xdefaults in my home directory. I do
 have a .Xauthority-c file, which is empty. I downloaded it pretty
 recently, maybe we are working with different versions.

That is no suprise. If you have no .Xdefaults, then just create it.


--
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: Windows GUI apps from xterm

2007-09-06 Thread Holger Krull
Mahdi A Sbeih schrieb:
 I am on windows terminal server win_ts:
 When executing a windows GUI application such as calc from a cygwin
 shell, it works just fine, without setting any DISPLAY env variable.

No surprise here. Windows applications don't use X11, so they don't look for 
DISPLAY.


 Now if I connect to terminal server win_ts from a unix xterm - I am
 still on the same terminal server - and try to run calc, it hangs, but
 running something like xcalc works fine.

I'm not sure what you mean by unix xterm.
If that means connecting from a different system, then you can't get calc 
because calc can't display itself on a X11 Server.

If you mean starting calc from cygwins xterm on the same server, as your hint 
suggests, then you probably run into specific problems a terminal server has 
(finding the right session). 
Starting a windows app from cygwin xterm works here without problems.
Does calc come up in the tasklist?






--
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: font and screen size

2007-09-06 Thread Holger Krull
Cole Radcliffe schrieb:
 So that xterm will automatically know to look in .Xdefaults if I make
 that file?

Yes.

 How does it know that?

Because it has been build that way.

Almost any program that uses X11 will honor the settings in .Xdefaults.




--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-05 Thread Holger Krull
Mario Scheble schrieb:
 Hello.
 
 Please, I need some help with the following problem.
 
 My PC has Windows XP and is part of a WorkGroup with a Debian Linux
 network. I installed Cygwin, and XDMCP properly works when I login on a
 remote machine to ONE Linux account. But when I login to ANOTHER account
 with the same privileges, the connection is very slow.
 
 What could it be wrong with the second account?

Most likely this account is older and has some leftovers in its startup files.
I had similar problems with a kde update (sound daemon related)

Without knowing what is started when you login it is impossible to give further 
advice. 
Try a newly created account, if this has no problems, recreate the older ones.


 


--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-05 Thread Holger Krull
Michael Giroux schrieb:
 On 9/5/07, Holger Krull [EMAIL PROTECTED] wrote:
 Without knowing what is started when you login it is impossible to give
 further advice.
 
 Does stty have any effect?  If yes, what options should be applied?

Don't think so.

 As far as I can tell, my .bash_profile is not being executed when I
 login via xwin.
 Here is a PS to show what is running when I connect via telnet session.

That is not relevant, the question is what is started: Gnome, KDE, WindowMaker 
or something similar. 


 Here is the console output when I connect.  Does this show anything?
 
 winLoadCursor - Windows requires 32x32 cursor
 but X requires 39x26


That seems odd. I have never seen such a message. Does the working login get 
the same message?
Maybe try to start with -swcursor


--
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: font and screen size

2007-09-05 Thread Holger Krull
Cole Radcliffe schrieb:
 this. I could just set the -fn option which stands for font name
 and use a font that has a large standard size but someone would need
 to explain to me how to set that up!

xterm font type and size are usually set in the file .Xdefaults

add something like:

XTerm*faceName: bitstream vera sans mono
XTerm*faceSize: 10

 
 I just want to get the shell larger in general so it does not hurt my
 eyes. Maybe there is another way just to scale everything up?

Yes, start the server with -dpi 120
(or larger)


--
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: X forward problem

2007-08-18 Thread Holger Krull
liang schrieb:
 Sorry to bother your guys. I am trying to set up  a sshd server on a super
 computer running on XP and set up putty on my laptop under XP too.
 I want my laptop to run under X window, but I really have a trouble. I
 searched several days on google, mailing list, FAQ, user guide
 
 1. How can I reply email on this list? I didn't see any reply button. I
 cannot start a new thread every time.

An email list can't have a reply button, because an email itself has no reply 
button. I assume you  are reading a list archive with your Webbrowser. If that 
is true, subscribe to the mailing list and answer with your favorite email 
client.

 2. If do I need to install x server (xorg-x11-base) on both server and
 laptop?

No.

 3. I can not start X server on my laptop and super computer. The following
 is xwin.log

There is no error visible in this log. What makes you sure that the X Server 
hasn't started?

 4. I can start ssh session with my super computer using my laptop with text
 mode

Did you start the ssh daemon on your super computer?


 5. Run xterm and always xterm xt error: can't open display

How did you start them? And did you set DISPLAY?

 6. Every time, I install openssh and X server, I run cygcheck -c and found
 that xorg-x11-bin incomplete. I reinstall it and fix this problem. But it
 doesn't help.

Remove everything and make sure you reinstall with Default Text File Type set 
to Unix.



--
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: Revisiting the cradle problem

2007-08-09 Thread Holger Krull
Scott Mohnkern schrieb:

 I assume Cygwin is using this environment variable to set the default
 shell, and that's what's causing the problem.
 Is there a way to start Cygwin (We're using Xstart.bat) to tell it NOT
 to use this variable?

I don't think so, but i could be wrong.
How about setting this variable to a cygwin safe value before starting 
cygwin/xfree?


--
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: wrong keyboard layout

2007-08-09 Thread Holger Krull
HXdaverdi Cakir schrieb:
 (--) Using preset keyboard for German (Switzerland) (807), type 4
 
 But xterm always cames up with an english layout.

Is the layout really english, or are the german characters just missing? If the 
later is true you should try to edit .inputrc and uncomment:

# Allow 8-bit input/output
set meta-flag on
set convert-meta off
set input-meta on
set output-meta on

--
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: X-Windows not starting up

2007-08-08 Thread Holger Krull
jason allen schrieb:
 Hi Cygwin,
 
 Please help!! X-Windows eeps hanging. See below.

  6 [main] X 1272 child_copy: linked dll data write copy failed,
 0x3E3000..0

Maybe it is the same problem:
http://www.cygwin.com/ml/cygwin/2006-01/msg00782.html



--
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: Cannot Start X

2007-08-07 Thread Holger Krull
Marco Schuler schrieb:
 XWin -multiwindow -clipboard -silent-dup-error
 
 Here is the content of the XWin.log:
 
 (WW) /tmp mounted int textmode
 _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be 
 created.

Check if you can write in the dir /tmp/.X11-unix and delete everything (use ls 
-la to check because the files start with a dot) 

Why is everything mounted in textmode?


 $ mount
 C:\cygwin\bin on /usr/bin type user (textmode)
 C:\cygwin\lib on /usr/lib type user (textmode)
 C:\cygwin on / type user (textmode)
 c: on /cygdrive/c type user (textmode,noumount)
 d: on /cygdrive/d type user (textmode,noumount)
 h: on /cygdrive/h type user (textmode,noumount)
 k: on /cygdrive/k type user (textmode,noumount)
 o: on /cygdrive/o type user (textmode,noumount)
 s: on /cygdrive/s type user (textmode,noumount)
 t: on /cygdrive/t type user (textmode,noumount)
 u: on /cygdrive/u type user (textmode,noumount)
 x: on /cygdrive/x type user (textmode,noumount)


--
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: Cannot Start X

2007-08-07 Thread Holger Krull
Marco Schuler schrieb:
 On 8/7/07, Holger Krull x wrote:

Please make your email Program not quote the full email adress.

 Why is everything mounted in textmode?
 
 Hm, I don't know. That's just what cygwin did on installation. Is
 there any problem about this?

Well, usually it is not what cygwin does. I don't know if it does any paticular 
harm, but there is no reason to have / mounted textmode.



--
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: Cannot Start X

2007-08-07 Thread Holger Krull
Marco Schuler schrieb:

 Why is everything mounted in textmode?
 Hm, I don't know. That's just what cygwin did on installation. Is
 there any problem about this?
 Well, usually it is not what cygwin does. I don't know if it does any 
 paticular harm, but there is no reason to have / mounted textmode.
 
 It seems as this is default from mount. man mount sais: By default,
 mounts are in text  mode

Where did you get your cygwin from?
My mount is telling me that binmode is the default.

 
 But I'd say the textmode is not the problem why I cannot start X?

No, but it is a hint that there is something wrong with your cygwin 
installation.


Attach the output of cygcheck -c

--
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: Cannot Start X

2007-08-07 Thread Holger Krull
Marco Schuler schrieb:

 But I'd say the textmode is not the problem why I cannot start X?
 No, but it is a hint that there is something wrong with your cygwin 
 installation.

Attach the output of cygcheck -c

 
 Fatal server error:
 could not open default font 'fixed'
 winDeinitMultiWindowWM - Noting shutdown in progress
 
 
 The directory /usr/X11R6/lib/X11/fonts/CID/ does not exist in my installation:

That is no problem.


 Any other suggestions?

Delete the whole cygwin installation and redo it without the text mount.



--
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: Mouse not working with Ghostview menus

2007-07-26 Thread Holger Krull
Jean-Paul Mendes schrieb:
 Hi,
 
 Why don't the side menus within Ghostview 1.5 work with the mouse ?
 
 The mouse works just fine everywhere else, even in Ghostview but as no 
 effect whatsoever on the side menus.
 
 This is one of the command lines I've tried in the Cygwin bash shell.
 xwin.exe -clipboard -nounicodeclipboard -query HPUX_hostname
 
 
 Any ideas or suggestion ?

Maybe this:
Keys or mouse buttons not working on AIX, SUN Solaris, HPUX

Disable NumLock. Some programs treat NumLock as a modifier like Control.

--
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: gcc version 3.2.2

2007-07-21 Thread Holger Krull
syam prasad schrieb:
 I am facing with lot of issues with gcc 3.4.4 regarding .dll build.
 Where can i downlaod gcc 3.2.2 . I serached in all mirrop sites, but
 failed to find it. Please help me.

Not quite a question for cygwin-xfree, you probably should ask the cygwin list.
But i doubt that a gcc 3.2.2 ready for download exists. I assume you will have 
to compile that yourself.



--
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: Running gnome on a remote machine

2007-07-13 Thread Holger Krull
Scott Mohnkern schrieb:
 I'm interested in opening up the Cygwin Xserver, and then connecting to
 a remote machine, and starting the gnome desktop.  Log is below.
 
 command I used:
 
 /usr/X11R6/bin/XWin.exe :9 -query hostname

try :9 -query hostnames.dotted.decimal.address -from cygwins.dotted.address



--
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: X Server failing to start

2007-07-12 Thread Holger Krull
Raj Mandair schrieb:
 The X Server in cygwin is failing to start with the startx command.  Attached 
 is the log file.
 
 Please advise.

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




--
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 with Vista

2007-06-27 Thread Holger Krull
Sodel Vazquez-Reyes schrieb:

 I am wondering if there is a version for Windows Vista because I have 
 installed
 the current version, the installation process finished correctly, but 
 cygwin/X 
 didn't work.

There is no version for Vista. X11 from cygwin has problems with Vista
(search the archive) some have workarounds and some don't.
If nothing helps try Xming.

--
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: error message

2007-06-20 Thread Holger Krull
[EMAIL PROTECTED] schrieb:

 Fatal server error: cannot open log file /tmp/XWin.log

 I tried fixing it by reinstalling everything, but that didn't work.  What do I
 do? 

Check if /tmp/XWin.log exists. If so it probably has the wrong owner, so
delete it.


--
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: Copy images from xapplication to msword with XFree86 as XServer

2007-06-20 Thread Holger Krull
Javvaji, Ramareddy schrieb:

 Is there any restriction or settings that one has to explicitly do with
 Xwin.exe while trying to copy an image from an Xapplication to MS Word ?
 First, with XFree86 as Xserver, can we able to copy image from an
 Xapplication and paste it to MS word?

As far as i know only text can be transfered with the clipboard
mechanism between X11 and Windows.

--
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: Multiple Session Question

2007-06-07 Thread Holger Krull
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

 #!/bin/bash
 
 TARGET=linxbox
 
 WHO=duane
 #WHO=testaccount
 
 export DISPLAY=127.0.0.1:0.0
 #export DISPLAY=127.0.0.1:1.0
 export PATH=/usr/X11R6/bin:$PATH
 export XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults
 export XCMSDB=/usr/X11R6/lib/X11/Xcms.txt
 export XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
 export XNLSPATH=/usr/X11R6/lib/X11/locale
 
 rm -rf /tmp/.X11-unix
 
 XWin -clipboard -silent-dup-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/



Re: RH-EL-4 -vrs- RH-EL-5

2007-06-07 Thread Holger Krull
Duane Ellis schrieb:
 Now, New machine RedHat Enterprise Linux 5
 
 But when connecting to RH-EL-5 - provided I do nothing with the keyboard it
 works perfectly.
 
 I suspect RH-EL-5 is provoking something in CygwinX - I do not know. The

Still starting a complete kde? Try starting netscape alone to see if it
suffers from the same effect.
Create a new user on rh-el-5 to get a fresh profile.
Not sure if it helps but worth a try.



--
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: Disruptive screen resolution change when using remote desktop

2007-05-23 Thread Holger Krull
Mansoorali Kudsi schrieb:
 Was there any reply to this mail?
 I too face this issue and am eager to know the solution...

No there wasn't.
And as far as i know there is no real solution for this problem, because
the screen depth (amount of colors) changes when using the remote
desktop (reduces to 16 Bit).
Maybe setting the desktop to 16 Bit and using the same resolution will
help, but i haven't tried.


 --- Burvil [EMAIL PROTECTED] wrote:

  Hi all,
 
  I have my Cygwin/X set up with a root window running
  the fluxbox window manager on my desktop.  It works
  quite well if I'm logged in to the system itself,
  i.e.
  I'm physically at the computer.
 
  However, if I login to my system via remote desktop,
  as I often need to do, the screen resolution is
  usually lower than that of the desktop, and so I get
  the following eror message:
 
  Disruptive screen resolution change
  Restore previous resolution to use Cygwin/X
 
  Clicking on 'Dismiss' does nothing - it apparently
  tries to correct itself, but fails, and the error
  message persists until I kill the X server.
 
  I looked at the following messages, after which I
  tried changing startxwin.bat to enable scrollbars
  and
  making sure color depth was the same on the OS of
  the
  remote and local systems as well as in cygwin/X
  itself.
 
 
 http://sourceware.org/ml/cygwin-xfree/2002-07/msg00508.html
 
 http://sourceware.org/ml/cygwin-xfree/2002-07/msg00480.html
 
  I also tried setting the root window resolution to
  1024x768, which is a lot more common than the
  1680x1050 on my desktop.  Even when the screen
  resolution of the remote system, i.e. where the
  system
  I'm using remote desktop on, is, say, 1152x864, I
  still get the same error message.
 
  Is there a way to get around this other than getting
  a
  monitor that's the same resolution as my desktop?
 


--
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: Logging xterm contents to a file.

2007-05-08 Thread Holger Krull
Mansoorali Kudsi schrieb:

 Is it possible to save the entire contents of a xterm window into a
 file? (using anything other than script)

Maybe doing a screen -L in xterm will do what you want. It will create a
file called screenlog that contains all output.

--
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: Logging xterm contents to a file.

2007-05-08 Thread Holger Krull
Holger Krull schrieb:
 Mansoorali Kudsi schrieb:
 
 Is it possible to save the entire contents of a xterm window into a
 file? (using anything other than script)
 
 Maybe doing a screen -L in xterm will do what you want. It will create a
 file called screenlog that contains all output.

I should really think twice before i write. Cygwin has no screen, so
this won't work on your local computer.

--
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: Logging xterm contents to a file.

2007-05-08 Thread Holger Krull
Thomas Dickey schrieb:
 On Tue, 8 May 2007, Holger Krull wrote:
 
 Holger Krull schrieb:
 Mansoorali Kudsi schrieb:

 Is it possible to save the entire contents of a xterm window into a
 file? (using anything other than script)

 Maybe doing a screen -L in xterm will do what you want. It will create a
 file called screenlog that contains all output.

 I should really think twice before i write. Cygwin has no screen, so
 this won't work on your local computer.
 
 fwiw, I didn't recall if cygwin has an official package for script (though
 I use a script program that I found via google a few years ago).
 
Interestingly enough, someone just mentioned there is a screen for
cygwin here:
http://dellelce.com/code/screen/
I can't get the source to compile, but the exe there still works. And
logging works.



--
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: how to install dejavu font ?

2007-05-05 Thread Holger Krull
Didier BRETIN schrieb:
 On 04/05/2007 16:01, Holger Krull wrote:
 Didier BRETIN schrieb:
 I installed cygwin/X on my XP box and it's running well. I would like to
 use the dejavu font (http://dejavu.sf.net/) under X. Do you know how I
 can install them ?

 I don't know if this is enough, but putting the font in
 /usr/cygwin/X11R6/lib/X11/fonts/TTF
 will be a good start.
 
 /usr/X11R6/lib/X11/fonts exists but there is TTF directory  Perharps
 I need some specific packages ?

The scalable fonts. That is
xorg-x11-fscl

--
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: how to install dejavu font ?

2007-05-05 Thread Holger Krull
Holger Krull schrieb:
 Didier BRETIN schrieb:
 On 04/05/2007 16:01, Holger Krull wrote:
 Didier BRETIN schrieb:
 I installed cygwin/X on my XP box and it's running well. I would like to
 use the dejavu font (http://dejavu.sf.net/) under X. Do you know how I
 can install them ?
 I don't know if this is enough, but putting the font in
 /usr/cygwin/X11R6/lib/X11/fonts/TTF
 will be a good start.
 /usr/X11R6/lib/X11/fonts exists but there is TTF directory  Perharps
 I need some specific packages ?
 
 The scalable fonts. That is
 xorg-x11-fscl

And i believe you need to call font-update after you put the dejavu font
 there.

--
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: how to install dejavu font ?

2007-05-04 Thread Holger Krull
Didier BRETIN schrieb:
 I installed cygwin/X on my XP box and it's running well. I would like to
 use the dejavu font (http://dejavu.sf.net/) under X. Do you know how I
 can install them ?

I don't know if this is enough, but putting the font in
/usr/cygwin/X11R6/lib/X11/fonts/TTF
will be a good start.


--
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: X Server cycling when trying to connect to gdm/dtlogin.

2007-05-01 Thread Holger Krull
Chris Eagan schrieb:
 I'm trying to use Cygwin/X to connect to remote machines' gdm or dtlogin
 session managers.

  XWin.exe
 -query hostname

Does anything change if you use
XWin -query numeric.ip.address -from numeric.ip.address ?

And create and use a new user on your unix box to get a clean profile on
login if that is possible.



--
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: display depth changing when using remote desktop and -multiwindow option, unable to set depth manually with -multiwindow

2007-05-01 Thread Holger Krull
Jason May schrieb:
 I believe that Cygwin is detecting the optimal display settings on
 startup and determining it to be less than 32-bit when initiated
 through remote desktop.  I would use the -depth command line option to
 manually set the depth to 32 bits, but this does not work with
 multiwindow enabled.  Is there another way that I can manually set the
 display depth?

You can't set Xwins display depth larger than the Desktop it is running
on. Usually that would be 16 Bit with rdp sessions.
Did you ever check on the rdp Windows Desktop that you really get 32 Bit
in Windows? Because i get 16 Bit even if i request 24 Bit.

 I have tried modifying the .inputrc file for 8-bit mode as follows,
 but had the same problem.

That has no influence on Xwin.

A possible solution would be a ssh connection and tunneling X11 through
it. Cygwin provides a ssh daemon for windows.



--
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: Drag N Drop in Windows XP

2007-04-30 Thread Holger Krull
Stanley Nguyen schrieb:
 Stanley Nguyen schrieb:

 I'm telnetting to this java app from a Windows XP machine with cygwin as
 my xterm server. Everything works great except drag-n-drop.  Everytime I
 try to drag something from one panel to the other panel within the same
 xwindows, the mouse icon changes to the little circle with a line across
 like a stop sign to indicate it is not allowed.
 If I try using Exceed as my xterm server, then everything works ok.

 I don't understand your description.
 There is no such thing as an xterm server.
 Drag and Drog is governed by the window manager, so how did you start
 Xwin and your java application?
 
 The closest thread that I found is
 http://sourceware.org/ml/cygwin-xfree/2004-06/msg00023.html.
 The problem is I'm using telnet, not ssh.  I then gave it a try with ssh
 -Y, it also does not work for me.
 The fact that it's working for Exceed to tell me that there might some
 limitation with Cygwin X Server but I can't find anywhere indicates that
 drag-n-drop is not allowed???

Drag and Drog is governed by the window manager, so how did you start
Xwin and your java application?

--
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: Drag N Drop in Windows XP

2007-04-30 Thread Holger Krull
Stanley Nguyen schrieb:

 Drag and Drog is governed by the window manager, so how did you start
 Xwin and your java application?
 
 I use the standard startxwin.bat to start Cygwin X Server.  I believe it
 is %RUN% XWin -multiwindow -clipboard -silent-dup-error by default.
 Then I telnet into my Linux box.  From there, I launch my java app which
 is Swing-based.  The java app is then open in a different window.  The
 app is working perfect in all aspects except for Drag-N-Drop.

Drag and Drop is working here with that setup. Which application do you
use? (i tested with azureus and java 1.6, don't know if it uses swing)

Maybe try -rootless instead of -multiwindow for a test.


--
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: Xaccess config when VPN changes local IP

2007-04-29 Thread Holger Krull
Terrence Branscombe schrieb:

 When I establish a VPN connection to my work network from my Windows
 system at home the Windows host IP changes from 192.168.0.X to an IP

Check if
!DisplayManager.requestPort:0
is in your xdm-config. And check if xdm is really listening on Port udp/177.

 %RUN% XWin -ac -indirect %REMOTE_HOST% -from %LOCAL_HOST%
 where REMOTE_HOST is defined as my Debian hostname, and LOCAL_HOST is
 defined as my Windows hostname.

Are you sure you need indirect XDMCP and not just standard? (try -query
instead of -indirect).
Try the numeric ip addresses for REMOTE_HOST and LOCAL_HOST, LOCAL_HOST
needs to be the address send by the VPN gateway.

 I've tried redefining LOCAL_HOST to the
 IP address configured by the VPN gateway, and tried changing DISPLAY
 from localhost to the VPN-configured IP address as well.  The end result
 in all cases is the blank gray screen.

There is no need to set DISPLAY if you use XDMCP.

--
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: XDMCP remote login freezes for Gnome desktop, but not XFCE.

2007-04-29 Thread Holger Krull
Dustin Harriman schrieb:

 
 Using a Cygwin bash shell, I can log into an XFCE desktop just fine
 with the command X -query sila :1, (then I choose XFCE session at
 GDM).  See attached screenshot cygwin_to_remote_xfce_no_problem.png.

Create a new user on the linux box (to make sure it is nothing in the
profile) and try
 Xwin -query numeric.ip.address -from numeric.ip.address :1






--
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: Drag N Drop in Windows XP

2007-04-29 Thread Holger Krull
Stanley Nguyen schrieb:

 I'm telnetting to this java app from a Windows XP machine with cygwin as
 my xterm server. Everything works great except drag-n-drop.  Everytime I
 try to drag something from one panel to the other panel within the same
 xwindows, the mouse icon changes to the little circle with a line across
 like a stop sign to indicate it is not allowed.
 If I try using Exceed as my xterm server, then everything works ok. 

I don't understand your description.
There is no such thing as an xterm server.
Drag and Drog is governed by the window manager, so how did you start
Xwin and your java application?



--
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: can't startup startx in cygwin

2007-04-28 Thread Holger Krull
Katherine J Merrill schrieb:
 Started poking around.  Decided to delete and reinstall everything. 
 Worked once, then would just get hung again when I startx.  Went to

Did you use the same user on first and second attempt?

 I get these two errors from the log:
 
 could not init font path element usr/x11r6/lib/x11/fonts/100dpi
 and
 could not init font path element usr/x11r6/lib/x11/fonts/CID

These are not really errors, just messages about not existing fonts. I
assume almost everyone has these.

Send the output of cygcheck -s and the complete Xwin.log please.



--
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: FW: Wide char support on cygwin

2007-04-27 Thread Holger Krull
Arthi N (RBIN/ECM2) schrieb:

 But I have included the needed header inspite of that I get the error 
   !)  error: ISO C++ forbids declaration of `wostream' with no
 type 
   2)  error: `std::wostream' should have been declared inside
 `std' 
   3)  error: `wostream' is neither function nor member function;
 cannot be decl
 ared friend
 
 1)what could be the problem.

I assume you are using a more restrictive compiler now. What did you use
on unix?
Give the source that produces the error.


 2) I had downloaded the latest cygwin from the net and installed. Is
 there any other library to be included while installation

None that i know about.

 3) How do I know which version of STL is getting used in cygwin.

I don't know. I guess it is whatever comes with gcc.



--
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: FW: Wide char support on cygwin

2007-04-27 Thread Holger Krull
Arthi N (RBIN/ECM2) schrieb:

 
 Errors got during compilation :
 
 wstreamtest.cpp: In function `int main()':
 wstreamtest.cpp:17: error: `wistringstream' undeclared (first use this f
 

I get the same. Very weird.

Looks as if porting from Sun isn't as easy as suspected.
There is entry in the cygwin mailing list that mentions problems:
http://cygwin.com/ml/cygwin/2005-05/msg01294.html
If this hasn't been resolved wide character IO will fail on cygwin.




--
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: FW: Wide char support on cygwin

2007-04-26 Thread Holger Krull
Arthi N (RBIN/ECM2) schrieb:
 Hello All,
   
   Using -mnocygwin I could compile wstring , but wostream
 functions and wcswcs functions are not compiling on cygwin .

If you are using -mnocygwin you are not compiling a cygwin application
any more. Instead it is MINGW32.


--
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: Problem connecting

2007-04-19 Thread Holger Krull
Robert Dail schrieb:
 I cannot connect to our linux server using cygwinthere is an error. 

AUDIT: Thu Apr 12 09:12:32 2007: 1512 XWin: client 18 rejected from IP 
158.123.81.9

Are you sure that this isn't just your linux server that doesn't like
you? Is your X-Server working with local connections?


 I copied the cygwin folder and the cygwin shortcut on a Windows XP
 system that it is working perfectly fine on.  I pasted that folder and
 shortcut onto another XP system.  My network administrator said he has
 done this before and cygwin has worked fine.

Well then, ask him.


 Can we copy the program
 over to another computer this way without running the install/setup? 

Usually not. Registry entry's are missing this way (that means mount
points at least).




--
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: Can't start XFS

2007-04-18 Thread Holger Krull
Dell'Anna Michele (TERNA) schrieb:

 I added the fonts path to /etc/X11/fs/config but when I try to start xfs
 service I receive
 the following message:
 FontTransmkdir: Owner of /tmp/.font-unix should be set to root
 I searched in mailing list but I didn't find nothing usefull.
 
 Anybody could help me?

This is most likely only a warning, and not an error. Xwin does the same
about /tmp/.X11-unix for example.
If you want to get rid of it you need a user root with uid 0 in
/etc/passwd and then change the owner of .font-unix to root.

But i doubt that this is the reason for xfs not starting. Btw only few
applications require a font server these days.


--
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: Changing port number

2007-04-13 Thread Holger Krull
Zxarr schrieb:
 I'm attempting to install Cygwin/X on our backup server, which is WIndows
 2003, running Data Protector 5.5
 
 Data Protector uses port 6000 and 6001 for backup clients to connect to
 initiate backups.  Is there any way of changing the Xwin port form 6000 to
 something else??

start Xwin with :2
xwin will use port 6000 for the first server, 6001 for the second and so
on. Starting it with :2 will put it on the third port 6002.



--
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: Larger fonts + ClearType

2007-04-11 Thread Holger Krull
Gleb Belov schrieb:
 I have a high resolution on my laptop and I would like to have larger
 fonts in menus etc. I tried to consult XFree86 website but no idea...

Start Xwin with -dpi 120 (if that is to large try 100)

 
 Moreover, it seems like the ClearType setting works for XWin fonts, too.
 At least for
 Times. It looks fine, but is it intended?

I can only guess here. But i assume that fonts are drawn with the render
 extension which uses windows functions, and that could lead to the use
of clear type.

--
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: XDMCP with cygwin kill kdesktop

2007-03-28 Thread Holger Krull
Cyril Aubert schrieb:

 Just after login, I open terminal to kill process kdesktop in order to
 delete the red hat wallpaper.

A really weird method to change the background image.

 Is there a better way to delete the Linux wallpaper that to to kill
 kdesktop ?

Yes. Use kcontrol / Appearance / Background



--
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: XDMCP with cygwin kill kdesktop

2007-03-28 Thread Holger Krull
Cyril Aubert schrieb:
 Thank you for reply.
 
 I find in last topic the way to display only kicker by running
 $ XWin -multiwindow -clipboard 
 $ kdeinit +kicker 

 But these launch kicker form cygwin platform, and I would like to access
 to my server application so to my server kicker.

Well, you are starting kicker in cygwin, so no suprise here.
If you want to start kicker on your linux computer you will have to use
ssh or rsh. Remember to set DISPLAY if you are not using ssh tunnel.




--
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: XWin 100% CPU usage for Java applications on Vista

2007-03-24 Thread Holger Krull
   3. On a linux machine, run this command:
 
   export DISPLAY=__VISTA_HOST__:0.0
 
   4. Start a Java GUI application, on the linux machine. For example,
 use the jconsole command, from the Java JDK.
 
   5. After the GUI is displayed on the Vista machine, lock the
 computer, then unlock it. The GUI window will become white and
 unresponsive, and one CPU core will be used up to 100%.

I had similar problems and found that starting the X Server with
 -engine 1 will help. Give it a try.



--
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: XWin 100% CPU usage for Java applications on Vista

2007-03-24 Thread Holger Krull
Vladimir Nicolici schrieb:
 On 3/24/07, Holger Krull [EMAIL PROTECTED] wrote:
 I had similar problems and found that starting the X Server with
  -engine 1 will help. Give it a try.

 
 I tested, unfortunately, it doesn't work. And I just discovered that
 opening and closing the About window from the tray icon causes the
 same problem.
 
 A concern is that I performed the tests using Remote Desktop. And I

Maybe a ssh tunnel instead of remote desktop will change the situation.


--
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: XWin 100% CPU usage for Java applications on Vista

2007-03-24 Thread Holger Krull
Vladimir Nicolici schrieb:

 With remote desktop, if I loose the connection with my work computer,
 nothing bad happens, I just reconnect after reestablishing the
 connection. And remote desktop uses far less bandwidth than X
 protocol.

freenx can provide the same for linux.

--
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: Urgent Help

2007-03-21 Thread Holger Krull
[EMAIL PROTECTED] schrieb:
 info. Xwin was started with the command-line: /usr/X11R6/XWin
 -multiwindo -clipboard -silent-dup-error

 _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
 _XSERVTransMakeAllCOTSServerListeners: server already running
 


Looks like this is a regular topic now.
Possible causes are:
firewall software (disable for test, some need deinstall)
another software already listening on port 6000
wrong owner of /tmp/.X11-unix or of the file in that directory (created
as Administrator but now used as regular user)

PS: Urgent Help is a bad description. Sounds like urgent business
proposal from nigeria

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



  1   2   >