Frustrating day with Linux
I can tell I've been getting a little burned out the last few days. I think it had a lot to do with our builder's death last week. I came to realize that working my ass off just doesn't have that many rewards. For most of the weekends this summer, I've been getting up at 4 and working for a few hours until Julie and Abbie get up. Then I do it again on Monday morning. This weekend I didn't get up before 9. And today I slept until 8 - even though I had planned to get up at 4. To make matters worse, rather than putting in hours for my client today, I spent the entire day wrestling with Linux.
I really wanted to get my new Cinema Display working with Suse and Fedora. I'm almost to the conclusion that it "ain't gonna happen". This sucks b/c now I have to leave one of my huge-n-heavy CRT monitors on my desk. Days like today, where I banged my head against the wall all day, are quite discouraging. My office is in turmoil - with open boxes all over the floor, monitors strewn about and video cards piling up on my desk. Some days are better than others. Hopefully my frustrations from today will turn into some type of writing zone later this week.
Update: I finally gave up and hooked my two Linux boxes up to my old KVM switch and a crappy ol' keyboard/mouse that I had lying around. Then I was planning on hooking my PowerBook and XP box up to my new DVI KVM switch. Wouldn't you know it - it doesn't fricken work. The connector on the cinema display is too fat to even plug into the KVM switch. My guess is that no one is using these displays with a KVM or maybe there's a special switch I have to get. Oh well, I guess I can manually switch the monitor b/w OS X and XP if I really need to.
Posted by Jeff Duska on August 10, 2004 at 10:50 AM MDT #
Posted by alonso on August 10, 2004 at 02:25 PM MDT #
Posted by Matt W on August 10, 2004 at 11:16 PM MDT #
Posted by Matt W on August 10, 2004 at 11:17 PM MDT #
Alonso - most of my issues were related to getting the ATI drivers to work on Linux. It involved patching sources and such - of which most patches were out of date with the released version, and once I got those in synch, my kernel was too new. I've heard the NVidia cards would a lot better with Linux, so I might try one of those. Hopefully I can send all my ATI crap back. If not, there's always eBay.
Matt - I'm sure it's mostly video card related. BTW, if you want line break (or to use JSP Wiki syntax), you can start your comment with an exclamation point.
Posted by Matt Raible on August 10, 2004 at 11:31 PM MDT #
Screw VNC...its dog slow. Do it all on your Mac and use your Mac video drivers...here is how...
For Linux...use X windows from your Mac.
On your Mac, load X...and in an xterm...type the following:
or you can have your linux X seemlessly work with your MacOSX with the following:
While X is NOT running, in a terminal (clearly NOT a X terminal...just a standard terminal)...type the following:
Now for windows..use terminal services. When you run terminal services on your own network (assuming 100MB), its nearly as fast as being in front of the the workstation. Its highly optimized. For..do the following...
Download "Remote Desktop Connection" from Microsoft (its a free download) and follow the instructions.
Or for super-duper speed, use rdesktop fron X. In an XTerm, type the following:
With these tips you should be able to use all your machines (even at the same time) without the need for a KVM, and all will use your highly optimized Mac drivers for the video, and also will be FAST. I am sure you will find this a worthwhile solution. I had to do this because I have a Sun E250, Linux Dual, MacOSX, WinXP, and Win2000 running in my house (all over the place - basement, office, bedroom). It was a much better solution than running KVM cables everywhere.
Posted by Jeff Genender on August 11, 2004 at 02:14 PM MDT #
Posted by 168.215.185.197 on August 11, 2004 at 07:24 PM MDT #
I've got a Windows XP box (my email and Eclipse) and 3 SuSE Linux boxes connected to a Belkin KVM. Its cranky at best.
However I found out recently that Cywin's X implementation is not too bad. If you have cygwin installed on Windows, just open a bash shell and type:
<code>X -query "hostname"</code>
(where "hostname") is one of your Linux hosts and I get a maximized window with my entire SuSE Linux desktop in it. I've just about stopped using the KVM.
Posted by Richard on August 11, 2004 at 09:52 PM MDT #
Posted by Matt Raible on August 13, 2004 at 10:20 PM MDT #
I run SuSE 9.1 Pro and it can be turned on with their YAST configurator pretty easily. However it was hidden under the option "Enable VNC remote admin" - but when you go there there are options that have nothing to do with VNC, just plain X remote login.
I'm not sure where it is on RedHat or Fedora. Maybe someone else knows :o). Wish i knew more about RedHat/Fedora - but we moved to SuSE a year ago as they had 64-bit support for our dual opteron production server. Been pretty happy with it.
BTW: I am really appreciative for your AppFuse/Struts Resume example apps/frameworks. I'm a developer turned manager that decided to get back into more hands-on development. Started with your Struts Resume in January 2003 and we now have a commercial app that's been in production over a year now. I'm in the middle of updating with your most recent version of LabelTag and Struts 1.2.1 now. I'm sure you've heard this from hundreds of folks, but you really have made a difference.
Posted by Richard on August 13, 2004 at 10:56 PM MDT #
Matt,
You have the gray screen under X because you need to get X to allow connections from the rest of your network. It comes out-of-the-box as do-not-allow-other connections for security purposes. If you have a firewall setup, you can open up X without fear of a breakin. Do the following:
Edit the /etc/X11/gdm/gdm.conf file. Look for a line that looks like the following:
Uncomment the "Enable=true". Then restart gdm or just reboot. Your X should work then.Posted by Jeff Genender on August 15, 2004 at 04:59 PM MDT #