Monthly Archives: September 2013

Enable remote desktop on Linux using VNC|setup VNC client

VNC client setup.

1- give a password for VNC client connection “for each user you will use in the VNC remote desktop connection e.g. user (oracle)”

su – oracle

$ vncpasswd

2- edit vnc configuration file, in the line starts with VNCSERVERS=; add users you want to connect with in pair format “number:username”
# vi /etc/sysconfig/vncservers

VNCSERVERS=”1:root 2:oracle”

3- to make VNC services start with system start
#chkconfig vncserver on

4- if you have firewall enable on Red Hat, be sure that your firewall configuration won’t block connection from remote computer by open port TCP 5901 for remote access.

5- edit oracle user VNC setting to force to load Gnome
$ vi /home/oracle/.vnc/xstartup

*uncomment unset line and exec line
*edit the last line from ‘twm &’ to ‘startx &’ for Gnome and ‘startkde &’ for KDE Desktop.

6-to restart the service

# service vncserver restart


Tags: , , ,

lshw Command — gather HW information in linux

1) install  lshw  ==> for kernel 2.6.9 ==> lshw-2.14-1.el4.rf.i386.rpm ==>

2) use the command

lshw –help

lshw -html >MyLinuxBox.html

Leave a comment

Posted by on September 24, 2013 in administration, Linux/Unix, OS, Tips


Tags: , , , , , ,

Configuration device mapper multipath on OEL5


Leave a comment

Posted by on September 21, 2013 in administration, Linux/Unix, OS


Tags: , , , ,