Posts Tagged ‘Linux’

Catalyst Catastrophe

Tuesday, 25 November 2008

Yester-day, I installed version 8.11 of the ATI Catalyst™ Linux Graphics Driver on my RHEL 5.2 system. When I later booted to Linux after restarting the computer, the GUI was grossly dysfunctional. What it displayed was little more than a few simple rectangles — no text, no icons, an a largish square for the mouse-cursor.

It took me some time to get at a solution, but I present it here for the sake of anyone in a similar fix.

The problem seems to have been with /etc/X11/xorg.conf, configured for my system when it was running an earlier version of the software, and simply renaming this file is apparently sufficient to resolve the problem (though initially I reinstalled version 8.10 of the driver, and version 8.11 seemed not to have a problem with the version of /etc/X11/xorg.conf created anew by version 8.10).

Because the GUI wasn't really usable, I booted an RHEL installation CD, entering

linux rescue text
at the boot: prompt; this gave me a Linux CLI session that could access the Linux partition on the HD. I had the Linux partition mounted as /mnt/sysimage; that put xorg.conf at /mnt/sysimage/etc/X11/xorg.conf, whence it could be mv'd.

Launching OpenOffice under Red Hat Enterprise Linux

Monday, 20 October 2008

I notice that a number of people have found their ways to this 'blog because they've installed OpenOffice under RHEL, but OpenOffice doesn't seem to launch.

This is probably an SELinux issue. If so, then it should be resolved either if one goes to the directory containing libvclplug_gen680li.so.1.1 and (as root) runs

chcon -t textrel_shlib_t libvclplug_gen680li.so.1.1
to get SELinux to accept the interface, or if one up-dates to OpenOffice 3.0.0.

Installing OpenOffice 3.0.x under Red Hat Enterprise Linux 5.x

Monday, 20 October 2008

If you're actually trying to install another version of OpenOffice, then click on the OpenOffice tag, as there may be an entry on that other version.

Here's my suggested procedure for installing OpenOffice 3.0.x under RHEL 5.x:

  1. If you don't have a JRE installed, then install one. OpenOffice 3.0.0 is being distributed with JRE 1.6.0 update 7; Sun is already at update 10. (I suggest that one use jdk-6u10-linux-xxx-rpm.bin, rather than jre-6u10-linux-xxx.bin.) The remainder of these instructions assume that one has a JRE installed.

  2. Remove any earlier installation of OpenOffice. As root, enter these two commands:

    rpm -qa | grep openoffice | xargs rpm -e --nodeps
    rpm -qa | grep ooobasis | xargs rpm -e --nodeps

  3. Unpack OOo_3.0.0_LinuxIntel_install_wJRE_en-US.tar.gz (or the version appropriate to a devil-language, if you use one of those) to your filespace.

  4. Go into resulting OOO300_m9_native_packed-1_en-US.xxxx/RPMS/ (or to the OOO300_m9_native_packed-1_xx-xx.xxxx/RPMS/ corresponding to your devil-tongue).

  5. As root, run

    find . -maxdepth 1 -name "o*.rpm" | xargs rpm -U

  6. As root, run

    rpm -U desktop-integration/openoffice.org*-redhat-menus-*.noarch.rpm
    (NB: You will need to log-out and back-in for the Applications menu to be up-dated and list the OpenOffice components.)

  7. As root, run

    rpm -U userland/*.rpm

  8. Tell OpenOffice which JRE to use:

    • Launch OpenOffice:
      /usr/bin/openoffice.org3
      (It will not be listed on the applications menu unless you have logged-out and back-in.)
    • Select
      Tools | Options… | OpenOffice.org | Java | Use a Java runtime environment
    • Choose one of the environments that is then listed.
    • Click the OK button.
    • Shut-down OpenOffice. (The change will be in effect upon next launch.)

There do not appear to be any issues with SELinux this time. I didn't have to use chcon on anything to get OpenOffice working.

NB: This post was edited on 2009:09/13, to improve the procedure, though most readers should not be installing version 3.0.x, as version 3.1.1 is available.

Drive, I Said

Sunday, 24 August 2008

In the interval since I installed a new Linux driver for my AMD ATI video adapter, I have had fewer incidents of being logged-out when using Firefox, but there were still a few pages such that I would be logged out of my Linux session when I attempted to scroll through them with Firefox.

Yester-day or to-day, AMD ATI released a newer version of the driver, which seems to have resolved the remaining problem.

[Addendum (2008:08/27): Ah, I wrote too soon. The frequency of the problem has dropped further, but Firefox will still cause me to be logged out of the linux session when I scroll at least one of those pages.]

Driven to Destruction

Thursday, 24 July 2008

Yester-day or the day before that, AMD made available a new version of their Linux driver for the graphics adapter in my note-book computer. I was pleased, as I hoped that it would eliminated the logging-out problem that I've been having. (This problem did not go away when I up-dated my driver on 6 July.)

Well, things have changed with the new driver, but seemingly for the worse. I'm still logged-out when using Firefox with some webpages, but now the display ends-up blanked and effectively disabled, so that I have to completely restart the system. (Perhaps the frequency of being logged-out has been reduced.)

Oh well. I will hope that the next driver up-date resolves the problem.

Log-out Log

Sunday, 6 July 2008

Haha!

I attempted to log out of a web-site, and was logged-out of my local Linux session! This logging-out baffled me, because there shouldn't have been any way for a log-out command to have been passed to the local shell, and none of the associated strings from the site were valid log-out commands for that shell.

Well, the joint logging-out was basically chance coïncidental. An inspection of a log file suggested that, in the wake of the most recent up-dates to the Red Hat software, I needed to get a new driver for my graphics adapter. I should have reälized this sooner, as various processes had become far less responsive, and all of these involved display.

Installing Firefox 3.0 under Red Hat Enterprise Linux 5.x

Tuesday, 17 June 2008

If you're actually trying to install another version of Firefox, then click on the Firefox tag, as there may be an entry on that other version.

[Update (2 Jul): Red Hat has released a Firefox 3.0 .rpm, and I would recommend now using it.]

Firefox 3.0 has been released. I imagine that someone will soon provide an .rpm; but, for now, Red Hat users will have to install things from a tarball.

  1. Download the archive, firefox-3.0.tar.bz2.
  2. The tarball contains a directory, firefox, which should be dropped-in as a sub-directory of something. If you want to ponder where, then study the FHS. As for me, as root, I put it in /opt:
    tar -xjvf firefox-3.0.tar.bz2 -C /opt/
  3. Make sure that you have compat-libstdc++-33 (a Gnome C++ compatibility library):
    rpm -qa | grep compat-libstdc++-33
    If not, then as root install it:
    yum install compat-libstdc++-33
  4. To avoid conflicts with SELinux, as root run
    chcon -t textrel_shlib_t /opt/firefox/libxul.so
    (If you didn't install the directory in /opt, or renamed the firefox directory, then you'll need to modify the above final argument to chcon accordingly.)
  5. You'll need a .desktop file for Firefox (though you may already have one). As root, edit/create /usr/share/applications/firefox.desktop, ensuring that it reads
    [Desktop Entry]
    Categories=Application;Network;X-Red-Hat-Base;
    Type=Application
    Encoding=UTF-8
    Name=Firefox
    Comment='WWW browser'
    Exec='/opt/firefox/firefox'
    Icon='/opt/firefox/icons/mozicon128.png'
    Terminal=false
    (Again, if you didn't install in /opt, or changed the name of the firefox directory, then you'll need to change the above accordingly.)
  6. Log out and back in or restart the system (to up-date the GUI).

Installing OpenOffice 2.4.x under Red Hat Enterprise Linux 5.x

Monday, 7 April 2008

If you’re actually trying to install another version of OpenOffice, then click on the OpenOffice tag, as there may be an entry on that other version.

OpenOffice 2.4 has been released. Users of Red Hat Enterprise Linux 5.x should not run the setup routine. Instead

  1. Uninstall any existing installation. If you have yum, then as root run
    yum remove openoffice.org-*
    If you must or would rather use rpm then use the command
    rpm -qa | grep openoffice | xargs rpm -e --nodeps
  2. Unpack OOo_2.4.0_LinuxIntel_install_wJRE_en-US.tar.gz (or the version appropriate to a devil-language, if you use one of those) to your filespace.
  3. Go into resulting OOH680_m12_native_packed-1_en-US.xxxx/RPMS/ (or to the OOH680_m12_native_packed-1_xx-xx.xxxx/RPMS/ corresponding to your devil-tongue).
  4. As root, if you don't have a more recent version of a JRE than 6u4, then run
    rpm -U *.rpm
    otherwise run
    rpm -U openoffice*.rpm
  5. As root, run
    rpm -U desktop-integration/openoffice.org-redhat-menus-2.4-*.noarch.rpm
    (NB: You will need to log-out and back-in for the Applications menu to be up-dated and list the OpenOffice components.)
  6. Go to the directory in which libvclplug_gen680li.so.1.1 is found:
    cd /opt/openoffice.org2.4/program
  7. As root, enter the following to get SELinux to accept the interface:
    chcon -t textrel_shlib_t libvclplug_gen680li.so.1.1
  8. If you did not install the JRE above, then
    • Launch OpenOffice.
      /usr/bin/openoffice.org2.4
      (It will not be listed on the applications menu unless you have logged-out and back-in.)
    • Select
      Tools | Options… | OpenOffice.org | Java | Use a Java runtime environment
    • Choose one of the environments that is then listed.
    • Click the OK button.
    • Shut-down OpenOffice. (The change will be in effect upon next launch.)

On a Set of Measure Zero

Saturday, 1 March 2008

The 'Net is awash with pages that claim to be about how to do this-or-that in Linux, but are really only about how to do it with some peculiar flavor of Linux.