Archive

Posts Tagged ‘howto’

How to: Change the login screen in Ubuntu 9.10 a.k.a. Karmic

Changing the login screen of ubuntu 9.10 is somewhat different and complicated compared to other versions of ubuntu. But still we can change it the way we need it to behave. For this we will have to do some steps. Let me explain those steps here.

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 CTRL+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.

These are the steps. Here in the gnome control center you can lot more than just changing the login screen.



Have any doubts? feel free to ask in comments.

credit:Ubuntu Mini

How to: Make a password less SSH Login

First  you will have to generate key on local machine.

For that type in the following command in a terminal. Here we are using RSA encryption.

ssh-keygen -t rsa

It will ask you for a password but you can leave it blank.

Note you could also pick -t dsa if you prefer DSA encryption.

Ensure that the remote server has a .ssh directory

Make sure the server your connecting to has a .ssh directory in your home directory. If it doesn’t exist you can run the ssh-keygen command above, and it will create one with the correct permissions.

Copy your local public key to the remote server

If your remote server doesn’t have a file called ~/.ssh/authorized_keys2 then we can create it. If that file already exists, you need to append to it instead of overwriting it, which the command below would do:

scp ~/.ssh/id_rsa.pub remote.server.com:.ssh/authorized_keys2

Now ssh to the remote server

Now you can ssh to the remote server without entering your password.

Security

Now keep in mind that if someone need to login to the remote server, all s/he need is the file on your local machine ~/.ssh/id_rsa, so make sure it is secure.

How to: Set up your own FTP server

Setting up our own FTP server has lots of advantages. The main being you can access whatever files you need from your computer almost from the whole world if you have access to internet.

This is a full tutorial for creating you’re very own FTP.

The first thing to do is to go to
Code:
www.no-ip.com

Register free at the page. (follow all the instructions you get there)
Look at the top, and you see the Host Search. Write the name you want, and press Go! Then download the program called No-IP on the site, or use this:
Code:

http://download.com.com/3000-2165-10055182.html?legacy=cnet

Download and install the software, then write you’re registered username and password in the requested fields. A smiley face should now appear in the program box. Press the box next to it, and I will change to a happy face. Press it again, and you have you’re ip guided to you’re registered host name. You have to press the smiley every time you log on to the internet. If you are connected all the time, you don’t have to do it again, but try to make sure. It will tell you if you are guided to you’re host name or not.

That was the basics. Now it’s time for getting this thing online.

Got to
Code:
www.bpftpserver.com
(it’s a pay prog. you can crack it or buy it)
Download Bullet Proof FTP Server, and install it. Start the program, and you will see a big white screen, and some icons on the top.
Press the lightning, and it will say: (example)

31.07.02 10:41:22 – FTP Server On-line : IP(s) 192.168.1.10,80.212.4.10, on port 21

Then you press the human head (nr. 6 from the right)
Make an account for you’re self, and press ok. Minimize the program, and go to the internet again. Go to
Code:
www.smartftp.com
and download the prog (I’m sure the most of you have an FTP prog from before. Write the host name you made at NoIP, and the login pass and port. (Default is port 21.) Press connect, and you are online. I did not get into all details, but you can learn more about the progs in the help section.

How to: Avoid the delay in Windows Start Menu

At some point all of us might have noticed the delay occurs when we click on the windows start menu. And again the delay comes for each and every menu shown. I mean after clicking the start menu, if we click on the all programs menu, here comes another delay. Sometimes its ok for us. But not all the time. Sometime it may drive us nuts. There is no point in the delay other than the effect which is too small enough to notice.

So here I am going to explain how to avoid this delay. Yes Microsoft allows the computer geeks to customise it. We can even increase the delay. But  I am not recommending it.

So for decreasing the delay (if you are not getting the sleep without seeing the microsoft windows delay effet) or stop the delay from occuring we have to do a small tweak in the windows registry.

The default value is 400. Set it to 0 and the delay is gone, but it will be nearly impossible to move the mouse fast enough not to activate [All Programs] if you mouse over it in route to your final selection. It’s easy to train yourself to move the pointer to the right after clicking Start to avoid activating All Programs. Pick a number that suits your style and make the change, then test it until you find a good compromise between speed and usability.

[Start]>[Run]> [Regedit]>

Goto the registry key

Registry Key: HKEY_CURRENT_USER\Control Panel\DesktopModify/Create the Value Data Type(s) and Value Name(s) as detailed below.

Data Type: String Value // Value Name: MenuShowDelaySetting for Value Data: [Default = 400 / Adjust to Preference]

Exit Registry and Reboot

How to Schedule a Program-Autorun on Windows XP

Microsoft Windows XP can be set to autostart your most often used programs when you start your computer. This is time saving, instead of you clicking on the desktop icons or icons on the taskbar for your most used programs. Here’s how it works — When Windows XP starts up, it reads in the “Startup” folder of the system “Start Menu” for shortcuts to programs and files. This folder is usually stored in D: > Documents And Settings > username > Start Menu > Programs (we assume that D drive is the location where Windows OS is installed on your hard disk). If any programs and files to programs are stored in this folder, Windows runs them automatically once you turn on your computer. Here’s how to schedule the autorun feature on Windows XP .

  1. Click on the “Start” button on the taskbar. Select All Programs > Accessories > System Tools > Scheduled Tasks.
  2. Double left-click the “Add Scheduled Task”. This will start the Scheduled Task Wizard. Click “Next” in the first box. A second dialog box will display a list of programs that are installed on your computer and external drives.
  3. First, we need to create program shortcuts in this Startup folder, in order to have XP recognize what programs or files to autostart when you turn on your PC. On the second dialog box, click on the programs you want autostart (by browsing your internal and external HDD, using the browsing feature on the dialog box), and enter information for the below items:

    [1] Choose and specify what program you want to auto-open at startup.
    [2] Set how often you want the program to run (i.e. when you start your computer, hourly, daily, weekly, monthly… etc.).
    [3] Enter account you want to use when the program is active. Enter a user name and password for this.

    Follow screen instructions for other options.

  4. Click Next > Finish to complete the process on creating shortcut(s) to the Windows XP Autostart folder. From now on, when your start your computer, XP will auto-open the programs/files that you’ve just selected for the scheduled task. Close your most used programs or files before turning off your computer with no worries; Windows XP will reopen it (them) for you the next time you start your PC.

Credit:WikiHow