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
3answers
190 views

The difference between a binary and a source package in Ubuntu/Debian?

The information below seems misleading. I am confused with the example they give that if you lose dpkg (the program that lets you handle .deb files) you can use the other commands ar, tar, and gzip ...
4
votes
2answers
11k views

Install Ubuntu from a small USB stick

I'd like to install Ubuntu (Desktop or netbook edition, preferably latest version), onto a laptop using a small USB stick. (480 MB free space.) How can I do this?
1
vote
0answers
47 views

A problem with ubuntu [closed]

I have a Dell Inspiron 1420 with Windows Vista. I wanted to install Ubuntu on it, so I burned the ISO file to a 16GB flash memory and I booted the laptop from it. I tried to install Ubuntu on the hard ...
0
votes
1answer
214 views

How should I change root@mydomain when I send from mail() php function?

I've installed sendmail in Ubuntu as below: apt-get install sendmail Then I sent an Email to test, I received Email from root <root@mydomain>. I checked the content of /etc/aliases, but it ...
0
votes
1answer
66 views

Change packages from country local to global

I want to reinstall all packages in Ubuntu 13.10 that were downloaded from my country local repository to change them to global repository versions. I can work on system that is completely English, so ...
10
votes
4answers
11k views

Why doesn't docker container start at boot w/ upstart script on Ubuntu 12.04?

Using instructions for Docker auto-start on Linode VPS running Ubuntu 12.04 and Docker 0.8.1, the specified container does not start on reboot. Once booted, I am able to ~$ sudo start [service-name] ...
2
votes
2answers
736 views

How to increase the timer before drive spins-down?

I use Ubuntu 12 beta on a Lenovo Z575. I noticed that the disk spins down a few seconds after the last operation. When I am working, e.g. in the vim and write quite often, it spins-up and -down ...
1
vote
1answer
437 views

What Causes Maintenance Shell Segmentation Fault?

I'm running Ubuntu 14.04 Trusty Tahr in a Microsoft Hyper-V virtual machine on Windows Server 2012 R2. I've stopped the VM, replaced an EXT4-formatted virtual disk volume (/dev/sdb) with a new ...
4
votes
2answers
5k views

rsync mkstemp failed Invalid argument (22) with davfs mount of Box.com cloud

I mounted Box.com cloud storage using davfs according to these instructions. I mounted my Box.com account under /home/me/Cloud/Box I can access the mounted filesystem via Dolphin as well as via the ...
1
vote
0answers
82 views

unable to create key file. ubuntu installation error

I am trying to generate a preseed file for automating the Ubuntu installation process. I want full disk encryption with the help of preseed having the pass-phrase included in the preseed. I wrote ...
0
votes
1answer
204 views

Can I create a bootable distribution backup

I'm interested in trying out a couple of distributions, but for extended periods of time (so using a LiveCD is not really an option). However, I would like to create a backup of my current ...
0
votes
2answers
259 views

How to checkpoint using CRIU on ubuntu 14?

I tried to install CRIU in ubuntu 14.04 Desktop. When I used $ sudo ./criu check , it showed Error (cr-check.c:268): fdinfo doesn't contain the mnt_id field And when I tried to checkpoint ...
3
votes
1answer
79 views

Adding a label to start-stop-daemon service in process list

I have a bunch of redis service instances, and I would like to add a label to them in the output of the ps command. Currently I see: $ ps aux | grep redis root <snipped> ...
1
vote
1answer
65 views

Make a deb package that installs data under /var/www/data

I recently set up a PPA on Launchpad for distributing my web application. Since it's a server-app, I need to put my data into /var/www/html which apparently is not wanted by Lintian ...
1
vote
0answers
112 views

Switch screens in xorg.conf without reloading X

I have an ARM device running ubuntu and the screen set up using xorg.conf as below: Section "Device" Identifier "Card0" Driver "fbdev" Option "fbdev" "/dev/graphics/fb2" ...
1
vote
0answers
216 views

Disable CPU scaling with U 1404

I know there are a lot of things about this topic but I couldn't find anything not older than 4 years. As the stuff develops so fast I hope it is fine to ask again a few years later. What is ...
1
vote
4answers
10k views

Kill all process of users in Ubuntu?

How to kill all process of one user? When I make ps aux I obtain a list of process with several users, and I want to kill all process of user name1 for example! What's a command to do that in Ubuntu? ...
4
votes
3answers
4k views

How to play a G2M4 encoded .wmv file (Ubuntu)?

I was using Ubuntu 13.04 (end of life) - now using 13.10. I have this .wmv video file. When I try to play it on vlc, it shows the error below, there is no video but the audio is working properly: No ...
0
votes
2answers
104 views

Are there distros with ptrace_scope set to zero by default?

I wanted to use ptrace on a recent version of Ubuntu to inspect the memory of any other process running under the same OS user. However, I quickly stumbled upon Operation not permitted After a ...
1
vote
0answers
220 views

Ubuntu Trusty Preseed Error

I have a preseed file that installs Trusty but the install is giving me this error: Jul 22 17:52:42 in-target: Setting up sysv-rc (2.88dsf-41+deb7u1) ... Jul 22 17:52:42 in-target: info: Reordering ...
1
vote
1answer
542 views

Why doesn't my supervisor daemon start on reboot?

I have added a crontab entry via crontab -e for the current user: @reboot supervisord -c /etc/supervisord.conf Yet after the reboot, supervisord demon is not running. I need to run the command ...
0
votes
1answer
130 views

Command set in /etc/rc.local on Ubuntu 13.04 is ignored

I am trying to set my Ubuntu 13.04 machine in a way that, upon reboot, an instruction is executed and a program is launched with specific parameters, REGARDLESS of whether a user is logged on to the ...
4
votes
2answers
112 views

sed regex issue

I'm trying to replace a string in a file: $RELEASE = '1234'; The whitespace between RELEASE and the = symbol could be either spaces OR tabs. The quotes around the version number could be either ...
2
votes
1answer
120 views

What to do when you removed execute permission from some system binaries or libraries?

It seems I removed executability from system binaries, resulting in loads of Permission denied. Do I have to force reboot into host's rescue mode or is there something else I can do while I'm still ...
1
vote
2answers
334 views

No eth0 after HD transplant

After moving the hard drive of a makeshift server to another compatible hardware (64-bit, same processor "generation", laptop->desktop) configuration, networking fails to initiate. Specifically: ...
3
votes
0answers
195 views

windows 7 reinstallation killed grub

I have been running dual boot windows7/ubuntu. Recently I reinstalled windows 7, and I no longer have the option to boot to ubuntu. I would like to be able to get my dual boot working again or at ...
5
votes
1answer
207 views

Openbox pipe-menu script error

This is the weirdest thing. The script works when run from the shell with no problems. When I run it as an Openbox pipe-menu I get the error "Invalid output from pipe-menu". After playing around with ...
1
vote
2answers
154 views

Windows and Ubuntu dual boot

I have installed Ubuntu 14.04 on a partition. Now I have Ubuntu and Windows 8.1 for dual boot. I followed this tutorial to install Ubuntu. Now when I switch on the computer I have the following ...
1
vote
1answer
42 views

How to provision software across multiple laptops [duplicate]

I've got a bunch of laptops for my classroom and I'm using Ubuntu. I want to be able to add/update/remove software across them as easily as possible and I'm not sure how to go about it. I was ...
3
votes
2answers
603 views

Why can I access to my C: or D: drives from Ubuntu?

Why can I access to my C: or D: drives from Ubuntu when I install Ubuntu 14.04. Why does this happen?
2
votes
1answer
153 views

Does pgrep output ever include the parameters supplied to the process?

The snippet below (from an existing script) is used to check the xvfb processes and whether they are listening on a specific port: my_list=`pgrep -u $CurrentUserID -fl Xvfb | grep :${XVFBPORT}` ...
1
vote
0answers
373 views

nmcli freedesktop DBus warnings and errors

As soon as I do nmcli con up id <ESSID>, I experience some warnings/errors: ** (process:4841): WARNING **: async_got_type: could not read properties for ...
1
vote
1answer
51 views

Install Ubuntu partitions

I am a completely newbie. I want to install Ubuntu 14.04 in my laptop on which windows 8.1 is installed. I have read in some sites that I have to use Gparted or similar tools, but there are also sites ...
1
vote
2answers
1k views

UFW is blocking DNS

I am configuring the security in my server. For easier the manage at the firewall, I installed the UFW. I did some settings in the UFW and I allowed some ports. Therefor when I enabled it the DNS ...
10
votes
3answers
2k views

How do I log into my Linux laptop if I have forgotten both the login and password?

How do I log into my Linux laptop if I have forgotten both the username and password?
-3
votes
1answer
102 views

Writing a Script to Kill a Process for a User? [closed]

List the running processes for that user. Confirm with the system administrator before killing the processes. Kill the processes after confirmation.
1
vote
2answers
364 views

vnstat not updating

I installed vnstat on my Ubuntu 14.04 server to track my internet usage (I have a limited monthly transfer). The database never updates, however. I've tried uninstalling/reinstalling, but that doesn't ...
1
vote
2answers
2k views

Remove All NVIDIA Files

Background: I bought an NVIDIA graphics card and tried to install its driver. Somewhere along the way I messed up and now I'm running my computer on Cinnamon backup mode (I have Ubuntu but I removed ...
1
vote
1answer
84 views

How do I compile source into the kernel?

I want to add and compile my custom application code into my kernel. How should I add my .c and .o files into my kernel 'bin' directory and compile them? I made a hello.c and hello.o file and I want ...
4
votes
3answers
2k views

How do I share an internet connection through USB?

I have two Linux boxes. One is running KNOPPIX and the other Ubuntu. I have only one wifi dongle between them, and only one of them has an Ethernet port. They both have free USB ports however. I ...
1
vote
1answer
528 views

Cross compile a raspberry pi kernel

I've been trying for the past few hours to cross compile a rpi kernel on my Arch Linux distro and then my Ubuntu distro when that failed, I received similar errors for both attempts. I'm currently ...
2
votes
1answer
117 views

Unable to install handbrake on Ubuntu 13.10 via PPA

I'm trying to install handbrake on my system Ubuntu 13.10 via PPA but not able to do so. I followed this website. I ran the below commands: $ sudo add-apt-repository ppa:stebbins/handbrake-releases ...
2
votes
1answer
54 views

Traffic segmentation for a particular subnet

Two questions is it possible to segment traffic for a particular subnet to use an interface and at the same time receive traffic from a different subnet via the same interface? This is the scenario. ...
4
votes
3answers
1k views

Mathematica makes no sound under Ubuntu 11.04

After waiting for days for my license I now got the opportunity to install Wolfram Mathematica 8 at home. However, neither the Play nor the Speak functions are doing anything as it seems that ...
4
votes
1answer
100 views

Unable to synchronize the clocks on a dual boot system

A have a dual boot system: Ubuntu and Arch. Ubuntu was installed first. A while after installing Arch, I've set up its clock because it was 8 behind my current time zone (my time zone is gmt +8). I ...
1
vote
0answers
156 views

Multiple Windows 7 installations from Grub

I have the following disk configuration: Disk /dev/sda: 750.2 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors Units = sectors of 1 * 512 = 512 bytes ...
2
votes
0answers
362 views

Reading from /etc/environment with sudo

Using Ubuntu 14.04 LTS, I'm having a problem trying to read environment variables from /etc/environment when using sudo env. Basically, they are not being displayed. When I do just env, these ...
3
votes
1answer
95 views

locate java source code in jdk7

I have installed Jdk7 in Ubuntu 14.04 and it is successfully configured and I can use java libraries in code. The problem is that I am trying to locate java source code, but not able to find the jar ...
0
votes
2answers
6k views

Changing root password does not change sudo password

I'm trying to change the password that get's asked when doing sudo. I'm in Ubuntu. Doing 'sudo passwd' or 'sudo passwd root' does give me the two new password questions, and it successfully changes ...
3
votes
1answer
6k views

Installing Ubuntu/Debian on 16 GB SD Card

Is it possible to install Ubuntu/Debian on my 16 GB SD Card ? Do I just during installation process chose my SD Card partition and install it (that doesn't work if we have USB) or do I need to install ...