Wednesday, July 18, 2012

Flash in Lubuntu Live CD and Sound Issue Solved

Ausu K8U-X motherboard 500mb ram, sempron cpu

Problems

no flash included in Lubuntu Live CD version 11.04

no sound unless startx as root

chromium browser wouldn't run as root

synaptic gui software installer would only run as root

error from trying to install flash this way:

   sudo apt-get install flashplugin-nonfree

error:


download failed
The Flash plugin is NOT installed.


(see end for more on error)

So I could install flash as root and have sound, but not run the browser, or I could run the browser but have no sound, or I could install flash, run browser as non-root user but have no sound!

So I had to do the following:

1
Find the working package from when I ran gui as root from synaptic.
It is called:
 browser-plugin-gnash

then from command line as root do this:

  sudo apt-get install browser-plugin-gnash

this actually worked, no errors.

2
Start up gui as root

  sudo startx

3
Run Chromium browser as root with the requirements that came from the error message.

In a terminal enter:

  chromium-browser --user-data-dir=/home/ubuntu

4
Also had to right-click on the task bar to add the volume control

Youtube works, but BBC and Bloomberg radio didn't, I may need to install some other form of flash or something, I'll work on it.


This following path didn't work:

Find out the non-root username with "whoami" before any "sudo su"

  whoami

non-root username for Lubuntu Live CD is:  ubuntu

Open up a terminal from the gui desktop and log in as ubuntu since starting it as root with sudo makes everything done in it as root.

Start the browser from the terminal as ubuntu user

To do that I had to find the command that the gui shortcut is using by getting the properties of it from the start menu and entering it into the terminal, however this failed as user ubuntu!

The error for not starting as root, however, was actually useful and helpful to me!

It said that it just needed a home directory so I did step 3, above.


Original full error:



download failed
The Flash plugin is NOT installed.
dpkg: error processing flashplugin-downloader (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Setting up libasound2-plugins (1.0.24-0ubuntu6) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 flashplugin-downloader
E: Sub-process /usr/bin/dpkg returned an error code (1)

No comments:

Post a Comment