Re: Using only the X server of Cygwin
On Mon, 8 Jul 2002 5:05 am, Rhialto wrote: Hi, I am not subscribed to this mailing list but I would like to give some feedback anyway. Please Cc: any responses to me. I am testing the Cygwin/XFree server to use it as a remote display for my Unix box which runs xdm: XWin -broadcast. So in the installer I choose to de-install All, and to install *only* XFree86-xserv. I noted that the installer installed a lot of things that are not necessary for that, such as header files, info files, terminfo stuff, static link libraries, xterm, sh, twm, etc. And it downloaded a lot more which it apparently did not even install, such as bash, diff, diffutils, fileutils, etc. I could also do without all those megabytes of fonts, since I have a perfectly ok font server, but apparently no way to specify it for the X server. I got a XDMCP session going on Cygwin-XFree86 around September 2001 using nothing but bash.exe cut.exe cygpath.exe cygwin1.dll cygz.dll grep.exe mkdir.exe mount.exe pwd.exe rgb.txt rm.exe SecurityPolicy sleep.exe test.exe touch.exe umount.exe XWin.exe and a bash script called winxterm.sh. You can do without the script (and therefore bash, cut, grep, sleep, test, touch and mkdir and so on) but the script automatically uses the next display number available (ie, if there is already a display on port 6000, it would try 6001, etc). The script is available at http://www.webone.com.au/~rasjidw/winxterm.sh NOTE: The script *will* need updating to deal with changes to XWin.exe that have occured since September last year. I have not got around to doing this, and probably will not do so. Last year I got part way through creating a nice GUI interface, but decided to wait until the setup.exe process was finished (which it now is), and have not got back to it yet. Others have had similar ideas. See http://xlauncher.sourceforge.net for example. My GUI was being written in Python/wxWindows. It is not really at the point of being worth sharing, as it has to be largely redone due to the setup.exe thing being finished. (Yay!) Given a recent discussion on the list, I will probably try and resurrect my Python/wxWindows code, unless someone wants to take up the challenge of a c / c++ version. Rasjid.
Re: Using only the X server of Cygwin
A while back I did some work creating a standalone XDMCP client, more as a test than anything. Xwin depends on cygz.dll cygwin1.dll as ago said. Xwin complains if it doesn't have rgb.txt, this can be put anywhere though and its location specified in the Xwin command line (needs a cygwin style path to the file though). Xwin still needs a /tmp. If cygwin isnt installed properly, then / will default to the root of the drive Xwin is running from (normally c:). It needs this folder for several reasons, it creates Xwin.log here, and a local socket .X11-unix (can be stopped passing '-nolisten local' to Xwin). It also needs /tmp if loading xkb keymaps. /tmp can be mounted whereever you like using cygwins mount command, this will be remembered for when you then run Xwin (hence xkb's and Xwin.log can go where you like). Mount only depends on cygwin1.dll fonts aren't required if you specify a font server using Xwin cmdline parameters. I've found out most of this since I wrote my XDMCP client, but its available at http://www.jeremywilkins.freeserve.co.uk/eXtend/ warning this is a VB6 app so probably isn't gpl'd. Hope this helps. Jeremy
Using only the X server of Cygwin
Hi, I am not subscribed to this mailing list but I would like to give some feedback anyway. Please Cc: any responses to me. I am testing the Cygwin/XFree server to use it as a remote display for my Unix box which runs xdm: XWin -broadcast. So in the installer I choose to de-install All, and to install *only* XFree86-xserv. I noted that the installer installed a lot of things that are not necessary for that, such as header files, info files, terminfo stuff, static link libraries, xterm, sh, twm, etc. And it downloaded a lot more which it apparently did not even install, such as bash, diff, diffutils, fileutils, etc. I could also do without all those megabytes of fonts, since I have a perfectly ok font server, but apparently no way to specify it for the X server. I also downloaded xwinclip-test06, but that would not work because the X server refused the connection, and I could find no way to do the equivalent of xhost +localhost from its command line. So in short, it would be nice to have the installer *just* the files that are required to run XWin -broadcast, and nothing more. That would be the XWin.exe itself, the dlls it really requires, rgb.txt, fonts if no font server can be used, and maybe a few other files I am forgetting. All that doesn't need to take the current 63.263.779 bytes (32.158.116 bytes downloaded). Cheers, -Olaf. -- ___ Olaf 'Rhialto' Seibert -- The evil eye is caused by the black \X/ rhialto/at/xs4all.nl-- tongue - Tom Poes, Het boze oog, 4456.
Re: Using only the X server of Cygwin
Hey, Nicholas -- don't squish Rhialto that quickly. He's probably one of our new users who knows nothing about the cygwin project except what he read on slashdot this morning. The fact is, Rhialto, we focus on cygwin -- as an environment all by itself, *and* independent of any specific intended use or resource availability(*). You have a specific setup, where you want to leverage you existing resources (e.g. a local linux-based font server) to avoid downloading extra stuff. You are an advanced (linux) user, with a very specific purpose in mind. That's not the target of the cygwin (or cygwin-xfree) project. It *IS* possible to do what you want -- but there isn't a super-simple one-click path to do it. [Think about user interface design: there can only be a limited number of 'easy' [one-click, two-click] configurations. We use those for the normal users -- folks who want the cygwin environment, not folks who want JUST 'Xwin -broadcast' and nothing else -- or JUST ssh and nothing else). However, it SHOULD be possible -- and checking the ml archives on this will help -- to create a custom 'setup.ini' script or pseudo-package that setup.exe can read, to install ONLY what you want -- but this will take a little work on your part. Again, check the archives. The basic thing is, setup is configured to install the 'Base' package by default (think Debian's 'base' category). Base is about 50Meg unpacked I think. Then, on top of that, there are certain things that the xserv program itself needs -- like libpng's DLL, zlib's DLL, etc. And it downloaded a lot more which it apparently did not even install, such as bash, diff, diffutils, fileutils, etc. These are all part of the 'Base' category. If you explicitly de-selected specific items -- even if they are in the 'Base' category -- then setup shouldn't even download them. There may be a bug in setup.exe's handling of the Base category. Sorry about that. (*) that is, cygwin-xfree should work OOB on a standalong machine without any external font server, at least by default. Do we really want a windows newbie to understand oh, I also need to install the fonts. Of course not -- we do that by default IF the user installs X. [Linux distros do this too, you know -- if you install XFree86 on Red Hat, you *will* get the fonts.] --Chuck
Re: Using only the X server of Cygwin
Rhialto wrote: I am testing the Cygwin/XFree server to use it as a remote display for my Unix box which runs xdm: XWin -broadcast. So in the installer I choose to de-install All, and to install *only* XFree86-xserv. I noted that the installer installed a lot of things that are not necessary for that, such as header files, info files, terminfo stuff, static link libraries, xterm, sh, twm, etc. And it downloaded a lot more which it apparently did not even install, such as bash, diff, diffutils, fileutils, etc. Cygwin setup by default installs all the packages for an Unix environment. The default XFree86 install includes everything for running local X server and programs. More people want this than a minimal remote X setup. I could also do without all those megabytes of fonts, since I have a perfectly ok font server, but apparently no way to specify it for the X server. Add -fp tcp/other:7100 to the XWin command line. Or do xset +fp tcp/other:7100 from a terminal. I also downloaded xwinclip-test06, but that would not work because the X server refused the connection, and I could find no way to do the equivalent of xhost +localhost from its command line. When doing an XDM session, the X server doesn't allow connection from the local machine. You need to do a xhost +localhost from an xterm. So in short, it would be nice to have the installer *just* the files that are required to run XWin -broadcast, and nothing more. That would be the XWin.exe itself, the dlls it really requires, rgb.txt, fonts if no font server can be used, and maybe a few other files I am forgetting. All that doesn't need to take the current 63.263.779 bytes (32.158.116 bytes downloaded). If you want a minimal install, you can select only the packages that are completely necessary: XFree86-base, XFree86-bin, XFree86-etc, XFree86-xserv, and XFree86-lib. - Ian -- Ian Burrell [EMAIL PROTECTED] http://www.znark.com/
Re: Using only the X server of Cygwin
--- Charles Wilson [EMAIL PROTECTED] wrote: Hey, Nicholas -- don't squish Rhialto that quickly. He's probably one of our new users who knows nothing about the cygwin project except what he read on slashdot this morning. Sorry, I am still cranky about the refusal to include objc in cygwin/gcc-3.1. Cheers, Nicholas __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com
gcc-3.1.x [was: Re: Using only the X server of Cygwin]
[follow up to the cygwin list; this is getting off-topic for cygwin-xfree.] Nicholas Wourms wrote: Hey, Nicholas -- don't squish Rhialto that quickly. He's probably one of our new users who knows nothing about the cygwin project except what he read on slashdot this morning. I am still cranky about the refusal to include objc in cygwin/gcc-3.1. Look, now is NOT the time for objc. It's too early. gcc-3.1.x is a MAJOR change from 2.95.3. Let's make sure the transition hasn't broken the frontends we CURRENTLY have, before we worry about adding more frontends. (IMO, this holds for java/libgcj, too) gcc-2.95.3: provides gcc,g++, and g77. gcc works in -mno-cygwin mode and regular mode. g++ doesn't really work in -mno-cygwin mode, but it does work in regular mode, with certain threading and exception caveats. g77 is regular only. gcc-3.1.x: Let's insure that cygwin's gcc-3.1.x still works in regular and -mno-cygwin mode. Ditto g++ (and since cgf already made changes to enable better -mno-cygwin operation in g++, let's verify that, too). Does g77 still work? The spec file has been totally rewritten. Can we still build DLLs? Does auto-import still work (technically a binutils issue, but that's been upgraded for the first time in eight months just now, too). How about exceptions and threading? Supposedly those are better behaved now -- is it true? What about raising exceptions from within DLLs -- cgf hinted that this probably won't work; also there's a recent binutils patch from Egor that should help with that issue but it hasn't yet been accepted b/c egor needs to fill out the assignment paperwork for FSF...PLUS egor has a cygwin kernel patch that USES his binutils patch... My point: there's a LOT to do right now, with just gcc and g++. Let's not borrow ObjC/Ada/Java trouble just yet. Good grief, the first test release of cygwin-gcc-3.1 was ONLY released less than 24 hours ago. !! Test what we HAVE, before piling on with feature requests !! Boy, I'll bet cgf now knows what Linus feels like the day after a kernel freeze is announced... --Chuck P.S. follow up to the cygwin list; this is getting off-topic for cygwin-xfree.
Re: Using only the X server of Cygwin
On Sun 07 Jul 2002 at 15:35:22 -0400, Charles Wilson wrote: However, it SHOULD be possible -- and checking the ml archives on this will help -- to create a custom 'setup.ini' script or pseudo-package that setup.exe can read, to install ONLY what you want -- but this will take a little work on your part. Again, check the archives. Thanks, I will do that. I was indeed alerted by Slashdot to cygwin/xfree. I remember trying it some time ago, but back then it was more difficult to get going, if I got it going at all (I don't remember exactly). So in that view, there is a lot of progress :-) These are all part of the 'Base' category. If you explicitly de-selected specific items -- even if they are in the 'Base' category -- then setup shouldn't even download them. There may be a bug in setup.exe's handling of the Base category. Sorry about that. At least I am glad it did not install them, since that saves me the trouble of verifying that they are really not necessary. (*) that is, cygwin-xfree should work OOB on a standalong machine without any external font server, at least by default. Do we really want a windows newbie to understand oh, I also need to install the fonts. Of course not -- we do that by default IF the user installs X. [Linux distros do this too, you know -- if you install XFree86 on Red Hat, you *will* get the fonts.] You have a point. But I also think that there will be lots of people who would like cygwin/xfree to be a replacement for XWin-32 or other similar products, so some configuration preset for that would come in handy. --Chuck Thanks, -Olaf. -- ___ Olaf 'Rhialto' Seibert -- The evil eye is caused by the black \X/ rhialto/at/xs4all.nl-- tongue - Tom Poes, Het boze oog, 4456.
Re: Using only the X server of Cygwin
On Sun, 7 Jul 2002, Rhialto wrote: You have a point. But I also think that there will be lots of people who would like cygwin/xfree to be a replacement for XWin-32 or other similar products, so some configuration preset for that would come in handy. I mainly use Cygwin/XFree86 as X-Terminal with no local X-Clients running. But I can not check, what you need to run it standalone (without cygwin) since I don't have a computer without cygwin installed. And there are a lot of things which are setup after installing cygwin as the mount points, or some dlls. All I can provide is the info that you need Xwin.exe,, cygz.dll and cygwin1.dll. Please take this as starting point and check if XWin complains about something. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723