Labels

lego (12) Linux (39) pi (20) Thinkpads (4)

Tuesday 20 November 2012

Lost audio playback after unplugging headphones


Audio/sound worked fine through the Thinkpad's speaker, I then plugged in headphones which worked fine, but then after unplugging the headphones, audio/sound did not play through the speaker, and plugging the headphones back in confirmed there was no audio / sound through them.

The fix is to restart the alsa-utils service.

/etc/init.d/alsa-utils restart

Playback through both speakers and headphones was fixed.


UPDATE:

This appears to be happening on all my Thinkpads (X20, X21, X22, X23, X24, X60, X60s, X61, X61s, X61T, T420) ever since Update Pack 5 for LMDE (Linux Mint Debian Edition) [affects Update Pack 6 as well].  I'm not certain if it is an issue with LMDE or Debian Wheezy.

The issue is that if you hardware or software (using volume control) mute the sound, you cannot unmute the sound via hardware or software volume control.  The sound will appear unmuted but there is no sound.

The solution is to run alsamixer (it's a XTerm GUI app, so run from a terminal session).  You should see a sound control for PulseAudio.  You can toggle the sound on/off by pressing m (for mute/unmute).

This is the only way I have found to be able to unmute the sound.

Monday 15 October 2012

My Proven Method for Upgrading on LMDE

I've had mixed results when using the GUI updater.

What has never failed me is this method:

1) triple check your sources.list
2) run (as root), apt-get update
3) run (as root), apt-get upgrade -d
4) run (as root), apt-get upgrade
5) [if any errors in #4], run (as root), apt-get upgrade -f
6) run (as root), apt-get dist-upgrade -d
7) run (as root), apt-get dist-upgrade
8) [if any errors in #4], run (as root), apt-get dist-upgrade -f
9) reboot and test!

Always resulted in successful upgrades. I've been down the "destroyed" system route when upgrading before.

But like always, I do a quick clonezilla of my /root partition. I consider that critical. Even if the upgrade goes smooth, you never know what show-stoppers you'll run into after the upgrade (such as a particular critical application you use is not compatible with some of the updates). You always want a rollback strategy.

Monday 10 September 2012

Using Compiz with LMDE (updated pack 4 or later)

I used Compiz with LMDE with GNOME 2 since starting to use LMDE.

With update pack 4, the choices of window managers has changed with GNOME 2 being replaced with GNOME 3, Cinnamon and MATE (fork of GNOME 2).  I tried Cinnamon for a while, and yes it is indeed impressive, it is still too early to start using it to replace Compiz w/ GNOME 2.

To get Compiz working with MATE, there is one additional issue than with GNOME 2.  With GNOME 2, you can simply run "compiz --replace" to activate Compiz.  In MATE, this works, but then then some MATE processes end up pegging the CPU high (constant running 50% CPU on a dual core -- I would assume this would be 100% on a single core system or 25% on a quad core system).  To   stop the CPU from running high, you run a "killall -9 marco" after activating Compiz.  However, as I found, it doesn't seem to work very well from a script.  I've always had "compiz --replace" as a startup script in "Startup Application", but simply adding the kill directly after didn't seem to have the desired effect.  Even when ensuring Compiz was starting up as a background process with a &, the killall immediately after still didn't appear to be having any effect.  I also tried putting a sleep inbetween steps.

The ultimate solution is to prevent the marco from starting completely.

With that said, here is the ultimate workaround to get Mate with Compiz running as your desired Window Manager.

First, you will need to install mateconf-editor (sudo apt-get install mateconf-editor).  This will add a red-icon version of Configuration Editor to your Programs (not to be confused with gconf-editor which you may have previously installed as well).  Start mateconf-editor from a terminal or from the Programs menu.

Second, navigate to /desktop/mate/session/required_components.  Locate the windowmanager setting, and change it to either blank or compiz.  I actually went with leaving it blank and continuing my prior tradition of having a "compiz --replace" execute via "Startup Applications", rather than changing the default to Compiz.

That's it.  Now have fun with CompizConfig (ccsm) to edit and configure your Compiz environment.

If you don't have Compiz installed, install the components via Synaptic.  I prefer to install all the plugins as well to fully customize Compiz.  I use compiz-gtk, compiz-dev, libdecoation0, compiz-plugins, compiz-core, compiz-fusion-plugins-unsupported, libcompizconfig0, compizconfig-backendgconf, compiz-fusion-plugins-main, compiz-fusion-plugins-extra, compiz-fusion-bcop, and compizconfig-settings-manager.

Tuesday 14 August 2012

SSD Efficiency: Moving .xsession-errors

The .xsession-errors file normally resides in your home directory and it gets written to very often.  There is very little purpose to this file, unless you are troubleshooting a particular X application.

For the sake of reducing writes to the hard drive (prevent waking a spinning disk, prolong the life of a SSD), I have tried to relocate the file to /tmp, which is a ramdisk.  I located the entry, ERRFILE, responsible for the file within /etc/X11/Xsession, and tried changing it,

from:

ERRFILE=$HOME/.xsession-errors
to:
ERRFILE=/tmp/.xsession-errors

However, the system keeps writing to a .xession-error file in the home directory (regardless if I delete this file or not, it gets regenerated).  The issue has persisted for weeks including after many reboots.

I came across this post http://ubuntuforums.org/showthread.php?t=1946716 which suggested making the file immutable by:


rm ~/.xsession-errors
touch ~/.xsession-errors
sudo chattr +i ~/.xsession-errors


I've done this, and now at least the file is not being written to, but likewise, there is no file generated in /tmp/.

I'll have to keep this for the time being and then remove the flag if I ever need to make use of the .xsession-errors file.

Saturday 21 July 2012

Google Chrome popping sound in Linux


I was forced to recently upgrade my Google Chrome from Chrome 16.x to Chrome 20.x on account of LastPast simply stopped working one-day with releases < 20.x (Chrome doesn't auto-update on Linux, unless you allow it to, but LastPass forces auto-download of the latest extension each time you launch the application against your will [aside: maybe figuring out the update URL and blocking it on the router or in the Linux routing tables on the machine would prevent this]).

Obviously, the popping sound comes about from the sound card going in and out of on mode.  I noticed it immediately after upgrading, and would be prevalent on sites such as gmail.com which has many hidden flash objects in the background.  Gmail and other sites with oodles of flash were essentially making chrome pop nonstop, as if it were cooking popcorn.

I found this thread: http://forums.linuxmint.com/viewtopic.php?f=47&t=107339

Google appeared to post a fix.  I don't know why they would post a clearly Windows fix into a clearly Linux thread -- since when do .dll files exist in Linux.  I thought at least the libraries would exist in some form (.so) and the fix may still apply.  But only 1 out of the 3 referenced libraries even exist.

I tried upgrading to the unstable Chrome 22.x version (since someone in the thread posted that the problem appeared to be fixed in 21.x which is against not exactly what Google is saying).  It is still happening for me in Chrome 22.x.

Shockwave Flash will show as the current version 11.3.x.  You need to disable it and leave only 11.0 d1 enabled.

This is what I figured out actually works:
- Type about:plugins in your address bar
- Click Details on the upper right corner
- Locate the entry for libpepflashplayer.so
-- Click Disable
- Locate the entry for libflashplayer.so
-- The entry should already, if not enable it, or you'll lose flash support.

Restart Chrome and you'll be popping-free.  But you will get the annoying "there is an flash update" dialogues.  Better than the popping.

To prevent the flash update dialogues, for your shortcut that you use to start Chrome, append the following --allow-outdated-plugins.  So your shortcut may resemble the following command:
/opt/google/chrome/google-chrome --allow-outdated-plugins

UPDATE 11/20/2012:

Chrome 23+ does not suffer this "popping" issue.  I have migrated to Chrome 23.0.1271.64 on several  32bit and 64bit systems and switched back to the original default settings (to use the more up to date  libpepflashplayer.so).

Wednesday 9 May 2012

Was going to replace the existing WLAN card in the X61T with a newer, more linux friendly version, but I couldn't get the screws loose, and ended up stripping them in the process. So in the end, I decided to hack the second WLAN card by covering pin 20 with electrical tape, adding a 4th antenna into the palm rest, and viola. Now the machine has two WLAN connections, one that is newest technology that is very linux friendly. Plus there is some signal loss due to the digitizer and touchscreen interfaces causing interference with the antennas, so the added antenna in the palm rest make the connections more reliable.

Thursday 26 April 2012

Changing Default Browser in Linux

Whenever I have an application spawning a web page, it always either opened in winebrowser (which doesn't work, and just causes the machine to spike on cpu) or Firefiox (which I don't regularly use unless something doesn't work in chrome). For some reason clicking Make Google Chrome Default Browser in Chrome has no effect. So I ran sudo update-alternatives --config x-www-browser Which presented me some choices Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/bin/google-chrome 200 auto mode 1 /opt/firefox/firefox 70 manual mode 2 /usr/bin/google-chrome 200 manual mode 3 /usr/bin/iceweasel 70 manual mode Chrome was already set but wasn't working. Perhaps the "auto mode" had something to do with it. I entered the choice 2 at the prompt and now chrome opens as the default browser.

Tuesday 24 April 2012

Changing splash / lock screen

I'm not a big fan of the very white Linux Mint login / lock screen. So I decided to change it to match my desktop background, which is a typical dark thinkpad theme that I've been using on all my machines for years. Here's how to make the change: cd /usr/share/backgrounds/linuxmint sudo ln -sf .jpg default_background.jpg sudo ln -sf .jpg Talento-1.jpg sudo rm /var/lib/gdm3/.cache/wallpaper/* Not sure if you can use BMPs or other images. Since my background image is a BMP, I decided to play it safe and convert it to a JPG rather then find out the hard way.

Sunday 22 April 2012

Current Status of Linux Installs (all systems)

.

X20 / X21X22 / X23 / X24X60X61X61T TouchX61T SXGAT420HP dv6900

.

architecture32bit32bit32bit64bit w/ VT64bit w/ VT64bit w/ VT64bit w/ VT64bit

.

memory320-384MB640MB3GB8GB8GB8GB8GB4GB

.

distributions Ubuntu Server 10.10-Ubuntu Server 11.10-LMDE x64-LMDE x64LMDE x64

.

tested kernels2.6.x-2.6.x-3.2.x / 3.3.x-3.2.x / 3.3.x3.2.x / 3.3.x

.

fingerprint reader

.

pen digitizerubuntu - work
debian - doesn't work ABI mismatch
ubuntu - work
debian - doesn't work ABI mismatch

.

touchscreen / fingerubuntu - works but not calibrated
debian - doesn't work ABI mismatch

.

rotate buttonneeds scriptneeds script

.

wlanrequired 3rd party kernel modules

.

wlan power management (PM) supportbroken after 2.6.30

.

wlan model39004965?CentrinoRealTek

.

ethernetdisable PM or won't survive toggle

.

ultrabayneed scripts

.

hdpasmust manually patch

.

EC advanced battery function (stop / start charge)API broken, must use acpi_call

.

tp_smapimust patch

.

thinkfan (fan control)

.

Undervolting support
- PHC kernel
tested through liqorixtested through liqorixtested through liqorixtested through liqorix

.

stable PHC VIDs23 21 4 00 0 0 0

.

integrated graphics

.

stable integrated parametersi915i915i915i915

.

discrete graphicsrequires 3rd party kernel module

.

.

virtualbox

.

vmware

.

.

TP hotkeysn/a

.

wireless hotkeyneed script for bluetooth toggleneed script for bluetooth toggleneed script for bluetooth toggleneed script for bluetooth toggle

.

.

hibernate?battery charge deterioration unless method = shutdown?battery charge deterioration unless method = shutdown

.

suspend

.

.

firewire

.

cardbus eSATArandom kernel panics on SATA I/Orandom kernel panics on SATA I/O

.

expresscard eSATA

.

SD reader

.

CF reader

.

modem????????

Freezing Linux Mint Debian Edition (LMDE) to Gnome2 (avoiding Update Pack 4)



To pevent accidental upgrade to Gnome 3.2, I've locked my repositories to Gnome 2. Planning on testing Gnome 3.2 at a later time. When I briefly used Linux Mint 12 (which uses Gnome 3.2), I was suffering the random X Server crashes and freezes that appears countless others (including official Ubuntu users) were as well: https://bugs.launchpad.net/linuxmint/+bug/889706

Gnome 3.4 apparently fixes the stability issue experienced in Gnome 3.2.  I have not tested LMDE Gnome 3.2 (that is with Update Pack 4), but I am initially assuming the same problem exists with this distribution as with Linux Mint 12 that uses Gnome 3.2.  I will eventually test Gnome 3.2 unless Gnome 3.4 is released for testing or experimental use in the Debian repositories relatively soon.

Update /etc/sources.list to (obviously replacing the existing lines, where appropriate, not adding to):
deb http://packages.linuxmint.com/ debian main upstream import
deb-src http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/gnome2-frozen testing main contrib non-free
deb http://debian.linuxmint.com/gnome2-frozen/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/gnome2-frozen/multimedia testing main non-free

Installing CheckPoint / SNX on Linux


CheckPoint / SNX

Instructions for 32bit and 64bit Debian and Ubuntu based distributions:  Last updated 2012-04

Info:
installed to - 
/usr/bin/snx
/etc/snx


library info:


linux-gate.so.1 =>  (0xf7737000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf75fd000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf75e4000)
libresolv.so.2 => /lib32/libresolv.so.2 (0xf75d0000)
libdl.so.2 => /lib32/libdl.so.2 (0xf75cc000)
libpam.so.0 => /lib32/libpam.so.0 (0xf75c0000)
libnsl.so.1 => /lib32/libnsl.so.1 (0xf75a9000)
libstdc++.so.5 => /usr/lib32/libstdc++.so.5 (0xf74ee000)
libc.so.6 => /lib32/libc.so.6 (0xf7392000)
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf7379000)
/lib/ld-linux.so.2 (0xf7738000)
libcrypt.so.1 => /lib32/libcrypt.so.1 (0xf7347000)
libm.so.6 => /lib32/libm.so.6 (0xf7321000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7303000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7300000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf72fb000)



64bit:

install CheckPoint SNX:
sudo ./Check_Point_SNX_R66_HFA_01_For_Linux_800004013.sh

Create the following ~/.snxrc:

server <IP>
username <email>


TIP - If you get the following error on starting:
/usr/bin/snx: symbol lookup error: /usr/bin/snx: undefined symbol: cerr
if required (should not be necessary on modern Debian / Ubuntu)
install  libstdc++5_3.3.6
sudo dpkg -i libstdc++5_3.3.6-17ubuntu1_i386.deb


Starting:

(LD_PRELOAD=/usr/lib/libstdc++-libc6.2-2.so.3 not necessary on modern Debian / Ubuntu)

LD_PRELOAD=/usr/lib/libstdc++-libc6.2-2.so.3 snx -H
Check Point'S Linux SNX
build 600000013
use: snx -S <server> {-U <user>|-c <certfile>} [-L <ca dir>] [-p <port>] [-R] [-G] [-E <cipher>]
run SNX using given arguments
snx -F <cf> run the snx using configuration slips by
snx run the snx using the ~/.snxrc

snx -D disconnect has running SNX daemon

-S <server> connect to server <server>
-U <user> uses the username <user>
-C <certfile> uses the certificate file <certfile>
-L <ca dir> get trusted ca' S from <ca dir>
-p <port> connect using port <port>
-G enable debugging
-E <cipher> SSL cipher to uses: RC4 gold 3DES

Installing Lotus Notes 8.5.3 on 64-bit Linux


Instructions for 64bit Debian and Ubuntu based distributions:  Last updated 2013-01-28

This is for LMDE (Linux Mint Debian Edition) < Update Pack 6 (such as Update Pack 5) or lower and Debian < 7 (such as 6) or Ubuntu systems.  If you are using multiarch (only applied to 64-bit systems), found in LMDE Update Pack 6 or Debian 7, follow the instructions in http://ddurdle.blogspot.ca/2013/01/this-blog-post-is-strictly-about.html .

If you need install instructions for a 32-bit Linux, refer to http://ddurdle.blogspot.ca/2013/01/installing-lotus-notes-853-on-32-bit.html

Although the IBM Lotus Notes 8.5.3 was designed for GNOME 2 and has dependencies for GNOME 2 libraries, this install with the instructions provided below will result in IBM Lotus Notes install that will work with almost any window-manager.  I confirmed it works with Cinnamon, MATE, and GNOME 3.

Info:
startup - 
env LD_LIBRARY_PATH=/opt/ibm/lotus/notes/:/emul/ia32-linux/:/usr/lib32/:/usr/lib32/i386-linux-gnu/ /opt/ibm/lotus/notes/framework/../notes-wrapper %F

installed to - 
/opt/ibm/lotus/notes/
/etc/lotus

library info:

linux-gate.so.1 =>  (0xf7752000)
libnotes.so => /opt/ibm/lotus/notes/libnotes.so (0xf526f000)
libXt.so.6 => /usr/lib32/libXt.so.6 (0xf521d000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf5100000)
libdl.so.2 => /lib32/libdl.so.2 (0xf50e1000)
libemulator.so => /opt/ibm/lotus/notes/libemulator.so (0xf4f22000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf4f08000)
libresolv.so.2 => /lib32/libresolv.so.2 (0xf4ef4000)
libdxlo.so => /opt/ibm/lotus/notes/libdxlo.so (0xf4e5b000)
libxpm.so => /opt/ibm/lotus/notes/libxpm.so (0xf4e55000)
libxmlproc.so => /opt/ibm/lotus/notes/libxmlproc.so (0xf4a55000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf4969000)
libm.so.6 => /lib32/libm.so.6 (0xf4942000)
libc.so.6 => /lib32/libc.so.6 (0xf47e6000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf47c9000)
libndgts.so => /opt/ibm/lotus/notes/libndgts.so (0xf47c7000)
libglib-2.0.so.0 => /lib32/libglib-2.0.so.0 (0xf46fe000)
libxmlcommon.so => /opt/ibm/lotus/notes/libxmlcommon.so (0xf46de000)
librt.so.1 => /lib32/librt.so.1 (0xf46d5000)
libSM.so.6 => /usr/lib32/libSM.so.6 (0xf46cd000)
libICE.so.6 => /usr/lib32/libICE.so.6 (0xf46b6000)
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf469d000)
/lib/ld-linux.so.2 (0xf7753000)
libgtk-x11-2.0.so.0 => /usr/lib32/libgtk-x11-2.0.so.0 (0xf42c6000)
libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0xf4230000)
libgdk_pixbuf-2.0.so.0 => /usr/lib32/libgdk_pixbuf-2.0.so.0 (0xf4217000)
libpango-1.0.so.0 => /usr/lib32/libpango-1.0.so.0 (0xf41d3000)
libpangoxft-1.0.so.0 => /usr/lib32/libpangoxft-1.0.so.0 (0xf41cc000)
libpangoft2-1.0.so.0 => /usr/lib32/libpangoft2-1.0.so.0 (0xf41a5000)
libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf4167000)
libgnomeprint-2-2.so.0 => /usr/lib32/libgnomeprint-2-2.so.0 (0xf40f3000)
libgnomeprintui-2-2.so.0 => /usr/lib32/libgnomeprintui-2-2.so.0 (0xf40ae000)
libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf40a9000)
libgnomevfs-2.so.0 => /usr/lib32/libgnomevfs-2.so.0 (0xf403f000)
libgnome-2.so.0 => /usr/lib32/libgnome-2.so.0 (0xf402b000)
libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf3fb3000)
libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf3f84000)
libgconf-2.so.4 => /usr/lib32/libgconf-2.so.4 (0xf3f51000)
libcups.so.2 => /usr/lib32/libcups.so.2 (0xf3f05000)
libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf3efc000)
libgnomeui-2.so.0 => /usr/lib32/libgnomeui-2.so.0 (0xf3e64000)
libxml2.so.2 => /usr/lib32/libxml2.so.2 (0xf3d3a000)
libpcre.so.3 => /lib32/libpcre.so.3 (0xf3d06000)
libuuid.so.1 => /lib32/libuuid.so.1 (0xf3d02000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf3cff000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf3cfa000)
libpangocairo-1.0.so.0 => /usr/lib32/libpangocairo-1.0.so.0 (0xf3cef000)
libXcomposite.so.1 => /usr/lib32/libXcomposite.so.1 (0xf3ceb000)
libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf3ce8000)
libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf3ce3000)
libatk-1.0.so.0 => /usr/lib32/libatk-1.0.so.0 (0xf3cc7000)
libcairo.so.2 => /usr/lib32/libcairo.so.2 (0xf3c52000)
libgio-2.0.so.0 => /usr/lib32/libgio-2.0.so.0 (0xf3bb5000)
libgmodule-2.0.so.0 => /usr/lib32/libgmodule-2.0.so.0 (0xf3bb1000)
libXext.so.6 => /usr/lib32/libXext.so.6 (0xf3ba2000)
libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf3b99000)
libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf3b96000)
libXi.so.6 => /usr/lib32/libXi.so.6 (0xf3b88000)
libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf3b81000)
libXft.so.2 => /usr/lib32/libXft.so.2 (0xf3b6e000)
libz.so.1 => /usr/lib32/libz.so.1 (0xf3b5a000)
libart_lgpl_2.so.2 => /usr/lib32/libart_lgpl_2.so.2 (0xf3b42000)
libgnomecanvas-2.so.0 => /usr/lib32/libgnomecanvas-2.so.0 (0xf3b0c000)
libdbus-glib-1.so.2 => /usr/lib32/libdbus-glib-1.so.2 (0xf3aed000)
libdbus-1.so.3 => /lib32/libdbus-1.so.3 (0xf3ab3000)
libgnutls.so.26 => /usr/lib32/libgnutls.so.26 (0xf3a1b000)
libavahi-glib.so.1 => /usr/lib32/i386-linux-gnu/libavahi-glib.so.1 (0xf3a16000)
libavahi-common.so.3 => /usr/lib32/libavahi-common.so.3 (0xf3a09000)
libavahi-client.so.3 => /usr/lib32/libavahi-client.so.3 (0xf39f9000)
libutil.so.1 => /lib32/libutil.so.1 (0xf39f5000)
libbonobo-2.so.0 => /usr/lib32/libbonobo-2.so.0 (0xf3995000)
libbonobo-activation.so.4 => /usr/lib32/libbonobo-activation.so.4 (0xf3980000)
libORBit-2.so.0 => /usr/lib32/libORBit-2.so.0 (0xf392b000)
libcanberra.so.0 => /usr/lib32/libcanberra.so.0 (0xf391c000)
libpopt.so.0 => /lib32/libpopt.so.0 (0xf3911000)
libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf38eb000)
libgssapi_krb5.so.2 => /usr/lib32/libgssapi_krb5.so.2 (0xf38bc000)
libkrb5.so.3 => /usr/lib32/libkrb5.so.3 (0xf3809000)
libk5crypto.so.3 => /usr/lib32/libk5crypto.so.3 (0xf37e6000)
libcom_err.so.2 => /lib32/libcom_err.so.2 (0xf37e3000)
libgcrypt.so.11 => /usr/lib32/libgcrypt.so.11 (0xf376f000)
libbonoboui-2.so.0 => /usr/lib32/libbonoboui-2.so.0 (0xf3714000)
libgnome-keyring.so.0 => /usr/lib32/libgnome-keyring.so.0 (0xf36f1000)
libpixman-1.so.0 => /usr/lib32/libpixman-1.so.0 (0xf3698000)
libpng12.so.0 => /lib32/libpng12.so.0 (0xf3674000)
libxcb-render-util.so.0 => /usr/lib32/libxcb-render-util.so.0 (0xf3670000)
libxcb-render.so.0 => /usr/lib32/libxcb-render.so.0 (0xf3668000)
libselinux.so.1 => /lib32/libselinux.so.1 (0xf364d000)
libgailutil.so.18 => /usr/lib32/libgailutil.so.18 (0xf3646000)
libtasn1.so.3 => /usr/lib32/libtasn1.so.3 (0xf3636000)
libORBitCosNaming-2.so.0 => /usr/lib32/libORBitCosNaming-2.so.0 (0xf3631000)
libvorbisfile.so.3 => /usr/lib32/libvorbisfile.so.3 (0xf3628000)
libvorbis.so.0 => /usr/lib32/libvorbis.so.0 (0xf3600000)
libogg.so.0 => /usr/lib32/libogg.so.0 (0xf35fa000)
libtdb.so.1 => /usr/lib32/libtdb.so.1 (0xf35ec000)
libltdl.so.7 => /usr/lib32/libltdl.so.7 (0xf35e4000)
libkrb5support.so.0 => /usr/lib32/libkrb5support.so.0 (0xf35dc000)
libkeyutils.so.1 => /lib32/libkeyutils.so.1 (0xf35d9000)
libgpg-error.so.0 => /usr/lib32/libgpg-error.so.0 (0xf35d5000)


64bit:


  1. install 32bit libraries with getlib (https://launchpad.net/~jcollins/+arc...7Eppa2_all.deb)

    sudo apt-get install libgnomeprintui2.2-0 ia32-libs ttf-xfree86-nonfree t1-xfree86-nonfree 
    sudo getlibs -p libgnomeprintui2.2-0 libgnomeprint2.2-0 libgnomevfs2-0 libgnomeui-0 libxkbfile1 libstartup-notification0 libsepol1 libselinux1 libgsf-1-114 libgsf-1-dev librsvg2-2 librsvg2-common libavahi-client3 libavahi-common3 libavahi-glib1 libbonoboui2-0 libcroco3 libdbus-1-3 libdbus-glib-1-2 libgnome2-0 libgnomecanvas2-0 libgnome-keyring0 libgnome-menu2 libesd0 gtk2-engines libgnome-desktop-2-17 libmotif4 libmotif3 libgnome-desktop-3-0 libavahi-glib1 gtk2-engines-oxygen gtk2-engines-aurora gtk2-engines-qtcurve gtk2-engines-murrine gtk2-engines-equinox alsa-base alsa-utils iproute gnome-desktop-3-2 liborbit2 libbonobo2-0 libgconf2-4

  2. extract deb (ibm-lotus-notes-8.5.3.i586.deb) and remove the dependence in file UNPACK/DEBIAN/control (make it blank)
dpkg-deb -x ibm-lotus-notes-8.5.3.i586.deb <folder>
  1. create deb,
dpkg-deb -e ibm-lotus-notes-8.5.3.i586.deb <folder>/DEBIAN
  1. install the deb of lotus notes,

    sudo dpkg -i –force-all ibm-lotus-notes-8.5.3.i586.deb

  2. install gtk hack (from https://github.com/sgh/lotus-notes_gtk2.23.3/)
    (validate permissions of  libnotesgtkfix.so
    • make chmod +x notes-wrapper sudo cp notes-wrapper libnotesgtkfix.so /opt/ibm/lotus/notes/
  3. fix LotusNotes8.5.desktop file in /usr/share/applications
    • [Desktop Entry] Encoding=UTF-8 Name=Lotus Notes 8.5 Type=Application Exec=env LD_LIBRARY_PATH=/opt/ibm/lotus/notes/:/usr/lib32/:/usr/lib32/i386-linux-gnu/ /opt/ibm/lotus/notes/framework/../notes-wrapper %F Icon=/opt/ibm/lotus/notes/framework/shared/eclipse/features/com.ibm.notes.links.feature_8.5.3.20110916-0921/icons/notes.ico Terminal=false Categories=Application;Office;
  4. check for missing libraries:
    • LD_LIBRARY_PATH=/opt/ibm/lotus/notes/:/usr/lib32/:/usr/lib32/i386-linux-gnu/ LANGUAGE=zh_TW.UTF-8 ldd /opt/ibm/lotus/notes/framework/../lnotes
    • LD_LIBRARY_PATH=/opt/ibm/lotus/notes/:/usr/lib32/:/usr/lib32/i386-linux-gnu/ LANGUAGE=zh_TW.UTF-8 ldd /opt/ibm/lotus/notes/framework/../notes
    • LD_LIBRARY_PATH=/opt/ibm/lotus/notes/:/usr/lib32/:/usr/lib32/i386-linux-gnu/ LANGUAGE=zh_TW.UTF-8 ldd /opt/ibm/lotus/notes/framework/../notes2
  5. Xterm required for initial setup
    • When starting the application for the first time, you'll need to agree to a licensing agreement.  It appears not everyone has xterm installed as default, or perhaps had become removed.  Therefore, install xterm if not already installed
      • sudo apt-get install xterm

OPTIONAL: If you are missing the Microsoft fonts, install the following package:
ttf-xfree86-nonfree

Installing AT&T VPN Client on Linux


Instructions for 32bit and 64bit Debian and Ubuntu based distributions:  Last updated 2012-04

Info:
installed to - /opt/agns/bin

library info:
NetVPN.sh

linux-gate.so.1 =>  (0xf77d7000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf77a1000)
libssl.so.6 => not found
libcrypto.so.6 => not found
libdl.so.2 => /lib32/libdl.so.2 (0xf779d000)
libc.so.6 => /lib32/libc.so.6 (0xf7641000)
/lib/ld-linux.so.2 (0xf77d8000)
agnclientd
linux-gate.so.1 =>  (0xf776d000)
libagnLogc.so.1 => /opt/agns/lib/libagnLogc.so.1 (0xf774d000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7734000)
libagnc.so.1 => /opt/agns/lib/libagnc.so.1 (0xf772b000)
libc.so.6 => /lib32/libc.so.6 (0xf75cf000)
/lib/ld-linux.so.2 (0xf776e000)
libxml2.so.2 => /usr/lib32/libxml2.so.2 (0xf74a5000)
libdl.so.2 => /lib32/libdl.so.2 (0xf74a0000)
libz.so.1 => /usr/lib32/libz.so.1 (0xf748c000)
libm.so.6 => /lib32/libm.so.6 (0xf7466000)
agnLogd
linux-gate.so.1 =>  (0xf773e000)
libc.so.6 => /lib32/libc.so.6 (0xf75c5000)
/lib/ld-linux.so.2 (0xf773f000)



Starting the daemons (normally starts on boot up, but you can startup on demand instead):
     
(as root)
#!/bin/sh
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/agns/lib
export PATH=$PATH:.:/opt/agns/bin:/opt/agns/lib:/opt/agns/bin/skin
agnclientd
agnLogd
If you run into issues while connecting (you accidentally terminate a connection etc), restart the above services.



Connecting:

NetVPN.sh for command line
agnclient gui
agnclientd daemon

I recommend using command line to connect.  Edit NetVPN.sh, in particular these three lines:

NETVPN_ACCOUNT="***"
NETVPN_USERNAME="***"
NETVPN_PASSWORD="***"

Make sure the AT&T IP is correct:
SERVICE_MANAGER_ADDRESS="204.146.172.230"   # AT&T Production RIG

Ensuring the agnclientd and agnLogd are running;
(   ps -ef | grep agn
root      4287     1  0 Apr16 ?        00:01:02 agnclientd
root      4289     1  0 Apr16 ?        00:00:00 agnLogd
)
run (as user);
NetVPN.sh




Installing AT&T VPN client on Linux Mint Debian Edition (or other Debian or Ubuntu based distributions)64bit:
1) installing 32bit compatibility package
sudo apt-get install ia32-libs
sudo apt-get install iceweasel ia32-libs ia32-libs-gtk
2) download the client from agnclient-2.0.1-ubuntu
3) sudo dpkg –force-all -i <package.deb>
- install agnclient 
- install gtk package
- install dev package
3) install necessary libraries
sudo getlibs -p libssl0.9.8
sudo ln -s /lib32/libssl.so.0.9.8 /lib32/libssl.so.4
sudo ln -s /lib32/libssl.so.0.9.8 /lib32/libssl.so.6
sudo ln -s /lib32/libcrypto.so.0.9.8 /lib32/libcrypto.so.4
sudo ln -s /lib32/libcrypto.so.0.9.8 /lib32/libcrypto.so.6
sudo ln -s /usr/lib32/libcurl.so.4.2.0 /usr/lib32/libcurl.so.3

TIP - If get stuck authenticating:


Run ldd on NetVPN and check if all library files are setup.


TIP - When running agnclient, if you run into a GTK error:


export GTK_PATH=/usr/lib32/gtk-2.0


32bit:


sudo apt-get install tcl8.4
sudo dpkg -i  --force-architecture agnclient_1.0~2.0.1.3003-3_i386.deb
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/agns/lib
export PATH=$PATH:.:/opt/agns/bin:/opt/agns/lib:/opt/agns/bin/skin

/opt/agns/bin
NetVPN.sh for command line
agnclient gui
agnclientd daemon