Problem:
I got the above error message when I tried to boot into ubuntu(wubi version, installed inside windows).
Solution:
Replace the file wubildr on c:\ should fix this issue.
click the link below to download wubildr:
https://docs.google.com/uc?id=0B3qkFTf1TQCSZDIzMWRlM2UtOWNiMC00YWE5LTkxYWUtNGU1NThmNzEwOGJk&export=download&hl=en
kernel panic - not syncing - VFS: unable to mount root fs on unknown block
How ubuntu change login screen window appearance in 9.10?
1. Logout of your current session and return to the GDM
2. Switch to the tty command line prompt using Ctrl-Alt-F1
3. Login using your normal login/password
4. at the command line prompt type: export DISPLAY=:0.0
5. then type: sudo -u gdm gnome-control-center
6. Switch back to the gdm screen using ALT-F7
7. The gnome-control-center should be loaded. Use it to configure your GDM.
8. Click on the Appearances icon, in appearances you can change your GDM's font, theme and background image.
9. Close the gnome-control-center and login normally.
Can't connect to WinServ 2008 SP2: "internal license error"
Problem:
$ rdesktop -n 184d 192.168.2.5
Autoselected keyboard map en-us
disconnect: Internal licensing error.
User 184d can connect ONLY ONE TIME, and after disconnect it fail again.
Solution:
The workarround that I find, until a patch for this bug is released, is to do:
# chown -R root.root /home/
and just in case:
# chmod -R 444 /home/
then just delete the license.
I'm using rdesktop 1.6.0 with Ubuntu 9.04, trying to connect to a Windows
2008 Enterprise 64bit with SP2.
Create wallpaper slideshow in Ubuntu 9.10
Create wallpaper slideshow in Ubuntu 9.10
First of all, happy new year! Nothing like the morning of a new year to be messing around with Linux and Python!One of the new things in Ubuntu 9.10 is that you can now use a wallpaper slideshow for your desktop, which will cycle your desktop wallpaper at regular intervals from a selected pool of wallpapers. The default Ubuntu 9.10 comes with a space-themed wallpaper slideshow, but there is apparently no option to create your own ones. However, the configuration is stored in plaintext XML files, one in /usr/share/gnome-background-properties and the other in the corresponding directory where the images are stored, in /usr/share/backgrounds.
The following Python script will automatically create these two XML files so that you can set a wallpaper slideshow with the images of your preferences.
Slideshow Builder script
Here's the instructions. You will need root access since the directory where you're doing the operations, /usr/share/, is owned by root. Simply use sudo (or sudo -i if you're lazy).
1) Create a directory in /usr/share/backgrounds with the name of your slideshow. For instance, if the desired name is 'space', the dir should be called '/usr/share/backgrounds/space/'.
2) Copy all the wallpaper images to that folder. The supported formats are jpg, png, gif and bmp.
3) Run the Python script in the images directory. This will automatically create two xml files: one in the (current) images directory, and another one in /usr/share/gnome-background-properties.
4) That's all! You can now select the slideshow in the Gnome wallpaper selection interface.
A sample usage of the script is shown in the following image:

And the slideshow now appears in the desktop Background selection screen:

article source:
http://sanchezluis.blogspot.com/2010/01/create-wallpaper-slideshow-in-ubuntu.html
Linux: change users permission on folders
drwx-----x 57 test admin 12288 2010-01-18 07:39 Test
The above is an example. Group admin has the ownership of folder Test, but doesn't have the read(r) or write(w) or execute(x) permission to that folder. To do that:
chmod -R g+rw Test
-R is for making changes recursivly
g is for group
r is for read permission
w is for write permission
After executing the above command then do "ls -al" should see the info like:
drwxrwx--x 57 test admin 12288 2010-01-18 07:39 Test
And only the user himself or users from admin group have the access to Test folder .
"chown test:admin Test/" is to change ownership of a folder to admin;
"chgrp admin *" is to change the ownership of all folders to admin;
Postgresql not listening on network
Under windows:
1) open postgres\data\pg_hba.conf
Add "host all all 0.0.0.0/0 md5" , save and close;
2) open postgresql.conf
change listen_addresses='localhost'
to listen_addresses='*'
save and close
3) restart postgresql service:
net restart postgresql
Check what ports are open
There are two good methods to see what ports are open in Linux you can use
nmap which is a port scanner and you can use netstat.
nmap can be used to scan your machine to see whats ports are open issue the
following command to scan your computers machine:
nmap -sS -O 127.0.0.1
The second method was netstat. netstat can show hidden ports and what programs using
them issue the following command as root:
netstat -nap
How to low level format a SD memory card ?
- The command
ddis used to low level format the card - The command
fdiskis used to create a new primary partition - The command
mkfs.vfatus used to create the FAT32 file system
kerphi@ketchup:~$ sudo dd if=/dev/zero of=/dev/sdd dd: écriture vers `/dev/sdd': Aucun espace disponible sur le périphérique 1974273+0 enregistrements lus 1974272+0 enregistrements écrits 1010827264 octets (1,0 GB) copiés, 1090,36 seconde, 927 kB/s kerphi@ketchup:~$ sudo fdisk /dev/sdd Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): p Disk /dev/sdd: 1010 MB, 1010827264 bytes 32 heads, 61 sectors/track, 1011 cylinders Units = cylinders of 1952 * 512 = 999424 bytes Device Boot Start End Blocks Id System Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-1011, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-1011, default 1011): 1011 Command (m for help): t Selected partition 1 Hex code (type L to list codes): b Changed system type of partition 1 to b (W95 FAT32) Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: If you have created or modified any DOS 6.x partitions, please see the fdisk manual page for additional information. Syncing disks. kerphi@ketchup:~$ sudo mkfs.vfat -F 32 /dev/sdd1
article source: Zeitoun.net