Re: [opensuse] XVNC Activating itself -- sign of scurity breach?

2007-05-31 Thread David SMITH
On Wed, May 30, 2007 at 10:00:35PM -0400, Patrick Shanahan wrote:
> * David McMillan <[EMAIL PROTECTED]> [05-30-07 21:36]:
> > Patrick Shanahan wrote:
> > >* David McMillan <[EMAIL PROTECTED]> [05-30-07 20:56]:
> > >>  In the past two months, I've had two incidents where, when I ran 'top,' 
> > >>I found XVNC running (and taking up a good 75% of my CPU), for no 
> > >>apparent reason on my 10.2 system.
> > >>  Now, I have "Remote Desktop Sharing" turned on on this machine (though 
> > >>I've never been able to get VNC to connect across the LAN from my WXP 
> > >>laptop -- only browsing to http://host:5801 works so far), but at 
> > >>neither of these incidents had I been using, or even attempting to use, 
> > >>a VNC or RD connection to the 10.2 machine, at any time in the recent 
> > >>past.
> > >
> > >You *are* using vnc, http://host:5801 is a vnc connection.
> > 
> > Yes, I know -- what I meant was, *at the time of the incidents,* I 
> > hadn't made any VNC connection attempts, via HTTP or otherwise, in 
> > *days,* if not weeks.  There were definitely no VNC connections being 
> > made from any of *my* machines on my LAN.  That's what's puzzling (and 
> > worrying me) about seeing XVNC active, and eating up so much CPU.

My guess...

Xvnc is the VNC server process.  It has to be running for you to be able to
connect on http://host:5801 (unless you use some inetd magic to get it to
auto-start).  Basically, you have Xvnc running ready to accept connections
on http://host:5801.

Why is it using so much CPU?  I'd guess that you've got a screensaver
configured.  The screensaver program isn't intelligent enough to realise
that it's a VNC session and therefore doesn't need a screensaver, so it
detects that there has been no keyboard or mouse activity for a while
(unsurprising, since there are no connected clients), and starts running
the screensaver.  The Xvnc process has to respond to the screensaver
program's commands to draw things on its X desktop, and this is what is
taking all the CPU.

It could be other things, but this is my best guess.

-- 
David SmithWork Email: [EMAIL PROTECTED]
STMicroelectronics Home Email: [EMAIL PROTECTED]
Bristol, England  GPG Key: 0xF13192F2
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] how to burn my cpu?

2007-05-24 Thread David SMITH
On Thu, May 24, 2007 at 02:33:37PM +0200, Eberhard Roloff wrote:
> I am looking for an app that makes my CPU as hot as can be.

"Windows Vista". ;-)

More seriously, perhaps running a couple of the distributed computing
clients simultaneously - one (e.g. [EMAIL PROTECTED]) to hammer the FPU, and
one (e.g. a key cracking client) to hammer the integer logic.

-- 
David SmithWork Email: [EMAIL PROTECTED]
STMicroelectronics Home Email: [EMAIL PROTECTED]
Bristol, England  GPG Key: 0xF13192F2
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] ntsc to pal

2007-05-21 Thread David SMITH
On Mon, May 21, 2007 at 01:08:15PM +0200, Carlos E. R. wrote:
> However, region enconding is ignored by linux players; the reason is that 
> they have to break the encryption anyway using the "libdvdcss" library. 
> Once broken, why should they care about one more impediment?

I assumed that Linux DVD players were still bound by the region encoding
on the drive, but ICBW; I don't bother playing DVDs on my PC as I've got a
"proper" DVD player downstairs.

Of course, the next question for the OP is - Can you play PAL (region 2)
DVDs on your PC?  Is it just the "NTSC" ones that you can't play, or is
it all commercial DVDs?

-- 
David SmithWork Email: [EMAIL PROTECTED]
STMicroelectronics Home Email: [EMAIL PROTECTED]
Bristol, England  GPG Key: 0xF13192F2
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] ntsc to pal

2007-05-21 Thread David SMITH
On Mon, May 21, 2007 at 11:59:03AM +0200, Primm wrote:
> Hi. Yeah of course. Tried to play it but no go. I just thought that somehow 
> SuSE would let me play the ntsc DVD's on my PC. Region coding is another new 
> to me too. I can see the dvd as vob, bup and ifo files. The vob seems to be 
> mpeg but mplayer gives me 'Seek failed'. Maybe it's not possible under SuSE.
> 
> Meanwhile I shall visit my local electodomseticos (shops where they sell 
> video, fridges and televisions?) store and go to buy yet another dvd player!

AFAIK, there should be no reason why a PC shouldn't be able to play NTSC
DVDs.  PC DVD drives are, however, region locked.  You can usually change
the region a fixed number of times (e.g. 8), before you then can't change
them at all.  It is possible to download replacement firmware for some PC
DVD drives which overrides this.  However, if anything goes wrong, you
may make your DVD drive completely unusable.  i.e. do it at your own
risk!

If you already have a domestic DVD player, have you tried to see if it
can be region-unlocked?  Some players can be unlocked by entering a
"secret" code on the handset.  Do a bit of internet searching before going
out and spending more money.

As other people have mentioned, region coding is a scheme mandated by the
large US media corporations to allow them to control the markets, and is,
quite frankly, a royal PITA.

Oh, and given my profession, the above advice and opinions are my own, and
have nothing to do with my employer...

-- 
David SmithWork Email: [EMAIL PROTECTED]
STMicroelectronics Home Email: [EMAIL PROTECTED]
Bristol, England  GPG Key: 0xF13192F2
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] ntsc to pal

2007-05-21 Thread David SMITH
On Mon, May 21, 2007 at 10:39:42AM +0200, Primm wrote:
> I've read the google articles filled with command line kernel jargon which I 
> simply don't understand. 
> 
> All I want to do is convert my ntsc DVD's to pal so that I can watch them in 
> Spain. Can SuSE 10.2 do that?

OK, stupid question first - have you actually tried to play them on a DVD
player in Spain?  Most TVs nowadays take both NTSC and PAL.  Your main
problem is likely to be region coding rather than NTSC vs PAL.  Get
yourself a multiregion DVD player in Spain, and you'll probably be fine.

HTH...

-- 
David SmithWork Email: [EMAIL PROTECTED]
STMicroelectronics Home Email: [EMAIL PROTECTED]
Bristol, England  GPG Key: 0xF13192F2
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



OT: Definition of "micro" (was: Re: [opensuse] Micro pauses, or CPU spikes?)

2007-05-02 Thread David SMITH
On Wed, May 02, 2007 at 09:27:19AM +0200, Clayton wrote:
> >Micro in a micro-computer,was referring to the technology used in
> >creating the chips which used to be micro technology,

I was under the impression that the "micro" in micro-computer was
created in the 1970s when it referred to the fact that it was much
smaller than a "mini-computer" which was about the size of a small
refridgerator, which in turn was much smaller than what people
traditionally thought of as "computers" (i.e. room-sized mainframes).

At least, that's what I was taught at my Computer Studies lessons in
the 1980s.

> I worked in the semiconductor industry for a long time.  I know the
> subject well.  Funny though, you never seem to see SUSE in the
> industry... loads of Solaris based software though (running the wafer
> steppers and wafer scanners).

I haven't seen much use of SuSE, but lots of RHEL replacing Solaris
because the performance:price ratio is much better.  Most of the EDA
vendors seem to be standardised on RHEL.

-- 
David Smith| Tel: +44 (0)1454 462380Home: +44 (0)1454 616963
STMicroelectronics | Fax: +44 (0)1454 462305  Mobile: +44 (0)7932 642724
1000 Aztec West| TINA: 065 2380  GPG Key: 0xF13192F2
Almondsbury| Work Email: [EMAIL PROTECTED]
BRISTOL, BS32 4SQ  | Home Email: [EMAIL PROTECTED]
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Blocking foreigners!

2007-02-27 Thread David SMITH
On Tue, Feb 27, 2007 at 12:17:23PM +, Matthew Stringer wrote:
> I run a free online game service in the UK it's open to anyone to play.
> 
> However it's constantly being leached to a ridiculous extent (always at my 
> concurrent limit in Apache) by people who just want the files, if I check 
> their IP's they're never coming from the UK.
> 
> I don't have unlimited bandwidth so have to restrict it. But the problem 
> there 
> is that the UK based people who are playing the game can't access the 
> webserver as all the slots are constantly used.
> 
> My view is that if you're not playing my game servers you shouldn't be 
> downloading my game files.

Surely then, it would be a better policy to restrict downloads to those
who are actually playing the game?  E.g. use some kind of "port knocking"
style scheme where only IPs that are connected to the game server can
get to the webserver?

Restricting it to UK-only does seem overly punishing.  For example, if I
wanted to play your game at work (I wouldn't, as it's against company
policy, but let's say I did), then my accesses would appear to be coming
from France (since that's where the company's internet gateway is), so I
would be blocked, even though I'm most definitely on the northern side
of the English Channel...

-- 
David SmithWork Email: [EMAIL PROTECTED]
STMicroelectronics Home Email: [EMAIL PROTECTED]
Bristol, England  GPG Key: 0xF13192F2
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] CD/DVD labeling software OSL10.2

2007-01-23 Thread David SMITH
On Tue, Jan 23, 2007 at 10:50:26AM -0500, Chris (ePortel PC Systems) wrote:
> Thank you sir.
> No I haven't installed it I'll check it out thanks.
> I'll check it out. Also Francesco just turned me on to Glabels...and it 
> looks like this will also work...but I hate to ask this question 
> guys...but I'm a Ultra Newbie and have been having a heck of a time 
> install the very common compressed file type .tar and tar.bz2...I can 
> decompress them...but can't see to consistly install them...I've been 
> reading and follow each step to doing thisbut it NEVER seems to work!!!
> How is everybody installed software that comes in this format??

"tar" files are a bit like ".zip" files under Windows - they are a
collection of files brought together into one "ARchive" [1] - except that
there is no file compression performed (so they take up approximately
the same amount of disk space as the sum of all of the original files).

The .bz2 extension means that the tar file has been compressed with the
'bzip2' utility.  You might also find .tar.gz files (where the file has
been compressed with 'gzip') and .tgz (which is a shortened form of
.tar.gz)

To extract all the files, you use one of the following:

  tar xvf .tar
  tar xzvf .tar.gz
  tar xzvf .tgz
  tar xjvf .tar.bz2
  [2]

However

tarfiles are not like .rpm files that SuSE uses for packages.  RPMs are
specifically designed for a Linux distribution, and often contain
commands to run after the files have been extracted to install the
tool into the correct place.

tarfiles are /just/ collections of files (like .zip files in Windows).
Often you will find that a tool distributed as a tarfile is just the C
source, which you then have to compile.  This means that they are easy
for the tool provider to distribute (since they don't have to provide
different RPMs for different distributions), but it's more work for the
user (i.e. you).

I'm afraid you have to use a bit of intelligence and detective work to
determine how to get the tool to work after you've extracted the contents
of the tarfile.  Often you will find that the tarfile contains a file
called "INSTALL" or "README"; these might give you some clues.

HTH...

[1] In case you're wondering, the "T" comes from "Tape".  In the olden
days of UNIX, the 'tar' command was mostly used for reading and
writing backup tapes.  To some extent, it still is, but most computer
users nowadays will never have seen a tape drive, let alone used
one... :-)

[2] 'man tar' will give you much more information on how to use tar;
possibly more than you're able to digest.

-- 
David Smith| Tel: +44 (0)1454 462380Home: +44 (0)1454 616963
STMicroelectronics | Fax: +44 (0)1454 462305  Mobile: +44 (0)7932 642724
1000 Aztec West| TINA: 065 2380  GPG Key: 0xF13192F2
Almondsbury| Work Email: [EMAIL PROTECTED]
BRISTOL, BS32 4SQ  | Home Email: [EMAIL PROTECTED]
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] a tool to de-code base64?

2006-12-21 Thread David SMITH
On Thu, Dec 21, 2006 at 09:46:07PM +0800, ??? wrote:
> Hello. I am searching for a tool to decode base64 text file (and obtain
> the original binary file).

Not sure whether it's on SuSE, but I use a tool called 'mimencode' here
at work.  You might be able to find it using 'pin' on SuSE.


-- 
David Smith| Tel: +44 (0)1454 462380Home: +44 (0)1454 616963
STMicroelectronics | Fax: +44 (0)1454 462305  Mobile: +44 (0)7932 642724
1000 Aztec West| TINA: 065 2380  GPG Key: 0xF13192F2
Almondsbury| Work Email: [EMAIL PROTECTED]
BRISTOL, BS32 4SQ  | Home Email: [EMAIL PROTECTED]
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] LCD with CRT on laptop

2006-11-23 Thread David SMITH
On Nov 16, 06 09:25:51 -0800, Simon Roberts wrote:
> If I boot without an external display, the LCD never powers up!
> So I can't see anything, and I can't even try to logout or shutdown
> the system... I have to force it off with the power switch (thank
> heavens for journaling file systems!)

I'm afraid I don't know anything about your specific problem, but have
you tried Ctrl-Alt-F2 (to get to a virtual console), followed by
Ctrl-Alt-Del?  That should cause a safe shutdown.

-- 
David Smith| Tel: +44 (0)1454 462380Home: +44 (0)1454 616963
STMicroelectronics | Fax: +44 (0)1454 462305  Mobile: +44 (0)7932 642724
1000 Aztec West| TINA: 065 2380  GPG Key: 0xF13192F2
Almondsbury| Work Email: [EMAIL PROTECTED]
BRISTOL, BS32 4SQ  | Home Email: [EMAIL PROTECTED]
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]