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)

0
votes
2answers
518 views

Heartbeat with virtual IP at Ubuntu 12.04

I have installed heartbeat package at both linux devices so that when ever clients request a service they will be arrived to this IP, and client will not know what are the back-end/actual ip addresses ...
0
votes
2answers
393 views

How to turn off DELL BIOS beeping through Ubuntu?

I removed my LCD with Inverter, because it was broken. I'm using a Inspiron 4050 with a HDMI or VGA connected at TV, but the BIOS beeps(8times) continuos for ever and ever. There is a way to control ...
1
vote
1answer
47 views

Why grp:lctrl_lshift_toggle still keeps right keys as switch triggers?

I ran the following command in my terminal: setxkbmap -layout us,ru -option "grp:lctrl_lshift_toggle,ctrl:nocaps" but for some reason, the effect is the same if I specified "grp:ctrl_shift_toggle" ...
2
votes
1answer
1k views

How to execute a shellscript when I plug-in a USB-device

I want to execute a script when I plug in a device in my Linux machine. For example, run xinput on mouse or a backupscript on a certain drive. I have seen a lot of articles on this, most recently ...
2
votes
0answers
411 views

ping receives no packets, but tcpdump can see them coming in

I'm migrating an old Ubuntu OpenVZ instance (Jaunty) to a new CentOS 6.3 host (using vzdump/vzrestore). Now networking does not work properly. Facts: It works just fine if a setup a new OpenVZ ...
1
vote
4answers
814 views

Finding computer uptime from first day until now

I need to find PC uptime from the day of installation until now. Is this logged somewhere? Does any file log this cumulative uptime?
0
votes
0answers
55 views

Boot disk unavailable

Background I've got one 32GB SSD that I have Ubuntu 12.10 installed on (this drive is encrypted), and two 1.5TB drives that will serve as storage and backup respectively. I have formated both drives ...
1
vote
0answers
424 views

xrandr config not loading properly at startup from .xprofile

I'm using xrandr to rescale the resolution on a netbook (Ubuntu 12.10). When I run the following command it works fine: xrandr --output LVDS1 --mode 1024x600 --panning 1280x720 --scale 1.25x1.2 ...
1
vote
1answer
162 views

kvm guest Network interface no Authenication

i have a kvm host based on ubuntu 10.04 host , and the guest is rhel 5.3 64-bit, on the guest i tried to execute mii-tool eth0 SIOCGMIIREG on eth0 failed: Input/output error SIOCGMIIREG on eth0 ...
0
votes
0answers
490 views

Error when trying to install valgrind on Ubuntu 10.04

Having trouble tracking down a solution to the following problem. I am running Ubuntu 10.04. ~$ apt-get install valgrind Reading package lists... Done Reading state information... Done Some ...
2
votes
1answer
3k views

NFS does not work. mount: wrong fs type, bad option, bad superblock

This is what I got on server: manuel@server ~ $ cat /etc/exports /var/share 192.168.178.20(rw, sync) manuel@server ~ $ cat /etc/hosts.allow portmap: 192.168.178.20 manuel@server /etc $ cat ...
3
votes
2answers
2k views

Problem with samba shares Ubuntu server 12.04

I'm having a problem with setting up samba share permissions on Ubuntu Server LTS. I've got two shares set up in the smb.conf file. The entries look like this: [share] comment = Ubuntu File Server ...
1
vote
0answers
275 views

Ubuntu 10.04 kvm Virtual Machine guest network speed slow

i have the following situation, i have a kvm host ubuntu 10.04 LTS 64-bit network host speed is perfectly run , as i am testing network speed using iperf , the speed between any network device and the ...
0
votes
3answers
1k views

How to print the percentage of disk use from `df -hl`

I know that df -hl outputs a list of all my partitions with its size, usage as a percentage, and space available. If I wanted to output just the size and usage as a percentage of sda2 and sda3, for ...
1
vote
1answer
260 views

Unable to log in to Ubuntu server 10.04 after trying to join Windows domain

I was trying to join our Ubuntu 10.04 server to the Windows domain and I ended up editing the pam.d configuration files. My aim was to have domain users log into the Ubuntu server with their domain ...
1
vote
0answers
121 views

External HDD read/write permission changing from a cron job

So, I run an overnight python script that runs a backup of our web data in the /var/www directory, then moves the backups to an external HDD in /media. The script in scheduled in the sudo crontab ...
5
votes
3answers
11k views

How to mount/recover data on a disk that was part of a mdadm raid 1 on another machine?

Some background The disk itself was "worked on" by a friend and is said to be still intact, undamaged and still mountable/recoverable The disk was part of a software raid 1 on Ubuntu 12.04 The other ...
0
votes
1answer
112 views

Having trouble executing a compiled C program

I am running an Ubuntu v10.04 through VirtualBox. To test the persistence of files I create in the virtual machine, I wrote a very basic C program. When I shutdown the virtual machine and restart it, ...
7
votes
3answers
2k views

“Unable to resolve hostname” - how to cleanly change hostname without rebooting

At work, I work on a small website using Ubuntu servers hosted on Amazon EC2 instances. We have two webservers, and at any given time one of them is 'live' and one is 'testing', but when we've got our ...
5
votes
3answers
9k views

How to find out if Ubuntu is using DHCP (Ubuntu 12.04 LTS GUI)

How can I find out if my IP address is DHCP, Fixed or Dynamic? I need to tell my network administrator what the IP address is, that my Virtual Machine is using. I know the numbers, but I don't know ...
4
votes
1answer
11k views

Suddenly, I Can't login with correct password (greeter & tty)

This might be a duplicate of other password related questions but it's somehow eccentric. I have 3 accounts in my Ubuntu 12.10 system (one standard and two administrators). One of the administrator ...
0
votes
3answers
214 views

Is there a difference in resource use/requirements between Ubuntu and Debian versions of Linux Mint (under the same DE)?

I intend to use Linux Mint on a RAM/1GB laptop. I'm used with Xfce and LXDE and I see that both Linux Mint 14 Nadia and Linux Mint Debian have Xfce versions. Is there a reason to prefer one to the ...
11
votes
5answers
14k views

How do I set up dual monitor wallpaper (Ubuntu/NVIDIA)?

On Ubuntu 10.4 with NVIDIA drivers I have dual monitors setup with TwinView. How do I configure a single wallpaper to span both monitors? Right now the same wallpaper is replicated on both monitors. ...
1
vote
1answer
338 views

Graphics fuzzy in Ubuntu 12.10

I am new to Linux and Ubuntu. Having just installed 12.10 I notice that I get fuzzy text and icons that change when I move my mouse over them. See picture below as an example. What could be wrong and ...
2
votes
1answer
1k views

Upgrade matplotlib to 1.2 or 1.3

I am trying to upgrade my python matplotlib but for some reason I can't get it to upgrade. I originally installed matplotlib with: apt-get install python-matplotlib which was fine. However it ...
2
votes
1answer
238 views

Why does my laptop suspend twice/thrice?

The awesome WM doesn't suspend automatically when closing the lid, so I followed some instructions to get it working. I simply added a file /etc/acpi/local/lid.sh.post with the following contents: ...
4
votes
3answers
255 views

Change default search name

My Ubuntu12 server VM is receiving its IP address from an DHCP server (actually my WLAN router called Fritz Box). Hence all domain names are resolved to machinename.fritz.box. The reason seems to be ...
10
votes
2answers
636 views

Driver is sometimes loaded, sometimes not

I was assigned an Ubuntu desktop with some stuff already on it. I did not reformat it, but attached a mini-PCI wireless card over a PCI to mini-PCI adapter. I manually built the madwifi driver and ...
0
votes
2answers
152 views

Lock folder when running cron

I am setting up my first cron on a Ubuntu Desktop system. I was curious to know if there is a way to lock a folder before a cron is ran and how to set it up? I am following this article. I am just ...
1
vote
1answer
293 views

bash autocomplete not working, does not 'complete'

I my bashrc. I have a bash completion for the command scp implemented as follows function _scp_complete { COMPREPLY="" COMPREPLY+=( $(cat ~/.ssh_complete ) ) COMPREPLY+=( $( find . ! -name . ...
1
vote
2answers
65 views

How to stop apt from uninstalling the packages while updating

I using apt in terminal to install an update. When i used apt-get -f install it showed 0 upgraded, 7 newly installed, 428 to remove and 3 not upgraded. 4 not fully installed or removed. Need to get ...
1
vote
3answers
141 views

Transferring access privileges from root to regular user

I log in to Ubuntu with the username student. There are some directories only the root user is allowed to access, for example /var/lib/mysql, (I know I can use sudo to access it but it is not what I ...
3
votes
1answer
450 views

PPTP with dhcp only for clients

I have a local network at home with a router and a small server. The router manages the local network (DHCP, etc) but does not support PPTP. On the server (Ubuntu 12.04) I set up pptpd and this is ...
3
votes
2answers
15k views

Auto running bash script on login

I wanted to make a script which ran automatically on login so I put it into the file ~/bash.profile, but it didnt run. When I put it in bashrc, it ran on opening a terminal. What I was doing in the ...
5
votes
1answer
704 views

What fast UI mechanisms for page scrolling exist for desktop Linux users?

On Windows, most programs with large, scrollable text containers (e.g. all browsers, most word processors and IDEs) let you press the middle mouse button and then move the mouse to scroll. This ...
4
votes
2answers
424 views

What happens when a hard drive fills up?

What happens when a hard drive gets full with Linux running? Does it lock the system? Or something else, or nothing happens? I am using Ubuntu Linux.
0
votes
2answers
713 views

What would be the RHEL package corresponding to build-essential in Ubuntu?

I know how to list available packages from the repos and so on, but how can I find a list that matches up equivalent meta-packages, such as the build-essential. Is there such a thing and if not what ...
5
votes
2answers
9k views

Ubuntu Server Continuously “goes to sleep”

I am running a web server at home using Ubuntu 11.4 (maybe? I can't 100% recall) on an older AMD 2400+ desktop with 1 or 2 GB of RAM. Sorry I can't recall the details 100%. Anyway, I have a KVM ...
0
votes
1answer
317 views

How should I partition my hard drive?

Xubuntu 12.10 XFCE with Greybird theme Hello, this is my GParted screenshot: Could anyone please give my any advice on how to make changes to have more space available for use in Linux? Let's ...
6
votes
1answer
2k views

How can I make this daemon/init run as a non root user?

I have an init script to kick off a daemon. The problem is it runs as root. I would like it to run as a user called "deploy". Ubuntu 12.04 #! /bin/sh # File: /etc/init.d/unicorn ### BEGIN INIT ...
1
vote
2answers
308 views

Install Ubuntu for Android

Canonical has an item on their site called Ubuntu for Android. This is a special distribution of Ubuntu which integrates with the Android system. Their website mentions that it is specifically ...
2
votes
1answer
165 views

How to figure out GRUB2's menu output

I have just updated a remote machine which is running Ubuntu Server 12.04. I have only access through SSH and now it's asking for a reboot. I'm guessing a new kernel was installed. I need to make it ...
3
votes
1answer
144 views

Issue when setting a default path in BASH

I have a BASH scripting question. I'd like the mention that I am new to BASH scripting; however, I am not new to programming. I am developing a simple BASH script to watch a given compass project. My ...
1
vote
2answers
236 views

Another package being selected instead of what I am trying

I am trying to install dhcp3-server,but it is instead selecting isc-dhcp-server and its not working as per my expectations. Please help. Reading package lists... Done Building dependency tree ...
1
vote
2answers
662 views

How to boot xenomai on ubuntu 10.04?

I install xenomai by sudo apt-get install xenomai-* It installed dctrl-tools libxenomai-dev libxenomai1 linux-patch-xenomai xenomai-doc xenomai-runtime. But when I check /boot/grub/grub.cfg, it ...
2
votes
1answer
253 views

Unison can't synchronize Dropbox configuration (socket files)

I'm using Unison to synchronize my home across several computers, and I've addressed everything but this. The Dropbox configuration is partially skipped, and as a result Dropbox thinks there is no ...
1
vote
1answer
350 views

Display dialog from pam_exec environment at login?

I'm using pam_exec to do some root tasks. They take some time, and I'd like to tell the user to wait a moment. I'm doing the tasks there, and not later, because I need: Root permissions To rsync ...
5
votes
3answers
1k views

Installation date of Ubuntu

How can I determine when Ubuntu was installed in my computer? There was a different question posted here, but none of them is helpful.
3
votes
1answer
157 views

mpirun with ssh and X11

At present we're trying to write a program which uses mpirun to launch multiple X11 clients. If the programs are text-only, then using the following command, we can run proceses on a list of ...
1
vote
0answers
186 views

Asterisk server problems with firewall settings [closed]

I replaced an IVR machine for incoming call after going down. It is running asterisk 1.4.23 on ubunutu 10.04 I decided to put the server behind iptables because my server was under brute force attack. ...