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
2answers
50 views

parse one field from an JSON array into bash array

I have a JSON output that contains a list of objects stored in a variable. (I may not be phrasing that right) [ { "item1": "value1", "item2": "value2", "sub items": [ { ...
2
votes
1answer
77 views

userns container fails to start, how to track down the reason?

When creating a userns (unprivileged) LXC container on Ubuntu 14.04 with the following command line: lxc-create -n test1 -t download -- -d $(lsb_release -si|tr 'A-Z' 'a-z') -r $(lsb_release -sc) -a ...
2
votes
1answer
34 views

files saves to ntfs drive adhere to umask, ext4 does not

I have 2 storage drives, 1 is ntfs and the other is ext4. Both mounted in /media as Storage_1 and Storage_2 I've run chmod -R user:user /media/Storage_* I've tried putting umask=022 in ...
2
votes
1answer
37 views

Unable to change ulimit setting

I edited /etc/security/limits.conf to have root hard nofile 20000 root soft nofile 10000 And added session required pam_limits.so to /etc/pam.d/common-session and ...
2
votes
2answers
87 views

Minimal install of Ubuntu

I'm fairly new to linux but I want to install it on my chromebook with crouton. Is there a way to install something like lubuntu or xubuntu without any of the software normally bundled? For example, I ...
2
votes
1answer
101 views

Mounting alternate devices (with different mount options) at the same mount point

I have a server (running Ubuntu 14.04) that has a hot-swap drive bay. I typically use the hot-swap bay to mount one of a bunch of loose hard disks that I shuttle large scientific datasets around on. ...
2
votes
1answer
63 views

Ubuntu init script failed - trying to find out more detail about the error

My /var/log/boot.log shows this under Ubuntu 14.04: ... * Starting servicename <br> chown: invalid user: ‘username’<br> No passwd entry for user 'username'<br> * Starting ...
2
votes
1answer
259 views

Installing Fedora with windows 8

I have a laptop with windows 8 and I installed Ubuntu and it is now dual booted. I want to replace the Ubuntu with fedora. When creating the partitioning the fedora gives me error : For a UEFI ...
2
votes
1answer
214 views

mounting/converting v2i image in linux

Is it possible to mount a v2i image in linux? Is there any mount.v2i program? Or is there any convertion tool to convert v2i image to something else like iso ? How can i Mount/Convert a v2i image? ...
2
votes
1answer
69 views

fstab group option?

Environment Ubuntu 14.04 LTS Desktop 64-bit Problem only members of group_name should be allowed to mount,unmount and read,write,execute drive_name Potential Solution edit /etc/fstab add ...
2
votes
1answer
85 views

network interface counters not working?

I just built a router and installed it with Ubuntu Server 14.04 LTS. The system has two NICs, one for the internal network and one for the external (p3p1) network. I'd like to monitor external ...
2
votes
1answer
28 views

Virtual console pauses video and audio playback running in KDE

In Kubuntu 14.04, when I switch to one of the virtual consoles by pressing CTRL-ALT-F1...F6 all audio and video playback running in the GUI gets interrupted and continues only when going back to X. ...
2
votes
1answer
13k views

How to use Wireless Network in Virtualbox?

I'm trying to enable Wireless on VirtualBox in my Ubuntu 14.04. I use a Kali Linux as the guest OS, but this OS not show the wi-fi when I connect it. After starting the guest OS, it still does not ...
2
votes
1answer
700 views

CRT monitor refresh rate

I have Ubuntu14.04 64bit installed on computer with a CRT monitor. In Windows I could set the monitor's refresh rate to 85Hz. But Ubuntu's xrandr reports that maximum is 60Hz for 1024x756. Is there a ...
2
votes
1answer
969 views

kill pid is not working? [duplicate]

This is pretty weird now. I am trying to kill a process by using its pid but it is not working at all. root@machineA:/home/david# ps aux | grep modelling david 5075 0.0 0.0 1285420 29404 ? ...
2
votes
1answer
173 views

How do I set cron to run on background?

I am on ubuntu 12.04 and following this tutorial. I want to setup cron to run in the background but I don't have a chckconfig in sbin so I can't run sudo /sbin/chkconfig crond on I am fairly new to ...
2
votes
1answer
85 views

kernel event listener

I wonder if there is something similar to an event listener in UNIX that a program can subscribe to? Specifically I want to know: Start and end times of a user session Start and end of the ...
2
votes
1answer
288 views

bring up ubuntu desktop x11 forwarding

I've been using rhel for a few years and when I want to bring up the desktop over x11, I use gnome-session. I'm new to Ubuntu and I was wondering what the equivalent of gnome-session was for Ubuntu? I ...
2
votes
1answer
952 views

Ubuntu - Booting black screen with purple border

After the installation of Ubuntu, when I try to boot a black screen with a purple box appears without let me see the GRUB menu. Then the screen becomes black and Ubuntu starts booting. Ubuntu is the ...
2
votes
1answer
39 views

Edit Ubuntu ISO

Maybe some of you know how to add apps to an Android ROM before it is installed (put them in /system/app). So I wanted to know if there is any way to configure an Ubuntu ISO this easy. I want to add ...
2
votes
1answer
4k views

Ubuntu 14.04 hard drive partitioning help wanted

I'm in need of some assistance with manual partitioning from the Ubuntu 14.04 install GUI. I'm trying to do a fresh install of Ubuntu 14.04 desktop. I have a 60GB SSD as that I want all my OS files ...
2
votes
2answers
828 views

Why can't I create an LVM RAID1 or mirror volume?

I'm running Ubuntu 12.04 and have just added 2 new hard drives into my server. The idea being that I would create a volume group that would include them and create a bunch of logical volumes on them ...
2
votes
1answer
109 views

SSH tunnelling outgoing traffic shaping

I am using an OpenSSH server for a client app that uses the traffic forwarding, SSH tunnelling and some users are consuming an extraordinary amount of bandwidth. Is there a way to shape the traffic on ...
2
votes
1answer
148 views

Linux Ubuntu from one architecture to another

I have an ubuntu installation (amd64) on a SSD "A" and I copied the whole harddisk to another SSD "B" , (GPT, sda1=BIOS Boot partion , sda2 = ntfs (windows) sda2=ext4 (ubuntu), sda3 = linux swap) I ...
2
votes
2answers
269 views

Unattended linux installation (Debian/Ubuntu)

I want to make an Debian or Ubuntu unattended ISO, for my FOG server - to boot up system installation via LAN. I've searched over the internet but I didn't found nothing, which will be adequate for ...
2
votes
3answers
673 views

How to use rsync or scp to efficiently copy the files from machineB and machineC to machineA?

I am running my shell script on machineA which copies the files from machineB and machineC to machineA. If the file is not there in machineB, then it should be there in machineC for sure. So I will ...
2
votes
2answers
137 views

is there a audit tool to track package installs and kernel version

I'm currently diagnosing a problem that started about a week ago on my laptop (running Ubunutu). The exact issue is not relevant though. Because I was already running several locally built kernel ...
2
votes
2answers
5k views

“sudo service vsftpd” returns “Unknown job: vsftpd” [closed]

I installed vsftpd on ubuntu 14.04 and when I want to stop or restart vsftpd service this message showed and nothing happened in service status! root@ali-lap:/home/ali# service vsftpd restart stop: ...
2
votes
2answers
418 views

Strip specific option from a response in dhclient

I aim to prohibit dhclient from updating my NTP config with servers received via DHCP, as it is the default on Debian/Ubuntu. However, my DHCP server ignores the list of requested options (from the ...
2
votes
1answer
186 views

Wireless network AND dhcp wired server

I have an ubuntu server, which automatically connects to a wireless network on startup. This is achieved through /etc/network/interfaces: auto lo iface lo inet loopback auto wlan0 iface wlan0 inet ...
2
votes
1answer
353 views

Creating a linux user with limited privileges for ssh tunnelling

I am following this post to create ssh tunnel to mysql. The details description of my application scenario is given in my other SOQ. I exactly followed these steps to create a user: useradd -s ...
2
votes
1answer
47 views

Load application with module load and specify a different name from the default [closed]

I am using my local workstation to run applications stored on our local cluster. To load and run an application, I normally use: module load xxx However, there is a an application on my computer ...
2
votes
1answer
2k views

How to enable two network interfaces both for internet in ubuntu12.04

My physical server A has two interfaces: eth0 and eth1. I intend to enable the two network interfaces both for internet in ubuntu12.04. I configure the /etc/network/interfaces as below: auto lo iface ...
2
votes
2answers
670 views

Difficulty with EncFS on CentOS

I'm trying to figure out encfs, but am having some difficulty. This is what I have done so far: I created 2 test folders mkdir /home/oshiro/Desktop/encrypted mkdir /home/oshiro/Desktop/decrypted ...
2
votes
4answers
230 views

How to restart python script after one second of going down using UPSTART?

I am running my Python script using upstart feature of Ubuntu so that if for whatever reason my Python script dies or gets killed, it can be restarted automatically and everything is working fine - ...
2
votes
1answer
109 views

Minimize the current width of a window in Vim

To maximize the width of a current window in Vim, we type: ctrl-w | Is there a similar alternative for minimizing a current window in Vim?
2
votes
1answer
3k views

How to uninstall BOOST 1.49 and install BOOST 1.54 in ubuntu?

I have a boost 1.49 in my ubuntu system. And I am trying to uninstall boost 1.49 and completely remove it from my system. And after that install the Boost 1.54.0 I did like this to uninstall 1.49 ...
2
votes
1answer
370 views

How to build nginx on Ubuntu with cache_purge module?

I have been trying to rebuild nginx with cache_purge module from here. I did the following and somehow the new build doesn't seem to include the module: Installed nginx Stopped it Installed build ...
2
votes
2answers
451 views

Do I need a special firewall on a personal computer

I am relatively new to Linux and was wondering about security issues. Most people agree that a virus-scanner is not useful on a linux system, but what about a firewall? I am using Debian wheezy stable ...
2
votes
1answer
374 views

Restrictions of /etc/profile in Gnome

I have an issue which bugs me for a long time. I'm using the Intel C++ compiler which includes shell scripts to set up environment variables for library paths, include paths and more. Sourcing these ...
2
votes
2answers
553 views

Ubuntu with Gnome and Openbox

I've in my laptop Ubuntu 12.04.03 which comes by default with Unity. I like Unity, and Gnome. It has a nice look, some nice apps, things frequently works nice. However I would prefer to use Openbox. ...
2
votes
1answer
371 views

Can't sudo after lock password, can I recover from that?

After setup ubuntu with default settings, It allows user to login with password, so I use passwd -l [username] to forbid password login both in ssh and console. But when I use sudo to execute ...
2
votes
2answers
3k views

How to download latest version of cmake?

I have installed cmake like this - sudo apt-get install cmake But whenever I try to compile my c++ code.. I always get the below error - CMake Error at CMakeLists.txt:2 (cmake_minimum_required): ...
2
votes
1answer
161 views

Mark packets between machines (client and router)?

Can I mark a packet on the client's OUTPUT chain and add an iproute policy on the router to route them via a specific gateway? This what I tried to do, but it isn't working. My client's mangle table ...
2
votes
2answers
83 views

How to schedule initial configuration of a system after cloning?

I want to setup a big amount of servers using cloning. After the initial image was applied, I want to run a configuration script. The cloning will be done through hard disk replication by the hardware ...
2
votes
1answer
677 views

Ubuntu 12.10 - setup a user, when ssh login gives me /etc/bash.bashrc: Permission denied

I setup a user on my Ubuntu 12.10 server named "deploy" and I believe i added the user to the sudoers properly. However, whenever I SSH into the server with this user, I get: -bash: ...
2
votes
1answer
76 views

Why gnustep-config outputs nothing for any parameter?

Regardless of what I run: gnustep-config --debug-flags gnustep-config --objc-flags gnustep-config --base-libs It outputs nothing. How would I debug this? PS: the OS details: Ubuntu 12.04.2 LTS, ...
2
votes
1answer
1k views

Environment variable for ip address

I see somewhere people use: IF_ADDRESS="$(echo "$IP4_ADDRESS_0" | cut -d'/' -f1)" to get the IP address in a network configuration script. In my system, I create a script under the directory ...
2
votes
1answer
101 views

How to install Ubuntu on a system where is already Mint and Windows 7?

I have already installed Linux Mint on Windows 7 so now I have dual boot with Linux Mint and Windows 7. They are both on diferent partitions. I have 1 free partition left. The question is how to ...
2
votes
5answers
4k views

pgModeler installation - Dependencies error

I'm trying to install the pgModeler. But I'm getting stuck. I have pgModeler at /opt/pgmodeler-0.5.2/ I have all the dependencies: Qt 5.0, Pg and the others. When I run the pgmodeler with ...