Posts Tagged Ubuntu

If you are a Ubuntu user and you value your privacy or security AT ALL, go read this NOW!

This is a REALLY big deal for anyone that is the slightest bit protective of their privacy or security, or that doesn’t want to be a potential victim of identity theft.  Seriously, if you use Ubuntu version 12.10, don’t do another single thing on your system before you go read this.  And if you use an earlier version, do NOT upgrade to 12.10, at least not until this situation is rectified.  I’d say now is a very good time to check out other popular Linux distributions (feel free to leave suggestions in the comments).

Ubuntu has a bigger problem than its Amazon blunder (InfoWorld)

Comments (7)

Don’t like the new “Unity” users interface in Ubuntu? Try this…

This article has been moved. Please click here to read it.

Comments (2)

To the developers of Ubuntu Linux: Please stop pushing updates that break our video drivers!

"XBMC needs hardware accelerated OpenGL rendering" error

In the past couple of years I’ve helped install Ubuntu Linux on four HTPC systems, three of which were Acer Aspire Revos (two are still in use), and the fourth an ASRock Vision 3D. On each of these we’ve had a recurring problem where Ubuntu pushes an update to Linux (which appears in the Update Manager along with other updates) and then you start having video problems, or problems with your HTPC software.  In the most extreme cases, Ubuntu appears to not boot at all – you simply get a black screen.  In reality it has booted and you can SSH into it from another machine (assuming you’ve had the knowledge and foresight to enable SSH access), but the graphic display manager isn’t working, so you either get a blank screen or just text.  In less extreme cases, it will still boot into the desktop but when you try to run your HTPC software (such as XBMC or Boxee), it won’t start.  Instead it may fail with a message similar to “XBMC needs hardware accelerated OpenGL rendering. Install an appropriate graphics driver”.

The problem always seems to be the same and it’s the one I wrote about in the article, If your Linux-based PC with NVIDIA graphics started booting to a black screen or text only, here is the fix — maybe!  I suggest you read that article BEFORE you have the problem!  It’s just getting REALLY annoying to encounter this issue every few weeks, and while it’s happened so often that I now know the drill to fix it, I can imagine that it probably sends new Ubuntu users into full panic mode (I know it really freaked me out the first time I encountered it).

This is not an uncommon problem either. Putting the phrase “XBMC needs hardware accelerated OpenGL rendering” (including the quotes) into Google brings up “About 2,500 results” as I write this. To me that indicates that about 2,500 people, give or take a few, have had this issue hand have been frustrated enough to have posted something somewhere on the Web about it. There are doubtless thousands of others who searched on the phrase and found enough information to fix the problem. And it’s NOT what I’d call an easy fix for someone unfamiliar with using the Linux command line or working outside the Ubuntu GUI.

Every so often I read one of those articles about how the new versions of Ubuntu are so easy to use that even your grandmother could use it. Bzzzzzt! Sorry, that’s wrong, not as long as shit like this happens. Unless you have a very uncommon grandmother, she is probably not going to be able to figure out how to download and reinstall a video driver.

The solution is simple: If you can’t push out Linux upgrades that don’t break our video drivers, then stop pushing out Linux upgrades! Or else, figure out or to make it download and upgrade the video driver at the same time. Or at the very least, pop up some kind of warning message if someone is about to do any update that will likely break things, and give them the option to permanently exclude such updates.

And I don’t want to hear any crap out of anybody about how it’s stupid to install updates if you don’t know what they do. Ubuntu pushes out these updates via their Update Manager software, which pops up and basically nags the user to install the updates. You can close and ignore it, of course, but every so often it will keep nagging you to install the updates.  Users coming from another platform (particularly Mac users) will probably assume it’s okay to install all offered updates.  I just question the wisdom of pushing out Linux kernel updates this way — those are in a totally different category than, say, an upgrade to a new version of Firefox, and yet the user is not in any way warned that a kernel update is a pretty serious upgrade that could cause breakage.

P.S.  Please do NOT get the idea that I am any kind of expert in this stuff.  If you leave a comment asking for help in fixing your system, it’s probably going to sit there like a big old smelly dog turd on the lawn, with no replies at all, unless I or a reader just happens to know the answer, which is rather unlikely!  There are much more appropriate forums for requesting help — please use one of those.

Comments (2)

If your Linux-based PC with NVIDIA graphics started booting to a black screen or text only, here is the fix — maybe!

This article has been moved.  Please click here to read it.

Comments off

A Perl script to send Caller ID popups from Asterisk to computers running Notify OSD (such as Ubuntu Linux) or any command-line invoked notification system

This article has been moved. Please click here to read it.

Comments (1)

How to install Midnight Commander under Mac OS X (the easiest way?)

This article has been moved. Please click here to read it.

Comments (4)

How to make gSTM 1.2 SSH Tunnel Manager minimize to notification area at startup

Just in case you read my previous post, this one falls into the category of “things I figured out how to do” that I want to have a record of, in case I ever have to do it again. Note I am NOT saying this will work for anyone else (so don’t complain if you try it and can’t make it work, because about all I’ll be able to offer you is sympathy and dumb looks). Also note that this is probably not a procedure that rank beginners with Linux should attempt, since you could potentially mess up your system if something goes wrong.

These notes are for gSTM, the Gnome SSH Tunnel Manager version 1.2 running under Ubuntu.  Normally, if you have it set to run at system startup its panel will be in the middle of the screen, and you have to click on the icon in the notification area (top bar tray, near the clock) to minimize it. This fixes that so you can start gSTM minimized (or start gSTM minimised, as our friends in Canada and the U.K. would spell it).  Of course, you probably don’t want to do this until you have finished setting up your tunnel(s).

  1. Using Synaptic or apt-get install the libgnomeui-dev package, if it’s not already installed.
  2. Go to http://sourceforge.net/projects/gstm/files/ and download the .tar.gz file for your distribution (probably gstm-1.2.tar.gz for most users).
  3. Uncompress the file you just downloaded in a temporary location and in a terminal window navigate to the src directory of the expanded file (cd gstm-1.2/src).
  4. Using a web browser go to the “Patches” section of the project at http://sourceforge.net/tracker/?group_id=145040&atid=760625 and click on “Close winodows & minimise patch” [sic] and once there click on the small arrow to the right of the words “Attached File ( 1 )”  and a Download link should appear. Click on that to download a file named “patch” and save it to the aforementioned src directory.
  5. If any version of gSTM is currently running, quit it now.
  6. Run this command in the src directory: patch -i patch (note the second instance of “patch” refers to the file you just downloaded). If it complains about permissions, preface the command with sudo.
  7. If there are no errors applying the patch file, then run these three commands (if you’re not running as root then you’ll need to preface these with sudo):  ./configure; make; make install
  8. Start gSTM using this command:  gSTM –start-minimised-to-tray (U.S.A. users, note the U.K. spelling of “minimised”). This is also the command you should use in Ubuntu’s Startup Applications Preferences. Note that if you do click on the tray icon to open the window, pressing the close button or the quit button will now only hide the window. To actually quit the program you have to right click the tray icon and select quit.
  9. If everything works you can delete the source files to save a little space on your hard drive.

Hopefully this patch will be incorporated into a release version someday, but since the last actual release was in 2005, I’m not holding my breath.  I’ll also note that there are two other patches available, an About Dialog Patch and a patch to show notification dialog icons, but since doing the above is really stretching my abilities in Linux (I’m strictly a GUI type of person, and hate working at the command line) and since I didn’t need either of the other patches, you’re on your own with those.

EDIT:  If all you really want to do is start a SSH tunnel at system startup to create a SOCKS5 proxy (and run it in the background), you don’t necessarily need gSTM at all.  In Ubuntu’s Startup Applications,  you can add a “Startup Program” with a line similar to the following as the command string:

screen -dmS tunnel ssh username@serveraddress -D 7777

You can optionally replace tunnel with any other single word of your choice.  Replace username@serveraddress with the user name and address of the server you wish to tunnel through. 7777 is the local port number for your SOCKS5 proxy and can be changed if desired.  If you do this a tunnel should be set up at each reboot, provided that you have installed the screen utility on your system (it is not installed by default in Ubuntu, but can be easily installed using apt-get or synaptic).  You’ll also need to change the permissions on a directory, but if you run the above line from a terminal window (leaving off the -dmS tunnel) the first time you run it, it should tell you what you need to do (if I recall correctly, you need to change the permissions of /run/screen to 775).  The only problem with doing it this way is that if you lose the connection to the server you won’t be able to restart it without running the above command again.

EDIT2: For more ways to tunnel data using SSH, see Quick-Tip: SSH Tunneling Made Easy.

Comments (2)

An overscan fix for the Sharp LC-42SB45U television set when connected to a computer with a Linux operating system (Ubuntu, etc.)

This article has been moved. Please click here to read it.

Comments (5)

Some notes on creating a home theater PC using the Acer Aspire Revo

This article has been moved. Please click here to read it.

Comments (8)

How to install NX server and client under Ubuntu/Kubuntu Linux (revised)

This article has been replaced.  Please click here to read the new article.

Comments (22)

How to install NX server and client under Ubuntu/Kubuntu Linux

This article has been replaced.  Please click here to read the new article.

Comments (19)

Follow

Get every new post delivered to your Inbox.

Join 134 other followers

%d bloggers like this: