Search This Blog

Saturday, December 12, 2009

Ubuntu Linux: How do I install .deb packages?

Q. I am a new Ubuntu Linux use. I need to install a package called package.deb. I know I can use Synaptic package management to install packages from CD or Internet. But I want to install this special .deb file. So how can I install package?

A. You need to use dpkg package manager from shell/command prompt. dpkg is a tool to install, build, remove and manage packages. dpkg itself is controlled entirely via command line parameters. For example -i use to install .deb file.

How do I install .deb file?

To install package called package.deb type the following command:
Go to directory where package.deb is kept. For example if it is in /tmp directory:

$ cd /tmp


Type the following command:


$ sudo dpkg -i package.deb


Friday, December 11, 2009

Remote Desktop in Linux

Change the following in the xdcmp section in gdm.conf:


Enable=true

Fom the following link:

http://www.coxiar.com/



Ubuntu 9.04 - XDMCP Access From Windows

All these months, I've been trying to figure out another way to connect to my Ubuntu 9.04 box without the usage of VNC. I stumbled across this option called "X Display Manager Control Protocol" (XDMCP) but didn't have any idea how to use it. Other guides online were outdated, and I can't seem to get it working with my linux box at all. Remote Desktop on Ubuntu required me to have a current user logged in, and whatever I did on Ubuntu can be seen clearly by those who pass by my monitor.

XDMCP allows me to connect to Ubuntu invisibly, without interrupting another user's usage of my desktop. It works like Microsoft's Remote Desktop Protocol, except that it allows multi-user access simultaneously.

I've compiled my own guide, which seems to work. Try it out, give me feedback!

Configuring your Ubuntu box (9.04)
  1. From the Gnome Menu, select System > Administration > Login Window. You'll be prompted to enter your password.
  2. Under the "Remote" tab, change the "Style" option box to "Same as Local". If you prefer performance, you might want to select "Plain with face browser"
  3. After that, click on the "Configure XDMCP" button, and uncheck the "Honor Indirect Requests" checkbox.
  4. Close both dialogs via the "Close" button, and restart Ubuntu.
  5. Done!
Configuring your Windows Box

We will need XMing (an X Server for windows) to utilize XDMCP.

Note: For my installation, I tested it out with Windows Vista Service Pack 2. I'm not too sure if it works on Windows XP, give it a go!
  1. Download the XMing installer from http://sourceforge.net/projects/xming
  2. Run the installer, click "Next" all the way to accept the default settings. At the last screen, uncheck "Launch XMing". This is important!
  3. Run "XLaunch" from XMing's Start Menu Program group, and follow the illustrations.



After you click finish, you should be faced with a screen like this:

This is perfectly normal, you have to wait awhile before Xming loads your desktop.

Voila! Your ubuntu box on Windows!

If you followed the guide through, you should be able to achieve the same results.



Samba Server

Samba setup:

To make the files accessible to all, set the following in smb.conf:

security = share
guest = nobody

Wednesday, May 6, 2009

hosts file

the location of existing hosts file on your computer:

Windows 95/98/Me c:\windows\hosts

Windows NT/2000/XP Pro c:\winnt\system32\drivers\etc\hosts

Windows XP Home c:\windows\system32\drivers\etc\hosts

(you may need administrator access for Windows NT/2000/XP)

NOTE: Hosts is the name of the hosts file and not another directory name. It does not have an extension (extensions are the .exe, .txt, .doc, etc. endings to filenames) and so appears to be another directory in the example above.

Wednesday, December 31, 2008

List of useful websites

Free Books Website

www.manybooks.net
www.knowfree.net
www.gutenberg.org

Tuesday, September 9, 2008

Pinging from the server to one of the systems in the domain

Was not able to ping some of the domain members from the domain server.

When the firewall on the client system was disabled, the server was able to ping the client system.

symantec client not getting updated

The Symantec anti-virus client was not getting updated by the Anti-virus server.

When the firewall was disabled in the client system, the client system started getting updated.