Slashdot Mirror


XLiveCD: Cygwin and X For Windows On A Live CD

mallumax writes "OSnews is running a story on XliveCD which runs an X server (from X.org) from the CD using Cygwin. Also included are awk, sed, perl, vim, bash, grep, other text utilities, and most importantly an OpenSSH client. XliveCD is being developed by University Technology Services of Indiana University. Now you can carry Cygwin with you! I have been looking for something like this for a long time. Torrent link."

53 of 313 comments (clear)

  1. Wait... by Anonymous Coward · · Score: 2, Funny

    Doesn't running this on Windows defeat the purpose of it existing? Unix... On windows... Does not compute... Can't stop... ... ... Help...

    1. Re:Wait... by garbletext · · Score: 2, Informative

      This is a live CD for X forwarding. The program runs on unix, and has it's graphics forwarded to the X client running on the remote windows machine

    2. Re:Wait... by ahg · · Score: 4, Informative

      I'm sorry if I appear to be to be knit-picking but...

      You have the client-server relationship wrong, a common mistake when talking about X windows.

      The application running on Unix is the client to the X-server running, in this case, off a Windows machines.

      Client examples: xterm, konqueror, Kmail, Evolution running on *nix

      Server: X.org running on _Windows_ via Cygwin

      --

      --Aaron Greenberg

    3. Re:Wait... by steveha · · Score: 4, Informative

      I really, really wish the X guys hadn't used this terminology. But they did, so we need to keep it straight.

      Just think of it this way:

      A file server provides files to its clients. A print server provides printing to its clients. An X Window server provides graphical windows to its clients.

      Thus, when you run any X application, it is a client to the X Window server. It asks the server for a window to display stuff in.

      So, if you buy an expensive rack-mount server machine, and you hook up a thin client that lets you use a GUI, that thin client has an X server on it, and the X server talks to X clients that run on the server.

      The neat thing is that in the other universe (the one where Spock has a beard), they call "clients" "servers" and "servers" "clients", but the X guys still did it backwards there so this confusion still applies.

      Hope this helps.

      steveha

      --
      lf(1): it's like ls(1) but sorts filenames by extension, tersely
    4. Re:Wait... by steveha · · Score: 4, Insightful

      The terminology makes sense, but is it sensible?

      When you run the server on your thin client, and the clients all run on your rackmount server, and the newbies are all confused, and we need to write posts explaining why the seemingly backwards terminology is in fact correct... in some sense, it's sensible, but if you take a poll of a bunch of newbies, the consensus would be that it's confusing. (I'll stop now before someone beats me senseless.)

      If some terminology makes arguable sense but confuses everyone but hard-core computer geeks, is it really the best terminology? I say no.

      steveha

      --
      lf(1): it's like ls(1) but sorts filenames by extension, tersely
  2. I don't get it. by Phidoux · · Score: 2, Insightful

    What is the point?

    1. Re:I don't get it. by BrynM · · Score: 5, Informative
      What is the point?
      Consider these ideas:
      • Take a CD to work and use X on any machine with a CD drive
      • Use this as a framework to add more applications like dev tools, auditing tools or desktop apps (probably forking the project, but interesting)
      • Use it to prove to the ill tempered that *Nix is not all bad and quite usable
      • Find a way to port it to Flash drives and such
      • Another valid use of BitTorrent :D (the download of this iso that is)
      Remember that this is an early version. The best uses are to come probably.
      --
      US Democracy:The best person for the job (among These pre-selected choices...)
    2. Re:I don't get it. by UnderScan · · Score: 4, Informative

      > What is the point?
      The point is easy interoperability between *nix and Windows OSs. See my post at OSNews.com http://www.osnews.com/comment.php?news_id=9163#313 438 of it's ease of use.

      You can also find more info from from a paper published for the SIGUCCS of the ACM titled: Easy access to remote graphical UNIX applications for windows users Listed below is the publicly available abstract:
      ABSTRACT
      A barrier deters Windows users from evaluating graphical scientific software that runs only on remote UNIX systems. Graphical UNIX applications are based on X Windows. To make use of X applications, Windows users must install an X server, install communications software for connecting to remote UNIX systems, and configure their systems to display graphics from remote systems. This barrier can be removed by making use of an X server and communications software that run live from CD-ROM. This poster presents such a CD-ROM known as XLiveCD.

      XLiveCD appears to users as an application that provides a command-prompt that allows them to log in to remote computers. Windows XP/NT/ 2000 users insert the CD into a drive and click twice in response to a wizard. A terminal window appears on the screen and provides a command prompt. From the command prompt users run the secure shell (ssh) to connect to a remote computer and launch applications. X graphics windows are forwarded automatically.

      XLiveCD is based entirely on open source software and is available free for download. It is a Cygwin environment (from Red Hat, Inc.), including the X.org X server and openssh installed and modified to be run from CD-ROM. The home page is http://xlivecd.indiana.edu/.

    3. Re:I don't get it. by dario_moreno · · Score: 5, Interesting

      I see the point for portables computers with WiFi or GPRS Internet access, which can be a pain (or simply impossible) to setup under Linux. Imagine that you can borrow a laptop from time to time at work to go on the road, and cannot afford to take hours to install cygwin, but with this solution instead you can in seconds connect to your remote Unix server.

      --
      Google passes Turing test : see my journal
    4. Re:I don't get it. by MoneyMan · · Score: 5, Insightful

      The point is that you can sit at any windows machine, which may not necessarily be your own, and have a decent set of utilities to use.

      I personaly work on many machines on any given day. The majority of which I do not own. I'm not "allowed" by my customer to go and just start throwing applications onto their system willy-nilly.

      With this, I can work on any machine, using a shell I know, (bash), have a functional Xserver available, and access to a bajillion other GNU utilities without ever installing a single app.

      Ever needed to tail a file in windows? It's there. Yes, there is a tail app for windows, and it's free. The point here is that this doesn't need to be installed. Grep? same thing.

      Just boot to a LiveCD distro, you say? But I need to see what's happening on this Virii / Spyware ridden hunk o' junk while it's running windows.

      Could I build my own suite? Yeah... but why would I? This has what I need.

      Kudos and my thanks to the Cygwin team.

    5. Re:I don't get it. by evilviper · · Score: 2, Insightful
      Take a CD to work and use X on any machine with a CD drive

      Yes, but use X to do WHAT exactly? Click on pretty buttons over and over again? If I can't have cygwin on disk, able to manipulate files, save scripts, etc, what's the use, really? The few Unix apps that are worth the trouble of running in an X11 window on a Windows box, already have native ports.

      Use this as a framework to add more applications

      Yeah, great, another framework... because we didn't have nearly enough already. Does getting Cygwin running on read-only media seem all that difficult to you?

      Use it to prove to the ill tempered that *Nix is not all bad and quite usable

      Yeah, we sure need another one of THOSE too.

      Seriously, Cygwin is the last thing I'd want to show people as an example of Unix... It's a crufty layer on top of Windows, which gives it the disadvantages of both. Cygwin is a nice tool for someone who knows Unix well, but for those that don't, it's a whole other operating system, with a whole new set of commands they have to learn just to use a couple of programs.

      Find a way to port it to Flash drives and such

      Haha! That's hilarious. Sounds about like taking a Linux Live-CD, and porting it to run on a hard drive...

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    6. Re:I don't get it. by BrynM · · Score: 4, Interesting
      It's a crufty layer on top of Windows
      Exactly! You don't have to RTFA to know that this means you don't have to even re-boot your machine to use it. This is an advantake to those of us on W32 boxen at work that are refused a *nix dev machine. If you think it sucks, don't use it. I happen to see some usefulness for me. To each their own.
      --
      US Democracy:The best person for the job (among These pre-selected choices...)
    7. Re:I don't get it. by nickos · · Score: 2, Interesting

      Yes, but if you use a native Windows version you have to use the terrible Windows command prompt. Does anyone know a replacement that remembers its command history prior to the last reboot and (for bonus points) lets you cut, copy and paste using the standard Ctrl x/c/v.

    8. Re:I don't get it. by Habahaba · · Score: 2, Interesting
      This package is HUGE!

      Has anybody made a *samll* backage of the Cygwin/X? Putty + that should be very small and fit anywhere (like USB kaychain). Cygwin/X should not need much... I almost did it, but had problems with fonts that I could not solve.

    9. Re:I don't get it. by halivar · · Score: 3, Informative

      Yes, but use X to do WHAT exactly? Click on pretty buttons over and over again? If I can't have cygwin on disk, able to manipulate files, save scripts, etc, what's the use, really? The few Unix apps that are worth the trouble of running in an X11 window on a Windows box, already have native ports.

      The debugger that came with our version HP/UX server did not have a console interface; it was GUI only. That means we had to have X to log in an do any debugging work on our apps.

      I could have used something like this.

    10. Re:I don't get it. by giminy · · Score: 2, Interesting

      Yes, but use X to do WHAT exactly? Click on pretty buttons over and over again? If I can't have cygwin on disk, able to manipulate files, save scripts, etc, what's the use, really? The few Unix apps that are worth the trouble of running in an X11 window on a Windows box, already have native ports.

      Native ports, yes, but does your desktop Windows machine compare to this?

      unix:$ sysinfo

      General Information

      Manufacturer is Sun (Sun Microsystems)
      System Model is Fire V440
      Main Memory is 16.0 GB
      Virtual Memory is 38.1 GB
      ROM Version is OBP 4.13.0 2004/01/19 18:28
      Number of CPUs is 4
      CPU Type is sparc

      (note: some details cut out to preserve the server's anonymity)

      This liveCD would be pretty useful to me. I would rather run my big computational and memory-intensive programs on our campus "big iron" unix servers than on my little pentium 4 desktop machine, which only has one cpu and a half a gig of ram. But hey, I'm a CS student writing chaos programs. YMMV.

      --
      The Right Reverend K. Reid Wightman,
  3. The point? by Random+Data · · Score: 5, Interesting

    I was going to ask what the point was, given the number of Live CDs such as Knoppix, etc. Then I actually RTFA and they suggest it's for use in public access Windows boxes, where a reboot may not be available but running stuff from the CD is.

    I still suspect VNC on a USB key or CD might be easier, and the difference between forwarding X and using VNC isn't that much in my experience.

    1. Re:The point? by Dr.+Descartes · · Score: 2, Interesting

      My experience has been that VNC is less bandwidth intensive which can be real handy if you're working in an environment without business/commercial connectivity. I've found myself in that situation a couple of times here in Alaska where bandwidth is kind of expensive.

      I imagine there's times when one would want their entire session encrypted beyond the authentication process and forwarding X is great for that. Many individuals are less security conscious and would probably have a better experience with VNC

    2. Re:The point? by fearlezz · · Score: 5, Interesting
      they suggest it's for use in public access Windows boxes
      Great idea. There's only one problem with public access Windows boxes: they cannot be trusted. Public access machines may have keyloggers, backdoors and stuff. I don't want anyone to see my password because I login from a windows box. Don't trust internet cafe's... So, personally, I was thinking more of using this when I'm visiting family and friends.
      --
      .sig: No such file or directory
    3. Re:The point? by Random+Data · · Score: 2, Insightful

      Replying to myself... Oh dear.

      Thinking about it, I just realised I flagged myself as someone who's been using Windows too much (or at least using single user machines). Using an X server means you can have multiple people accessing a single largish back end server, which isn't doable with VNC. For example - you're in a University/College course with a small number of terminals, but there's a Windows lab with network access. You've spent too much on cheap alcohol^W^Wtextbooks to afford a decent PC or net connection, so this way you can sidestep the cue for the terminals to do your work.

    4. Re:The point? by Minna+Kirai · · Score: 2, Informative

      I was going to ask what the point was, given the number of Live CDs such as Knoppix, etc.

      Although it's improved with the recent 3.7 release, there are still many, many PC hardware configurations that Knoppix won't run on- and many more where it won't be able to initialize the network device. That's especially common if you have a software modem, a newer WiFi card (like 802.11g), or if you need to use a VPN (even if a Linux client does exist, installing it after booting a livecd would be a pain).

      The screen device is also unlikely to be utilized fully. Although Cygwin's X11 server is occasionally very slow, the Knoppix startup will often be unable to use anything better than a generic VESA driver, which can't reach the high resolutions expected from a modern desktop.

      Finally, rebooting is awkward and inelegant. Don't go around killing your friends' uptimes just to run a few progs on your home machine.

      difference between forwarding X and using VNC isn't that much in my experience.

      The difference can be huge. VNC tends to give similar performance over many network speeds, while X11 is more extreme: either much better, or much worse. This is easiest to demonstrate when your network is super-fast. X11 programs on localhost loopback are hard to distinguish from native applications, while VNC imposes a level of sluggishness regardless of the connection speed.

      The reverse happens too: when I run Qt apps over a medium speed X11 link, they run fine until I open a pulldown menu- then I get a 45 second wait while it renders the elaborate drop-shadow effect.

    5. Re:The point? by iamacat · · Score: 2, Insightful

      Are you kidding? I used to run xterm and Emacs over 2400 baud and it was tolerable, even before I tried lbxproxy. On the other hand, TightVNC is not usable for serious work even over a cable modem. As I understand, VNC sends bitmaps while X11 forwards drawing calls and many things like images and fonts are cached on the server.

      Even if everything else was the same, VNC has to refresh the whole screen, while with X you can just open a couple of small windows from remote. How can it have a better performance?

    6. Re:The point? by Dr.+Descartes · · Score: 3, Informative

      I guess it all depends on what you're using it for. If I have to forward X, it follows that the application I am using is either not my current host or is not available to be done from a vanilla SSH session. Instances of usage include using StarOffice, Mozilla, and even XMMS. There were very legitimate reasons for using each of these applications at the time (well, except XMMS). It is noted that VNC requires fewer roundtrips than X, hence high bandwidth applications appear faster when using VNC despite having to account for an entire desktop environment.

      So, no, I'm not kidding. Here's a quote from this article I found while looking for evidence to support my stance, "When using X, I always make sure to turn compression on with the -C option (Compression yes in the config file), as X is bandwidth intensive, to put it politely. With compression on and a fast cipher such as blowfish (the default for recent versions of OpenSSH), Netscape is just about usable over a ten-megabit network. Without compression, it is rather painful, and I would certainly recommend against running any complex X application over less then ten megabits."

      This has been my experience.

    7. Re:The point? by Minna+Kirai · · Score: 4, Informative

      Are you kidding? I used to run xterm and Emacs over 2400 baud and it was tolerable,

      Your example is inconclusive. Network speed has two independent components: bandwidth and latency. Just because your modem had poor bandwidth doesn't mean the latency was also bad.

      And indeed, many aspects of the X11 protocol involve almost gratuitous round-trip queries that can make high latency a killer. Often it's aspects of the GUI toolkits that create this problem- a pretty effect that seems cool & fast on a localbox can be sluggish on the network.

      Specific real-life example: in Evolution, you move an email from one folder to another, and the application draws a little translucent icon flying from origin to destination as a feedback indicator. It covers about 200 pixels distance, and for each step, the applcation downloads the remote image of the workspace under that position, alpha-blends a pixmap ontop of it, and sends the pixmap back to the viewer.

      On a long-haul link, this can take MINUTES, during which you can't interact with any X11 programs. If you were running the program under VNC, however, the whole animation would be over before a screen update is even transmitted. While the user has missed-out on some eye-candy, this is far better than waiting through all the bidirectional traffic.

      On the other hand, TightVNC is not usable for serious work even over a cable modem.

      For truely serious work, it's not usable even on a loopback interface to localhost.

      Even if everything else was the same, VNC has to refresh the whole screen,

      False. VNC is an extensible protocol, so it can support arbitrarily intelligent update mechanisms. But even the original generation of VNC clients were smart enough only to update the screen regions that were actually changing.

      (If your VNC experience has primarily been with the Windows server, you might not have noticed this, but that's because it was difficult for them to interface with the server without full screen-scraping and mouse-yanking, as Windows wasn't designed to allow concurrent users)

    8. Re:The point? by Minna+Kirai · · Score: 4, Insightful

      So, configure ssh to use S/Key, generate some one time pass phrases, and carry this live CD with you. Login remotely to your system, be careful not to do anything which is security sensitive, and you are set.

      No you're not. If the client machine is compromised, one-time logins cannot protect you. The local SSH client could do evil things in a hidden side-channel to your actual work.

      I've seen proof-of-concept modifed SSH clients which secretly download files from the remote homedir whenever anyone connects to anyplace (and that's in addition to logging all the activities of the session, of course).

      With work, the operating system could be modified to recognize known popular SSH clients (such as putty.exe on your USB drive, or this X LiveCD thing), and secretly replace it with a compromised version when you attempt to run from your supposedly-trusted removable media.

      to do anything which is security sensitive,

      Um... if the activity was genuinely insensitive to security, you could run naked telnet. It's true that attacks like I described are probably rare enough that many people would be willing to run the risk, but they should still be aware of the threats and make that choice on their own. Elaborate multi-part attacks will only become more common as time goes by.

    9. Re:The point? by Q2Serpent · · Score: 2, Insightful

      The point here is that ssh is running off of your CD. Unless the public Windows machine is smart enough to see your ssh loaded into memory and switch it with another on the fly...

      Please loosen your tin foil hat just a little.

  4. Perhaps a misnomer by spagetti_code · · Score: 3, Interesting
    A liveCD to me is one that is bootable - and for a moment I got pretty excited. A bootable minimalist CD that pops up an XServer ready to go. Pretty cool - like a lite X terminal you can carry around on a CD.

    The reality is a little less exciting - just a program you can run from a CD. (yawn).

  5. coLinux by Henk+Poley · · Score: 2, Interesting

    Do they also include coLinux on the CD? Being able to run Linux from a LiveCD directly onder windows would be a really nice feature me thinks.

  6. Cygwin RULES by BrookHarty · · Score: 3, Informative

    I use cygwin in a few different places. One our file server is running NT, put cygwin on there and it like a real server ;)

    Also, Since I'm booted into XP most of the time, cygwin fills the nitch of having sshd to copy files back too, perl for running some reports, X for those server admin applications, even vi when I need to do some text work. (Ya, I said vi)

    I was running Linux with VMware for XP, but the resources wasted, and no VPN software that worked with our nortel vpn connection, decided to just use cygwin, perfect choice.

    Couple things, You can have real RXVT term's without X they run stand alone, and you can customize with normal black backgrounds, right side bars, etc. It also supports Rootless for seemless looking with windows. (Like OSX.) Comes with links, super quick to read heavy text sites, no popup banners, and color/frame support. I use it to read slashdot, and if someone looks over my shoulder, they just see text.

    KDE under cygwin runs ok, few bugs, but since I just needed a manager, I went with windowmaker (Or rootless). Save the resources. (Old habits..) Konsole is nice, with tab's, I just with there was a tabbed RXVT then life would be truly sweet. (No tabbed putty yet, come on!)

    Cygwin is the first software I install on a new windows system, just makes the whole thing usable. I recommend it to anyone doing work. I dont know how it compares to ActivePerl or others, since I've been using cygwin's for years, havn't had a need to switch.

    BTW, a native port of nethack would be nice in the default install... And since I'm making requests, (hint to any Cygwin developers) how about real native selectable for download, icewm, screen and irssi(with ssl). Maybe VNC also. So I can remotely run X software off a Windows box over an ssh tunnel. (Production networks, security, makes an admin work harder..)
    -
    Halliburton, they get no bid contracts, they hire columbian mercs to watch the oil pipelines, and have more armored vechicals than the US Army in IRAQ. Don't join the Army, Join Halliburton!

    1. Re:Cygwin RULES by cgf · · Score: 2, Informative

      I'm one of the cygwin project leads. I wanted to point out that adding packages to cygwin is pretty easy. You just have to package up .tar.bz2 source and binary files, a "hint' file, and send a proposal to the cygwin-apps mailing list.

      So, if you're interested in adding new packages to the cygwin release -- you have the power.

  7. Plenty of options already by Dr.Opveter · · Score: 2, Informative

    Most popular unix tools already have windows binaries available, like GNU utilities for Win32 - http://unxutils.sourceforge.net/
    It's a little outdated but you can easily find newer versions of particular tools you like, also with practical GUI if you'd like. http://www.lexique.org/undows/
    Then there's VNC, Putty..

    --
    Sample this!
  8. This is silly... by the+angry+liberal · · Score: 2, Insightful

    Now you can carry Cygwin with you! I have been looking for something like this for a long time.

    You have been looking for a long time? I have been carrying around a flash card with ssh keys, Putty, a fat installation of Cygwin with every tool you oodled over, along with ethreal and various other network tools for like 2 years. I also have a backup of all this stored in a subdirectory on my iPod.

    This is like something a Wired! subscriber would get excited about: A distribution of win32 tools where all you have to do is put the CD in the thingy and press "I agree". :rolleyes:

    How about more headlines on Cygwin when there are major updates? If it were up to me, any time good projects like Linux from Scratch get updated, I would make that a headline. The way I see it, we want to attract the people who actually think to threads, and not the perpetual computer noobies who give up when "that thing they clicked on did not go the first time around". :shaking fist at slashgods:

  9. Great! by fearlezz · · Score: 3, Interesting

    Just downloaded it. This CD is great! The "insert and go" character of the CD makes it very useful.

    Only one comment: the .ssh directory should not be placed on the desktop! :)

    --
    .sig: No such file or directory
  10. UITS is terrible by eobanb · · Score: 2, Informative

    I'm a student at IU, and UITS is not as "fucking sweet" as they sound. In fact, that statement is almost insulting to me.

    UITS does bullshit little projects like this all the time, actually, to try and maintain public support. The problem is that they're arrogant and don't meet student and staff needs AT ALL.

    Let me give you a couple of examples. Last year, and many years before that, we used an online system called InSite, developed in-house by our comp sci department, to manage grades, webmail, scheduling, everything. It was a little ugly and slightly disorganised, but it was reliable as hell, and I've never heard a single complaint about it.

    Then all of a sudden, some asshole bureaucrat at UITS decides we need to spend several million dollars in a contract with PeopleSoft to replace InSite with a new system called, confusingly enough, OneStart. Then everyone realised it didn't do anything academically, so we wasted a bunch more money creating a second system called OnCourse. See where this is going? It's million-dollar software on million-dollar hardware, and guess what, none of it really works that well. And now PeopleSoft is having huge problems of their own. I hope they don't write their own software. Now the Comp Sci department is trying to explain to UITS that they could have re-written and modernised InSite over last summer, for free, using standard software like PHP and SQL running on Solaris. But NO.

    UITS also loves doing other stupid things to annoy ordinary users like me. Prime example; this semester they're blowing up pine. I personally love pine. Their justification is that it's 'too expensive to maintain' and that more people use our webmail system. In fact, I get the feeling that most of the stupider people on campus use webmail exclusively, because they've never even heard of IMAP.

    Also, our Cisco VPN doesn't work right, and UITS soundly refuses to fix it.

    So I called and emailed UITS a dozen times and they never reply, and instead waste their time with little PR projects like this.

    --

    Take off every sig. For great justice.

    1. Re:UITS is terrible by eobanb · · Score: 2, Interesting

      The true purpose of this, I strongly suspect, is actually to justify replacing Unix and GNU/Linux workstations with Dells, which is exactly what has been going on lately. No one seems to have thought of how anyone was going to be able to access our general purpose Unix environment from these machines, so they threw this together.

      --

      Take off every sig. For great justice.

  11. Re:I can think of a use by wagemonkey · · Score: 2, Insightful
    If you already have cygwin1.dll on your machine this may not work - it's not designed to run on a pc with cygwin.

    You can hack out cygwin quite effectively - don't forget the registry keys need to be deleted and all cygwin1.dll have to go. You can find info on the website, and you may get help on the list depending upon how mean everyone is feeling and how you ask :-)

  12. meta nit-picking by palad1 · · Score: 2, Funny
    You have the client-server relationship wrong, a common mistake when talking about X windows.

    You have the spelling wrong, a common mistake when talking about X Window.

    now please correct my grammar ;)

  13. NoMachine by Ari+Rahikkala · · Score: 2, Informative
    Incidentally, I've set up FreeNX to let a couple of my friends test out Linux desktops (primarily KDE, since I have had some problems with getting GNOME to work over NX - I'll ask about it in a senseful way as soon as I've actually started to figure out what's wrong). It's behind a 512/512 DSL connection, and comments on the speed of the session have ranged from "I've tried a Linux desktop before, and this lagged the same way as that did" to "shockingly fast, almost as fast as VNC to the box that's sitting by my feet". X11 isn't shabby, I guess, but it's not nearly as impressive as NX is.

    And before you ask, no, I did *not* need to install any non-free software on this box to get a NX server going. Gentoo's Portage has currently FreeNX 0.2.4, and 0.2.7 is available from bugs.gentoo.org. The rest of what you need for NXx serving was opensource from the start.

    Oh, and by the way, I love the way NX causes further confusion regarding the question of what's a client and what's a server. In the case of FreeNX: You use nxclient to connect to an ssh server, where nxserver is the login shell of the user "nx" (as which you authenticate yourself first). nxserver starts the servers it needs, and the client applications connect to the X server on the client through the servers started by nxserver, which are clients to the nxproxy on the client :).

  14. I guess I dont get the responses here... by Seraphim_72 · · Score: 2, Insightful

    This is actually a very nice thing to have, it writes no permanent files to the HD, no need to reboot, and you have the ability to run your X apps where ever you are, over a single port to no less.

    That means I can use *my* browser, with all of my short cuts and plugins (or lack there of) and I only have to keep one configured instead of the current three that I do now. Also you get to use all of your own apps, configured the way you like them. And because it is all done securely, on your own machine, surf for what ever you want "Harold down the hall was caught surfing for porn, inspect his machine" "I don't know what they saw, but only thing on ther was mens boxer pictures from WalMart's website." Actually the more I think about it this is a great privacy tool that can be easily handed out.

    Light, responsive and it allows you to bring even non-ported F/OSS programs to a Windows desktop. I realy don't see what there is to be down on this about. Congrats to the people developing it.

    Sera

    --
    Slashdot, where armchair scientists get shouted down and armchair theologians get modded up.
  15. installed or not? by Errtu76 · · Score: 2, Interesting

    FTA:
    The software runs from the CD without being installed

    and a few lines down:

    The wizard presents a menu of reading documentation, running the X Server from the CD and installing the software to the hard drive

    So, does it run completely from cd or not? If it really needs to install stuff to the harddisk it could form a problem in work environments where users might not have write access to the harddisk.

  16. Re:Neither do i. by ebooher · · Score: 3, Interesting
    techefnet wrote:
    Who needs a livecd containing cygwin anyway? Why dont you just install cygwin locally? Someone explain to me.

    I currently work for an organization that has very strict (and government controlled) policies in place for the installation and use of software packages. It's called bureaucracy. To install PuTTy on my XP workstation I must submit a ticket via our Management System interface. That ticket must then be assigned to my manager for an approval for the request of the software. Once my manager approves (could be a week or more) the ticket is then assigned to a senior manager for approval. Once that senior manager approves the installation of the software the ticket is assigned to an auditor to evaluate the financial impact on the company, the auditor must then write up a RFP (Request for Purchase) and submit approval to the ticket. The ticket is then assigned to the final approver (who is usually the CIO or another officer just below) who evaluates the ticket, verifies the approvals, verifies the finanical impact, approves the ticket, then assigns it to the Desktop Admin. The Desktop Admin then assigns the ticket to a Support Technician to be implemented. (ie. installed) (Oh, and I'm a member of IT and a Support Analyst, by the way.)

    At any point in that process, if there is a denial. The whole thing must be reviewed, reentered, and start all over again.

    This, I drop it in the CD-ROM, install nothing, run the X apps I need to run on the UNIX gear I monitor. Remove the CD, reboot, and no impact to the installed system that requires red tape.

    Does that help?

    --
    "Genius may shine aloof and alone, like a star, but goodness is social, and it takes two men and God to make a Brother."
  17. Re:What's so special about live? by julesh · · Score: 2, Interesting

    Well, cygwin normally needs to be installed with registry entries to tell it where to find its root directory (and potentially other "mounted fs"'s, too). Presumably this CD has a hacked version that doesn't need those entries (perhaps by just using the path to cygwin1.dll returned by GetModulePath() to derive it automatically for each new program started?).

  18. ineligent? don't FUD knoppix. by twitter · · Score: 2, Interesting
    This CD is a nice demonstration of free software tools but it's no substitute for rebooting to a normal Linux system. SSH on windows is a bad joke and that eliminates 99% of this CD's utility. Knoppix is both a better tool for your own needs and as a demonstration of the power and beauty of free software.

    ... rebooting is awkward and inelegant. Don't go around killing your friends' uptimes just to run a few progs on your home machine.

    That's funny when you consider that the awkwardness of Winblows is the whole reason to use this CD. When I have a guest, it's as easy to let them use my network as adduser. The guests don't have to be in my house either. Uptime? People like Steve Ballmer who aim for 60 days of uptime worry about that. I've gotten used to my power failing before my computers do. While it's nice to have good ssh clients, using them on a system that's notorious for auto installing keyloggers is foolish. Finally, when you use something like knoppix, you generally get as good or better performance as Windows gives loaded down as it usually is by utilities that fail to keep malware off.

    there are still many, many PC hardware configurations that Knoppix won't run on- and many more where it won't be able to initialize the network device. ... the Knoppix startup will often be unable to use anything better than a generic VESA driver

    Your hardware must be different from the hardware I see most of the time. I've seen Knoppix boot up AMD 64 systems and other cutting edge stuff without problems. A set that won't give at least 1024 by 768 resolution is rare and you can try to force better with "ctrl alt +" if the conservative setting is not good enough for you. This might not be good enough for playing games, but it's more than enough to show off the real work that can be done with two office suits and two excellent browsers. Others, such as Morphix, have game CDs if you want that. The only place a boot CD might have problems with hardware is wireless networking, but wrapper software can fix that. Hardware compatibility, by the way, is much easier than software compatibility. M$ can break this toy with a single Winblows update as they have broken people's X and unix connectivity in the past. As time goes by, your chances of everthing working will be greater with an old Knoppix than it will be with an old copy of this CD.

    Knoppix and CDs like it are the easiest and most secure way to move files. Once booted, you can use Konqueror's built in sftp to drag and drop files across a split window. What could be easier than that? If you want quick, zip the files and boot with business card linux and use sftp from the command line.

    Finally, there's nothing like running a live linux CD to show your buddy just how easy it is to get Linux. If there are problems, it's better they show up there than later.

    --

    Friends don't help friends install M$ junk.

  19. Re:Neither do i. by Chanc_Gorkon · · Score: 3, Informative

    DSL, Damn Small Linux embedded will let you run Linux in a window with X Server, SSH, VNC, Mozilla Firefox, Dillo, a texteditor, vi.....you name it. It all fits nicely on a 128 MB USB key. Oh and it's based on everyone's favorite live CD, Knoppix.

    --

    Gorkman

  20. Re:Neither do i. by Chanc_Gorkon · · Score: 2, Informative

    While nice, be aware you can likely run putty off of a floppy or even a CD. Nothing installed (oh unless they county registry keys!....).

    --

    Gorkman

  21. This is news? by triskaidekaphile · · Score: 3, Interesting

    I made just such a CD for myself nearly 3 years ago so that I could have cygwin (particularly SSH), emacs, CVS, Java, and Mozilla with me wherever I happened to be, such as in the classroom. The fun part was getting the autorun feature to properly set up the paths. I also made use of the TMP variable as the directory where I could write to the local disk when needed. I suppose what I really should do is establish a RAM disk.

    I have recently even been considering migrating to a DVD so I can install the full cygwin installation along with Firefox and plugins; music and video players and rippers; some USB device drivers for my camera, MP3 players, voice recorder, and smart media scanner; and if I can figure it out also the synchronization software for my phone and PDA so I am not tied to a single machine!

    I suppose you could add games, too., as if I had time for such things. Hm... the CD emulator with the CD images... I could perhaps include a few of my favorite classics!

    --
    @HbFyo0$k8 tH!$
  22. Re:PuTTY OpenSSH/Windows by Errtu76 · · Score: 2, Insightful

    I'm sure you meant otherwise, but saying you prefer [a client] over [a protocol] makes no sense. I use putty to connect to my linux firewall which runs openssh.

  23. Comment removed by account_deleted · · Score: 2, Interesting

    Comment removed based on user account deletion

  24. Re:Developing free software for WIndows is a dead by ckaminski · · Score: 2, Insightful

    Free software is about choice. You would deny Windows users that same choice that you trumpet from the parapets all day long about the One True OS - Linux? Free software is also about zero cost, you would deny that as well to the windows world? You'd also deny Mac users a powerful user/development experience wouldn't you? What a load of hypocrisy.

  25. Cygwin on CD. by Quantum+Jim · · Score: 2, Informative

    Find a way to port it to Flash drives and such

    I already run Cygwin on a flash drive. Granted, I only run some BASH, CVS, Lynx, clisp, and some other text utilities. But it only takes up 69,884,685 bytes plus slack. Here's what I did:

    1. I'm installing on a computer with limited permissions (no install allowed). So I downloaded setup.exe from Cygwin.com.
    2. Ran setup.exe. I told it to:
      • Install only for me (although I didn't install untill later).
      • Download only from the Internet to c:\temp\cygwin-setup\.
      • Use a local mirror. Don't bother with any of the suggested default ones - they are slow. I used a little-known mirror from a local university.
    3. I selected the minimum install and a few extra packages. Don't go overboard. If you want more, you can install them later. Note that I selected Nano instead of Emacs. I'm just weird, OK!
    4. Took a break while setup.exe worked hard downloading. I think Cygwin still has a grudge against me for that! :-p
    5. After downloading was completed, I finished the process to close setup.exe.
    6. I made a zip copy of c:\temp\cygwin-setup\ in case I fubar my installation. That way I can go back to a minimum build. You didn't go overboard a few steps ago, right?
    7. Now I reran setup.exe to download any other crap like clisp (I kid, I kid!) that I wanted. Use the same settings as above except for the package selections. Use common sense.
    8. I ran setup.exe a third time. I told it to use the files downloaded and install them to c:\temp\cygwin\. I opted NOT to add all the shortcuts that Realplayer likes to force on me. Now I checked to make sure it worked by running the batch file in the directory.
    9. After verifying that it works, copy the entire cygwin directory to your flash drive. I put mine under \programs\windows\.
    10. That batch file won't work with other computers because it fubars the mount points. After a little bit of experimenting, I figured out a better batch file for portable drives. I use:
      @echo off

      rem - required for `man` to work
      set TERM=cygwin

      rem - sets home path
      rem - replace LOGONNAME with your log-on name (you can choose anything)
      rem - create this folder by hand
      set HOME=%cd%\home\LOGONNAME

      rem - set mount points
      rem - these make the directories and drives, which
      rem - are required to start cygwin, readable
      bin\mount -f -u -b "%cd%\\bin" "/usr/bin"
      bin\mount -f -u -b "%cd%\\lib" "/usr/lib"
      bin\mount -f -u -b "%cd%" "/"
      bin\mount -u -b --change-cygdrive-prefix "/cygdrive"

      rem - start shell
      bin\bash --login -i
    11. I run this batch file from a simple wsh vbscript (the horror):
      set shellProxy = WScript.createObject("WScript.Shell")

      cygwinDir = shellProxy.currentDirectory + "\programs\windows\cygwin"

      shellProxy.currentDi rectory = cygwinDir

      shellProxy.Run "cygwin.bat"
    12. Now run that. Does it work? If so, close everything, unmount the USB drive in Windows, and put try it with a clean computer. It should work in that one two. Now you have a portable Cygwin-based BASH shell on a Flash Drive.

    Hope someone finds that useful! Some resources that really helped me out include:

    1. Portable Cygwin on a CD discussion.
    2. Portable Install on USB Flash Drive discussion.
    --
    It is impossible to enjoy idling thoroughly unless one has plenty of work to do.
    - Jerome Klapka Jerome
  26. Re:What's so special about live? by Anonymous Coward · · Score: 2, Insightful

    IMO, applications should do this anyway. I hate programs that require setting some XYZ_HOME environment variable so that it can find itself. Any executable should know where it is, period. Of course I'm biased with a Mac background, as I expect something to run wherever I put it. I find that using GetModulePath(), realpath(), and [[NSBundle mainBundle] executablePath] makes my code perform nicely on each platform. I just put the exe and its files anywhere I want. Registry settings and environment variables are handy for programmers, but they're horrendous from a user interface standpoint.

  27. Re:Developing free software for WIndows is a dead by NetNifty · · Score: 2, Insightful

    Maybe in the short term, but in the long term if people have most of their software being multi-OS FOSS, they have less of a barrier to change OS (instead of having to learn to use different software and a different OS, they just have to learn the OS), so they might be more likely to change to linux eventually.

  28. Re:XLiveHD? by __aamkky7574 · · Score: 2, Informative

    XLiveCD does gives the option to install. I haven't tried this personally, but I did mention to other writers that they could simply mount the ISO using something like DaemonTools, negating the need for a physical CD and drive.

    Using "ssh -Y" to connect to an account negates any problems with setting DISPLAY, etc. It really is damn simply, leaving me more time to write. It's sweet; kudos to the people to came up with this.

    P.