Tuesday, July 31, 2012

Advance permission controls in RHEL6

To enable the advance permission controls in the permission dialog box

#gconftool-2 -t bool --set /apps/nautilus/preferences/show_advanced_permissions true

To disable the advance permission controls in the permission dialog box

#gconftool-2 -t bool --set /apps/nautilus/preferences/show_advanced_permissions false

Monday, July 23, 2012

VNC Server Configuration in RHEL6

Server side:
#vim /etc/sysconfig/vncservers
VNCSERVERS="1:visitor 2:student" (Edit the line in the above file)
Create 2 users (visitor & student with some password)
Login to visitor & student users and set vncpasswd (6 chars minimum)
#service vncserver restart
Client side:
#vncviewer -via visitor@server.example.com localhost:2

Saturday, July 21, 2012

Loopback adapter setting in RHEL6

Try this following command in the terminal prompt:

#ifconfig lo:0 192.168.0.254 netmask 255.255.255.224 up