Linux: Ways to start desktop manager and desktop environment

Pre-requisite 1. Video driver installed. 2. dbus installed and loaded. 3. consolekit installed. 4. true type font (like ttf-dejavu) installed. 5. Input drivers installed: xf86-input-mouse and xf86-input-keyboard. 6. gamin installed. (For monitoring files and directories) 7. System fully upgraded (At least for Arch Linux, this is a recommendation) 8. Power utilities program for hibernate, shutdown, … Continue reading Linux: Ways to start desktop manager and desktop environment

About Arch Linux administrative (No way to be exhaustive, Linux is vast)

There are scripts in Arch Linux which Linux Mint does not have, nevertheless here are the things I learned from installing and breaking Arch Linux numerous times. About rc.conf 1. absolute path: /etc/rc.conf 2. Load the modules (drivers) during boot up. 3. Load the daemons during boot up. Daemon loading is in order from left … Continue reading About Arch Linux administrative (No way to be exhaustive, Linux is vast)

Arch Linux: LXDE installation and start up

Install lxde pacman -S lxde Copy menu.xml, rc.xml and autostart to my home directory Login with my own normal user account: mkdir -p ~/.config/openbox cp /etc/xdg/openbox/{menu.xml,rc.xml,autostart} ~/.config/openbox Install gamin pacman -S gamin Modify .xinitrc to start lxde with startx Use my own personal normal user account, open ~/.xinitrc I created my own .xinitrc script because … Continue reading Arch Linux: LXDE installation and start up

Linux: Searching for files with locate command

Easy method with locate command The easiest way is to use locate and find the file you want. Example: root@bt:/# locate mp.sh /home/passwd/mp.sh /usr/bin/mp.sh There are times when you cannot search file with locate program, this is because the path database of the file is not updated. You can invoke the update using updatedb command. … Continue reading Linux: Searching for files with locate command

Linux kernel directories

Linux kernel should not be seen by the users, users use programs not the kernel directly, programs communicate with the kernel for resource reservation and other input/output functions. Linux at first is very difficult to get used to because everything in Linux is a file, including your hardware devices they are all stored in files, … Continue reading Linux kernel directories

Setting up dhcp server on linux according to your way

You will need dhcp3-server installed on Linux. apt-get install dhcp3-server The pool of your dhcp3-server can be configured in /etc/dhcp3/dhcpd.conf file. You can read the examples described in the configuration file. If you do not wish to modify this configuration file you can create one your self. touch /home/dhcpd/dhcpd.conf chown dhcpd:dhcpd /home/dhcpd/dhcpd.conf nano /home/dhcpd/dhcpd.conf Write … Continue reading Setting up dhcp server on linux according to your way