How to change custom resolution in Ubuntu 10

I have been looking for the solution since I use Ubuntu 10 as an alternative OS with Windows. The only problem is that it doesn’t display correct resolution 1680×1050 for my 22″ HP Monitor (HPw2228h). I came across over this Xrandr Configuration from Ubuntu official documentation and this tread from Ubuntu Forum. Combine these two solutions, I finally manage to get correct resolution in Ubuntu.


Google Sitemap Generator

Google released its Google Sitemap Generator at Google code licensed under Apache License 2.0. Sitemaps are very useful for webmaster to tell the search engines about the pages of the sites which are available for crawling. This Google Sitemap Generator supports for both Apache server on Linux and Windows IIS versions. Installation guide is very useful and of course installation on your own server is easy.

How to allow more than one port for SSH in Linux

Normally we’re using port number 22 for SSH. If you want to change default port number from 22 to other port number or add another ports for SSH, you can edit in sshd_config under /etc/ssh. To edit sshd_config file, type the following in Terminal or SSH client (SSH Secure Shell or Putty).

nano /etc/ssh/sshd_config


vi /etc/ssh/sshd_config

Find “Port“. And change 22 to any port number you want or add another port numbers below.

SSH Port

Setting up root password for Ubuntu

Ubuntuubuntu has no password for root user as default. If you want to reset root password, you need to use sudo passwd command in shell. To Open shell, click Applications » Accessories » Terminal. In shell, type sudo passwd. It will ask you password. Type your login password. (more…)