Tuesday 28 October 2008

How to fix black windows during video playback

How to fix black windows during video playback

* There is a workaround to this bug by changing the video output device on your video player to x11/xshm. (Note that this will decrease the quality of the video output and requires a lot more CPU.)

* For gstreamer-dependent players (Totem, etc.):

gstreamer-properties
Video-->Default Video Plugin: X Window System (No Xv)

Click Test to verify that video playback is working (you should be able to see the standard TV testing colour stripes).

* For VLC player(if installed):

VLC-->Settings-->Preferences
Video-->Output modules-->Advanced: X11

* For MPlayer (if installed):

Mplayer-->Right-click on the screen-->Preferences
Video-->Available Drivers: X11 (XImage/Shm)

Some users report that MPlayer may not be able to show videos in full screen.

* For Xine player (if installed):

Xine-->File-->Configure-->Preferences
experience_level: Master Of The Known Universe
Video-->Driver: xshm

* For RealPlayer (if installed):

RealPlayer-->Tools-->Preferences
Hardware-->Deselect: Use XVideo

Monday 27 October 2008

Increase vmware harddisk size

vmware-vdiskmanager -x 10GB myDisk.vmdk

10GB: change to your new size
myDisk.vmdk: change to your harddisk file

Then use partitioning tools to resize your partition.

Friday 17 October 2008

Enable bluetooth on Hp nx6320 with Ubuntu Hardy

-Remove bluez-utils & gnome-bluetooth packages
-Edit source.list to add the repository : deb http://archive.ubuntu.com/ubuntu gutsy main
-Disable all other repositories
-Install bluez-utils. You may need to remove bluez-audio if conflict occurs
-Enable other repos and disable the one on step 2.

Thursday 16 October 2008

Installing Metasploit on Ubuntu/Kubuntu/Debian Linux

SOURCE:
http://www.metasploit.com/dev/trac/wiki/Metasploit3/InstallUbuntu

At this time, no package exists for Metasploit 3. In order to use the Metasploit Framework on Ubuntu or Debian distributions of Linux, the following packages need to be installed:

# apt-get install ruby libruby rdoc libyaml-ruby libzlib-ruby libopenssl-ruby libdl-ruby libreadline-ruby libiconv-ruby rubygems

*The RubyGems package may need to be manually downloaded and installed.

If you would like to use the experimental GUI, you will need to install the following packages:

# apt-get install libgtk2-ruby libglade2-ruby

If you would like to use the online update feature, you will need to install the "subversion" package as well. Once the pre-requisites have been installed, download the Unix tarball from Framework Website and extract it to the directory of your choice. If everything was installed correctly, execute the interface of your choice to get started (msfconsole, msfweb, etc).

Wednesday 15 October 2008

Dell Optiplex 330 won't reboot or shutdown

Solution: add the kernel option "reboot=b" in the menu.lst