Eliminate gtk warnings
The following post helped me out a lot this morning:
When executing the vmware workstation bundle, the following gtk2 errors are displayed:
Extracting VMware Installer…done.
Gtk-Message: Failed to load module “pk-gtk-module”: libpk-gtk-module.so: cannot open shared object file: No such file or directory
Gtk-Message: Failed to load module “canberra-gtk-module”: libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
Create a gtk2 configuration file and reload libraries.
~]# echo “/usr/lib64/gtk-2.0/modules” > /etc/ld.so.conf.d/gtk2.conf
The installer should run without gtk2 errors.
Microsoft Excel Carriage Return in a Cell
To go to the next line in a cell without skipping directly to the next cell type in:
Banner for Red Hat Enterprise Linux 7
Below is the simplest way to change the login banner for RHEL 7.
sudo -u gdm dconf-editor —> org —> gnome —> login-screen
sudo -u gdm dconf update
Banner for Red Hat Linux 6
chmod u+s /lib64/dbus-1/dbus-daemon-launch-helper
#disable power button
sudo -u gdm /usr/bin/gconftool-2 —type bool —set /apps/gdm/simple-greeter/disable_restart_buttons true
#disable showing local user list
sudo -u gdm /usr/bin/gconftool-2 —type bool —set /apps/gdm/simple-greeter/disable_user_list true
#enable the banner and display /etc/issue
sudo -u gdm /usr/bin/gconftool-2 —type bool —set /apps/gdm/simple-greeter/banner_message_enable true
sudo -u gdm /usr/bin/gconftool-2 —type string —set /apps/gdm/simple-greeter/banner_message_text “$(cat /etc/issue)”
Intel Graphics for CentOS 6
Recently, I started seeing error messages regarding many bad sectors in the hard drive in my HP laptop. After looking at various websites I determined that it wouldn’t be a bad idea to purchase a new hard drive as opposed to trying to fix this issue with disk utilities.
After purchasing and installing the new hard drive, I had to install CentOS again. One thing I quickly noticed is that the default Installer did not seem to work so I tried “Install with basic video driver”. Long story short, after doing the install with the basic video driver I had to do 2 things to enable CentOS to use the Intel graphics card.
1. Edit the /etc/X11/xorg.conf file replacing the word “vesa” with “intel”
2. Edit the /boot/grub/menu.lst file by removing the word “nomodeset”
Credit is voluntarily given to the person who created the website below.https://jehurst.wordpress.com/2011/06/26/rhel-6-for-the-clueless-intel-graphics/