Category: Uncategorized

Tips for WebEx on 64-bit Fedora 15

Things are settling down now on my Fedora 15, and it is time to get WebEx working.  After a few Google searches, I came across instructions on using 32-bit Firefox on 64-bit Fedora.

I had WebEx working in my 64-bit Ubuntu installation, so I decided to not settle for a 32-bit hack. I didn’t get a good how-to going, but here’s some tips that might help:

First, get Java working. I have Sun’s JDK 1.7 installed. I am not sure the version matters. Open JDK or Sun’s JDK should work, and the 1.6 should be fine. From this posting, I found the command to link the Java plugin to Firefox:

sudo /usr/sbin/alternatives –install \
    /usr/lib64/mozilla/plugins/libjavaplugin.so \
    libjavaplugin.so.x86_64 \
    /usr/java/default/lib/amd64/libnpjp2.so 20000

For Chrome, I used this command:

sudo ln -s \
   /etc/alternatives/libjavaplugin.so.x86_64 \
   /usr/lib64/chromium-browser/plugins/libjavaplugin.so.x86_64

If this still doesn’t work, you can troubleshoot with these commands:

ls -l /usr/java/default/lib/amd64/libnpjp2.so
ls -l /usr/lib64/mozilla/plugins
ls -l /etc/alternatives/libjavaplugin.so.x86_64

Now, make sure this page comes up and says that the Java plugin is working:
Java.com: How do I test whether Java is working on my computer?

If that works for you, move on to WebEx:
WebEx Join Test

Update: Unfortunately, while the Join Test works, it is not a good test. The 64-bit will not work with Desktop Sharing. If you plan to try to view someone’s desktop, you will need to fall back to the 32-bit version of Firefox and Java. You can view the requirements here, and notice that 27.27 has updated to requiring 32-bit.

Resources:

Skype on Fedora 15

I found a couple of good instructions for installing Skype from their repository. The advantage is that it should keep it up to date assuming Skype publishes updates to the repository.

The repo file I got from here, and I just uploaded it so that I could use wget to install rather than gedit as the other instructions use. Maybe someday I can build an RPM to make it even easier.

Install Steps:

su -c "wget -P /etc/yum.repos.d/ http://digitaleagle.net/fedorastuff/skype.repo"
su -c "yum install skype"

Unfortunately, this didn’t work for my 64bit system:

Running Transaction
  Installing : skype-2.1.0.81-fc10.i586                                     1/1

Installed:
  skype.i586 0:2.1.0.81-fc10

Complete!
[skp@pecan ~]$ locate skype
[skp@pecan ~]$ which skype
/usr/bin/skype
[skp@pecan ~]$ ls -l `which skype
> `
-rwxr-xr-x. 1 root root 18621060 Jan 18  2010 /usr/bin/skype
[skp@pecan ~]$ /usr/bin/skype
bash: /usr/bin/skype: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

So, I installed the dependencies mentioned in this thread:

yum install alsa-lib.i686 dbus-libs.i686 e2fsprogs-libs.i686 expat.i686 fontconfig.i686 freetype.i686 glib2.i686 glibc.i686 keyutils-libs.i686 krb5-libs.i686 libcap.i686 libgcc.i686 libICE.i686 libpng.i686 libselinux.i686 libSM.i686 libstdc++.i686 libX11.i686 libXau.i686 libxcb.i686 libXcursor.i686 libXdmcp.i686 libXext.i686 libXfixes.i686 libXi.i686 libXinerama.i686 libXrandr.i686 libXrender.i686 libXScrnSaver.i686 libXv.i686 openssl.i686 qt.i686 qt-x11.i686 zlib.i686

Then, that finally worked!
Skype starting up for the first time (showing the license screen)

References:

Great Links: Web Encryption without SSL

I have been working on getting data transfer encrypted for parts of my website, and I think I have a solution! Rather than encrypt all of the site with an expensive SSL certificate, I am just going to encrypt the AJAX calls.

Here are the resources that I am using:

Do you have any experience with this or anything similar? Comments are welcome!

Update: I am still trying to get it working… Check out my question here.

Update: Here’s a nice link to help with generating the key: madboa.com: OpenSSL Command-Line HOWTO — How do I generate an RSA key?

Update: I haven’t been able to get pidCrypt to work. I found another tool that looks very good called jCryption, but I can’t make it work because my host doesn’t provide the bcMath library. I found a couple more helpful pages here and here.

Kernel 2.6.40 and Broadcom Wireless Broken!

Unfortunately, I don’t have any fixes at this point. But, I do have some links. If you have any ideas, please comment below. I am sure I am not the only one with this problem.

I have updated the kernel with YumEx, and now I have two different 2.6.40 kernels. When I boot into either of those kernels, my wireless is gone! Currently, the only way I can make the wireless work is to select the 2.6.38 kernel at the grub menu during boot.

That is not a good long term solution because I believe that yum only saves the last two kernels previous to the current one. So, if I update the kernel one more time, I think 2.6.38 will fall off the list! That’s is why I haven’t just updated the /boot/grub/grub.conf to make the 2.6.38 kernel default.

Here are some links that may help:

One link that I found suggested adding a line to the modprobe configuration to blacklist bcma. Unfortunately, that didn’t work for me. That module doesn’t seem to be installed. Do I need to install it?

[skp@pecan ~]$ sudo modprobe bcma
[sudo] password for skp: 
FATAL: Module bcma not found.

Another post suggested blacklisting b44. That one didn’t work for me either. It just made the Wired connection not work.

In my old kernel, here is what things look like:

[skp@pecan ~]$ echo 'Kernel Version: ' `uname -r` && echo 'lspci Info:' && lspci -v | awk '/Ether|Net/,/^$/'
Kernel Version:  2.6.38.8-35.fc15.x86_64
lspci Info:
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
	Subsystem: Dell Device 01f2
	Flags: bus master, fast devsel, latency 64, IRQ 17
	Memory at fe5fe000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: b44
	Kernel modules: b44

0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
	Subsystem: Dell Wireless 1395 WLAN Mini-Card
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at fe8fc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: wl
	Kernel modules: wl, ssb

In, the new kernel, here is what it looks like:

[skp@pecan ~]$ echo 'Kernel Version: ' `uname -r` && echo 'lspci Info:' && lspci -v | awk '/Ether|Net/,/^$/'
Kernel Version:  2.6.40.3-0.fc15.x86_64
lspci Info:
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
	Subsystem: Dell Device 01f2
	Flags: bus master, fast devsel, latency 64, IRQ 17
	Memory at fe5fe000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: b44
	Kernel modules: b44

0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
	Subsystem: Dell Wireless 1395 WLAN Mini-Card
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at fe8fc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: b43-pci-bridge
	Kernel modules: ssb

Installing MS Office on Fedora 15 — try 2

This is my second attempt at writing this article.  Office hasn’t been playing nicely with Fedora, but I finally have it working!  This How-To is not as clean as I would like, but it works.

First, let’s explore the motivation for installing Microsoft Office on Linux.  I would venture to guess that most if not all Linux distributions have LibreOffice in their repositories.  That is a full-featured office package that will probably do most of what you want.  In my opinion, Microsoft Office is just a little bit better, but that comes with a huge price tag!  The value is definitely on LibreOffice’s side.  But, here are some reasons you may consider Office instead:

  • if you can get Office cheaper — many times you can get Office much cheaper through student licensing or corporate licensing
  • if you do a lot of work on Office documents in conjunction with other Microsoft users — LibreOffice can open, edit, and save MS Office documents, but when you go back and forth, you will probably have to constantly fix small formatting issues

My motivation comes from working with textbooks.  I was working with large Word documents, and since they were so large, reformatting images and screenshots were not feasible every time we passed them back and forth between LibreOffice and MS Office.  Plus, Office was bought for me so the cost was not an issue!
So, with no further adue, let me walk you through what I did to install it on my Fedora 15 OS:

Read More

Installing Microsoft Office 2007 on Fedora 15

I needed to install Microsoft Office 2007 on my Fedora 15 installation, and my first step was to look for a tutorial that might help clear up any gotchas before I hit them. Unfortunately, the closest I found was these two articles:

So, my thought was to create my own how to.  Instead, I think I have created more of a how NOT to!  By the time I was done with all of this, it didn’t work.  So, don’t bother with this article if you are trying to figure out how to make it work.  If you are looking on something to develop to make the world better for Linux users, look no more.  We need help!

Read More

Installing Flash on Fedora 15

I found a plethora of information about installing Flash on Fedora 15, so I am not going to go into detail. Here’s the decision I made though: I had to decide between going with the standard 32bit plugin wrapped to work on 64bit or use the experimental native 64bit plugin. I chose the 32bit plugin because I have made enough bleeding edge choices that haven’t worked out easily. Flash is just one of those things that you don’t expect a lot of features from, you just want the web pages to work.

So, below are the commands I used. Please follow the links at the end for better instructions. If you have trouble, maybe these commands will help give you an idea of what worked for me.

Downloaded from
http://get.adobe.com/flashplayer/

Downloading Flash

Then ran:

su -c "yum update"

su -c 'yum install nspluginwrapper.{x86_64,i686} alsa-plugins-pulseaudio.i686 --disablerepo=adobe-linux-i386'
su -c 'yum install flash-plugin'

su -c "ln -s /usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.libflashplayer.so /usr/lib64/chromium-browser/plugins"

I also did these extra Adobe things:

su -c "yum install AdobeReader_enu"

su -c "yum install gtk2-devel.i686 nss.i686 libxml2-devel.i686 libxslt.i686 \ 
gnome-keyring.i686 rpm-devel.i686 rpm-build rpm-build-libs.i686  \
libgnome-keyring.i686 ld-linux.so.2 libdbus-glib-1.so.2 libhal.so.1 \
libXt.so.6 libDCOP.so.4 nss-devel.i686"

su -c "yum install adobeair"

Resources

LogMeIn Hamachi on Fedora 15

The time has come to get my LogMeIn VPN working again. The learning curve was not near as steep as this time (I didn’t loose any hair!), but I did still have a few issues.

First, I downloaded the RPM from Logmein’s website: logmein-hamachi-2.0.1.15-1.x86_64.rpm

When I went to use the VPN, I got this message:

Hamachi does not seem to be running. 
Run '/etc/init.d/logmein-hamachi start' to start daemon. 

That seemed like an easy fix, but it wouldn’t start. I got this error message when I tried to start the service:

/etc/init.d/logmein-hamachi: line 28: /lib/lsb/init-functions: No such file or directory 

To fix it, I found a bug reference that suggested I should install a package like redhat-lsb-4.0-6.fc15. You should be able to do it with this command:

su -c "yum install redhat-lsb"

After installing that, the VPN service started fine:

su -c "/etc/init.d/logmein-hamachi start"
Starting LogMeIn Hamachi VPN tunneling engine logmein-hamac[  OK  ] 

One thing I did notice is that the service doesn’t automatically start like it did when I was using it on Ubuntu. I don’t know why, but this is actually what I want anyway. I can just start the service when I want to use it with:

su -c "/etc/init.d/logmein-hamachi start"

Great Links: Fedora 15 Quick Tips

By accident, I ran across several links that seemed very helpful for getting situated in Fedora 15:

Chrome Extensions Quick Fix

I was able to get Chromium installed, but it keeps mentioning that “Tampermonkey has crashed.” Thomas’ Blog suggested running this command to fix extensions:

restorecon -R -v -F ~

Hallelujah! My Tampermonkey works. I was hoping that it wasn’t my backing up the profile.

Flash

I went to this link as suggested:

Adobe’s Flash Page

Since, I am running the 64bit version, I opted to follow the 64bit link.

This looks a little complicated. I may save this for another day. Please comment if you have any advise here. I was hoping for an RPM I could install that would just stay up to date. Flash is something I just want to take for granted rather than tinker with. The tar bar for Flash 11 has a bunch of directories and files. I need to read up on it more.

Gnome Shell Tweak

Multiple sites recommended this tool. So, I installed it:

su -c 'yum -y install gnome-tweak-tool'

Here are some of the tweaks, I found useful:

  • Shell — Show date in clock (turned on)
  • Shell — Laptop lid close action (changed from Suspend to Blank)

More Packages and Stuff

Ok, I don’t want to go through each of these individually, so I’ll just throw them out there the same way the Chema did on his blog:

su -c 'yum -y install gnome-tweak-tool gstreamer-plugins-bad gstreamer-plugins-bad-free-extras gstreamer-plugins-bad-nonfree gstreamer-plugins-ugly gstreamer-ffmpeg audacious audacious-plugins unrar java-1.6.0-openjdk java-1.6.0-openjdk-plugin gparted vlc gimp gimp-data-extras gimp-fourier-plugin gimp-lqr-plugin gimp-resynthesizer gimpfx-foundry yum-plugin-fastestmirror'

–Thanks Chema

I also did the DVD support thing:

su -c 'yum -y install libdvdread libdvdnav'

And, I have the 64bit installed, so I ran this:

su -c 'rpm -ivh http://rpm.livna.org/repo/15/x86_64/libdvdcss-1.2.10-1.x86_64.rpm'

Check out this page for the 32bit command.

SELinux and Performance

I have been struggling with my laptop running slow. It comes to a crawl when I run my Java/Swing application and VMWare at the same time. I found this tidbit about performance on Chema’s blog: “If you are experiencing poor performance, you may want to check what the current SELinux status is”.

I edited the file /etc/selinux/config and changed it from enforcing to permissive:
Editing SELinux Status

Thankfully, it seems to have fixed my problem.

Gnome Shell Extensions

Chema’s command does a good job showing the list of extensions. It is a good start for seeing what is available already:

yum search extension | grep gnome-shell

I found a few other resources on extensions:

I like the alternative status menu. To me, it is kind of absurd to not have a shutdown option in your menu! But, this adds it back:

yum install gnome-shell-extensions-alternative-status-menu

Alternative Status Extension

Note: After installing this extension, I found on the cheat sheet that you can use the Alt key with the default menu to get a Power Off option.

The places menu is another good one:

yum install gnome-shell-extensions-places-menu

Places Menu Extension

The weather and a11y look good, too, but I may save those for another post since they look a little more in depth.

One more trick I learned is that after installing the extensions, you can restart the shell by pressing Alt-F2 and then typing r.

Gnome Do

I was able to easily install Gnome Do with Add/Remove Software, but I had several issues with getting it to work. One of the issues, I already talked about. You have to install an extra dependency: gnome-desktop-2.

Furthermore, you also have to change the Summons key. Digital Tool Company recommended Alt-F3. You can do that from the preferences menu option once you start Gnome-Do.

Launching Gnome-Do Preferences

Or, when you first open Gnome do, you can use the menu there:

Opening Gnome Do Preferences

Then, you can change the summons key here:

GNOME Do Preferences -- Summons Key

Stay tuned as I continue to get used to Fedora!

Gnome Do on Fedora 15

I tried to install Gnome Do on my new Fedora 15 installation, and everything went smooth at first.  But, the problem comes when you try to use it.

These are the two packages I installed:
gnome-do-0.8.3.1

And, for the plugins:
gnome-do-plugins-0.8.2-1

So, I tried to launch it from the command line.  I receive a number of these errors:

[Error 12:31:11.906] Could not load desktop item: libgnome-desktop-2.so.17

Then, when I tried to open the preferences, it crashed with this error:


Marshaling activate signal
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: libgnome-desktop-2.so.17
  at (wrapper managed-to-native) Gnome.DesktopItem:gnome_desktop_item_new_from_uri (intptr,int,intptr&)
  at Gnome.DesktopItem.NewFromUri (System.String uri, DesktopItemLoadFlags flags) [0x00000] in <filename unknown>:0 
  at Do.Platform.Linux.SystemService.get_AutoStartFile () [0x00000] in <filename unknown>:0 
  at Do.Platform.Linux.SystemService.IsAutoStartEnabled () [0x00000] in <filename unknown>:0 
  at Do.UI.GeneralPreferencesWidget.get_AutostartEnabled () [0x00000] in <filename unknown>:0 
  at Do.UI.GeneralPreferencesWidget..ctor () [0x00000] in <filename unknown>:0 
  at Do.UI.PreferencesWindow..ctor () [0x00000] in <filename unknown>:0 
  at Do.Core.Controller.ShowPreferences () [0x00000] in <filename unknown>:0 
  at Do.Universe.PreferencesItem.Run () [0x00000] in <filename unknown>:0 
  at Do.UI.MainMenu+<MenuItemFromRunnableItem>c__AnonStorey12.<>m__2B (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0 
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Do.Do.Main(System.String[] args)

The solution was to install the gnome-desktop-2 package.

gnome-desktop-2.32.0

I may still need to tweak the shortcut key, but that at least solves the crash.