...making Linux just a little more fun!

<-- prev | next -->

Talkback


Talkback:124/smith.html

[ In reference to "Build a Six-headed, Six-user Linux System" in LG#124 ]

Thiago [mascc2 at gmail.com]
Wed, 6 Dec 2006 15:09:19 -0200

Good afternoon

I've been trying to get multihead to work for 2 months now. I saw several different solutions for the problem but no that meet my needs. I'm trying to run a two seat gaming station. I proved that it is actually possible since i could run a dual head with xinerama and one game in each screen ( but only one keyboard controlling both screens ). I'm running on two nvidia video cards, with nvidia drivers :

00:09.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 4000 AGP 8x] (rev c1)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
Thanks to the at nvclock i could do some tweaking to get reasonable speed. My problem is altough i could run it with xinerama, when i try to separate the seats- put one keyboard, one mouse, one video card for each seat - the system does not show the second screen. I tried with both gdm and kdm to get the thing to work. When i try to start each head individually i can, but i cannot separate each mouse and keyboard: they work as if they were the same.

That problem has keep me up several nights. My xorg.conf follows so you would point up were i screwd up or if i didn't :

[ ... ]

[ Thread continues here (1 message/5.64kB) ]


Talkback:132/pfeiffer.html

[ In reference to "Boosting Apache Performance by using Reverse Proxies" in LG#132 ]

René Pfeiffer [lynx at luchs.at]
Sat, 2 Dec 2006 14:28:12 +0100

Hello, Clement!

Sorry for the late reply, but our office got redecorated with Gigabit wiring and our backup mail servers ate some mails.

On Nov 17, 2006 at 2347 -0800, Clement Huang appeared and said:

> Nice article, Rene.

Thank you!

>     I also saw apache_mod_proxy can do the reverse-proxy function. How
>     is the performance  comparing  to squid proxy?  any  benchmarking
>     on  this proxy  performance between these two?

To be honest I didn't do any benchmarking in order to compare both proxies. I usually stick to Squid because I use it for many years now and it has a very rich configuration file with options that can do (almost) anything you want. In my personal opinion Squid does a better job handling memory and disk cache than Apache's mod_proxy. You can tune the amount of memory it uses, define maximum object sizes, configure fetching of aborted requests and the like. This is often more important than having an extra couple of hits per second.

Best regards, René.

-- 
  )\._.,--....,'``.      Let GNU/Linux work for you while you take a nap.
 /,   _.. \   _\  (`._ ,. R. Pfeiffer <lynx at luchs.at> + http://web.luchs.at/
`._.-(,_..'--(,_..'`-.;.'  - System administration + Consulting + Teaching -
Got mail delivery problems?  http://web.luchs.at/information/blockedmail.php

[ Thread continues here (2 messages/3.61kB) ]


Talkback:133/tag.html

[ In reference to "The Monthly Troubleshooter: The USB Subsystem" in LG#133 ]


Mon, 4 Dec 2006 10:30:41 +0200

Hi,

Is there any common way to communicate with USB devices which aren't mass storage - like Motorola mobile phones, some Canon photo cameras and so on?

thanks, Vitaly

[ Thread continues here (8 messages/12.10kB) ]


Talkback:132/renker.html

[ In reference to "Poor Man's Laptop" in LG#132 ]

Gerrit Renker [grrtrr at yahoo.co.uk]
Tue, 19 Dec 2006 09:07:08 +0000 (GMT)

Sorry the initial question never got copied to me, I realised that after reading the talkback some time later. I hope that the below clarifies.

> Any particular reason for not just using a tool, which already exists
> - such as Unison (http://www.cis.upenn.edu/~bcpierce/unison/) which is
> cross platform/OS ?

Unison synchronises between directories - this means if you intend to use it in combination with a USB stick then your USB stick carries an identical copy of all the directories which you intend to synchronise.

But this is not what the article is about.

If you intend to have an identical copy of some of the computer's directories then there are two other alternatives:

(a) mount the USB stick (or USB hard drive) underneath such working directories as you intend to use at home and at work (bind/rbind/move options to mount) In this case you neither need the solution in the article, nor unison.

(b) carry a synchronised version of some work directories on your USB stick. ==> Again you don't need the solution in the article. And you don't even need unison. For this purpose, rsync is useful, has been tested by thousands and is much better than plain cp since it only copies the updates: rsync -a --delete source destination

The solution in the article works and is designed for when you have neither (a) or (b): the former is expensive in terms of hardware, the latter is expensive in terms of space.

Unison or rsync are not sufficient for this purpose.

With regard to solution (b), it may be interesting to see whether there is anything which unison can do that rsync can not.

Gerrit

[ Thread continues here (6 messages/7.89kB) ]


Talkback:131/cressatti.html

[ In reference to "Apache2, WebDAV, SSL and MySQL: Life In The Fast Lane" in LG#131 ]

Jan Büren [jan.bueren at bvl.bund.de]
Tue, 05 Dec 2006 13:06:30 +0100

> One thing to bear in mind is that I had to use Apache 2 instead of 
> Apache 1.3.x as there is no WebDAV patch for Apache 1.3.x

WebDAV does exists for Apache 1.3.x Perhaps the quota patch is missing?


Talkback:133/tag.html (2)

[ In reference to "The Monthly Troubleshooter: The USB Subsystem" in LG#133 ]

Stephane Chauveau [stephane at chauveau-central.net]
Mon, 4 Dec 2006 15:35:50 +0100 (CET)

I was reading the article about the USB subsystem yesterday and the posts at the end reminded me that I wanted to change the label on my USB key.

Unless I mistaken, the proposed commands (mkdosfs and mke2fs) are also going to reformat the partition. I wonder how many users are going to wipe out their partition while trying to change their label.

-- 
Stephane Chauveau
http://www.chauveau-central.net

[ Thread continues here (2 messages/1.43kB) ]


Talkback:133/cherian.html

[ In reference to "Easy Shell Scripting" in LG#133 ]

s. keeling [keeling at spots.ab.ca]
Sat, 2 Dec 2006 16:18:43 -0700

Having suffered through Ben's many yammerings in TAG about nonportable shell features, hey Ben, I found another! :-)

   -------------------------------------------------
Comments in a Shell
 
In shell scripting, all lines beginning with # are comments.
 
# This is a comment line.
# This is another comment line.
 
You can also have comments that span multiple lines by using a colon and single quotes:
 
:' This is a comment line.
 
Again, this is a comment line.
 
My God, this is yet another comment line.'
   -------------------------------------------------
 
   -------------------------------------------------
#!/usr/bin/zsh
# 
 
:' Good grief.  After all this time, I learn that a colon
   followed by a single tick produces a block comment in
   *nix shel.
 
   That even includes blank lines!
'
 
# usage:
#
#   calc '2 + 7'
#
function calc ()
{
    awk 'BEGIN { OFMT="%f"; print '"$*"'; exit}'
}
# not necessary.
# export -f calc
 
 
# from linuxgazette.net Dec2006
# 
function putargs () {
    IFS="|";
    echo "$*";
}
   -------------------------------------------------
 
(0) heretic /home/keeling/procmail/ocelot_ source ~/.funcs
/home/keeling/.funcs:9: command not found: : Good grief.  \
     After all this time, I learn that a colon\n   followed \
     by a single tick produces a block comment in\n   *nix \
     shel.\n\n   That even includes blank lines!\n
[long line manually broken]

-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -

[ Thread continues here (8 messages/11.48kB) ]


Talkback: Discuss this article with The Answer Gang

Copyright © 2007, . Released under the Open Publication License unless otherwise noted in the body of the article. Linux Gazette is not produced, sponsored, or endorsed by its prior host, SSC, Inc.

Published in Issue 134 of Linux Gazette, January 2007

<-- prev | next -->
Tux