RE: FW: How to create an icon to startx with no extra CMD.EXE window
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. Thanks, Siegfried -- 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 get scroll bars on initial xterm instance?
On Mon, 2008-04-07 at 12:23 -0700, Siegfried Heintze (Aditi) wrote: When I run startx it creates an xterm for me. But this xterm does not have a scroll bar. I like to create xterms with -sl 3000 -sb so I get lots of history. How can I make startx create an xterm with these options? edit startxwin.sh/startxwin.bat OK, in c:/cygwin/usr/X11R6/bin/startxwin.sh Line 106 I have: xterm -e /usr/bin/bash -l -sb -sl 3000 And in c:/cygwin/usr/X11R6/bin/startxwin.bat Line 151 I now have: %RUN% xterm -e /usr/bin/bash -l -sb -sl 6000 Adding -sb -sl 6000 did not seem to help. I also created the file c:\Documents and Settings\a-siehei\.Xresources with these contents on a different computer Xterm.*.saveLines: 3000 Xterm.*.scrollbar: true This seems to have no effect (affect?) either. Can someone advise me as to what I am doing wrong? Thanks, Siegfried
FW: How to get scroll bars on initial xterm instance?
When I run startx it creates an xterm for me. But this xterm does not have a scroll bar. I like to create xterms with -sl 3000 -sb so I get lots of history. How can I make startx create an xterm with these options? Thanks, siegfried -- 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/
How to run VNC thru ssh (openssh question)
I used to use the following all the time to access my Windows machine remotely: ssh -f -L 5901:localhost:5900 -N -C -o Compression=yes -o CompressionLevel=9 machine name or ip vncviewer YMMV. Obviously, you need to make sure that the port ssh is using is open through any firewall. None of this is really Cygwin-specific so further discussion on this l list along this line is really off-topic though. H... I hope that is not true. I hope this is on topic because I think it is an issue with installing ssh. I get the following error when I try the command above: No matching comp found: client zlib server none,[EMAIL PROTECTED] I tried leaving off the -o and compression flags, but this did not help. I got the same error until I removed the -C and then it did not even give me an error message (and still did not work). Thanks, Siegfried -- 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 run _X_ Session from RH8 via ssh -X?
[snip] However, I cannot seem to start an X session from my ssh -X -p 892 [EMAIL PROTECTED] session. I tried running explorer . and that just hung. OK, that was not an X program. Then I tried /usr/X11R6/bin/xclock and it said it could not open the display. Having already done a xhost+ remote wan address before running ssh I tried export DISPLAY=client lan address:0.0 but that did not help: it still could not open the display. If you are using ssh -X or -Y you don't need to set DISPLAY, in fact ssh already did set it. But if you set DISPLAY then X uses the normal ports and those will have to be opened/redirected on the firewall. [snip] winCheckDisplayNumber - Cygwin/X is already running on display 0 It was running already but it's not needed unless you want to use VNC. Well what am I doing wrong? I forgot to mention: the firewall guarding the windows machine must have the necessary ports open or I would not be able to establish a console window on it. Why does /usr/X11R6/bin/xclock still say Error can't open display:? Thanks, Siegfried -- 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 run _X_ Session from RH8 via ssh -X?
[snip] Why does /usr/X11R6/bin/xclock still say Error can't open display:? That looks like an explicit unsetting of DISPLAY, i.e. somewhere, probably your .profile/.bashrc/.bash_profile, has a unset DISPLAY. Starting in Cygwin: $ echo $DISPLAY :0 $ ssh -X [EMAIL PROTECTED] # echo $DISPLAY localhost:10.0 Notice that ssh created a pseudo display that will be used to tunnel the X protocol back to your local X server. I did ssh -X [EMAIL PROTECTED] ls -A -1 | xargs grep -n DISPLAY * echo $DISPLAY The only place DISPLAY occurred (in the output) was in the .bash_history file. Echo $DISPLAY gave a blank line only. Any other suggestions? Sieg -- 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 run _X_ Session from RH8 via ssh -X?
Thanks Dan and Rene! It works. But now I just realized the obvious: Only X GUIS work and not windows. Is this correct? I assume I can tunnel rdesktop the same way I tunnel vnc? I guess I'll try tunneling both vnc and rdesktop next. Siegfried -- 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/
How to use ddd with XWindows?
I apologize if I had already posted this question. However, I did not see my own posting and I assume it never made it to the mailing list. I see from the posting below that you are using startx. H... I think that is the command I use on Linux. I tried it on Win2003 server running cygwin and there is no such command. I'm using the command XWin.exe and I'm trying to run the ddd debugger. XWindows seems to start OK. I can run X utilities like the XClock. However, when I try to start ddd main_assert.exe I get the Error: Can't open display:. Someone in the [EMAIL PROTECTED] mailing list suggested I need to set the display and then I was chastised for carrying on off topic. Can someone help me run ddd? Currently, ddd is my only motivation for running XWindows. I was told I needed to start the XWindows server before I could run ddd. Thanks, Siegfried -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Gottwald Sent: Tuesday, July 13, 2004 9:32 AM To: [EMAIL PROTECTED] Subject: Re: X startup hangs On Tue, 13 Jul 2004, electa wrote: When i try to start X with command: $ startx (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0410 (0410) (--) Using preset keyboard for Italian (410), type 4 Rules = xorg Model = pc105 Layout = it Variant = (null) Options = (null ) at this point output stops, and no window appear. with 'ps' I can see that Xwin.exe and xinit.exe are both running (in winXp task manager too) trying with startxwin.bat, I get the same output and again no window. what does mount report? bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723