Re: changing font
On Tue, Jul 20, 2010 at 12:00:21PM -0400, matias kaukonen wrote: - xlsfonts - . . . -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso10646-1 -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1 -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-10 -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-13 -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-14 -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-15 -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-2 -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-3 - Then I changed .Xdefaults to - aterm*font:-adobe-courier-bold-r-normal--17-120-100-100-m-100-iso10646-1 XTerm.font:-adobe-courier-bold-r-normal--17-120-100-100-m-100-iso10646-1 urxvt*font:-adobe-courier-bold-r-normal--17-120-100-100-m-100-iso10646-1 - Next, I selected the font with xfontsel, and then started up an xterm - result: the font did not change Is something incorrect or out of order? matt. -- 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/ did you restart X after modifying Xdefaults? this page http://sgenomics.org/~jtang/blog/posts/Reloading_Xdefaults_without_restarting_X/ notes that To reread your .Xresources file, and throw away your old resources, you can type: xrdb ~/.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: changing font
On Mon, Jul 12, 2010 at 04:59:11PM -0400, matias kaukonen wrote: 1. Could someone pls post instructions about how to reply to an existing post. 2. I have a font I'd like to use and its located at /usr/X11R6/lib/X11/fonts/TTF with administrator permissions. 3. How can I make this font the default for an xterm? Do I have to set the path in some manner? lookup the xlsfonts and xfontsel packages and how to use them to get a font. i.e. $ xlsfonts |grep -i terminus|grep medium -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso10646-1 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso8859-1 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso8859-13 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso8859-15 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso8859-16 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso8859-2 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso8859-5 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso8859-7 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso8859-9 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-koi8-r -xos4-terminus-medium-r-normal--0-0-72-72-c-0-koi8-u -xos4-terminus-medium-r-normal--0-0-72-72-c-0-microsoft-cp1251 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-paratype-pt154 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso10646-1 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-1 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-13 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-15 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-16 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-2 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-5 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-7 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-9 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-koi8-r -xos4-terminus-medium-r-normal--12-120-72-72-c-60-koi8-u -xos4-terminus-medium-r-normal--12-120-72-72-c-60-microsoft-cp1251 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-paratype-pt154 -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1 -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso8859-1 snip $ grep -i termin .Xdefaults aterm*font: -xos4-terminus-medium-r-normal-*-12-120-72-72-c-60-iso10646-1 Xterm.font: -xos4-terminus-medium-r-normal-*-12-120-72-72-c-60-iso10646-1 urxvt*font: -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-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: changing font
On Tue, Jul 13, 2010 at 10:33:14AM -0400, Reid Thompson wrote: On Mon, Jul 12, 2010 at 04:59:11PM -0400, matias kaukonen wrote: 1. Could someone pls post instructions about how to reply to an existing post. a starting point would be to google mailing list netiquette some pointers in general, before you hit send, look at To: Cc: Bcc: etc and make sure that you're sending to who you want to addresss. Generally, this will be the mailing list address only. In rare/some cases, it may be directly to the poster -- but that is generally *rare* don't reply to digests trim the original email text to what is pertinent to your response don't top post -- either bottom post or inline post -- 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: problems starting xterm
On Fri, 2010-03-19 at 10:54 +0100, Markus Hoenicka wrote: Hi, I have plenty of shells installed (bash, ash, dash), and they work ok in MinTTY. I'm afraid I'm missing some simple but important setting somewhere. Any ideas? what happens when you call xterm from the mintty command line? -- 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?
On 2/26/2010 6:40 PM, Kenneth Wolcott wrote: Hi; Now, if it isn't asking too much, I'd like to use KDE as my Window Manager and I'd like some KDE-based utilities, like konsole and karm (? the task/time manager). I don't see a great deal of visible difference between twm and openbox, but I'll look on openbox.org and find more details. The Windoze start shortcut did help, and the ~/.xinitrc did help -- thank you. Thanks, Ken Wolcott i've not checked to see if KDE or any of it's components is/are available as part of the cygwin X stuff (when I use a heavyweight desktop environment i use gnome). a quick search on KDE at the package search page of cygwin lists nothing, while a search on gnome lists quite a few. someone with more knowledge will have to advise you -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: How do I start WM?
On Thu, 2010-02-25 at 10:56 -0800, Joseph Ess wrote: From: Yaakov (Cygwin/X) yselkowitz at users dot sourceforge dot net On 2010-02-25 10:16, Joseph Ess wrote: I can reproduce your finding. Putting just openbox in my ~/xinitrc does not work. Of course not; the xinit(1) man page explains that clearly. Really? I looked. Your definition of clear and mine must be different. The xinit(1) man page suggests an ~/xinitrc like so: xrdb -load $HOME/.Xresources xsetroot -solid gray xclock -g 50x50-0+0 -bw 0 xload -g 50x50-50+0 -bw 0 xterm -g 80x24+0+0 xterm -g 80x24+0-0 twm I would assume (yea, I'm sticking my neck out) I could comment out twm and substitute another WM. Doing so works with WindowMaker. It doesn't with OpenBox. Reid Thompson suggested doing something similar here: http://cygwin.com/ml/cygwin-xfree/2010-02/msg00149.html What am I doing wrong and how can i fix it? Thanks, Joe yep -- mine is probably not the best/a little off. Note my last line, i'm not at my cygwin box right now, but I'll bet that if you exit the xterm that is opened on startup, that everything goes away (i.e. xinit exits after that xterm exits ) exec xterm -geometry 80x6+0+0 -name login I generally start my xserver apps with my own script. Which is why i had the short debugging session to get startx/.xinitrc/.xserverrc working on my box that i posted in my email. At some point in the way back, I left things in a bad state. -- 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?
On Thu, 2010-02-25 at 12:32 -0800, Joseph Ess wrote: From: Yaakov (Cygwin/X) yselkowitz at users dot sourceforge dot net Openbox is just a WM. It does not provide a panel, pager, or other desktop components. Maybe I'm thinking of BlackBox, since it has a toolbar. Thanks, Joe these types of components can be used with openbox, if you want. obconf allows you to set N number of desktops, dock location etc. the openbox website has a lot of information regarding usage and configuration ( i.e. i have openbox run 3 desktops and I mapped the windows-meta-key-F1-3 to switch between them -- i also run a taskbar (tint2) that allows me to do the same as well as have systray) -- 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?
Try this: Copy the shortcut as mentioned earlier in the email trail. set the Target to be: C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startx -- /usr/bin/Xwin.exe Note the double quotes around the last argument. Without them, Xwin.exe doesn't start on my box. startx also would not invoke Xwin.exe on my box unless I explicitly called it ala above Commmand line invocation- $ startx -- /usr/bin/Xwin.exe perhaps it's not reading the symlink properly (the default server is set as /usr/bin/X, which is symlinked to /usr/bin/Xwin.exe) -- nope, explicitly setting default server to /usr/bin/Xwin.exe doesn't start it either via a plain startx on the command line. setting startx to echo the eval of the invocation yields xinit /home/rthompso/.xinitrc -- /home/rthompso/.xserverrc :0 -auth '/home/rthompso/.serverauth.5912' aha -- my .xserverrc has: #exec X -screen 0 1024x768x16 -engine 4 -ac -nowinkill -noreset -emulate3buttons 100 uncomment it and try again from command line a plain startx... xserver starts up in it's own window with my .xinitrc programs running. shut it down, and try my copy of the shortcut again, starts again. Now that we've established that mine wasn't starting due to the invalid .xserverrc, reset the shortcut target to C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startx and try it - starts again Pasted below is my .xinitrc (you said you don't have one in $HOME), you can try this one in your $HOME if you want. It will open a couple of rxvt terms and and xterm. It is configured to startup the openbox window manager. You MAY prefer to copy the /etc/X11/xinit/xinitrc to your $HOME/.xinitrc to use as your base. cat .xinitrc #!/bin/sh # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $ userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/usr/X11R6/lib/X11/xinit/.Xresources sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap # merge in defaults and keymaps if [ -f $sysresources ]; then xrdb -merge $sysresources fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f $userresources ]; then xrdb -merge $userresources fi if [ -f $usermodmap ]; then xmodmap $usermodmap fi /usr/bin/openbox #twm #wmaker #/opt/gnome2/bin/gnome-session # start some nice programs rxvt -d :0.0 -geometry 80x35+494+51 -sl 1500 -sr -fg lightblue -bg darkolivegreen rxvt -d :0.0 -geometry 80x20+294-0 -sl 1500 -sr -fg lightblue -bg darkolivegreen exec xterm -geometry 80x6+0+0 -name login -- 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?
On 2/24/2010 9:54 PM, Kenneth Wolcott wrote: Apparently I'm missing some components... $ 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. Normally I use the Xming X Window manager if I'm not running the twm Window Manager executed from Cygwin. Lets make sure we're on the same page. Xming X Window manager - from a quick glance, this is an X server, not a window manager. It's corresponding executable in cygwin would be Xwin.exe, started via either startx or startxwin.exe. twm and openbox (and openbox-session which adds some autostart and xdg interactions to an openbox manages session) are window managers. window managers require an xserver to be started first, all the X applications 'paint' themselves on the Xserver. The window manager, allows you to 'manage' those applications (size, location, minimize,maximize etc ). So running openbox or openbox-session w/o an X server already running will fail ala above. Have you had a chance to read through my previous post? reid -- 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: RAM requirements for Cygwin/x
WALLACE, ANDREW F (ATTLABS) wrote: Dear Cygwin/x developers, I have a laptop with 2 GB of RAM running Window XP Professional Version 2002. Do I need more RAM for Cygwin/x to work effectively? No. i've ran X with 512, 768, and 1000MB fine. I wasn't attempting to run Gnome or KDE desktops, only X applications. Not sure how resource intensive the entire desktop suite is. -- 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 xterm not compatible with windows 7?
wgw...@sbcglobal.net wrote: Hi: I sent this post earlier this week and have not received any replies. If this is the wrong place to post this, please let me know where I should. Thanks Hi All: This is my first post here. I've never had a problem I couldn't fix with cygwin-x before. Here is the deal: I just bought a new PC with windows 7 64 bit, build number 7600, version 6.1. I downloaded a fresh install of cygwin and cannot get cygwin-x xterm running. Cygwin version is 1.7.0(0.218/5/3) I tried running the cygwin-x XWin Server shortcut command line from a cmd window to get the error output: C:\cygwin\bin\run.exe /usr/bin/startxwin.bat try this -- edit /usr/bin/startxwin.bat and put a 5 second sleep between the call to Xwin and the call to xterm, and see what happens -- 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 window no longer appears
Timares, Brian (Patriot) wrote: On Friday, November 13, 2009 Csaba Raduly wrote: On Thu, Nov 12, 2009 at 11:16 PM, Olivia Cheronet wrote: I have recently started to work with Cygwin/X. Until now, I have been starting Cygwin/X by using startxwin.bat in the Cygwin bash shell. Everything seemed to be working fine. However, it has now stopped working... When I type startxwin.bat in the Cygwin shell, the normal startxwin.bat - starting on Windows NT/2000/XP/2003 appears. Yet, the window which used to appear no longer does. I am really not too sure what to do about this, given that I have not in startxwin.sh or startxwin.bat, which ever you use, add a call to sleep 5 between the call to Xwin and the call to xterm ... and see what effect it has i.e. assuming startxwin.sh ... change XWin -multiwindow -clipboard -silent-dup-error # Startup an xterm, using bash as the shell. xterm -e /usr/bin/bash -l to XWin -multiwindow -clipboard -silent-dup-error sleep 5 # Startup an xterm, using bash as the shell. xterm -e /usr/bin/bash -l -- 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 error
baseball07 wrote: Thank you for the suggestion. Could you please type out the syntax. I'm a newbie to Linux code. Thank you very much. ssh -Y usern...@host -- 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 open a standalone xterm
On Wed, 2009-10-28 at 11:49 -0700, Mike Ayers wrote: From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Joel Gwynn Sent: Wednesday, October 28, 2009 8:27 AM And now, sporadically, when I run startxwin.sh, sometimes it works, ie opens up the xterm, but sometimes some windows open, with text that I can't read quickly enough, then go away. If I close Xwin and try again, sometimes it will work, mostly not. You're not running startxwin twice, right? That won't work - you must run the xterm command from an existing xterm, a cygwin window, or the xterm icon in the start menu (which can be copied to the quicklaunch bar). Also, try running bash in an existing xterm to see if the problem is in your .bashrc, i.e. not with xterm or X. HTH, Mike test this.. in startxwin.sh or startxwin.bat ( whichever one you're calling to start X ), between the call to start Xwin and the call to start the xterm, add sleep 5 if that gets you an xterm every time, then decrement 5 until failure, leave the call in with failure + 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: How to open a standalone xterm
Joel Gwynn wrote: Ha! That seems to do it. Although I also have to wait a bit between closing the xwin window and restarting, but that's not so bad. I guess there's some process that takes awhile to exit. possibly having to wait for the X server socket to completely free up between between shutdown and restart -- 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: Bad XTerm Vim coloring
On Mon, 2008-11-24 at 11:34 -0500, Nick Deubert wrote: Hey everyone, First off thanks for your hard work on cygwin/X it is very appreciated. I upgraded to the new Xorg last week and I have had one you didn't mention whether you'd ran setup.exe and re-installed vim -- perhaps one, or more, of vim's startup files got corrupted during the update...??? -- 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? 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/ edit startxwin.sh/startxwin.bat -- 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
On Fri, 2007-11-30 at 09:42 -0500, jose isaias cabrera wrote: Holger Krull escribio, 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 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 Is there a way to add a menu on the X in the taskbar? I see that there is a Show Cursor, an About and Exit. Can I add an XTerm to that? Because I think I am connecting, but I am not getting anything yet. thanks. -- 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/ from http://x.cygwin.com/features.html Configurable Tray Icon Menu - Menu entries can be added to the configurable tray icon menu via a .XWinrc file in the user's home directory, or via a system.XWinrc file in /usr/X11R6/lib/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: Using XWin.exe to connect to a linux X Server
On Fri, 2007-11-30 at 09:38 -0500, jose isaias cabrera wrote: Hi, DISPLAY on the Linux box must be set to the IP address of the cygwin box. H... But DISPLAY on the cygwin box must be set to either localhost or the IP address of this machine. Ok, this one was set to d-tuxedo, which I did not change. But I just set it back to localhost:0.0 and still happens. You also must have some method to communicate between both machines. I always used telnet as it was all locally done. You can also take SSH if you do not know who else listens between. I do. I am able to connect to d-tuxedo through ssh, etc. I just want to use X with cygwin to get to it. try ssh -Y [EMAIL PROTECTED] or ssh -X [EMAIL PROTECTED] and then try to 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: scroll bars
On Thu, 2007-09-06 at 00:22 -0500, Cole Radcliffe wrote: %RUN% xterm -fn 10x20 -scrollbar -e /usr/bin/bash -l does not work for me I also tried it with -scrollBar That's because -scrollbar is not a valid command line parameter tor xterm. %RUN% xterm -fn 10x20 -sb -sl 2500 -e /usr/bin/bash -l see xterm -help -- 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: scroll
Reid Thompson wrote: Cole Radcliffe wrote: What are the XWin server options you are using with that Reid? Mine which are %RUN% XWin -clipboard -silent-dup-error -multiwindow give some weird object that looks like a scrollbar on the side but it does not allow you to scroll my options are the same - XWin -multiwindow -clipboard -silent-dup-error What exactly is weird? Email me directly a png of the xterm window. click in the terminal window and hold down your enter key until your buffer starts scrolling up -- then you can use the left and right mouse buttons to scroll up/down the xterm buffer by clicking above/below the scrollbar slider ( i.e. you will NOT be able to scroll until you've ENTERED enough to cause buffering to occur you may prefer rxvt over xterm the options are pretty much the same -- 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: scroll
Cole Radcliffe wrote: What are the XWin server options you are using with that Reid? Mine which are %RUN% XWin -clipboard -silent-dup-error -multiwindow give some weird object that looks like a scrollbar on the side but it does not allow you to scroll my options are the same - XWin -multiwindow -clipboard -silent-dup-error What exactly is weird? Email me directly a png of the xterm window. click in the terminal window and hold down your enter key until your buffer starts scrolling up -- then you can use the left and right mouse buttons to scroll up/down the xterm buffer by clicking above/below the scrollbar slider ( i.e. you will NOT be able to scroll until you've ENTERED enough to cause buffering to occur -- 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
how bout -fn 12x24 On Wed, 2007-09-05 at 13:26 -0500, Cole Radcliffe wrote: I tried to change the font size with the option -fs after the xterm command however xterm did not recognize that option even though it appeared in man xterm. I am guessing that it was just not compiled into the cygwin version of xterm. Is there any other way to accomplish 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! 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? Thanks. -- 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: font and screen size
run xlsfonts and pick one -- 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
Cole Radcliffe wrote: OK. I think it was not working because I was just appending options to -e /usr/bin/bash -l in the startx batch file which for some reason does not work for any option I append (the shell just dies quickly). One interesting thing I found is that if I replace the %RUN% xterm -e /usr/bin/bash -l in the startx batch file with xterm -fn 12X24 I get the large font size however it opens onto my Windows desktop not my cygwin hierarchy which is in a different drive. It opens into the correct drive but with the small font with %RUN% xterm -e /usr/bin/bash -l. How can I get it to open with the large font size in the correct directory? On 9/5/07, Cole Radcliffe [EMAIL PROTECTED] wrote: 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. On 9/5/07, Angelo Graziosi [EMAIL PROTECTED] wrote: In my $HOME/.Xdefaults I have: try %RUN% xterm -fn 12x24 -e /usr/bin/bash -l anything after the -e /usr/bin/bash is being passed as a parameter to bash, not 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: scroll bars
Cole Radcliffe wrote: Thanks for the help with the font size. Now why does why does %RUN% XWin -silent-dup-error -scrollbars give me a terminal with no scroll bars? -- 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/ the scrollbars param for XWin is not the same as the scrollbar param for terminals... xterm ( and other terminal emulators take a 'scrollbar' variant parameter ) EX. xterm -sb -sl 2500 rxvt -sb -sl 2500 -- 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 scrollbar...PLEASE
sorry, -sr is rxvt try $ xterm -sb -ls -sr -rightbar 1000 -bg CornflowerBlue -fg LemonChiffon -- 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 scrollbar...PLEASE
try $ xterm -sb -ls -rightbar -sl 1000 -bg CornflowerBlue -fg LemonChiffon What does that give you? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Multiple Session Question
On Thu, 2007-06-07 at 10:50 -0400, Duane Ellis wrote: Hello, I've got cygwin working well via SSH to single host, single window. I connect via SSH, and run startkde - I get the KDE desktop in one single window. Works great! How do I connect to a second machine at the same time. See below for details. -Duane. For example: I login as my self - with ssh a remote session And I login as another person to the same machine. In my case, I have two accounts: A development account And A Test account. Likewise, I have this situation: I login to Machine1 - and it works. I login to Machine2 - and it works. Problem: I can only have 1 connection to 1 machine at a time. Both should have separate window/display. I have done this with commercial X11 packages, but not CygwinX. This does not seem to work, and I can't seem to find in the user docs any thing that reasonably describes some things. (1) Yes, I have tried using a different display, ie: 127.0.0.1:0.0 And 127.0.0.1:1.0 That does not work when I have 2 sessions. The two displays work - independent of each other (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. (3) I'm not sure what the --screen options do for the Xwin program. The script I to start the session (via SSH and public keys) is below, The difference between the two is WHO and DISPLAY. The script below - deletes the old /tmp/.X11-dir, which I know is a bad thing with 2 sessions. I have tried not deleting it - that does not seem to help. #!/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 echo STARTING KDE REMOTEL ssh -l $WHO $TARGET startkde echo DONE RUNNING KDE REMOTELY exit -- 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/ try #!/bin/bash TARGET=linxbox TARGETONE=linxbox1 WHO=duane WHO1=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 XWin -clipboard -silent-dup-error echo STARTING KDE REMOTEL ssh -l $WHO $TARGET startkde ssh -l $WHO1 $TARGETONE startkde echo DONE RUNNING KDE REMOTELY exit -- 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, rxvt, mrxvt, etc....
Charles Wilson wrote: Sigh. cygwin's rxvt is not broken. It works for me, and about 2000 others. +1 --I have been using cygwin rxvt for several years (Xwin and Win) -- has fulfilled every terminal need that I have. kudos to the 'maintainer'??. -- 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: Background-color of bash
On Wed, 2006-10-11 at 03:45 -0400, -Patrick wrote: This may seem trivial to some, but at least to me it affects productivity. I would like to know how I can change the background-color of the X- bash shell. So when I do 'startx' at the cygwin shell, I get the X terminal, which leads to programs like ddd, emacs etc. etc. This terminal's background is default to the color white. How do I change this? Further, I would like to change the colors of directories and executables for easier identification. I apologize if this seems like a ridiculous request, but this type of stuff affects the speed in which I can be productive; recognizing easy to spot files and multitasking in general, etc etc. Thank you and take care, -Patrick -- 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/ man 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: Background-color of bash
On Wed, 2006-10-11 at 20:18 +0100, Simon Crombie wrote: Thanks for the information about changing the defaults for X-term windows. How can I amend this to get scroll bars to appear? And can you set the default window size there as well? Grateful for any 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/ man xterm or http://www.die.net/doc/linux/man/man1/xterm.1.html xterm -sb -sl 2600 -rightbar -bg mycolorbg -fg mycolorfg etc, etc, etc -- 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: The right user information
VEGH, Janos wrote: Hi, I am trying to use your Win32 X server. The first step was perfect, I accepted all the default settings, I proceeded as shown in the step-by step tutorial. I successfully installed it, I have the bash (DOS) box. Even I can make a limited use of it, like [EMAIL PROTECTED] ~ $ ls / bin cygdrive cygwin.bat cygwin.ico etc home lib proc tmp usr var I cannot go much further, however. In page http://x.cygwin.com/docs/ug/configure.html#configure-cygwin-x-overview I see Cygwin/X settings are configured primarily through command-line parameters passed to XWin.exe. Cygwin/X comes with a file called startxwin.bat that launches an X Server, a terminal, and a window manager. The only batch file I see is /cygwin.bat In page http://x.cygwin.com/docs/ug/using.html#using-starting I see startxwin.bat startxwin.bat - Use a MS-DOS batch file as the startup script. An example startxwin.bat is included in X-startup-scripts, which is extracted according to the instructions in the Section called Installing Cygwin/X in Chapter 2. Run /usr/X11R6/bin/startxwin.bat by double-clicking it in Windows Explorer. startxwin.sh startxwin.sh - Use an sh shell script as the startup script. An example startxwin.sh is included in X-startup-scripts, which is extracted according to the instructions in the Section called Installing Cygwin/X in Chapter 2. Run /usr/X11R6/bin/startxwin.sh in a Cygwin shell: However, there is no such .bat and no such .sh Another method here is startx - Use the standard X Window System startx script with its attendant ~/.xinitrc configuration file. First you need to create ~/.xinitrc from the template in /etc/X11/xinit/: [EMAIL PROTECTED] ~ $ cp /etc/X11/xinit/xinitrc ~/.xinitrc However, in my system [EMAIL PROTECTED] /etc $ ls DIR_COLORSdefaults networks preremove protocols skel alternatives group passwd profileservices termcap bash.bashrc hosts postinstall profile.d setup i.e. even I do not have /etc/X11 Also, commands like xterm, ssh do not work. What do I wrong or where can I find the right manual? Please cc me, because I am not (yet) a list member. Thanks for any info in advance Janos -- 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/ run setup again and be sure to select the X11 packages -- 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: xclipboard
David wrote: Hi, I have XWin 6.8.2.0-4 and am running on Windows2000 professional, starting it like this: XWin -multiplemonitors -clipboard -rootless -screen ... And, I am runing fvwm2 as the window manager, and a couple of xterms in it. So, I left mouse click to highlight some text, and hit CNTL-C to copy it and move to another window and hit CNTL-V to paste it. Nothing happens. I also tried pasting into the native windows application Notepad and still nothing. I looked into the xclipboard man page, but there was nothing there. I checked the web. Someone suggested I should use -emulate3buttons. I would like to be able to copy from one xterm to another. Every window has the reverse video highlight capability. However, I can't get beyond that. Please help. Thanks, David -- 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/ if your mouse has a clickable scrollwheel, or any other button that can be identified as 'button3', click it. i.e. 1. highlight text to copy ( ctrl-C is NOT require ) 2. make 'paste into' window/Xapp the active window ( click on the window/Xapp you want to past into) 3) click the scroll button, or if emulate3buttons is on , click left/right buttons in quick sequence ( or click whatever other button your mouse has defined as button3 3a) to paste into a native WINDOWS app, select the app, ctrl-v, or right click/select paste -- 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: (n00b question) How does one activate the scrollbar in an xterm?
Soong, SylokeJ wrote: I have not done this with cygwin-x before, but I do it with my sun solaris. Create .Xdefaults at home directory if does not already exists. google or man xterm should tell you more. Enter/append lines similar to these: xterm*scrollBar: true xterm*saveLines: 4000 xterm*cursorColor: Red xterm*pointerColor: Blue xterm*borderColor: Red alternatively invoke the xterm with the pertinent command line parameters... xterm --help .. xterm -sb -sl 2500 -sr etc, etc, etc -- 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/
X server crashing -- winClipboardProc - Call to select () failed: -1. Bailing.
X windows had been stable for quite a while for me( in continuous use, days, sometimes weeks at at time). Over the past couple of weeks it's begun crashing fairly regularly. The XWin.log has these final statements in it: winClipboardProc - Call to select () failed: -1. Bailing. winClipboardProc - XDestroyWindow succeeded. winClipboardIOErrorHandler! Anyone have any pointers to what may have changed/be causing this? My startxwin.sh calls XWin -multiwindow -clipboard -silent-dup-error cygcheck.out attached. Thanks, reid Cygwin Configuration Diagnostics Current System Time: Thu Mar 02 08:56:36 2006 Windows XP Professional Ver 5.1 Build 2600 Service Pack 2 Path: C:\cygwin\usr\local\sbin C:\cygwin\home\rthompso\bin C:\cygwin\bin C:\cygwin\lib\subversion\bin C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\home\rthompso C:\cygwin\usr\sbin C:\cygwin\usr\local\pgsql\bin C:\cygwin\usr\jikes\bin C:\j2sdk1.4.2\bin C:\ant-1.6.1\bin C:\cygwin\usr\X11R6\bin C:\cygwin\opt\gnome2\bin C:\cygwin\opt\kde3\bin C:\cygwin\opt\kde3\lib C:\cygwin\opt\qt\3.2\bin C:\MyPrograms\ApacheSoftwareFoundation\Maven1.0.1\bin C:\cygwin\opt\bin C:\WINDOWS\system32 Output from C:\cygwin\bin\id.exe (nontsec) UID: 11192(Reid.Thompson) GID: 10513(Domain Users) 0(root) 544(Administrators) 545(Users) 1005(Debugger Users) 11215(all) 10512(Domain Admins) 10513(Domain Users) 10519(Enterprise Admins) 11371(Team - Internal Information Systems) 12853(Team - Telecom) Output from C:\cygwin\bin\id.exe (ntsec) UID: 11192(Reid.Thompson) GID: 10513(Domain Users) 0(root) 544(Administrators) 545(Users) 1005(Debugger Users) 11215(all) 10512(Domain Admins) 10513(Domain Users) 10519(Enterprise Admins) 11371(Team - Internal Information Systems) 12853(Team - Telecom) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS LIBRARY_PATH = '/usr/lib:/usr/local/lib:/lib:/usr/local/pgsql/lib' LD_LIBRARY_PATH = '/usr/lib:/usr/X11R6/lib' TCL_LIBRARY = 'c:\ruby\tcl\lib\tcl8.3' GCC_EXEC_PREFIX = '/usr/lib' C_INCLUDE_PATH = '/usr/include' PWD = '/home/rthompso' CYGWIN = 'server binmode tty ntsec' HOME = '/home/rthompso' Use '-r' to scan registry a: fd N/AN/A c: hd NTFS 76285Mb 82% CP CS UN PA FC d: cd N/AN/A e: cd N/AN/A s: net NTFS271802Mb 15% CP CS UN PA FC Ateb Shared u: net NTFS271802Mb 18% CP CS UN PA FC User Store w: net NTFS 1011Mb 92% CP CSPArthompso y: net NTFS 1011Mb 73% CP CSPArthompso z: net NFS 16995Mb 30% CP . /cygdrive user binmode,cygdrive C:\cygwin / system binmode A: /Asystem binmode,exec C:\cygwin\bin /bin system binmode C: /Csystem binmode,exec \cygdrive\x/C/synxnetsystem binmode C:\cygwin\lib /lib system binmode U: /Usystem binmode,exec C:\cygwin\bin /usr/bin system binmode C:\cygwin\lib /usr/lib system binmode C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode . /cygdrive system binmode,cygdrive Found: C:\cygwin\bin\awk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cp.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\crontab.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: C:\cygwin\bin\grep.exe Found: C:\cygwin\bin\kill.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\mv.exe Found: C:\cygwin\bin\patch.exe Found: C:\cygwin\bin\perl.exe Found: C:\cygwin\bin\rm.exe Found: C:\cygwin\bin\sed.exe Found: C:\cygwin\bin\ssh.exe Found: C:\cygwin\bin\sh.exe Found: C:\cygwin\bin\tar.exe Found: C:\cygwin\bin\test.exe Not Found: vi Found: C:\cygwin\usr\local\bin\vim.exe 20k 2003/08/21 C:\cygwin\home\rthompso\cyg.dll 28k 2003/08/21 C:\cygwin\home\rthompso\cygmydll.dll 25k 2005/08/15 C:\cygwin\bin\cygao-2.dll 91k 2005/11/11 C:\cygwin\bin\cygapr-0-0.dll 67k 2005/11/11 C:\cygwin\bin\cygaprutil-0-0.dll 52k 2005/11/10 C:\cygwin\bin\cygart_lgpl-2.dll 76k 2005/07/30 C:\cygwin\bin\cygart_lgpl_2-2.dll 113k 2005/07/16 C:\cygwin\bin\cygatk-1.0-0.dll 204k 2004/10/28 C:\cygwin\bin\cygatkmm-1.0-1.dll 237k 2004/11/04 C:\cygwin\bin\cygatkmm-1.6-1.dll 145k 2004/09/02
Re: Remote client through telnet gives error 232
Simon Keen wrote: I am trying to run remote clients on an X server using telnet, but am encountering an error. My setup is as follows: - runnning X server on Cygwin_NT-5.1 on a windows XP Professional laptop. I initiate this by running the default startxwin.bat from the directory C:\cygwin\usr\X11R6\bin; - in the bash shell that opens I enter xhost + to disable access control; - I then telnet from my laptop to an HP-UX 11.0 server at IP 158.234.197.198, and login as root; - I run export DISPLAY=158.234.197.171:0.0 (the IP of my laptop); - I run an application requiring an X window: sam, which raises the following error: XIO: fatal IO error 232 (Connection reset by peer) on X server 158.234.197.171:0.0 after 0 requests (0 known processed) with 0 events remaining. - I get the same error if I try to run xterm or xclock; - As far as I know there is no port blocking between my laptop and ther server. A trace route displays: D:\tracert 158.234.197.198 Tracing route to 158.234.197.198 over a maximum of 30 hops 1 1 ms1 ms1 ms 158.234.197.198 Trace complete. - with the X server running, I am able to run local X window applications, e.g. xterm or xclock; Any suggestions? Simon. ___ Win a BlackBerry device from O2 with Yahoo!. Enter now. http://www.yahoo.co.uk/blackberry -- 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/ is your XP firewall on? If you login to the HP-UX box as a non-root user, does the same error occur? -- 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 programs in Cygwin/X ?
Doug Bohl wrote: After much turmoil, I've managed to get a number of window managers running in Cygwin/X. What I'm wondering is this: Is it at all possible to allow my windows programs to be managed by my Cygwin/X window manager? Presently, if I'm in -fullscreen mode and I'm running some X programs, I'd have to alt+tab out of X and into explorer. If this isn't possible, what would I have to do to make it possible? Maybe write an X program to 'trap' the window of a Windows program into an invisible X window. Or something like that. -- 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/ there a various ways to run the X server in cygwin. Read the comments in and then try altering /usr/X11R6/bin/startxwin.sh to meet your needs. For example ---snip--- XWin -rootless -clipboard -silent-dup-error # Startup an xterm, using bash as the shell. xterm -e /usr/bin/bash -l rxvt -e /usr/bin/bash -l # # Startup the twm window manager. # WARNING: Do not use an external window manager in conjunction with # the ``-multiwindow'' command-line parameter for XWin. Doing so # would start two window managers, which is never supposed to happen. # # twm wmaker -snip -- 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 problem- xinit
Afro_PL wrote: Hello there. I have little problem when in XTerm i write xinit: A fatal error has ocurred and Cygwin/X will now exit. Please open /tmp/Xwin.log for more information. Vendor: The Cygwin/X Project Release: 6.8.2.0-4 Contact: cygwin-xfree@cygwin.com XWin was started with the following command-line X :0 What I should do? -- 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/ don't type xinit in an xterm -- if you have an xterm running -- they you already have X started -- attempting to start it again results in the above 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: web browser for cgywin
Charles Li wrote: Can someone recommend a decent, and easy to build, web browser for cgywinX? Thanks. __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com -- 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/ dillo graphical, small fast missing some features links text elinks text links2 http://links.twibright.com/ graphical -- your best bet -- 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-Query (imp urgent)
Alec stewart wrote: Hello All, I have installed g++ for Windows on my System and was trying to build a project on the same. It is like this that when I disable the GUI portion from my project my project builds very fine and executable works fine also but when I want to enable the GUI portion also there are a few errors. 1) Portion for enabling or disabling GUI is like #define NO_GRAPHICS /* comment or uncomment this line*/ --line 1 #ifndef NO_GRAPHICS #include X11/Xlib.h #include X11/Xutil.h //#include X11/Xos.h //line---2 #include X11/Xatom.h #endif Here if I comment line line 1 it first gives the compilation error itself for not being able to find Xos.h Query #1 So first thing I want to know is why Xos.h is not available with g++ for Windows and or what is the alternative for that. However If i comment this line 2 there comes a linker errror with a lot of messages..but all similar to undefined reference to XSetFont undefined reference to XCreateWindow basically all related to XWindow APIs..but all of them have been declared as extern in other include files of X11 folder. So my second query is how can i specify my lib include directory in cygwin through windows i.e. with which option -ldirectory or what. when i speciifed -ldirectory d:\cygwin\lib it says that it can not find the path so what is equivalent in terms of /usr/lib ..or like .what those interested my makefiles ..here is partial but only useful section .. $makefile CC = gcc #SunOS lines below. #LIB_DIR = -L/usr/lib/X11R5 #LIB = -static -lX11 -lm #X11_INCLUDE = -I/usr/include # On many non-Solaris machines, use LIB_DIR = -L/usr/lib/X11R5 LIB_DIR = -L/usr/openwin/lib # Sometimes get errors under Solaris if you don't use the -R option # to (I think) put info about where the shared object libraries are # right into the binary. Shouldn't be necessary, but it is on our machines. LIB = -lX11 -lm -R/usr/openwin/lib X11_INCLUDE = -I/usr/openwin/include # Overly strict flags line below. Lots of useless warnings, but can # let you look for redudant declarations. # To avoid redundant declarations here I use -D__STDC instead of # -D__USE_FIXED_PROTOTYPES, but that means some prototypes are missing. #FLAGS = -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -O -D__STDC__ -ansi -pedantic -Wredundant-decls -Wmissing-prototypes -Wshadow -Wcast-align -D_POSIX_SOURCE #Flags to be passed to the compiler. First is for strict warnings, #second for interactive debugging and third for optimization. #-D_POSIX_SOURCE stops extra declarations from being included in math.h #and causing -Wshadow to complain about conflicts with y1 in math.h #(Bessel function 1 of the second kind) WARN_FLAGS = -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -O -D__USE_FIXED_PROTOTYPES__ -ansi -pedantic -Wmissing-prototypes -Wshadow -Wcast-align -D_POSIX_SOURCE DEBUG_FLAGS = -g OPT_FLAGS = -O3 #FLAGS = $(WARN_FLAGS) #FLAGS = $(DEBUG_FLAGS) FLAGS = $(OPT_FLAGS) #Uncomment line below if X Windows isn't installed on your system. #FLAGS = $(OPT_FLAGS) -DNO_GRAPHICS #Useful flags on HP machines #DEBUG_FLAGS = -Aa -g #OPT_FLAGS = -Aa +O3 EXE = vpr OBJ = main.o util.o read_netlist.o print_netlist.o check_netlist.o read_arch.o place_and_route.o place.o route_common.o route_timing.o route_tree_timing.o route_breadth_first.o draw.o graphics.o stats.o segment_stats.o rr_graph.o rr_graph2.o rr_graph_sbox.o rr_graph_util.o rr_graph_timing_params.o rr_graph_indexed_data.o rr_graph_area.o check_rr_graph.o check_route.o hash.o heapsort.o read_place.o net_delay.o path_delay.o path_delay2.o vpr_utils.o timing_place_lookup.o timing_place.o SRC = main.c util.c read_netlist.c print_netlist.c check_netlist.c read_arch.c place_and_route.c place.c route_common.c route_timing.c route_tree_timing.c route_breadth_first.c draw.c graphics.c stats.c segment_stats.c rr_graph.c rr_graph2.c rr_graph_sbox.c rr_graph_util.c rr_graph_timing_params.c rr_graph_indexed_data.c rr_graph_area.c check_rr_graph.c check_route.c hash.c heapsort.c read_place.c net_delay.c path_delay.c path_delay2.c test_h.c vpr_utils.c timing_place_lookup.c timing_place.c H = util.h vpr_types.h globals.h graphics.h read_netlist.h print_netlist.h check_netlist.h read_arch.h stats.h segment_stats.h draw.h place_and_route.h place.h route_export.h route_common.h route_timing.h route_tree_timing.h route_breadth_first.h rr_graph.h rr_graph2.h rr_graph_sbox.h rr_graph_util.h rr_graph_timing_params.h rr_graph_indexed_data.h rr_graph_area.h check_rr_graph.h check_route.h hash.h heapsort.h read_place.h path_delay.h path_delay2.h net_delay.h vpr_utils.h timing_place_lookup.h timing_place.h # I haven't been able to make -static work under Solaris. Use shared # libraries all the time. # Add purify before $(CC) in the link line below to run purify on VPR. $(EXE): $(OBJ) test_h.o $(CC) $(FLAGS) $(OBJ) -o $(EXE) $(LIB_DIR) $(LIB) -- Unsubscribe
RE: how to install dillo on cygwinX
Charles Li wrote: Hi, I would like to install dillo browser on cygwinx. Is there a document one of you can point me to? Or a general page for installing softwares on cygwinX. On the download site, it has: Debian, GNU-Darwin, Slackware and RPMs Which one should I use? Thanks. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com neither -- download the source tarball and then untar it cd into the created dir hierarchy run ./configure --help and see if there are any specific configure params you want to pass run ./configure ( with any params you want) run make run make install for the quick build.. just run ./configure make make install reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: I can not get cygwin to work on my PC
[EMAIL PROTECTED] wrote: I am receiving the following errors when I attempt to access Cygwin. (Embedded image moved to file: pic13966.jpg) Tom Sherman CTC Communications NOC Tech 781-522-8752 [EMAIL PROTECTED] NOTICE OF CONFIDENTIALITY This e-mail and any attachments thereto is intended only for use by the addressee(s) named herein and may be proprietary and/or legally privileged. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this email, and any attachments thereto, without the prior written permission of the sender is strictly prohibited. If you receive this e-mail in error, please immediately telephone or e-mail the sender and permanently delete the original copy and any copy of this e-mail, and any printout thereof. All documents, contracts or agreements referred or attached to this e-mail are SUBJECT TO CONTRACT. The contents of an attachment to this e-mail may contain software viruses that could damage your own computer system. While CTC Communications has taken every reasonable precaution to minimize this risk, we cannot accept liability for any damage that you sustain as a result of software viruses. You should carry out your own virus checks before opening any attachment. -- 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/ And what did /tmp/XWin.log say? -- 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 pointer color
Jack Tanner wrote: startxwin.bat invokes xterm with the -ms red switch, which sets the (mouse) pointer color to red. Is it possible to specify the same value using a resource in .Xdefaults? $ xterm -version Cygwin 6.8.2.0(202) Rxvt.cursorColor:red xterm.cursorColor:red or *.cursorColor:red reid -- 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 file structure
Andy Little wrote: Hi to the Folks at Cygwin-X, I am trying to get XWindows running on my WinXP box using Cygwin. I am hoping to write some C++ applications using it. I am however totally confused by what to do after building the XWindows sources. 1) Should I copy the lib files in my my_build_dir/exports/lib directory to usr/X11/lib/ ? 2) How do I get gcc to automatically use the library files I have created? 3) Is there a tutorial on writing simple XWindows applications? regards Andy Little http://www.google.com/search?q=gtk+tutorialsourceid=mozilla-searchstar t=0start=0ie=utf-8oe=utf-8client=firefox-arls=org.mozilla:en-US:off icial http://www.google.com/search?q=X+windows+tutorialsourceid=mozilla-searc hstart=0start=0ie=utf-8oe=utf-8client=firefox-arls=org.mozilla:en- US:official reid -- 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 X Server
Shah Sharif wrote: Hi, I was trying to run X server after my I have intalled the cygwin. I have chosen to install 'all' the packages. In order to run the X server I have typed in the following command: /usr/X11R6/bin/startx use /usr/X11R6/bin/startxwin.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: Basic question 2 - Copy from Windows and paste to cygwin or X
Herbert Eppel wrote: On 28.09.2005 13:43 UK Time, Soong, SylokeJ wrote: I am already doing that (-clipboard), among others: run XWin -screen 0 1750 1350 -multiplemonitors -emulate3buttons -scrollbars -clipboard -silent-dup-error Thanks, but would you mind elaborating a little? As I explained in a previous message, it's been a few years since I used Unix when I worked at University and my Unix knowledge has never been brilliant and has become even rustier since then... I start my X environment with the following command: startx -- -screen 0 1200 900 where would -clipoard fit in, and what does it actually do? Thank you. Herbert Eppel -- www.HETranslation.co.uk use startxwin.bat from cmd.exe or starxwin.sh if in a bash prompt to start X-windows -- you can look at both of the files to see what they do -- they are startup scripts for X. reid -- 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: Basic question 2 - Copy from Windows and paste to cygwin or X
Reid Thompson wrote: Herbert Eppel wrote: On 28.09.2005 13:43 UK Time, Soong, SylokeJ wrote: I am already doing that (-clipboard), among others: run XWin -screen 0 1750 1350 -multiplemonitors -emulate3buttons -scrollbars -clipboard -silent-dup-error Thanks, but would you mind elaborating a little? As I explained in a previous message, it's been a few years since I used Unix when I worked at University and my Unix knowledge has never been brilliant and has become even rustier since then... I start my X environment with the following command: startx -- -screen 0 1200 900 where would -clipoard fit in, and what does it actually do? Thank you. Herbert Eppel -- www.HETranslation.co.uk use startxwin.bat from cmd.exe or starxwin.sh if in a bash prompt to start X-windows -- you can look at both of the files to see what they do -- they are startup scripts for X. reid these files are in /usr//X11R6/bin reid -- 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: Basic question 3 - system tray icon
Herbert Eppel wrote: On 28.09.2005 16:48 UK Time, Reid Thompson wrote: Herbert Eppel wrote: Can the cygwin X server be prevented from placing an icon in the Windows system tray? Thank you. highlight with left mouse button, paste with middlebutton/scrollwheel Highlight what? Are we talking about the same thing, or are you referring to my Basic question 2??? Regards Herbert Eppel -- www.HETranslation.co.uk sorry -- meant to post that to the copy and paste question reid -- 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: Basic question 3 - system tray icon
Soong, SylokeJ wrote: No. He is telling you how to shut down with a single click rather than my right clicking and selecting Exit. Which is answering your question 4. Also about your question 2, as someone else recommended, you should consider running either startxwin.bat or startxwin.sh. But doing that, whatever you wrote in ~/.xinitrc would no longer be effective because either of these startup files would not call .xinitrc . I prefer the bat file because I would need to first start cygwin bash in a win/xp cmd window to allow me to run the sh file, thereby leaving a win/xp cmd window around annoying you more than the X icon would. this is not an issue -- run setup and download rxvt configure a shortcut with rxvt exec'ing a bash shell ( passing whatever params to rxvt and bash that you wish) Target: C:\cygwin\bin\rxvt.exe -fn lucida console-13-bold -e c:\cygwin\bin\bash use the shortcut to open a bash shell prompt and enter $ nohup startxwin.sh you should then be able to exit the rxvt shell window w/o X dying. The bat file is not unix and you might be more familiar with it. -Original Message- From: [EMAIL PROTECTED] [mailto:cygwin-xfree- [EMAIL PROTECTED] Behalf Of Herbert Eppel Sent: Wed, September 28, 2005 12:08 PM To: cygwin-xfree@cygwin.com Subject: Re: Basic question 3 - system tray icon On 28.09.2005 16:48 UK Time, Reid Thompson wrote: Herbert Eppel wrote: Can the cygwin X server be prevented from placing an icon in the Windows system tray? Thank you. highlight with left mouse button, paste with middlebutton/scrollwheel Highlight what? Are we talking about the same thing, or are you referring to my Basic question 2??? Regards Herbert Eppel -- www.HETranslation.co.uk -- 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/ reid -- 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: Basic question 3 - system tray icon
Herbert Eppel wrote: On 28.09.2005 17:45 UK Time, Reid Thompson wrote: highlight with left mouse button, paste with middlebutton/scrollwheel Highlight what? Are we talking about the same thing, or are you referring to my Basic question 2??? sorry -- meant to post that to the copy and paste question The plot thickens - Soong, SylokeJ thought you were referring to my question 4!? Anyway, I'm still not sure what exactly you meant by highlight with left mouse button, paste with middlebutton/scrollwheel - would you care to elaborate? Thanks Herbert Eppel -- www.HETranslation.co.uk my mouse has two buttons + a scrool wheel that can be clicked. clicking the scroll wheel acts the same as clicking the middle mouse button of a three button mouse. so, i can highlight any text with the left mouse button ( or other means ), and then click with the the scroll button to paste into any other application. if you don't have a three button mouse, and don't have a scroll wheel that clicks, you can try clicking right and left mouse buttons very quickly one after the other -- on many systems this is configured to emulate the button 3 click. I highly recommend downloading rxvt and configuring it as your terminal -- it is orders of magnitude better than cmd.exe in my opinion. reid -- 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: Basic question X - whatever
Herbert Eppel wrote: On 28.09.2005 18:04 UK Time, Soong, SylokeJ wrote: With the clipboard enabled, do you know how to highlight, copy paste Nice subject line - I'm not really sure why I started this Basic Question no. nonsense - it was bound to lead to confusion, sorry! between win/xp and cygwin? I think that is his intent. Microsoft(which you know): copy is by selecting then ctrl-c or menu-copy. paste is by ctrl-v or menu-paste. Motif cygwin: Selecting text would spontaneously (some people might prefer the term, automatically) copy into clipboard. Paste is by middle button click. Thanks for explain this. It's embarrassing, but I wasn't aware of the different behaviour :-[ e.g. copying from MS to Cyg: copy text from MS win, move cursor to cyg window and press/release middle button. Conversely from cyg to MS: select text at cyg win, move mouse to MS win and ctrl-v. Voila! However, if you don't have a middle mouse button, or you had mapped that button to do something else, you could use -emulate3buttons option which would require you to press both mouse buttons together to emulate the middle button. I do have the scroll wheel button assigned to double click, and I would like to keep that setting, which raises the question of where exactly I would have to specify -emulate3buttons (is it simply another command line option after startx?) and what you mean by both mouse buttons - do you mean left and right? Thanks Herbert Eppel -- www.HETranslation.co.uk you pass it as a parameter to your X startup ( ala -clipboard -multiwindow ) -emulate3buttons [timeout] Emulate 3 button mouse with an optional timeout in milliseconds. $ Xwin --help use: X [:display] [option] -a # mouse acceleration (pixels) -acdisable access control restrictions -audit int set audit trail level -auth file select authorization file bc enable bug compatibility -brcreate root window with black background +bsenable any backing store support -bsdisable any backing store support -c turns off key-click c #key-click volume (0-100) -cc intdefault color visual class -co file color database file -core generate core dump on fatal error -dpi int screen resolution in dots per inch -deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs -f # bell base (0-100) -fc string cursor font -fn string default font name -fp string default font path -help prints message with these options -I ignore all remaining arguments -ld intlimit data space to N Kb -lf intlimit number of open files to N -ls intlimit stack space to N Kb -logo enable logo in screen saver nologo disable logo in screen saver -nolisten string don't listen on protocol -noreset don't reset after last client exists -reset reset after last client exists -p # screen-saver pattern duration (minutes) -pnaccept failure to listen on all ports -nopn reject failure to listen on all ports -r turns off auto-repeat r turns on auto-repeat -render [default|mono|gray|color] set render color alloc policy -s # screen-saver timeout (minutes) -sp file security policy file -sudisable any save under support -t # mouse threshold (pixels) -terminate terminate at server reset -to # connection time out -tst disable testing extensions ttyxx server started from init on /dev/ttyxx v video blanking for screen-saver -v screen-saver without video blanking -wmWhenMapped default backing-store -x string loads named extension at init time -maxbigreqsize set maximal bigrequest size +extension nameEnable extension -extension nameDisable extension -query host-name contact named host for XDMCP -broadcast broadcast for XDMCP -indirect host-namecontact named host for indirect XDMCP -port port-num UDP port number to send messages to -from local-addressspecify the local address to connect from -once Terminate server after one session -class display-class specify display class to send in manage -cookie xdm-auth-bits specify the magic cookie for XDMCP -displayID display-id manufacturer display ID for request The X Keyboard Extension adds the following arguments: -kbdisable the X Keyboard Extension +kb
Re: could not find /tmp
dorth wrote: hi all, how to resolve this error, please advise, thank you bash.exe: warning: could not find /tmp, please create! bash-2.05b$ creating /tmp should resolve it. mkdir /tmp -- 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 display remote clients
John Ormerod wrote: you have to give permissions for remotes hosts to open apps on your server. in a cygwin bash prompt enter $ xhost + note that this will give 'everyone' permissions to open a window on your server. you could do $ xhost ip-addr-of-machine-you-want-to-allow-to-open-apps or man xhost to see more info. It should not take more than a few seconds to open a cygwin bash prompt. If i dbl-click on cygwin-bat, it takes about 3 secs for a bash prompt window to be ready for use. 2+ghz intel, with 1GB ram. same with my home machine 2500XP athlon with 512MB ram. ( i normally open a bash session in rxvt ( can't stand cmd.exe ), and it also takes ~3 secs to be ready ) My suggestion is this. make sure no cygwin processes are running ( ps -ef ) return to www.cygwin.com, re-run setup for cygwin, selecting to re-install all of the non-X applications that you have installed. When that has completed, re-run setup again, selecting to re-install all of the X applications that you have installed. go ahead and reboot. ( shouldn't be necessary, but lets do so anyway) dbl-click on c:\cygwin\cygwin.bat Make sure that /usr/X11R6/bin is in your PATH. $ echo $PATH ( if not in there, export PATH=$PATH:/usr/X11R6/bin)( you can add this to your .bashrc or .bash_profile if needed) Make sure the display is set correctly: $ env |grep DISPLAY ( what does this show ) Mine: $ env |grep DISP DISPLAY=:0 run $ startxwin.sh open another bash shell via cygwin.bat run $ xterm reid -- 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 display remote clients
Soong, SylokeJ wrote: When I first downloaded and installed cygwin my ulterior motive was - if there are free complex stuffs like FTP servers, J2EE servers, Java IDEs, etc, there must be a free piece of software for X/Win on Windows. My ulterior was, where I would prove to those charging an arm and some toes and yet would not do a proper job in what they sell. when it's all said and done it's pretty simple, go to www.cygwin.com, run setup to install base packages. Run setup again to install X packages. I think that the pages http://x.cygwin.com/ and www.cygwin.com and http://cygwin.com/docs.html provide pretty straightforward instructions. Downloading and Installing Install Cygwin/X now Cygwin/X is installed via Cygwin's setup.exe and the installation process is documented in the Cygwin/X User's Guide. Whether or not you already have Cygwin installed, you can add Cygwin/X to your installation by downloading the latest setup.exe, running setup, and selecting the 'xorg-x11-base' package from the 'X11' category. Using Cygwin/X is documented in a step-by-step manner, with lots of pictures and examples, in the Cygwin/X User's Guide. Please notice, however, that Cygwin/X contains many general-purpose programs, libraries, and functions that are part of all X distributions. It is therefore beyond the scope of the Cygwin/X User's Guide to document all of these X Window System components. To find documentation, for example, for setxkbmap one should consult the generic X documentation such as the SETXKBMAP(1) manual page. You could always, of course, do a Google search for setxkbmap, which finds the manual page mentioned above. reid -- 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: Is my X Servier not fully started (Rel: 6.8.2.0-4)
John Ormerod wrote: Hello I've been struggling all day in what is a new world for me. I need to have GUI access to a Linux system that runs in a did you comment out this line from your .bat file? If you did, uncomment it. run xterm -e /usr/bin/bash -l ...snip REM Startup the X Server with the integrated Windows-based window manager. REM WARNING: Do not use 'xwinclip' in conjunction with the ``-clipboard'' REM command-line parameter for XWin. Doing so would start two clipboard REM managers, which is never supposed to happen. run XWin -multiwindow -clipboard -silent-dup-error REM Startup an xterm, using bash as the shell. run xterm -e /usr/bin/bash -l ..snip I believe the context menu you are referring to is controlled by a .XWinrc file in your home directory $ cat .XWinrc # XWin Server Resource File - EXAMPLE # Earle F. Philhower, III # Place in ~/.XWinrc or in /usr/X11R6/lib/X11/system.XWinrc # Keywords are case insensitive, comments legal pretty much anywhere # you can have an end-of-line # Comments begin with # or // and go to the end-of-line # Paths to commands are **cygwin** based (i.e. /usr/local/bin/xcalc) # Paths to icons are **WINDOWS** based (i.e. c:\windows\icons) # Menus are defined as... # MENU name { # Menu Text EXECcommand # ^^ This command will have any %display% # string replaced with the proper display # variable (i.e. 127.0.0.1:display.0) # or Menu Text MENUname-of-some-prior-defined-menu # or Menu Text ALWAYSONTOP # ^^ Sets the window to display above all others # or Menu Text RELOAD # ^^ Causes ~/.XWinrc or the system.XWinrc file #to be reloaded and icons and menus regenerated # or SEPARATOR # ... # } # Set the taskmar menu with # ROOTMENU name-of-some-prior-defined-menu # If you want a menu to be applied to all popup window's system menu # DEFAULTSYSMENU name-of-some-prior-defined-menu atstart|atend # To choose a specific menu for a specific WM_CLASS or WM_NAME use ... # SYSMENU { # class-or-name-of-window name-of-prior-defined-menu atstart|atend # ... # } # To define where ICO files live (** Windows path**) # ICONDIRECTORY windows-path i.e. c:\cygwin\usr\icons # To define a replacement for the standard X icon for apps w/o specified icons # DEFAULTICON name-of-windows-ico-file-in-icondirectory # To define substitute icons on a per-window basis use... # ICONS { # class-or-name-of-window icon-file-name.ico # ... # } # In the case where multiple matches occur, the first listed in the ICONS # section will be chosen. # DEBUG string prints out the string to the XWin.log file // Below are just some silly menus to demonstrate writing your // own configuration file. // Make some menus... menu apps { rxvt-green_on_blackexecrxvt -sl 2000 -sb -sr -cr red -geometry 80x40+200+100 -fg green -bg black -e /usr/bin/bash rxvt-yellow_on_blackexecrxvt -sl 2000 -sb -sr -cr red -geometry 80x 40+200+100 -fg yellow -bg black -e /usr/bin/bash Emacs execemacs xterm execxterm notepad execnotepad } menu root { // Comments fit here, too... Reload .XWinrcRELOAD Applications menuapps SEParATOR } menu aot { Separator Always on Top alwaysontop } menu xtermspecial { Emacs execemacs Always on Top alwaysontop SepArAtor } RootMenu root DefaultSysMenu aot atend SysMenu { xterm xtermspecial atstart } # IconDirectory c:\winnt\ # DefaultIcon reinstall.ico # Icons { # xterm uninstall.ico # } DEBUG Done parsing the configuration file... reid -- 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: Is my X Server not fully started? (Rel: 6.8.2.0-4)
Try the following. Open a cygwin bash shell, using cygwin.bat. make sure that X is not running,,, $ ps -ef | grep X should not list Xwin from the command line call $ startxwin.sh what does this result in? -- 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 in running startx
Johan Grönqvist wrote: I get exactly the same error message when I try to start X while already having X running. My guess is therefore that you have already started x successfully, but you do not know it. Try starting xterm instead and see if it works. You may have to set a DISPLAY variable for that to work. I think the script startxwin is closer to what you want, but I am not the expert. / johan -- 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/ you are correct -- use either startxwin.bat, or (startxwin.sh if running 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: setup PATH variable by PATH=%PATH:/usr/X11R6/bin
Mark Paulus wrote: The statement should read: PATH=%PATH%:/usr/X11R6/bin Note the trailing % on PATH. That is a Windowism. On Thu, 01 Sep 2005 12:33:23 -0400 (EDT), PoWah Wong wrote: I want to setup my PATH variable by following the instructions of Chapter 4. Using Cygwin/X, section startx at http://x.cygwin.com/docs/ug/using.html. After doing PATH=%PATH:/usr/X11R6/bin my original path is lost. Actually, i think that if you're in a cygwin bash terminal you have to use $PATH rather than %PATH%. reid -- 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: setup PATH variable by PATH=%PATH:/usr/X11R6/bin
Mark Paulus wrote: The statement should read: PATH=%PATH%:/usr/X11R6/bin Note the trailing % on PATH. That is a Windowism. yep -- that's a typo -- $ PATH=%PATH:/usr/X11R6/bin should be $ PATH=$PATH:/usr/X11R6/bin reid -- 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: Remote login, then nothing happens
Andy Schmidgall wrote: Igor Pechtchanski wrote: (and then a bunch of options) cygwin-prompt DISPLAY=:0 ssh -Y [EMAIL PROTECTED] do you then get a Password: prompt? If you do, and you enter your linux password, do you then get a prompt on your linux box? If not, this question is probably not related to X at all. Contact e.g. another cygwin list. I get a password prompt, but after entering my password, nothing else happens. I do not get a command prompt after entering my password. Does the same happen if you run ssh -x (note the lowercase) without DISPLAY= and -Y? If so, you may indeed have a general ssh issue -- try to get a working prompt first, and then set up X forwarding. ssh -x (lowercase) works just fine. I enter my password and immediately receive a command prompt. One more place to check is your startup scripts on the remote machine. Do they change the value of DISPLAY (they shouldn't -- it should be left at whatever ssh sets it to)? Do they try to launch an X client if DISPLAY is set (that could be what's causing the apparent hang)? Igor [*] Well, there are more configuration options to check, but the two things above are required regardless of the configuration. I don't see any scripts that would change the DISPLAY variable on the server. Also, if I ssh directly in to the server, echo $DISPLAY shows that the variable is empty. Should this have a value? If I kill the shell process on my windows machine, the xterm throws an error: Warning: No xauth data; using fake authentication data for X11 forwarding. and then logs me in to the server with a text command prompt. I'm not sure if this is important or anything. Thanks for the help so far. -Andy -- 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/ you have to use a capital X -- minor case x disables x forwarding -- see man 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: C lueless why X86... wont start
Rob wrote: Here is my XWin error message. I have searched archives and FAQ's and have found nothing on this. Perhaps I missed something. All I get is and xterm window. No Windowmaker. I understand that -multiwindow is not to be used with an externer window manager but I cannot find the source of this anywhere on my system. Save the following as /usr/X11R6/bin/startxwinwmaker.sh and then execute it. Then read it, and make changes to suit your needs. #! /bin/sh export DISPLAY=127.0.0.1:0.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 # Cleanup from last run. rm -rf /tmp/.X11-unix # The error Fatal server error: could not open default font 'fixed' is # caused by using a DOS mode mount for the mount that the Cygwin/X # fonts are accessed through. See the Cygwin/X FAQ for more # information: # http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof # Brief descriptions of XWin-specific options: # # -screen scr_num [width height] # Enable screen scr_num and optionally specify a width and # height for that screen. # Most importantly, any parameters specified before the first -screen # parameter apply to all screens. Any options after the first -screen # parameter apply only to the screen that precedes the parameter. # Example: # XWin -fullscreen -screen 0 -screen 1 -depth 8 -screen 2 # All screens will be fullscreen, but screen 2 will be depth 8, while # screens 0 and 1 will be the default depth (whatever depth Windows # is currently running at). # -multiwindow # Start an integrated Windows-based window manager. Not to be used # with -rootless nor -fullscreen. # -rootless # Use a transparent root window with an external window manager # (such as twm). Not to be used with -multiwindow nor # with -fullscreen. # -fullscreen # Use a window as large as possible on the primary monitor. # -multiplemonitors # Create a root window that covers all monitors on a # system with multiple monitors. # -clipboard # Enable the integrated version of xwinclip. Do not use in # conjunction with the xwinclip program. # -depth bits_per_pixel # Specify the screen depth to run at (in bits per pixel) using a # DirectDraw-based engine in conjunction with the -fullscreen # option, ignored if the -fullscreen option is not specified. # By default, you will be using a DirectDraw based engine on any # system that supports it. # -unixkill # Trap Ctrl+Alt+Backspace as a server shutdown key combination. # -nounixkill # Disable Ctrl+Alt+Backspace as a server shutdown key combination (default). # Example: # XWin -unixkill -screen 0 -screen 1 -screen 2 -nounixkill # Screens 0 and 1 will allow Ctrl+Alt+Backspace, but screen 2 will not. # -winkill # Trap Alt+F4 as a server shutdown key combination (default). # -nowinkill # Disable Alt+F4 as a server shutdown key combination. # -scrollbars # Enable resizing of the server display window. Do not use in conjunction # with -multiwindow nor with -rootless. # -nodecoration # Draw the server root window without a title bar or border. # Do not use with -mutliwindow nor with -rootless. # -lesspointer # Hide the Windows mouse cursor anytime it is over any part of the # window, even if Cygwin/X is not the window with the focus. # -refresh rate_in_Hz # Specify a refresh rate to use when used with the -fullscreen option. # -trayicon # Enable the tray icon (default). # -notrayicon # Disable the tray icon. # Example: # XWin -notrayicon -screen 0 -screen 1 -screen 2 -trayicon # Screens 0 and 1 will not have tray icons, but screen 2 will. # -emulate3buttons [timeout] # Emulate 3 button mouse with an optional timeout in milliseconds. # -xf86config # Specify an XF86Config-style configuration file. # -keyboard # Specify a keyboard device from the configuration file. # # Startup the programs # # Startup the X Server with the integrated Windows-based window manager. # WARNING: Do not use 'xwinclip' in conjunction with the ``-clipboard'' # command-line parameter for XWin. Doing so would start two clipboard # managers, which is never supposed to happen. XWin -clipboard -silent-dup-error # Startup an xterm, using bash as the shell. Add xterm parameters ( -sb -sl 2500 -fg turquoise -bg black )... xterm -e /usr/bin/bash -l # # Startup the twm window manager. # WARNING: Do not use an external window manager in conjunction with # the ``-multiwindow'' command-line parameter for XWin. Doing so # would start two window managers, which is never supposed to happen. # # twm wmaker # Set a background color. Only needed when not using -multwindow for XWin. xsetroot
Re: Starting Xwin - Shell Window Remains
As info I start X by using a shortcut to open an rxvt window running bash ( see below for contents of shortcut scripts ). (If you do not have rxvt, use setup to get it, it is unbelievable to me that with billions of dollars MS cannot include a decent command prompt.) Then, in the rxvt window I type startxscript After this I can exit the rxvt window used to start X with no problems. I have a desktop shortcut that has a target of: C:\cygwin\bin\rxvt.exe -sr -sl 2500 -geometry 80x25 -sb -fg grey -bg grey15 -fn lucida console-13-bold -e c:/cygwin/bin/bash --rcfile /home/rthompso/.bashrc and a start in value of: c:\cygwin\home\rthompso $HOME/bin is part of my path. I have $HOME/bin/startxscript that contains: $ cat startxscript #!/bin/bash /usr/X11R6/bin/startxwin.sh My /usr/X11R6/bin/startxwin.sh contains ( slight mods from the downloaded script ): #! /bin/sh export DISPLAY=127.0.0.1:0.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 # Cleanup from last run. rm -rf /tmp/.X11-unix # The error Fatal server error: could not open default font 'fixed' is # caused by using a DOS mode mount for the mount that the Cygwin/X # fonts are accessed through. See the Cygwin/X FAQ for more # information: # http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof # Brief descriptions of XWin-specific options: # # -screen scr_num [width height] # Enable screen scr_num and optionally specify a width and # height for that screen. # Most importantly, any parameters specified before the first -screen # parameter apply to all screens. Any options after the first -screen # parameter apply only to the screen that precedes the parameter. # Example: # XWin -fullscreen -screen 0 -screen 1 -depth 8 -screen 2 # All screens will be fullscreen, but screen 2 will be depth 8, while # screens 0 and 1 will be the default depth (whatever depth Windows # is currently running at). # -multiwindow # Start an integrated Windows-based window manager. Not to be used # with -rootless nor -fullscreen. # -rootless # Use a transparent root window with an external window manager # (such as twm). Not to be used with -multiwindow nor # with -fullscreen. # -fullscreen # Use a window as large as possible on the primary monitor. # -multiplemonitors # Create a root window that covers all monitors on a # system with multiple monitors. # -clipboard # Enable the integrated version of xwinclip. Do not use in # conjunction with the xwinclip program. # -depth bits_per_pixel # Specify the screen depth to run at (in bits per pixel) using a # DirectDraw-based engine in conjunction with the -fullscreen # option, ignored if the -fullscreen option is not specified. # By default, you will be using a DirectDraw based engine on any # system that supports it. # -unixkill # Trap Ctrl+Alt+Backspace as a server shutdown key combination. # -nounixkill # Disable Ctrl+Alt+Backspace as a server shutdown key combination (default). # Example: # XWin -unixkill -screen 0 -screen 1 -screen 2 -nounixkill # Screens 0 and 1 will allow Ctrl+Alt+Backspace, but screen 2 will not. # -winkill # Trap Alt+F4 as a server shutdown key combination (default). # -nowinkill # Disable Alt+F4 as a server shutdown key combination. # -scrollbars # Enable resizing of the server display window. Do not use in conjunction # with -multiwindow nor with -rootless. # -nodecoration # Draw the server root window without a title bar or border. # Do not use with -mutliwindow nor with -rootless. # -lesspointer # Hide the Windows mouse cursor anytime it is over any part of the # window, even if Cygwin/X is not the window with the focus. # -refresh rate_in_Hz # Specify a refresh rate to use when used with the -fullscreen option. # -trayicon # Enable the tray icon (default). # -notrayicon # Disable the tray icon. # Example: # XWin -notrayicon -screen 0 -screen 1 -screen 2 -trayicon # Screens 0 and 1 will not have tray icons, but screen 2 will. # -emulate3buttons [timeout] # Emulate 3 button mouse with an optional timeout in milliseconds. # -xf86config # Specify an XF86Config-style configuration file. # -keyboard # Specify a keyboard device from the configuration file. # # Startup the programs # # Startup the X Server with the integrated Windows-based window manager. # WARNING: Do not use 'xwinclip' in conjunction with the ``-clipboard'' # command-line parameter for XWin. Doing so would start two clipboard # managers, which is never supposed to happen. XWin -multiwindow -clipboard -silent-dup-error # Startup an xterm, using bash as the shell.
RE: Initial run of BASH doesn't initialize home directory
Tom Smith wrote: With all due respect, Igor, I think you missed my point. The point is this: 1) I ran the Cygwin setup.exe and the Cygwin/X setup.exe (a distinction made by the cygwin.com web site itself) on the same computer. It's the same installer, just linked to different pages with different text. 2) The Cygwin/X installation gave me grief as mentioned in my initial post. 3) The Cygwin installation gave me no grief and worked perfectly. Run the installer once selecting all the non-X stuff you want. Setup your environment like you want it. Run the installer again, selecting all the X stuff you want. Therefore, my conclusion was that there's something different between the two installation routines--is this not a rational conclusion? I apologize for not including the output of cygcheck -svr. I no longer have Cygwin/X installed so this will have to wait until tomorrow. Based on what I mentioned above, is this still something I should take to the Cygwin list? reid
RE: Problems running OpenGL program on Cygwin
Larry Griffith wrote: Dear List Members, I'm a newbie to Cygwin who is trying to learn how to run an OpenGL program under Cygwin-X. I used a standard program written by SGI (called cube.c) that I know runs correctly under Solaris 9, using gcc and the Mesa library, so I don't think the program itself is the problem. I ran xinit to get a bash shell, cd'd to the proper directory, and ran the following command: gcc cube.c -o cube -I/usr/X11R6/include -L/usr/X11R6/lib -lglut -lGLU -lGL -lX11 which compiles correctly (thanks to some assistance from your mailing list archives). When I type ./cube I get a black rectangle with no picture (and in particular no cube) and no error messages. I can click the shell window and press CTRL-C to get out. I've checked the FAQ, the user guide, and the archives (which did give me some help), but I can't get past this point. As already mentioned, I know this program works on Solaris/gcc/Mesa, so I'm wondering if there is a problem with my cygwin installation, libraries, or commands. I'm running the latest version of the Cygwin system as far as I can tell on Windows XP SP2. as info - i dl'd cube.c, pasted your compile command above, called ./cube -- all worked as expected. do you have any cygwin precompiled x binaries available ( xclock??? ), if you call xclock, what is the result? reid
RE: Cygwin x windows working fine for 5 of our Solaris 2.8 boxes, but can't get CDE login screen up for one other box - can anyone help
Griffey Matthew wrote: XWin.log Hi, I am getting the attached log file produced in the Cygwin/tmp directory on my PC when i try to run x against one of our Solaris 2.8 boxes - although it can connect fine to the other similar Solaris boxes. It opens a window but doesn't get as far as the login box - just has a black and white fuzz on the screen. Any ideas please? Many Thanks Matt Griffey. did you give the solaris box in question permission to connect to the cygwin xserver? reid
RE: Changing colours of XTerm
[EMAIL PROTECTED] wrote: Hello, I have begun to use Cygwin on Windows and I have tried every technique I could find on the web for changing from the default black-on-white colours of Xterm (and perhaps other X applications) to something that's easier to look at. None of the techniques worked. I tried, among other things, changing XResources and uncommenting the lines in XTerm-color that XTerm-color told me to uncomment if I wanted to change colours. Does anyone know for sure how to change colours IN CYGWIN, because the general UNIX techniques don't seem to be working? Thanks in advance, Liam. _ eircom broadband is now up to four times faster than before. Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer configuration using .Xdefaults works fine for me. If that doesn't work, you can always setup a script/shortcut and explicitly set -fg and -bg reid
RE: Mouse button copy/paste not working
Charles Packer wrote: Igor Pechtchanski wrote: See http://x.cygwin.com/docs/faq/cygwin-x-faq.html#remote (please read the whole section). Igor Typical Unix-head response (Read the whole book...). There is nothing in the FAQ that deals with this problem. However, perusing the Cygwin/X installation instructions, under the section on logging on to remote clients, I noticed the suggested ssh command: ssh -Y -l username hostdomain. I checked to see what our PC guy had set me up with under the alias he had given me: ssh -X -l myname $1. Changing -X to -Y made all the difference and solved the problem. Returning to the FAQ, there is a question X forwarding does not work does not work with OpenSSH under Cygwin in which the answer I needed is embedded as an afterthought. Suggestion: Add to the FAQ a question specifically mentioning the symptoms I described. What browser are you using -- when i clicked on the link provided, my browser opened up with the following at the top of the browser page(i.e. my browser opened with the page scrolled to the correct location): 5. Remote connections 5.1. X11Forwarding does not work with OpenSSH under Cygwin A1: OpenSSH 3.8 enables untrusted X11 forwarding by default when connecting to an ssh server that supports untrusted X11Forwarding. Most ssh servers for GNU/Linux are versions of OpenSSH that do support untrusted X11Forwarding, so using OpenSSH 3.8 from Cygwin will result in a connection that uses untrusted X11Forwarding by default. You will quickly notice that this is the case if most of your X applications are now killed when you try to copy and paste or if xdpyinfo returns only a fraction of the supported extensions that it does if run locally. It is easiest to just override untrusted X11Forwarding by passing -Y to ssh in place of -X. The -Y does the same thing as -X, but it enables trusted X11Forwarding for the current connection. Which is exactly the answer you were looking for reid