Skip navigation.

exploreopera

| Help

Sign up | Help

Another Linux Blag

Running Ubuntu as a Desktop and Server

Thoughts on Ubuntu 8.04

Well if you go to my 'feelings on vista' post you'll see I'm not to impressed with it. I have a similar feeling with Ubuntu this time.. the feeling is average. :left:

It runs well, does what it's supposed to do, which is generally speaking a good thing however one of the most annoying 'features' is now every time I boot into Ubuntu I get a x recovery menu..

One of the great features of Hardy was:

The latest version of the [WWW] X window system, Xorg 7.3, is provided, with an emphasis on better autoconfiguration with a minimal configuration file.

https://wiki.ubuntu.com/HardyHeron/RC


However I've had nothing but X issues as seen here by this handy print screen of my x11 directory:



Every time it tries to 'recover x' it just backs up a file and remakes the same file that has the same issues. :confused:

Another thing:

Totem

The Totem movie player now has a YouTube plugin that makes it possible to search for and play YouTube videos directly, a local search plugin for searching for video files via Tracker, and DVB support that lets you watch digital TV broadcasts.


Fantastic except your player can't even seek to where a person clicks. GG.

Am I the only one this affects? Open up a video in totem, then move your mouse to the centre of the seek bar, click in the centre, does the video seek to the centre of the video, or does it bounce back to the start? I have contacted a developer (about 6 months ago) and nothing has changed.

Firefox 3 Beta 5

[WWW] Firefox 3 Beta 5 is the default browser, bringing much better system integration including GTK form buttons in web pages, a native GTK print dialog, file chooser dialogs with image previews, and icon theming that matches the desktop environment.


Firefox is faster. Which makes it open about as fast as every other browser and not photoshop.

Overall the most significant thing that 8.04 has brought to me has been this:



which seams pretty insignificant compared to this:



http://widgets.yahoo.com/widgets/yahoo-weather

I understand this is a LTS release so there are no major changes involved, (That's why they included Firefox Beta in the final release, and not KDE4..) So here's to hoping that 8.10 is much more refined, bug free and content updated!

Browsing and Downloading Shared Files and Folders with Samba in Terminal.

I'm using ssh to connect to my ubuntu server with no GUI and I need to access some files that are shared on another computer that is local to the computer I'm logging into.

As in:

Me <--- Internet ---> (Ubuntu Server) <--> (Computer with files on it)

(Assuming you know the host name of the computer want to access) To get a listing of all the shared folders on the host type:

smbclient -L //hostname



You should then get an output of shared folders on that computer you can change directly into the shared folder you want to go into via this command:

smbclient //server/sharename

All the usual commands should work such as ls and cd.

To download files use the commands get (single file) and mget (multiple files).

If a username is required you can change the default user by adding "-U" to the end, for example:

smbclient //server/sharename -U user1

Notes:

Samba seams to ask for a password everytime you try to login to another computers shared folders, even if the share has no password, simply hitting enter will allow you to login to the share.

Where you currently are on the computer (is terms of directory structure) is where the files will try to download to, For example if you are in /home/yourname when you use smbclient, by default files will download to /home/yourname

If you are trying to download/copy files into a protected area, use sudo smbclient.




References:
http://www.lockergnome.com/linux/2002/01/10/samba-client/

Ubuntu 8.04 Beta/Document Freedom Day

, , ,

Ubuntu 8.04 is in beta, and seams to be getting glowing reviews:

http://www.infoworld.com/article/08/03/24/13TC-ubuntu-beta_1.html
http://lifehacker.com/371194/first-look-at-ubuntu-804-hardy-heron-beta
http://blogs.zdnet.com/hardware/?p=1557&page=1

A list of all the features and where to download here:

http://www.ubuntu.com/testing/hardy/beta

-----------------------------------------------------------------------------------------------------------------

The Document Freedom Day (DFD) is a global day for Document Liberation. It is a day of grassroots effort around the world to promote and build awareness for the relevance of Free Document Formats in particular and Open Standards in general.


http://www.documentfreedom.org/Main_Page

I'm all for anything promoting documents having better interoperability.

NTFS Drives, FSTAB, Ubuntu and You..or me..

, ,

You can access files on hard drives using NTFS in ubuntu quite easily :smile:

Plug in hard drive and boot up.

1. open terminal
2. sudo apt-get install ntfs-config (this should also install ntfs-3g)
3. once install finished
4. goto system > computer
5. and you should see your drive.
6. Upon trying to enter it you will need to enter your password

To get it to mount automatically upon boot and not require a password is really quite easy:

The first thing to do is find out what their device names are listed as

A good way to find out is to run sudo fdisk -l (that's l as in list) as root. That command will simply list your disk partitions and exit.

should see your NTFS drive there



The second thing is need to make a folder where the hard drive will be mounted.

1. open terminal
2. sudo mkdir *location*, In ubuntu I used /media/disk1 (sudo mkdir /media/disk1)

Finally we need to edit the fstab.

1. still in terminal
2. sudo gedit /etc/fstab

The below line should be inserted at the bottom, on a new line, however need to change 2 things,

/dev/* /** ntfs defaults 0 0

* = the device name
** = the device mount location

for example:

/dev/hdd1 /media/disk1 ntfs defaults 0 0

While it seams like a lot the first time you do it, it gets really easy pretty fast. I'd also like to see vista read my linux drives. oh wait


References:

http://gentoo-wiki.com/HOWTO_Mount_MS_Windows_partitions_(FAT,NTFS)

Blag Clean Up

I've done a bit of house cleaning, and decided to keep things 3/4th informative, 1/4th personal, deleted some older irrelevant posts, changed a few around and are going to stick to my new trend of 2 new posts a month.

"The" Proftpd Setup Guide

, , ,

Running Ubuntu in Windows XP

, ,

http://www.youtube.com/watch?v=Bh5H2KMX6Ek

Great tutorial on how to setup VMWare to run Ubuntu 7.10 inside your windows installation.

Howto: Get a beautiful Conky 1.4.2 setup

, ,

http://ubuntuforums.org/showthread.php?t=205865

Great tutorial to get a great looking Conky setup on ubuntu.

-------------------------------------------------------------------

In addition to this I had to do the following:

http://ubuntuforums.org/showthread.php?t=424670

Open your text editor of choice and copy/paste the following:

-------

#!/bin/bash
sleep 15 && conky;

-------

Save it as .conky_start.sh in your home folder and then open terminal, navigate to your home folder and do this:

chmod a+x .conky_start.sh

After that head to: system -> preferences -> sessions > and edit conky settings, insert the full path to .conky_start.sh and then save.



After that reboot the computer and conky should start and look something like this:



Hope it goes well :smile:

Password Protect A Web Directory Using Ubuntu and Apache2

, , ,

I followed this guide(with apache2 already installed):

http://ag.arizona.edu/ecat/web/password-protect.html

and then had to do this:

https://help.ubuntu.com/community/EnablingUseOfApacheHtaccessFiles

---

To make .htaccess files work as expected, you need to edit /etc/apache2/sites-available/default. Look for a section that looks like this:

<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# Uncomment this directive is you want to see apache2's
# default start page (in /apache2-default) when you go to /
#RedirectMatch ^/$ /apache2-default/
</Directory>

You need to modify the line containing AllowOverride None to read AllowOverride All. This tells Apache that it's okay to allow .htaccess files to over-ride previous directives. You must reload Apache before this change will have an effect:

sudo /etc/init.d/apache2 reload

---

And now have a working password protected web directory.

Windows XP Password Prompt on a Samba Shared Folder

, ,

I share folders with samba fine, on other computers running linux they can see it fine, when I tried to access via a computer with windows xp it came up with a password prompt, I put it my username and password however it rejected it.

Must remember in terminal to:

sudo smbpasswd -a <user>

which will then prompt:

[Enter your password] (as it says)

New SMB Password: (enter the password which you will use to access from xp machines)
Re-Type SMB Password: (as it says)

that <user> and password combination should now work in the password prompt in xp and let you login.