Ubuntu is a Linux distribution with an emphasis on ease of use and installation. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

learn more… | top users | synonyms (1)

2
votes
1answer
3k views

/etc/fstab is mounting rw filesystem as read-only

A partition of my internal hard drive (not the root partition) I want to mount automatically on boot. I've been using /etc/fstab to mount my external backup drive automatically read-only, so this is ...
1
vote
3answers
3k views

System freezes when browsing internet

About a week ago my system began to freeze (deadlock, only manual shutdown with laptop button helped) from time to time. The frequency of deadlock is increasing. Today it was about 10 deadlocks with ...
1
vote
2answers
354 views

Prevent GRUB from showing up by default?

Whenever I boot on Ubuntu, I see the entire GRUB menu by default. Is there a way I could make it simply auto-boot if uninterrupted within X seconds? I remember that this was the case on previous ...
1
vote
2answers
979 views

run script asynchronously / in a different process

I have a simple php script <?php for($i=0;$i<10;$i++){ sleep(1); echo $i; } Which I run from the command line php myfile.php & I would expect I can do other things in the command line, ...
17
votes
4answers
8k views

How is Ubuntu based on Debian?

Linux Mint is based on Ubuntu. Ubuntu is based on Debian. Like this, there are several other linux distributions that are based on Ubuntu, Debian, Slackware, etc. What confuses me is what does this ...
3
votes
2answers
3k views

What do mkfs.xfs and modprobe do when mounting an Amazon EBS instance?

I'm looking through this guide for how to add an EBS volume to an Amazon EC2 instance, and I've found this little part of instructions hard to follow: Create an XFS file system on the EBS volume ...
3
votes
1answer
2k views

How can I install Ubuntu messaging menu on Mint?

One thing I like about Ubuntu is the messaging menu. Can I add the ubuntu messaging menu to Mint 12?
31
votes
3answers
12k views

Run script on screen lock/unlock

I'd like to run a screen if the Gnome session is locked and unlocked. Is there a way that I can intercept this and perform certain actions when the desktop is locked or unlocked?
11
votes
5answers
29k views

Create a Bootable (UEFI GRUB) USB for Ubuntu & Windows 7 Install

I want to create a Bootable EFI USB to install Ubuntu & Windows 7 (maybe with utilities like PartedMagic). I did that using MultiSystem previously. However, I am using GPT and Windows install ...
2
votes
1answer
3k views

How to change the default web page in Linux Mint 12

I need help with Linux Mint 12. I am trying to change the default web page, so that people using guest-session will open a specific web page instead of Linux Mint's corny default site. Also, please ...
7
votes
1answer
2k views

Dual monitors on dual video cards on Ubuntu

I have been trying this to no avail. I am new to Linux, so a step by step explanation would be greatly appreciated. I have two NVIDIA GeForce 8600 GT video cards. I want a monitor to run on each card, ...
3
votes
2answers
13k views

Getting OpenGL to work under Ubuntu

I have an Intel graphics card, of which I can't tell whether or not it's being recognized. When I go through GUI to the System Info section, it states that my graphics card is unknown. Despite this, ...
4
votes
2answers
127 views

Reinstall versions of software not found in repositories

I recently installed the utouch-daily PPA, and it's given me some problems. How can I revert to the packages available in the default repository? I've removed the repository from /etc/apt/sources....
2
votes
0answers
739 views

Bluetooth auto-connect not going through

I finally got Bluetooth working on my late 2011 8,3 MacBook Pro running 11.10-amd64 Ubuntu. However, I'm having some weird problems that I've noticed were pretty global across what I was doing. ...
10
votes
2answers
8k views

Restore /etc/ configuration files from the default

Is there a way to replace /etc configuration files from a package, overwriting my local changes? I've tried apt-get install --reinstall mypackage but it doesn't update the files. How can I do this?
9
votes
3answers
15k views

Cleaning log files under linux

I am using a kvm ubuntu 10.04 virtual machine to test some features of a kernel module. I grep through the /var/log files to observe the kernel messages about that module. To start from a clean state,...
1
vote
3answers
8k views

Cannot execute binaries in Ubuntu : file not found

When I try to run any executable file a file not found error occurs. Sometimes it says nothing but doesn't do anything. For example, when I execute ./blah-blah.bin it fails finding the file when it ...
2
votes
1answer
2k views

How should I set up additional EBS storage on an Amazon EC2 instance?

One of my clients has three EC2 servers on the Amazon cloud, with several attached EBS devices: server 1 and server 2 are ubuntu micro instances, and server 3, the main production box, is a ubuntu ...
1
vote
1answer
269 views

Unable to build pygobject with jhbuild

I was trying to build gtk+ and pygobject with jhbuild (on ubuntu 11.04), but it gives the following error while building gnome-doc-utils : checking whether /opt/tarball-gnome2/bin/python version >=...
7
votes
2answers
21k views

How can I completely reinstall mysql?

I had to reboot in the middle of a large data import. I only have one mysql database, which has now been corrupted. How can I completely remove mysql and reinstall it? I've tried apt-get purge mysql-...
2
votes
1answer
580 views

Create bootable ubuntu usb for mac, or any pc

I've used Ubuntu live and the start up disk creator tool to create a bootable usb with ubuntu. I used the start up disk tool and I first clicked erase, to clear the contents of the usb, and then ...
3
votes
2answers
150 views

View Files from mirrored RAID outside the device

The Product I have is a Western Digital My Book The device has stopped working but there is nothing wrong with either of the two mirrored drives. I would like to take out the two mirrored hard drives,...
4
votes
2answers
2k views

Installing OpenVPN to replace Cisco VPN because Cisco will not work with the kernel I am on or downgrade instead?

I had difficulties installing Cisco5.0 VPN on my Ubuntu 10.04 LTS. I asked for assistance in this question: link to previous question. The answer is that this Cisco program will run on only older ...
16
votes
4answers
13k views

Mount a filesystem read-only, and redirect writes to RAM?

Is it possible to mount a loopback file as read-only, and redirect all writes to RAM?
29
votes
2answers
32k views

Zip everything in current directory

I'd like to compress and package everything, including files and folders in current directory, into a single ZIP file on Ubuntu. What would be the most convenient command for this (and name of the ...
2
votes
4answers
969 views

Update Linux Path permanently [duplicate]

Possible Duplicate: How do I set a user environment variable? (permanently, not session) How can I permanently modify the PATH variable in Ubuntu? Is it possible to do it without modifying any ...
2
votes
1answer
1k views

SD card reader on Linux: SPI or SD protocol underneath

I've a notebook with a SD card reader and I was wondering if the GNU/Linux driver is using the SPI protocol or the proprietary SD protocol (one or four bits). I'm asking this because I'm testing a SPI ...
3
votes
3answers
420 views

How do I troubleshoot this boot issue?

I have a Lenovo x120e that is not booting properly. When I turn it on, it just opens to a blank screen. The machine is running Ubuntu 10.04. Main Details: I shut the lid of the computer while it was ...
1
vote
2answers
1k views

Kernel module for Cisco VPN client doesn't compile under ubuntu 10.04 LTS?

I am trying to install a Cisco VPN client under Ubuntu 10.04 LTS. In the extracted folder I type: alex@alex-laptop:~/Downloads/cisco4.8/vpnclient$ sudo ./vpn_install and there is output of activity ...
5
votes
1answer
6k views

Acer Aspire S3 or Asus Zenbook Ultrabook for running Linux (Ubuntu / Debian)

I'm curious if anyone has had success with running Ubuntu or Debian on the latest Ultrabooks. Specifically, the Acer Aspire s3 or the Asus Zenbook? I have had an Asus UL30a since they came out, ...
16
votes
1answer
8k views

What does a kernel source tree contain? Is this related to Linux kernel headers?

In books, I typically read references to the Linux Source Tree at /usr/src/linux with the usual set of subdirectories (arch, block, crypto, ...). I was expecting this tree to contain the binary files ...
0
votes
2answers
693 views

suphp directory not owned by user

I have an odd problem with suphp. I have logged in as tom and added some php to a directory in my web server. Now I'm getting this error: Directory /home/.../web/public_html is not owned by tom I ...
2
votes
1answer
425 views

I bought a game from Ubuntu Software Centre, How do I download it for Linux Mint?

I bought the game TRAUMA from the ubuntu software centre, using my login user/password and paid with my debit card, I can download and play the purchased game in ubuntu fine. But I recently switched ...
1
vote
1answer
541 views

SVN checkout under a different user name

When I ssh into my server I log in under root or my user on the system. However, when I checkout from my svn repos then are then owned by either root or my user, and therefore all files deployed to ...
4
votes
1answer
1k views

Disabling caps lock by setxkbmap makes it Shift key in Emacs

I'm using GNU Emacs 23.2.1. within Xfce 4.8.0 (both coming from the Ubuntu Natty repository). I disable the CapsLock by running /usr/bin/setxkbmap -option "ctrl:nocaps" at the beginning of the Xfce ...
1
vote
3answers
6k views

Using cygwin and rsync — “password file must not be other-accessible”

I've finally got an old computer of mine running as a backup server with Ubuntu 11.10. I'm planning on using it to backup my Windows 7 machine weekly using rsync. I've got cygwin installed, and rsync ...
1
vote
1answer
3k views

Adding shortcuts to docky on Gnome 3

So I have been using docky on Linux for a while and really enjoy it. However, with the introduction of Gnome 3 I can still run docky but the ability to be able to drag shortcuts from the menu to the ...
1
vote
1answer
125 views

printing issue: single page on PC is printing across multiple pages

I have just setup a ubuntu 11.10 desktop and i have an issue with the printing. When I send a document from the desktop to the HP Officejet 6500 E710n-z it will center it and print across 4 pages. --...
4
votes
3answers
1k views

Linux distribution with 'yum' package manager

I hope that this question is appropriate for this site (if not, please accept my apologies). I am a professional statistician who uses the statistical programming language R. I'm currently building ...
15
votes
4answers
20k views

How can I track who SSH'es into my linux machine?

I'm running Ubuntu 10.04. Is there a way I can get a daily report of who has logged onto the box, what time, and even - this may be asking too much - a report of the commands they used? This is a low-...
5
votes
6answers
9k views

Can I use `apt-get` to upgrade to the latest version of Nagios?

At the time of this writing the latest version of Nagios is 3.3.1. I am running Ubuntu 10.04 and have used apt-get update; apt-get install nagios3 to end up with version 3.2.0. I know there are a lot ...
16
votes
1answer
13k views

How do I set a user's default .bashrc file?

On Ubuntu 10.4 I have edited the /etc/bash.bashrc file to set some variables like the command history size (HISTSIZE=5000), however if I create a new users Ubuntu by default gives them a .bashrc file ...
2
votes
1answer
601 views

How can I regenerate the default '/etc/' config files?

I've removed nagios3 with apt-get remove nagios3 and then removed the files in by using the command sudo rm -R /etc/nagios* Now when I run apt-get install nagios3 the config files (/etc/nagios3/*) ...
2
votes
2answers
1k views

Update phpmyadmin manually when installed as an package

Is it possible to manually update phpMyAdmin when I installed it as a package? The current version in Ubuntus package list is 3.4.5deb1 but I want to upgrade to 3.4.8
1
vote
1answer
172 views

Can I run several TKL appliances on one server box (eg, HP Microserver)?

I'm interested in by Ubuntu-based TurnKey Linux (TKL)'s many (apparently) ready-to-use, FOSS appliances. Is it possible to create one server box (without virtualization) that runs more than one TKL ...
13
votes
4answers
7k views

How to /dev/null background processes “informational” output?

[USER@SERVER ~] sleep 3 & [1] 5232 [USER@SERVER ~] [1]+ Done sleep 3 [USER@SERVER ~] How do I /dev/null these two messages?: [1] 5232 [1]+ Done sleep ...
7
votes
1answer
9k views

Can't install lsb-core on Ubuntu Server 11.10

I'm attempting to install lsb-core on an Ubuntu server. Did apt-get update then did apt-get install lsb-core root@quackwall:~# apt-get install lsb-core Reading package lists... Done Building ...
12
votes
6answers
33k views

Where is Netbeans installed on Ubuntu?

I installed Netbeans on my Ubuntu 11.10 machine. I used the combined method, so Netbeans and JDK are installed from a single file. However, now that it's installed I can't figure out how to start ...
5
votes
2answers
7k views

How to start VNC server on start-up in Ubuntu 10.04

I've been struggling with this long enough to ask yet another startup script question. I've got a startup script that is relatively simple, ie: ### BEGIN INIT INFO # Provides: startVNC # ...
4
votes
1answer
677 views

Minimal gui for Eclipse Indigo on Ubuntu

I'd like to install Eclipse I could use via VNC on a minimal Ubuntu 10.04 installation, but without the unnecessary bells and whistles that come with gnome-desktop. All I really need to do in an X-...