Tuesday, September 9, 2014

Solving problems with python-dev package installing hplip 3.14.6 on Ubuntu 12.04.4

I found that the latest update of Ubuntu 12.04.4 does not include precise-updates and this is necesary to install the latest hplip 3.14.6


Just add these lines to /etc/apt/sources.list

deb http://mx.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mx.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse

Thursday, August 28, 2014

Solving problems with ncomputing in Ubuntu 12.04


Using synaptic package manager (sudo apt-get install synaptic) I was able to find the Xorg meta package which is listed as "Xorg" then by going to the "packages" menu at the top of synaptic, drop down, and select force version. I had my luck with the older version " 1:7.6 12ubuntu1 (precise) "
Synaptic will warn you that it is removing and installing a bunch of packages. That's just the downgrade of all the packages comprising the xorg meta. We end up with what's likely what the nc modules are built against, so everything seems to work fine.

Hopefully this helps until nc can update the installer.

from 

https://ncommunity.force.com/forum/?q=906500000000AcOAAU&

Friday, August 15, 2014

Remove AppArmor from Ubuntu

sudo /etc/init.d/apparmor stop
sudo update-rc.d -f apparmor remove
sudo apt-get -y --purge remove apparmor apparmor-utils libapparmor-perl libapparmor1

Tuesday, August 5, 2014

Join Lubuntu 14.04 to Active Directory using pbis open (before likewise-open)


#Download latest stable version

http://download1.beyondtrust.com/Technical-Support/Downloads/PowerBroker-Identity-Services-Open-Edition/?Pass=True

# Join via domainjoin-cli

sudo su -l

# Install openssh-server
apt-get install openssh-server

#Join 
domainjoin-cli join --assumeDefaultDomain yes --userDomainPrefix PREFIX prefix.mydomain.com username





#Change default shell to bash
/opt/pbis/bin/config LoginShellTemplate "/bin/bash"
/opt/pbis/bin/config Local_LoginShellTemplate "/bin/bash"


From a terminal:
sudo vi /etc/pam.d/common-session
Find the line that states the following:
session sufficient pam_lsass.so
Replace it with:
session [success=ok default=ignore] pam_lsass.so



Saturday, July 26, 2014

fixing xrdp server with lubuntu 12.04

When accessing a lubuntu 12.04 machine via rdp with xfreerdp, I was getting the error 'failed to load session gnome'.

Found the following fix

echo lxsession -s Lubuntu -e LXDE > ~/.xsession

From

http://askubuntu.com/questions/247501/i-get-failed-to-load-session-ubuntu-2d-when-using-xrdp