Is there an Way to Cluster (Loadbalance) X11 Free86?
Hi all, At my Connectiontoolprojekt (Win-GUI-Client for Cygwin) i have think by my self whats happend if a heavy load Situation is comming up and How can it be solved? Is there an Way to Make XFree scalable or is there an J2EE based Container for a Free XFree avaiable thadt can be integrated as Part of a Java Serverapplication- Cluster such as ORACLE 9iAS Appserver Modul? (Oracle self has implemented an E-Mailserver, na Fileserver, an Faxserver, LDAP and so thadt resides in the Applicationserver Middlewarelayer, thadt can be empowered by an Oracle Realapplication Cluster thadt Spans over the Network to other Machines they are Member of the Cluster) If no Project is launched at this Time then my X.NET Projekt at Sourceforge will by Upgraded to this Projektfeature. http://sourceforge.net/projects/ibsxnet/ Greetings
Re: xwinclip test 6 hacked to leave selection untouched
I installed your xwinclip and it works fine. But in rootless mode I noticed that every time when the mouse enters a X-window the entry point is marked with semi-transparent darkgray square (~40 pixels). Not a problem - but ugly ;) Frank-Michael Cygwin Win95/NT Configuration Diagnostics Current System Time: Fri Nov 15 11:51:28 2002 Windows XP Home Edition Ver 5.1 Build 2600 Path: . c:\home\moser\scripts\cygwin c:\home\moser\scripts c:\home\moser\bin\cygwin c:\home\moser\bin c:\home\moser\work\bin . C:\jdk\1.3.1\bin C:\cygwin\usr\X11R6\bin C:\cygwin\bin\X11 C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin . c:\home\moser\scripts\cygwin c:\home\moser\scripts c:\home\moser\bin\cygwin c:\home\moser\bin c:\home\moser\work\bin . C:\jdk\1.3.1\bin C:\cygwin\usr\X11R6\bin C:\cygwin\bin\X11 C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin . x:\bin x:\usr\X11R6\bin c:\Programme\system c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Programme\Network Associates\PGPcmdln SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS CYGWIN = `nontsec nosmbntsec' HOME = `c:\home\moser' MAKE_MODE = `unix' PWD = `/home/moser' USER = `moser' Use `-r' to scan registry a: fd N/AN/A c: hd NTFS 28607Mb 76% CP CS UN PA FC PIP d: cd N/AN/A e: cd N/AN/A h: hd NTFS 28607Mb 76% CP CS UN PA FC PIP m: hd NTFS 28607Mb 76% CP CS UN PA FC PIP n: net NTFS 16042Mb 96% CP CSPAILVM-Bilder p: net NTFS 16042Mb 96% CP CSPAExport s: net NTFS 51095Mb 87% CP CSPAsoftware t: net NTFS 16042Mb 96% CP CSPATransfer u: net NTFS 51095Mb 87% CP CSPAmoser v: hd NTFS 28607Mb 76% CP CS UN PA FC PIP w: net NTFS 51095Mb 87% CP CSPAdecodon x: hd NTFS 28607Mb 76% CP CS UN PA FC PIP y: hd NTFS 28607Mb 76% CP CS UN PA FC PIP z: hd NTFS 28607Mb 76% CP CS UN PA FC PIP C:\cygwin / system binmode \\dagobert\moser /home/gustav/mosersystem binmode \\dagobert\software/home/public/software system binmode \\dagobert\transfer/home/public/transfer system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode \\dagobert\cvsroot /usr/local/cvsrootsystem binmode C:\jdk\1.3.1 /usr/local/java system binmode C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode . /cygdrive userbinmode,cygdrive Found: C:\cygwin\bin\bash.exe Found: x:\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: x:\bin\cat.exe Found: C:\cygwin\bin\cpp.exe Found: x:\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: x:\bin\find.exe Found: C:\cygwin\bin\gcc.exe Found: x:\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: x:\bin\gdb.exe Found: C:\cygwin\bin\ld.exe Found: x:\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: x:\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: x:\bin\make.exe Found: C:\cygwin\bin\sh.exe Found: x:\bin\sh.exe 41k 2002/05/14 C:\cygwin\usr\X11R6\bin\cygPropList-0.dll 58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll 54k 2002/01/27 C:\cygwin\bin\cygbz21.0.dll 6k 2002/06/24 C:\cygwin\bin\cygcharset-1.dll 643k 2002/11/09 C:\cygwin\bin\cygcrypto.dll 475k 2002/10/11 C:\cygwin\bin\cygcurl-2.dll 50k 2002/03/17 C:\cygwin\bin\cygexslt-0.dll 45k 2001/04/25 C:\cygwin\bin\cygform5.dll 35k 2002/01/09 C:\cygwin\bin\cygform6.dll 19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll 20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll 929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll 22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll 28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll 21k 2001/06/20 C:\cygwin\bin\cygintl.dll 81k 2000/12/05 C:\cygwin\bin\cygitcl30.dll 35k 2000/12/05 C:\cygwin\bin\cygitk30.dll 45k 2002/02/08 C:\cygwin\bin\cygjbig1.dll 119k 2002/02/09 C:\cygwin\bin\cygjpeg6b.dll 59k 2002/09/20 C:\cygwin\bin\cygkpathsea-3-3-7.dll 25k 2002/07/16 C:\cygwin\bin\cygltdl-3.dll 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll 20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll 175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll 202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll 12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll 40k
Re: X11 and Heavy loadbalancing?
On Fri, 15 Nov 2002 [EMAIL PROTECTED] wrote: Hi all, At my Connectiontoolprojekt (Win-GUI-Client for Cygwin) i have think by my self whats happend if a heavy load Situation is comming up and How can it be solved? Is there an Way to Make XFree scalable or is there an J2EE based Container for a Free XFree avaiable thadt can be integrated as Part of a Java Serverapplication- Cluster such as ORACLE 9iAS Appserver Modul? XFree is a implementation of X11. X11 is a server, clients and the protocol. Which parts do you mean? (Oracle self has implemented an E-Mailserver, na Fileserver, an Faxserver, LDAP and so thadt resides in the Applicationserver Middlewarelayer, thadt can be empowered by an Oracle Realapplication Cluster thadt Spans over the Network to other Machines they are Member of the Cluster) If no Project is launched at this Time then my X.NET Projekt at Sourceforge will by Upgraded to this Projektfeature. I don't understand what you want to do. The XServer is bound to a output device. So there is no way to let a cluster do the work for it. The XClients work over network. So there is no problem with spreading them on a cluster. If you want to handle a lot of workstations with few compute servers, you can use the -broadcast to select the first answering compute server instead of selecting one with -query. The first responding is likely to have a low load. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: X11 and Heavy loadbalancing?
I don't understand what you want to do. The XServer is bound to a output device. So there is no way to let a cluster do the work for it. Ok i try it more detailed again to describe: An J2EE (Java) implemented Applicationserver act as an centralized Server instance for Java writen Applications. The main Benefit of an J2EE conform Applicationserver is, to write code in Java as an non-visual Programm, thadt can on the fly integrated into the running Appserver to add an Feature. Typical Serverdriven Applications such as SMTP, POP, IMAP4, Telnet, Fileservice or waht ever) without the needs to implement first an TCP-Server Socket to host the Next Layer (the Serviceprotocol such as HTTP). The Only things to do is to implement the Serviceprotocol such as RFC 1945 HTTP 1.0. The XClients work over network. So there is no problem with spreading them on a cluster. Loadbalancing, Scalability, Avaiability is only a Task of the Appserver, and its Environment (in an Oracle Realapplicationcluster the AppServer can be connected to other AppServers to share its Performance ressouces to the involved System automatically and takes care for Failover Situations) For Example: Oracle has implement an E-Mailserver as an J2EE Container for the Oracle AppServer. If you have 2x Machines the Power aof Your E-mailsystems automatically scales up the Performance (while Sharing Client Tasks like MS-Outlook) My simple Questions is: Is there an Java based (EJB) X11R6 J2EE 1.2 / 1.3 Servercontainer Software released thadt can act as Part of an J2EE Applicationserver to act as an X11-Server? If you want to handle a lot of workstations with few compute servers, you can use the -broadcast to select the first answering compute server instead of selecting one with -query. The first responding is likely to have a low load. I think the Java Part is a little bit more easly to manage for setting up an Userfriendly and Crossplatform compliant System thadt runs anywhere without Bash or other Shell/Terminalconsoles (Just like Hit Run and better and Costsaver as an Propritary Windows based CITRIX Metaframeterminalserver) License GPL: Any Questions? Greetings from Freiburg, Germany
Re: X11 and Heavy loadbalancing?
On Fri, 15 Nov 2002 [EMAIL PROTECTED] wrote: My simple Questions is: Is there an Java based (EJB) X11R6 J2EE 1.2 / 1.3 Servercontainer Software released thadt can act as Part of an J2EE Applicationserver to act as an X11-Server? Why would anyone want that? The X server is running on your local workstation If you have the X server running on a remote host, you can not see the visual output. If you want to handle a lot of workstations with few compute servers, you can use the -broadcast to select the first answering compute server instead of selecting one with -query. The first responding is likely to have a low load. I think the Java Part is a little bit more easly to manage for setting up an Userfriendly and Crossplatform compliant System thadt runs anywhere without Bash or other Shell/Terminalconsoles (Just like Hit Run and better and Costsaver as an Propritary Windows based CITRIX Metaframeterminalserver) The terms server and client are switched in the X1 world. The Windows Application server is the X client and The Terminal Client is like the X Server. What you want (If I understood that correctly) is a login server running in the Applicationserver which connects to your local X11 display. The problem here is to implement a shell, or a desktop in java which acts as UI for the logged in user. Smth. like KDE or Gnome for Java. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: X11 and Heavy loadbalancing?
Yup, I am equally confused. I am realy sorry Keep in mind that the X Server is ``serving'' your display, mouse, and keyboard hardware to applications that would like to utilize them. A ``client'' of your X Server is utilizing the display, mouse, and keyboard on the X Server by drawing a window and accepting user input via the mouse and keyboard. Ok, my Syntax for my Request is an little bit urly wurly. (I know thadt the Client has the hardest Job on a X-Session, but it was no clear to me how much is the X-Server involved at this Time) Alexander is right: clustering the X Server makes absolutely no sense. How can you server multiple instances of your display, mouse, and keyboard? Why would you want to? The I/O Traffic producing by the Apps on X-Serverside (Harddisk access to the Partitions) I assume thadt a lot of Officeuser thadt would connect to the X-Server, slow down the Machine. With Oracle IFS, (Fileservermodule in the AppServer) the Filesystemoperations would be redirect to the Databasesystem (more and faster then ext2/ext3 or Raiser) while using the Databaseengine to lookup for the File. The Idea: Layer 1: The Oracle 9i R2 J2EE Applicationserver (Internetfilesystem - IFS-Module) managing the in-comming Filerequests and handles, takes care vor Failoversituations and delegating Requests to other RealApplication Cluster. Layer 2: The Oracle 9i R2 Databasesystem handle the IFS-Fileobjects and put it into its Tablepsaces (Databasefiles and its Pratitions) as an Datarecord (BLOB) Next Questions: Ist there an JAVA (or J2EE) Implementation of an X11 Server avaiable thadt can be used for studying? Is it heavy to implement the Programmlgoic (Functional?) if C/C++ to Java Translation is necesarry? Thanks
heap errors when running in gdb
Hi, I'm trying to debug my X program. However, when I run it in gdb, I get a SIGTRAP when stepping over XOpenDisplay(). Continuing I get it another time (sorry, not exactly sure where), continuing, my program runs fine (except for the bugs that I introduce...). Should this worry me? I've downloaded cygwin an dXfree 1 week ago, so am running the latest of everything. gdb screenshot: --- warning: HEAP[test_display.exe]: warning: Heap block at 002541A8 modified at 002544FA past requested size of 34a Program received signal SIGTRAP, Trace/breakpoint trap. 0x77fa018d in ?? () (gdb) c Continuing. warning: HEAP[test_display.exe]: warning: Invalid Address specified to RtlReAllocateHeap( 23, 2541b0 ) Program received signal SIGTRAP, Trace/breakpoint trap. 0x77fa018d in ?? () (gdb) c Continuing. -- Thanks! Kris Thielemans
Preventing X server resets
I'm using XDMCP for my session, from where I run X applications on various different servers. If the machine I logged onto with XDMCP is rebooted, or suffers network difficulties, the X server resets and I loose my whole session. I would prefer the X server and it's remaining clients to continue running, so that I can just start a window manager on a different box and carry on working. Is there some way to prevent this reset from happening? I gave the -noreset option a try but it made no difference. -- Peter Oliver Midrange Services Aquila Networks Services Ltd Confidentiality: This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error, use of this information (including disclosure, copying or distribution) may be unlawful. Please notify [EMAIL PROTECTED] and delete the message immediately. Security: Internet e-mail is not a 100% secure communications medium. Viruses: This e-mail (and any attachments) has been checked (using Sophos Sweep 3.58 + patches) and found to be clean from any virus infection before leaving. Therefore neither Aquila Networks Services Ltd nor Midlands Electricity plc or any of their group undertakings (as defined by the Companies Act 1989) (together referred to as the Companies) accept legal responsibility for this message or liability for the consequences of any computer viruses which may have been transmitted by this e-mail. Monitoring: All electronic communications with the Companies may be monitored in accordance with the UK Regulation of Investigatory Powers Act, Lawful Business Practice Regulations, 2000. If you do not consent to such monitoring, you should contact the sender of this e-mail. Aquila Networks Services Limited, Registered office: Whittington Hall, Whittington, Worcester, WR5 2RB Registered in England and Wales number 3600545 This e-mail may be sent on behalf of any of the Companies.
Re: X11 and Heavy loadbalancing?
[EMAIL PROTECTED] wrote: The I/O Traffic producing by the Apps on X-Serverside (Harddisk access to the Partitions) I assume thadt a lot of Officeuser thadt would connect to the X-Server, slow down the Machine. You can only connect one Officeuser to a XServer .-... .. o | ||| || -+- |_| || || | -- || || / \ / \|| || Officeuser Terminal Cluster (XServer) But the Officeuser can of course open several office applications on the cluster. With Oracle IFS, (Fileservermodule in the AppServer) the Filesystemoperations would be redirect to the Databasesystem (more and faster then ext2/ext3 or Raiser) while using the Databaseengine to lookup for the File. Cool. But what about the overhead. Store a 2MB file and require 5MB storage in the database. The Idea: Layer 1: The Oracle 9i R2 J2EE Applicationserver (Internetfilesystem - IFS-Module) managing the in-comming Filerequests and handles, takes care vor Failoversituations and delegating Requests to other RealApplication Cluster. Layer 2: The Oracle 9i R2 Databasesystem handle the IFS-Fileobjects and put it into its Tablepsaces (Databasefiles and its Pratitions) as an Datarecord (BLOB) buzzword overflow error Next Questions: Ist there an JAVA (or J2EE) Implementation of an X11 Server avaiable thadt can be used for studying? ^ do you mean that? weird X bye ago NP: Apoptygma Berzerk - Bitch -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: Preventing X server resets
Oliver, Peter wrote: I'm using XDMCP for my session, from where I run X applications on various different servers. If the machine I logged onto with XDMCP is rebooted, or suffers network difficulties, the X server resets and I loose my whole session. I would prefer the X server and it's remaining clients to continue running, so that I can just start a window manager on a different box and carry on working. Is there some way to prevent this reset from happening? I gave the -noreset option a try but it made no difference. There is no way to prevent this. If the remote host reboots, you'll loose all session information anyway since the XServer is only the display. Image you are working locally with a computer and it resets. Do you expect that you can still see what was last on the graphiccard? The same is with the XServer. It only displays what the program wanted to show you. NP: Apoptygma Berzerk - Snutt 7 -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: depth in pixmap
Thielemans, Kris wrote: Hi, do I gather correctly from the FAQ that it is impossible to open an depth 8 window and display and 8 depth ZPixmap on a 24 bit depth screen? It seems that the depth settings are largerly ignored (aside from size issues). That is, I don't seem to get an error message at all when I ask for 8bit depth, but then it does not seem to work properly. Is this a general restrictiion of X servers, or only of XFree on Windows? Oh, while I'm taking some bandwith here. Can anybody point me to some online documentation on how to put up a bitmap in 24bit mode? (I'm constructing my bitmap myself, and do that in 8bit mode with ZPixmap that essentially indexes in a colormap, but I get the impression that my ZPixmap has to be 24bit per pixel now. What format is it in? Is the colormap ignored?) maybe the -fullscreen option helps. For some -engine modes it changes the displaydepth for the requested depth. If you don't use fullscreen, the depth setting is ignored. bye ago NP: Apoptygma Berzerk - Paranoia -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: heap errors when running in gdb
Kris, You know, you bring up a good point. I used to use gdb on Cygwin all the time for debugging both XWin.exe and non-X applications that I write. However, gdb has been broken for me on Cygwin for months now; it never works properly anymore. I think I recall CGF insisting that gdb works for him, so I must be doing something wrong. I do recall getting the SIGTRAP errors, and I generally have to kill gdb via Task Manager anytime I try to use it, but I do not recall getting any HEAP errors. I don't know what to tell you :( Harold Thielemans, Kris wrote: Hi, I'm trying to debug my X program. However, when I run it in gdb, I get a SIGTRAP when stepping over XOpenDisplay(). Continuing I get it another time (sorry, not exactly sure where), continuing, my program runs fine (except for the bugs that I introduce...). Should this worry me? I've downloaded cygwin an dXfree 1 week ago, so am running the latest of everything. gdb screenshot: --- warning: HEAP[test_display.exe]: warning: Heap block at 002541A8 modified at 002544FA past requested size of 34a Program received signal SIGTRAP, Trace/breakpoint trap. 0x77fa018d in ?? () (gdb) c Continuing. warning: HEAP[test_display.exe]: warning: Invalid Address specified to RtlReAllocateHeap( 23, 2541b0 ) Program received signal SIGTRAP, Trace/breakpoint trap. 0x77fa018d in ?? () (gdb) c Continuing. -- Thanks! Kris Thielemans
Re: Preventing X server resets
Peter, Let me rephrase your question and ask you if it makes sense: ``If I am talking on the phone to my mother and she unplugs her phone, can I just continue talking to her?'' The answer is no. You have established a connection with a server that is supposed to manage your X session... if that server fails, or if the connection to it is unreliable, then you X Session is terminated. Unfortunately, the way the system is designed is that applications you launch from your X session are managed by the remote XDMCP machine... if that machine goes down there is no way to transfer control of those applications to another machine. You basically have a system problem here: 1) Take steps to stop the machine from crashing or being rebooted (this may involve convincing your sysadmin to change his ways, via a baseball bat if necessary) 2) Remedy the network connection problems between you and the server. There should not be such problems, and the X protocol generally deals quite well with long-distance connections. For example, I XDMCP into my home machine which sits on a cable modem that has 256 kbits/sec upstream... my connection paths to this machine go through many thousands of miles of Internet links before arriving at my laptop machine, yet the connection is responsive and reliable. If you are on a local network and you have problems, then you have some inherent flaw in your network that must be resolved. 3) If you can't do anything about the machine or the network, then you need to adjust your quality-of-service expectations. With that being said, you may be able to alter your working habits, such as opening remote applications via ssh with X forwarding... this will tend to be a little less resource intensive that opening a full XDMCP session on the remote machine (http://xfree86.cygwin.com/docs/ug/using-remote-apps.html#using-remote-apps-ssh). I hope that clarifies the way X works and I hope it gives you a few other ideas to try. Harold Oliver, Peter wrote: I'm using XDMCP for my session, from where I run X applications on various different servers. If the machine I logged onto with XDMCP is rebooted, or suffers network difficulties, the X server resets and I loose my whole session. I would prefer the X server and it's remaining clients to continue running, so that I can just start a window manager on a different box and carry on working. Is there some way to prevent this reset from happening? I gave the -noreset option a try but it made no difference.
Re: depth in pixmap
Kris, You gathered correctly. The depth parameter is only used in fullscreen mode where we can actually change the display depth to match the requested depth. In windowed mode we are stuck with the display depth that Windows is currently running at. Other X Servers support 8 bit visuals on top of 24 bit visuals, but Cygwin/XFree86 does not currently have this support. There is an experimental feature (enabled with -pseudoemulation, I think) that creates an 8 bit visual, however, this visual does not have a real colormap and we do not translate between colormap colors and 24 bit colors... in other words, the colors will be all messed up, but you may find this acceptable. Harold Thielemans, Kris wrote: Hi, do I gather correctly from the FAQ that it is impossible to open an depth 8 window and display and 8 depth ZPixmap on a 24 bit depth screen? It seems that the depth settings are largerly ignored (aside from size issues). That is, I don't seem to get an error message at all when I ask for 8bit depth, but then it does not seem to work properly. Is this a general restrictiion of X servers, or only of XFree on Windows? Oh, while I'm taking some bandwith here. Can anybody point me to some online documentation on how to put up a bitmap in 24bit mode? (I'm constructing my bitmap myself, and do that in 8bit mode with ZPixmap that essentially indexes in a colormap, but I get the impression that my ZPixmap has to be 24bit per pixel now. What format is it in? Is the colormap ignored?) Thanks for any help! Kris Thielemans
Re: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you]
On Thu, Nov 14, 2002 at 07:51:59PM +, David Starks-Browning wrote: Harold, I identify the latest snapshot without the problem here: http://sources.redhat.com/ml/cygwin/2002-11/msg00654.html And, for the record, David reports that the *latest* snapshot seems to solve his problem. Note that there were multiple snapshots generated yesterday so if you grabbed one and it didn't work, it's worthwhile to grab the latest. cgf
Re: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you]
On Friday 15 Nov 02, Christopher Faylor writes: Note that there were multiple snapshots generated yesterday so if you grabbed one and it didn't work, it's worthwhile to grab the latest. Multiple versions dated 2002-11-14? Could that explain why Bill still sees the problem with his 2002-11-14 snapshot? David
Re: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you]
On Fri, Nov 15, 2002 at 03:46:09PM -0500, Harold L Hunt II wrote: On a side note, I didn't see an answer to my question about why the cygwin1.dll version number does not agree with the cygwin package version number (1.3.15-1 vs. 1.3.15-2, respectively). Is setup.exe goofing, was the version number of the DLL not bumped on accident, or are the version numbers commonly out of agreement for valid reasons? The cygwin version number is 1.3.15. There is no -1 or -2 so the only way to know what version of the cygwin *package* you have is to use cygcheck. In other words the -x is only used for the package version numbering. cgf
Re: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, thisone is for you]
Chris, The latest 2002-11-14 snapshot works for me. Emacs launches without freezing. Harold Christopher Faylor wrote: On Thu, Nov 14, 2002 at 07:51:59PM +, David Starks-Browning wrote: Harold, I identify the latest snapshot without the problem here: http://sources.redhat.com/ml/cygwin/2002-11/msg00654.html And, for the record, David reports that the *latest* snapshot seems to solve his problem. Note that there were multiple snapshots generated yesterday so if you grabbed one and it didn't work, it's worthwhile to grab the latest. cgf
Re: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you]
On Fri, Nov 15, 2002 at 08:34:00PM +, David Starks-Browning wrote: On Friday 15 Nov 02, Christopher Faylor writes: Note that there were multiple snapshots generated yesterday so if you grabbed one and it didn't work, it's worthwhile to grab the latest. Multiple versions dated 2002-11-14? Could that explain why Bill still sees the problem with his 2002-11-14 snapshot? Yes, that's why I mentioned this, actually. It occurred to me as I was typing in the response. FWIW, I've just generated a *new* snapshot so there is a 2002-11-15 version up there now. So, that's the one to try. No confusion about dates necessary. cgf
Newbie question -
Is there a way to invoke XDMCP AFTER the fact? Once I have started a local window manager, I'd like to do an XDMCP query, but running XWin again creates a second instance of X that is independent of my current window session. I tried running XDM ?!? And it replies only root wants to run xdm... But there is no user called root on my system... Thanks.
Re: Newbie question -
Jean-Claude, No. XDMCP manages your entire X Windows session. Either you use it at startup or you don't use it at all. If all you want is a local window manager and remote applications, then you should launch XWin with your local window manager, then ssh into your remote host with X forwarding enabled and launch your X Clients in the background (e.g. ``xterm''). What did you envision would happen if you were running a local window manager and you logged into a remote XDMCP session at the same time, assuming that this was possible? Did you assume that the window managers would share the screen, that a new window would popup with the XDMCP session? What were you envisioning? Harold Harold Jean-Claude Gervais wrote: Is there a way to invoke XDMCP AFTER the fact? Once I have started a local window manager, I'd like to do an XDMCP query, but running XWin again creates a second instance of X that is independent of my current window session. I tried running XDM ?!? And it replies only root wants to run xdm... But there is no user called root on my system... Thanks.
Re: Running XDMCP server
Jean-Claude Gervais wrote: I tried running XDM ?!? And it replies only root wants to run xdm... But there is no user called root on my system... Thanks. An equal and opposite reaction... Is it possible to run XDMCP as a server (sorry probably wrong terminology) on the cygwin side, so I can run say Xnest from Linux, connect to XDMCP on Cygwin, login...? And what does the xdm running as root message mean ... I even tried creating a user called root and that didn't work... Just out of interest David
Re: X11 and Heavy loadbalancing?
Hi, Since the native GUI model for Java programs running on Unix and Linux hosts is X11, any and all Java GUI applications running on such hosts are inherently able to have their human user interaction take place on a separate host (or X terminal) from the host on which they execute. Likewise, multiple application clients (in the X sense of client--an application that wants to interact with a user via keyboard, moust and raster display) can share a single server (again, in the X sense--i.e., user interaction hardware). This should make it possible to handle migration or load balancing of the Java application while the user remains at a single workstation. So, any Java software with an AWT or Swing GUI when running on a Unix platform with X support (all of them except MacOS X, I believe) should be able to do what I think you're contemplating. Now usually one does not put conventional Java GUIs on J2EE applications (to my limited knowledge), but I doubt there's any technical reason why it could not be done. Is this at all an answer to your question? Randall Schulz Mountain View, CA USA At 02:14 2002-11-15, [EMAIL PROTECTED] wrote: Hi all, At my Connectiontoolprojekt (Win-GUI-Client for Cygwin) i have think by my self whats happend if a heavy load Situation is comming up and How can it be solved? Is there an Way to Make XFree scalable or is there an J2EE based Container for a Free XFree avaiable thadt can be integrated as Part of a Java Serverapplication- Cluster such as ORACLE 9iAS Appserver Modul? (Oracle self has implemented an E-Mailserver, na Fileserver, an Faxserver, LDAP and so thadt resides in the Applicationserver Middlewarelayer, thadt can be empowered by an Oracle Realapplication Cluster thadt Spans over the Network to other Machines they are Member of the Cluster) If no Project is launched at this Time then my X.NET Projekt at Sourceforge will by Upgraded to this Projektfeature. http://sourceforge.net/projects/ibsxnet/ Greetings Randy
Re: Preventing X server resets
On Sat, 16 Nov 2002 2:41 am, Oliver, Peter wrote: I'm using XDMCP for my session, from where I run X applications on various different servers. If the machine I logged onto with XDMCP is rebooted, or suffers network difficulties, the X server resets and I loose my whole session. I would prefer the X server and it's remaining clients to continue running, so that I can just start a window manager on a different box and carry on working. Is there some way to prevent this reset from happening? I gave the -noreset option a try but it made no difference. As other posts have indicated, you can't solve this with XDMCP. The only (open source) solution that I'm aware of is to use VNC. There are several different VNC versions out there. http://www.realvnc.com is the new version by the original developers. (There is also Tridia VNC, Tight VNC, esVNC and probably others.) This adds an extra layer between the user and the applications. In essence VNC runs a virtual X-Server on the machine running the applications. (Actually, it could be some other machine, but lets keep this simple.) To illustrate, suppose you have a machine 'Server', and a machine 'Desktop'. The user is sitting in front of 'Desktop', and the applications live on 'Server'. With XDMCP: Process Machine Application AServer | | X Protocol | X-ServerDesktop With VNC: ProcessMachine Application A Server | | X Protocol | VNC Server Server | | VNC Protocol | VNC Client Desktop | | X Protocol | X-Server Desktop If the 'Desktop' is running Windows, you don't need the last step, since there is a native Windows VNC Client. The advantage with VNC is you can kill the VNC client and not lose you X-Session. You can for example, log in at work (using VNC), leave stuff running but kill the VNC client, go home, and re-connect with a new VNC client at home, and still be running the original session you left going at work. The disadvantage (over a LAN) is the 'smoothness' of the display, although I believe the new versions are pretty good. You also can't use XDMCP, so no nice login screen. But for keeping an X-Session going even when your desktop crashes, it is just what the doctor ordered. (VNC is also useful for low bandwidth connections.) Anyway, since there is a Win32 VNC Client (and server), this is not somewhat offtop for this list. OTOH, I wonder what the performance of the *nix vnc client would be under XFree-Cygwin? Might have a look sometime. Cheers, Rasjid.
RE: Preventing X server resets
Hi, Would xmove also be a possibility? From what I understand, xmove can be used to disconnect an X session from a host without the session actually closing. You can then move the display to another machineand resume where you left off.. You can also simply reattach to the X session from the machine that originally requested it. Is that what you're after? -Original Message- From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On Behalf Of Rasjid Wilcox Sent: Friday, November 15, 2002 6:08 PM To: [EMAIL PROTECTED]; Oliver, Peter; '[EMAIL PROTECTED]' Subject: Re: Preventing X server resets On Sat, 16 Nov 2002 2:41 am, Oliver, Peter wrote: I'm using XDMCP for my session, from where I run X applications on various different servers. If the machine I logged onto with XDMCP is rebooted, or suffers network difficulties, the X server resets and I loose my whole session. I would prefer the X server and it's remaining clients to continue running, so that I can just start a window manager on a different box and carry on working. Is there some way to prevent this reset from happening? I gave the -noreset option a try but it made no difference. As other posts have indicated, you can't solve this with XDMCP. The only (open source) solution that I'm aware of is to use VNC. There are several different VNC versions out there. http://www.realvnc.com is the new version by the original developers. (There is also Tridia VNC, Tight VNC, esVNC and probably others.) This adds an extra layer between the user and the applications. In essence VNC runs a virtual X-Server on the machine running the applications. (Actually, it could be some other machine, but lets keep this simple.) To illustrate, suppose you have a machine 'Server', and a machine 'Desktop'. The user is sitting in front of 'Desktop', and the applications live on 'Server'. With XDMCP: Process Machine Application AServer | | X Protocol | X-ServerDesktop With VNC: ProcessMachine Application A Server | | X Protocol | VNC Server Server | | VNC Protocol | VNC Client Desktop | | X Protocol | X-Server Desktop If the 'Desktop' is running Windows, you don't need the last step, since there is a native Windows VNC Client. The advantage with VNC is you can kill the VNC client and not lose you X-Session. You can for example, log in at work (using VNC), leave stuff running but kill the VNC client, go home, and re-connect with a new VNC client at home, and still be running the original session you left going at work. The disadvantage (over a LAN) is the 'smoothness' of the display, although I believe the new versions are pretty good. You also can't use XDMCP, so no nice login screen. But for keeping an X-Session going even when your desktop crashes, it is just what the doctor ordered. (VNC is also useful for low bandwidth connections.) Anyway, since there is a Win32 VNC Client (and server), this is not somewhat offtop for this list. OTOH, I wonder what the performance of the *nix vnc client would be under XFree-Cygwin? Might have a look sometime. Cheers, Rasjid.
RE: Running XDMCP server
*snort* I can't help but laugh, David! No, not at your predicament, but rather at the funny coincidence that you and I are both looking at the same problem but from opposite ends! LOL So I take it that you're running Windows, and you'd like Windows to be the server (you're right - probably the wrong terminology here) and permit Linux boxes to XDMCP to your Windows machine? If that is the case, I *think* your Windows machine should run Xnest and your Linux machines should then connect to it. Looks like I'm probably backward... OK, more reading of the docs is in order. I will get back to you if I figure anything out. Please do the same. Thanks Jean-Claude -Original Message- From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On Behalf Of David Fraser Sent: Friday, November 15, 2002 5:13 PM To: [EMAIL PROTECTED] Subject: Re: Running XDMCP server Jean-Claude Gervais wrote: I tried running XDM ?!? And it replies only root wants to run xdm... But there is no user called root on my system... Thanks. An equal and opposite reaction... Is it possible to run XDMCP as a server (sorry probably wrong terminology) on the cygwin side, so I can run say Xnest from Linux, connect to XDMCP on Cygwin, login...? And what does the xdm running as root message mean ... I even tried creating a user called root and that didn't work... Just out of interest David
Re: Newbie question -
On Sat, 16 Nov 2002 9:02 am, Jean-Claude Gervais wrote: Is there a way to invoke XDMCP AFTER the fact? Once I have started a local window manager, I'd like to do an XDMCP query, but running XWin again creates a second instance of X that is independent of my current window session. I tried running XDM ?!? And it replies only root wants to run xdm... But there is no user called root on my system... Thanks. You could try $ Xnest :1 -query host This will give you an XDMCP session in a window inside your current XSession. Rasjid.
RE: Newbie question -
Hi Harold! OK, I'll tell you what I'm up to: What I do these days is start XWin -rootless -query host I have the host set up so that I log in using gnome, and I have set the remote Gnome to NOT set a background. That way, all I have is the Gnome taskbar, which I dock on the top of my monitor while the Windows taskbar is docked at the bottom of the monitor. That way, it really is quite like being logged onto both computers simultaneously. The only thing is, I haven't figured out how to run local X applications at the same time. I'd like WindowMaker's desktop launcher come up on the display also. I could probably run a bash shell as a Windows console mode app and from it start some X applications, but this seems inelegant. I'm trying to get all three at the same time, and then, (hopefully) hook Xwinclip into the chain and be able to paste data from one computer to another... Does that sound cogent? I can't really be sure, often I've noticed there are even better ways of doing what I want with *nix, only I am still ignorant of many of them. Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On Behalf Of Harold L Hunt II Sent: Friday, November 15, 2002 5:07 PM To: [EMAIL PROTECTED] Subject: Re: Newbie question - Jean-Claude, No. XDMCP manages your entire X Windows session. Either you use it at startup or you don't use it at all. If all you want is a local window manager and remote applications, then you should launch XWin with your local window manager, then ssh into your remote host with X forwarding enabled and launch your X Clients in the background (e.g. ``xterm''). What did you envision would happen if you were running a local window manager and you logged into a remote XDMCP session at the same time, assuming that this was possible? Did you assume that the window managers would share the screen, that a new window would popup with the XDMCP session? What were you envisioning? Harold Harold Jean-Claude Gervais wrote: Is there a way to invoke XDMCP AFTER the fact? Once I have started a local window manager, I'd like to do an XDMCP query, but running XWin again creates a second instance of X that is independent of my current window session. I tried running XDM ?!? And it replies only root wants to run xdm... But there is no user called root on my system... Thanks.
Getting AltGr on German keyboard to work
Hello! I'm trying to get the AltGr key on my Dell Precision m50 keyboard to work with a German keyboard layout. The notebook is running Windows XP SP 1 and latest cygwin. The plain keys like y and z work fine. However, umlauts like ä, ö and ü don't get displayed at all. And also the AltGr key (for characters like | or @) doesn't seem to work at all. Pressing AltGr shows me these signals when running xev: KeyPress event, serial 26, synthetic NO, window 0x241, root 0x36, subw 0x0, time 2220092, (58,87), root:(1242,107), state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: KeyPress event, serial 26, synthetic NO, window 0x241, root 0x36, subw 0x0, time 2220092, (58,87), root:(1242,107), state 0x14, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: KeyRelease event, serial 26, synthetic NO, window 0x241, root 0x36, subw 0x0, time 2220112, (58,87), root:(1242,107), state 0x2014, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: KeyRelease event, serial 26, synthetic NO, window 0x241, root 0x36, subw 0x0, time 2220112, (58,87), root:(1242,107), state 0x2010, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: When I press Alt Gr on my Linux desktop, I just get the Mode_switch keysyms. When I press ö, xev shows that it get's the odiaresis keysym just fine and in the characters line it shows the ö. What do I have to do, to get the Alt Gr key to work (most important) and also the umlauts? I'd really like to get a fix on the server side, because (once setup) I'll connect to quite a number of different hosts running all sorts of OS, like HP-UX 11.00, Solaris and Linux. I don't know if all of these machines have xmodmap installed. Thanks, Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.iso-top.biz |Jabber: [EMAIL PROTECTED] iso-top.biz - Die günstige Art an Linux Distributionen zu kommen Uptime: 2 days 5 hours 21 minutes
Origin (Where You From?)
Hi, Where about on the Globe do you reside? (In other words, Where You From?) Best regards, Kenny Ho This email is sent in compliance with strict anti-abuse and NO SPAM regulations. Your address was collected as a result of posting to a link, a classified ad or you are on a list that I have purchased. To remove your E-mail address, simply reply with REMOVE on SUBJECT line.
Re: Newbie question -
On Sat, 16 Nov 2002 10:45 am, Jean-Claude Gervais wrote: What I do these days is start XWin -rootless -query host I have the host set up so that I log in using gnome, and I have set the remote Gnome to NOT set a background. That way, all I have is the Gnome taskbar, which I dock on the top of my monitor while the Windows taskbar is docked at the bottom of the monitor. That way, it really is quite like being logged onto both computers simultaneously. The only thing is, I haven't figured out how to run local X applications at the same time. I'd like WindowMaker's desktop launcher come up on the display also. I could probably run a bash shell as a Windows console mode app and from it start some X applications, but this seems inelegant. Based on the above, I'm not sure that Xnest will do what you want after all. Instead, I've had success using your original: $ start XWin -rootless -query host Then in your XDMCP session, run $ xhost +localhost to allow local X apps to connect to the server. (I'm sure you could get fancy and do some proper Xauthority stuff here.) I then created a script called 'startxapp.bat': Essentially just the first part of 'startxwin.bat' which sets up the path, and then: run %1 Create a shortcut to this, passing the name of the local X app you wish to run as a paramater. It all works very nicely. Rasjid.
Re: X11 and Heavy loadbalancing?
Hi, I *think* I understand what [EMAIL PROTECTED] is trying to do. The normal term for what he is attempting is host integration. This is where host-based applications are integrated into web-based applications. The most common example of this is the IBM product Host On Demand. The obvious way to do host integration with X Windows is to use the same approach as HOD. Use a java applet implementation of X (WeirdX) and place the applet in a web page. This approach has the same problem as HOD - a very heavy applet download. PapaFox - Original Message - From: Randall R Schulz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 16, 2002 9:24 AM Subject: Re: X11 and Heavy loadbalancing? Hi, Since the native GUI model for Java programs running on Unix and Linux hosts is X11, any and all Java GUI applications running on such hosts are inherently able to have their human user interaction take place on a separate host (or X terminal) from the host on which they execute. Likewise, multiple application clients (in the X sense of client--an application that wants to interact with a user via keyboard, moust and raster display) can share a single server (again, in the X sense--i.e., user interaction hardware). This should make it possible to handle migration or load balancing of the Java application while the user remains at a single workstation. So, any Java software with an AWT or Swing GUI when running on a Unix platform with X support (all of them except MacOS X, I believe) should be able to do what I think you're contemplating. Now usually one does not put conventional Java GUIs on J2EE applications (to my limited knowledge), but I doubt there's any technical reason why it could not be done. Is this at all an answer to your question? Randall Schulz Mountain View, CA USA At 02:14 2002-11-15, [EMAIL PROTECTED] wrote: Hi all, At my Connectiontoolprojekt (Win-GUI-Client for Cygwin) i have think by my self whats happend if a heavy load Situation is comming up and How can it be solved? Is there an Way to Make XFree scalable or is there an J2EE based Container for a Free XFree avaiable thadt can be integrated as Part of a Java Serverapplication- Cluster such as ORACLE 9iAS Appserver Modul? (Oracle self has implemented an E-Mailserver, na Fileserver, an Faxserver, LDAP and so thadt resides in the Applicationserver Middlewarelayer, thadt can be empowered by an Oracle Realapplication Cluster thadt Spans over the Network to other Machines they are Member of the Cluster) If no Project is launched at this Time then my X.NET Projekt at Sourceforge will by Upgraded to this Projektfeature. http://sourceforge.net/projects/ibsxnet/ Greetings Randy