Archive for the ‘Linux’ category

VMWare Server 2.0 Console not working

March 19th, 2009

I’ve had a few issues recently  opening a VMWare Server 2.0 web based console with Firefox 3.07 running on OpenSUSE 11.1.  The console session just didn’t appear, which is a problem when you can’t SSH into the target VM due to lack of networking.  The answer is obscure but works well:

VMWARE_USE_SHIPPED_GTK=TRUE firefox &

With this, the console works correctly as expected.  Lovely.

Speeding up a slow NVidia 8400 card in opensuse linux

November 27th, 2008

I was having dreadful problems on my HP Laptop with KDE4 or Compiz – jaggies, slow performance, difficulty switching tabs in Firefox, the whole experience was poor.  After a spot of Google trawling, I added these to the /etc/modprobe.conf.local on my installation of 11.0 (and 11.1)

#
# please add local extensions to this file
#

options nvidia NVreg_RegistryDwords=”PerfLevelSrc=0×2222″
options nvidia NVreg_Mobile=1

This was with a Geforce 8400M GS which shows up in lspci as:

05:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1)

The difference was pretty dramatic.  KDE 4.1is usable with KWin display effects turned on, tab switching is smooth and generally it’s pretty usable again.  All using the NVidia 177.82 driver.

Getting symfony running on 1&1 shared hosting

September 30th, 2007

This is mainly for my own record. I’ve been playing with the Symfony PHP framework to see if it’s suitable for a new project I’m working on, but had a little bit of trouble getting it working on my 1&1 shared server.

The first problem was fairly easy to fix – the default version of PHP on the server is 4, but symfony needs 5.0+. A quick entry into the .htaccess file for the site fixes this. Add “AddType x-mapp-php5 .php ” and all is well. It’s a pain to have to remember to type “php5 symfony”to get things working, but no big stress.

The next issue is to get the images to show up in the test index.php page. I installed symfony using the PEAR packages, so the symfony_data/web/sf directory wasn’t visible as it was way outside the web root for the domain. A simple link fixed that. First, I needed to get the directory for my php/symfony data directory using the pear5 comand
> pear5 config-show
Configuration (channel pear.php.net):
=====================================

<snip>
PEAR executables directory bin_dir /kunden/homepages/18/d96003440/htdocs/local/bin
PEAR documentation directory doc_dir /kunden/homepages/18/d96003440/htdocs/local/lib/php/docs
PHP extension directory ext_dir /kunden/homepages/18/d96003440/htdocs/pear/ext
PEAR directory php_dir /kunden/homepages/18/d96003440/htdocs/local/lib/php
PEAR Installer cache directory cache_dir /kunden/homepages/18/d96003440/htdocs/pear/cache
PEAR data directory data_dir /kunden/homepages/18/d96003440/htdocs/local/lib/php/data
<snip>

Next I created a link in the web directory for my new application to the symfony web/sf/ directory in my applications web directory (the bolded one above):

cd web

ln -s /kunden/homepages/18/d96003440/htdocs/local/lib/php/data/symfony/web/sf/

Hit the URL http://www.servername/app/web/app_dev.php and all was well. Now to crack on with some development.

Opensuse interview with Seth Arnold

September 21st, 2007

The opensuse.org news portal has a good interview with Seth Arnold, one of the main AppArmor developers. I’ve done a fair bit with AppArmor in the past when I worked for Novell, and for the times I got into trouble Seth was available on IRC. A good guy to ask questions – he always tries to help and be informative and normally succeeds.

Worth a read.

So near yet so far.

April 16th, 2006

I started downloading SUSE Linux 10.1 RC1, intent on catching up with the state of the distro tomorrow. To begin with, the download was fast – 150-200kbps, so when I left for the Day out with Thomas event, I was sure that it would be finished when I got back.

Almost right.

The first 3.14Gb (out of 3.2Gb) came down pretty quickly, but now I’m staring at a stalled download, and have been for the last hour or so.

Nearly there.

Stopping and restarting doesn’t help, so I suppose I’ll just have to wait for the last smidgen to get here. Bloody frustrating

Bad Behavior has blocked 1374 access attempts in the last 7 days.

peteconnolly.co.uk is Digg proof thanks to caching by WP Super Cache