Tag Archives: RHEL6

Reading encrypted/password protected pdf on Linux

Brocade Logo

The problematic PDF

The CFP300 material on http://community.brocade.com/docs/DOC-2041 is encrypted so that it cannot be printed/re-edited without a password.

If you try to open this with evince (default .pdf viewer in Gnome) it will ask for a password.
pdftotext (comes with the software suite poppler) says:

Error: Weird encryption info
Error: Incorrect password

It’s only the material starting with M0* that has this issue, this has also been seen with other documents. Maybe this is because they were created with a too new version of Adobe Acrobat that evince/pdftotext doesn’t support.
The rest of the material are going to be public and they are user/admin guides anyway. But the M0* files are from the actual course material for the 16G so this is why.

The solution on RHEL6 x64: install FoxitReader. Download the .rpm – then hit ‘rpm -Uvh FoxitReader-1.1-0.fc9.i386.rpm’ and it will be installed. To start it just hit ‘FoxitReader’.

Anyway I think it’s nice of Brocade to pre-release the course material for those doing the beta-test. If you want the real material the cheapest is 650$ and then you get the material, narration of the pdfs (usually good quality, not just reading off the presentations) and a few quite good lab exercises.

The Studying

Just threading along here with the material, slowly but steady.
I’m starting with the NPIV / Access Gateway stuff. It’s a bit more complicated than just a switch that isn’t its own domain, it’s also mapping the virtual WWN to the N_ports (a switch in AG mode has N_ports that connect to F_ports in another switch). Usually N_ports are on hosts’ and targets’ ports and the switches’ has the F_ports.

HP Virtual Room Installation on RHEL 6 x64

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1478734

I couldn’t get it to work.

Eventually I installed Ubuntu 10.04 LTS in a VM in Virtualbox and in there it worked.

However, resolution is only 800×600. So I found this page: 

http://forums.virtualbox.org/viewtopic.php?t=15679

 

That told me to install some stuff and then install the Guest Addition stuff. After that and a reboot HP Vroom no longer worked. But resolution was fine! Grah. Then I just used the “Live CD” of Ubuntu instead, or the normal .iso but no need to install, just boot from it.

 

Firefox 4.0 is here! – Or – I went with Google-Chrome instead

Firefox download links:

Windows
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/4.0/win32/en-US/Firefox%20Setup%204.0.exe

Linux
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/4.0/linux-i686/en-US/firefox-4.0.tar.bz2

Mac
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/4.0/mac/en-US/Firefox%204.0.dmg

Going to test this as soon as I get home on My Windows machine.

On my RHEL6 laptop however I couldn’t just unpack the linux version and run the ./firefox.
I also couldn’t find the installation guide. Nonetheless, it complains about this;

./firefox-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

But sudo yum install gtk2 gives: Package gtk2-2.18.9-4.el6.x86_64 already installed and latest version.

And after a ‘find /’ I found the file here:

cat ~/find.all | grep libgtk-x11-2.0.so.0
/usr/lib64/libgtk-x11-2.0.so.0.1800.9
/usr/lib64/libgtk-x11-2.0.so.0

How do I proceed? – Did not find anything online quick enough that would help me. The other requirements I could also find in my system..
I tried to run ./firefox-bin which complained about libxul.so which I also have in my system.
I tried to run it in a sudo, no difference.

If anybody reads this and has some ideas or so – please let me know :)

So I tried Google Chrome instead (haven’t tried this before) and wow, compared to Firefox 3.6.x which is the default one on RHEL6 it is really fast!

This is the link I used to install it and it worked perfectly:

http://www.if-not-true-then-false.com/2010/install-google-chrome-with-yum-on-fedora-red-hat-rhel/

  1. Add this to /etc/yum.repos.d/google.repo
[google64]
name=Google - x86_64
baseurl=http://dl.google.com/linux/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
  1. yum install google-chrome-unstable
  2. start google-chrome with: google-chrome