DH Unlimited
Portfolio Blog Login
X

About
DH Unlimited is comprised solely of me, Dave. I've been doing freelance web development since 2010, mainly for the purpose of expanding my technical skill set.


Site Updated
11/03/2016

Eliminate gtk warnings

Friday, July 22, 2016 12:42 pm

The following post helped me out a lot this morning:
https://github.com/rharmonson/richtech/wiki/VMware-Workstation-10-&-gtk2-Errors

Error

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

Fix

Create a gtk2 configuration file and reload libraries.

~]# echo “/usr/lib64/gtk-2.0/modules” > /etc/ld.so.conf.d/gtk2.conf

~]# ldconfig

Done

The installer should run without gtk2 errors.



Tag(s): Linux  Work  VMware 

Microsoft Excel Carriage Return in a Cell

Friday, July 15, 2016 2:41 pm

To go to the next line in a cell without skipping directly to the next cell type in:

Alt Enter



Tag(s): Windows  Work 

Banner for Red Hat Enterprise Linux 7

Tuesday, June 28, 2016 12:41 pm

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



Tag(s): Work  Linux 

Banner for Red Hat Linux 6

Tuesday, June 28, 2016 12:38 pm

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)”



Tag(s): Work  Linux 

Intel Graphics for CentOS 6

Thursday, October 15, 2015 3:09 pm

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/



Tag(s): Linux 
Back to the Top