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
1answer
64 views

Why does aptitude refrain from upgrading [UNAVAILABLE] packages?

Why does aptitude refrain from upgrading in the example below? Is it solely because existing package metadata is not in cache anymore? If package is marked as [UNAVAILABLE], does it mean the only ...
1
vote
0answers
217 views

Google Chrome on Ubuntu 12.04 Freezes My Laptop After Fifteen Minutes of Use

I will have about five tabs open and it is fast. However, after about fifteen minutes to thirty, my Chrome will completely freeze my laptop and I'll have to hold the power button to shut-down and ...
7
votes
1answer
7k views

How to permanently disable a network interface?

I've brought down a network interface with ifconfig wlan0 down, but every few hours or so, the wlan0 interface comes back up and I can't figure out why. I don't restart the machine, never changed ...
1
vote
0answers
95 views

Why is Apache not respecting aliased directories?

In ssl_default.conf where Apache serves as an SSL-adding proxy for Django Gunicorn, I have: ... Alias /admin/static/ "/usr/lib/python2.7/dist-packages/django/contrib/admin/static/" ...
2
votes
0answers
284 views

Battery issues on a Lenovo Ideapad Z460 running Ubuntu 13.10

I've been using Ubuntu 13.10 on my Lenovo for more than 5 months without a problem. Yesterday I disconnected the AC adapter to take the laptop with me to the couch and it simply shut down. So I ...
0
votes
0answers
116 views

Paravirtualized disk for Xen using libvirt?

I'm trying to use libvirt to create a paravirtualized xen domain. Here's the xml file that I'm passing to virsh --connect xen:/// define: <domain type='xen'> <name>xenguest</name> ...
1
vote
2answers
82 views

Download the file from either of two machines using SCP?

I have a below bash shell script which I am running from machineA and that shell script will try to download a tar file from either of these two machines machineB and machineC and put it in ...
12
votes
1answer
2k views

How do I make my laptop sleep when it reaches some low battery threshold?

I'm using Ubuntu, but I have i3 as my window manager. Under i3, when my battery reaches 0%, the computer will just abruptly shut down, no warning or anything. Is there a simple script or ...
1
vote
2answers
3k views

How can I install tcl/tk8.6 on Ubuntu 12.04?

How can I install tcl/tk8.6 on Ubuntu 12.04? The default repositories for Ubuntu 12.04 include tcl/tk8.5 which I have installed but I need the latest version. Is there a PPA that I could add which ...
1
vote
0answers
922 views

Graph is too large for cairo-renderer bitmaps Error

Im trying to use pyreverse to generate images of UML diagrams for a project source code. When I run the pyreverse command and specify to generate .png images, it runs and then after a while, it shows: ...
1
vote
1answer
90 views

MAC Address changes after dirty shutdown

I'm having a strange issue which I originally thought was tied to the fact that I created an Ubuntu system from an image of another. However, after reinstalling Ubuntu from scratch I am getting the ...
1
vote
1answer
113 views

I have a 24 Gb disk and a 1Tb Hard Disk How do I get Ubuntu to install on my 24 GB and my home dir on the 1TB

I used the auto installer for Ubuntu on my 24GB drive my disk space looks like this. kipke@ThePad:~$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 16395648 3936132 ...
1
vote
1answer
3k views

/etc/environment not working

I am using Ubuntu 12.04. Recently, I accidentatlly removed python, causing a huge number of packages to be uninstalled. I reinstalled them, but now I am having problems. $ echo $PATH ...
1
vote
2answers
294 views

“Unable to connect to X server” after TTY login

I'm using Ubuntu 13.10. Whenever I login on the command line (tty1-tty6) I get the following output: Last login: ... Welcome to Ubuntu 13.10 ... Unable to connect to X server Unable to connect to X ...
8
votes
5answers
7k views

Can't apply chmod to a file

I have a file on my HDD, cd /media/celebisait/5AC69788C6976355 There is my file called myFile.tar.gz. I do als -l, -rw------- 2 celebisait celebisait 1387745311 Jun 6 2013 myFile.tar.gz ...
-2
votes
3answers
411 views

Configure eth1 to stop using dhcp [closed]

How do I configure eth1 (via terminal commands) to stop using DHCP. That is, if I had the ability to use the GUI, I would select the MANUAL setting.
2
votes
0answers
177 views

VPS freezes every few days (rcu_sched_state detected stall on CPU x)

Background: I have an Ubuntu 12.04 (64bit) in Xen virtualization environment. 1 GB RAM, 1 processor. Every few days I get the following error message: rcu_sched_state detected stall on cpu 0 ...
3
votes
3answers
2k views

How to limit ssh access for localhost only?

I need to forbid ssh access (except localhost) for specified user. So. ssh localhost should work. ssh hostname from outside should not work for that user. All other users should work as usual.
4
votes
2answers
1k views

tail -f, but with line numbers

I'm trying to see how many times foo bar appears in /var/log/foo.log within an arbitrary amount of time on a remote server, but nothing that I've tried so far has worked. I've already got a timer ...
2
votes
1answer
802 views

PHPStorm changes group when saving file

When editing a file with PHPStorm, the group is changed from www-data to my local user. I've added my local user to the www-data group, and if I edit the file with gedit/vim/etc. the group stays as ...
2
votes
1answer
560 views

Decrypt second encrypted LVM during headless server boot?

I've followed this question https://unix.stackexchange.com/questions/5017/ssh-to-decrypt-encrypted-lvm-during-headless-server-boot and successfully remotely decrypted my root drive. However, I have a ...
2
votes
1answer
213 views

Difference between .changes and .dsc files? [manually updating package]

What is the difference between .changes and .dsc file? Debian Policy says about required field set, but misses the essence and the meaning on the whole. Why have two (actually there are three) when ...
3
votes
1answer
469 views

How can I figure out which pty's are from which qemu?

I'm running qemu's like this: $ sudo qemu -boot d -m 1024 \ -netdev tap,id=tap0 \ -device virtio-net-pci,netdev=tap0,id=vth0 \ -drive file=ubuntu.iso,media=cdrom,cache=none,if=ide \ -monitor pty \ ...
1
vote
0answers
119 views

How to use nVIDIA drivers on Ubuntu 12.04? [closed]

I am using Ubuntu 12.04 x64 on my ASUS G75-VW with nVIDIA GTX670M. I have installed nvidia drivers via terminal and additional drivers, terminal says nothing to upgrade, additional drivers shows that ...
2
votes
1answer
439 views

Specific directory permission for one user using sftp

My web server structure looks like this: /Home/User/Public_Html/Website_one /Website_two /Website_three/Directory_one ...
0
votes
0answers
70 views

Have to run Repair-Boot after booting windows

I have grub installed as my boot loader for dual booting windows 8 and Ubuntu. It works fine as long as I'm only booting Ubuntu but as soon as I boot windows, something stops working. The next time I ...
2
votes
5answers
5k views

How do I resize a partition in Ubuntu linux without losing data?

I ran out of space in my on the drive only to find that there was another unformatted partition in the system that is available. I now want to resize the current partition to take in the empty ...
2
votes
1answer
808 views

How to properly setup web server directory permissions

I'm lost with this, hopefully I can find some help here: I have Ubuntu 12.04 LTS webserver. For example I have user "myuser". There is a public directory which is my web root. I chowned it and all ...
0
votes
1answer
4k views

Ubuntu: how do you swap eth0 and eth1? (Ubuntu 13.10 server in a VirtualBox VM)

I installed Ubuntu 13.10 server (64-bit) in a VirtualBox 4.3.6 VM (Windows host) with one NAT adapter assigned. The only non-default software selected during installation was OpenSSH. So far so ...
0
votes
0answers
25 views

How to restore desktop configs after an intallation

I have recently installed PgAdminIII and Geany via Ubuntu Software Center, but this changed my desktop configurations. It no longer looks like it did. I am using Pinguy OS 12.10 based on Ubuntu ...
1
vote
0answers
89 views

Linux Source Routing with one gateway

I've a Linux box which have IP 10.1.1.100/24 on eth0 with gateway 10.1.1.1 and as well as 20.1.1.1 on eth0:1 and 20.1.1.2 on eth0:2 . Is there any way that I could communicate to a remote machine ...
4
votes
2answers
2k views

Reasons for rsync NOT transfering all files?

Does anyone know common reasons for such a large deficit difference in the number of files transfered when backing up my LARGE home directory using rsync on a ubuntu 10.04 LTS setup.. machine is ...
2
votes
1answer
27 views

ubuntu groups not returning all my groups

when I run groups in ubuntu without my username delliott@delliott:/var/www$ groups delliott wheel it returns two groups I'm in. when I do delliott@delliott:/var/www$ groups delliott delliott ...
1
vote
1answer
2k views

How to make Wi-Fi work on Dell Inspiron 14R laptop running Ubuntu 12.10?

I have seen that on most Dell laptops running Ubuntu 12.04 or 12.10, the Wi-Fi doesn't work. It appears the reason for this is the fact that Dell laptops have Broadcom wireless cards. How to make it ...
1
vote
2answers
372 views

Battery full notification

I am using a Linux distribution, I didn't get any notification even after the battery is full. Is there any custom script to run battery charge status and output a sound notification when the ...
0
votes
2answers
2k views

Samba shares - Cannot access with users

I have installed a Samba server on Ubuntu Server 12.04 so I can store files there from my desktop or laptop or whatever. /etc/samba/smb.conf: #======================= Global Settings ...
8
votes
2answers
2k views

l, ls & la — what are the differences, and are there more of these commands?

So, through typing several commands I've found that there's not only ls, but l and la too. There doesn't appear to be any man entries on Ubuntu 12.14. They all appear to do similar things with minor ...
1
vote
1answer
2k views

mei 0000:00:16.0: init hw failure

When I boot up I get the following errors: mei 0000:00:16.0: init hw failure. mei 0000:00:16.0: initialization failed. (they don't prevent the bootup, I'm just curious as to what they are and if ...
3
votes
2answers
365 views

How do I disable the left CTRL on Ubuntu 13.10?

How do I disable the left CTRL on Ubuntu 13.10? Actually I can do it already. All I need to run is xmodmap -e "keycode 37 = " The problem I have is this only works if I run it from the terminal ...
9
votes
5answers
16k views

delete line in vi

How can I delete a line in VI? Here what I am doing right now: Open up the terminal alt + ctrl + t vi a.txt I move my cursor to the line which I wan to delete, then what key-combination is should ...
5
votes
2answers
269 views

How to control the time that users spend on

I need a solution that allows me to control the time that each user spend on the computer, excluding idle time (some kind of parental control). I've tried timekpr, but it doesn't work on Ubuntu 13.10. ...
3
votes
1answer
221 views

Installing openssh-server after Rescue Disk boot

I tried to help a friend with hard drive boot problems. I first asked her to make a rescue disk (Ubuntu 12.04.3), and boot from it. Then I asked her to open a console (Alt+F1) and use sudo to become ...
0
votes
0answers
197 views

error when apt-get install nfs-kernel-server

I'm now using the command sudo apt-get install nfs-kernel-server to make my Ubuntu 12.04.2 LTS server support NFS. But it reports this error: Need to get 559 kB of archives. After this operation, ...
2
votes
1answer
2k views

Can't login to Root User

I just installed Ubuntu 13.10 on VMware. I am trying to login to root from my user account using su command but unable to login as Terminal is saying the following : su: Authentication Failed
3
votes
1answer
79 views

Mail delivery problems

Once upon a time there was a server. Lets call it zzz.com, running Ubuntu LTS 10. Then, domain owner decided to create his corporate mail via Google Apps, and created account username@zzz.com. ...
1
vote
1answer
200 views

How to install latest catfish in ubuntu 10.04

I was trying to install the latest catfish from https://launchpad.net/catfish-search/+download on my Ubuntu 10.04 (need this version at the moment, nothing more recent) The version in apt-get for ...
1
vote
2answers
813 views

How do I mount my encrypted private home directory if I forgot the password?

On Ubuntu 12.04, how can I access encrypted private home directory? I forgot my root password at some point and my root home folder is locked. I am now using another account in root group so can I get ...
0
votes
1answer
507 views

Install Arch Linux alongside Ubuntu 12.04

I have a windows 8.1 on which I installed Ubuntu 12.04 (dual OS). Now I also want to install Arch Linux alongside windows and ubuntu. Please tell me the how to do this on Ubuntu. I have a gparted ...
1
vote
0answers
402 views

How to install Ruby Test to Sublime Text 2

I am quite new to Ubuntu, so I am running into some problems. I was following this tutorial to install Ruby Tests for Sublime Text 2: https://github.com/maltize/sublime-text-2-ruby-tests There is ...
2
votes
1answer
115 views

Does my VM need to be on the same LAN IP range to ping?

I have a home LAN where all internal IP addresses are in the rang 192.169.0.0-254. However, on one of those computers I have setup a CentOS VM, which currently seems to be set to 10.0.2.1. So the VM ...