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
9 views

Dpkg env variable DPKG_HOOK_ACTION is not set in hook script

According to man dpkg I can use DPKG_HOOK_ACTION to get the current dpkg action being run in my dpkg hook script --pre-invoke=command --post-invoke=command Set an invoke hook command to be run ...
-9
votes
0answers
59 views

unix programming [closed]

Task 1 (10 marks) Code the program shown below and print the output of the program. #include <stdio.h> #include <sys/types.h> #include <wait.h> pid_t wait(int *status); void ...
4
votes
2answers
438 views

How do I run a script when I switch between keyboard layouts

I use more than one keyboard layout, and I would like to find a way to run a script when I switch between them. Is this possible? So far, I can assign a shortcut for a script like this: #!/bin/bash ...
2
votes
2answers
25 views

Are RAID formats compatible across distributions?

I'm planning a NAS/home media server build, probably with a HP Proliant Microserver. It will probably have two HDDs in RAID 1, while the OS while run from a USB drive. Question is: once I've set up ...
1
vote
1answer
459 views

Make bluetooth device invisible / disable incoming pairing

I am using the bluez package for my bluetooth usb dongle on ubuntu server. I want to be able to initiate bluetooth connection from the dongle to a device, however a device itself shall not be able to ...
0
votes
0answers
11 views

Error to install svn on ubuntu 14.04

I tried to install SVN on ubuntu 14.04 and got the following error: $ sudo apt-get install subversion apache2 libapache2-svn apache2-utils * udev requires hotplug support, not started ... fail! E: ...
-1
votes
0answers
13 views

Can't find where __put_user_1 is defined [migrated]

I have been going through the linux kernel module programming guide, and I decided to find out how put_user(*(msg_Ptr), buffer) works. After all macro expansion is done, it appears that this inline ...
3
votes
1answer
588 views

BCache and disk encryption

I recently bought a new laptop with a 16Gb mSATA SSD cache drive. I haven't used that one yet. I have, however, opted for Ubuntu 13.04 with "Full Disk Encryption" for the main partition (is that ...
2
votes
2answers
2k views

Linux and Android apps on ARM vs x86

There are a plethora of low-cost ARM-based mini-devices coming out (Cotton Candy, etc). Some of these are Android-only, some Linux-only, and some allow both operating systems to run. The only issue ...
0
votes
0answers
31 views

Mount proc filesystem in a docker container

i want to install gitlab vcs in a docker container with ubuntu base image on it. But when i run gitlab-ctl recofigure, it can't write to a file on proc fs. How to mount or run docker to provide rw ...
0
votes
0answers
22 views

x2go unable to locate package x2goserver

I'm trying to install x2go on my test server following this: http://wiki.x2go.org/doku.php/doc:installation:x2goserver (ubuntu) The repo seems to add fine and gives details on how to use it and what ...
0
votes
0answers
13 views

Sound not working in my Ubuntu desktop after the sudden power cut

i googled in many articles but does't fix this problem i tried this but does't help me sudo apt-get remove --purge alsa-base pulseaudio sudo apt-get install alsa-base ...
0
votes
2answers
657 views

Linux Permissions vsftpd

I have mybb installed and running in /var/www/forums. I have two users part of the www group, logan and www-data. I have the recursive permissions of forums directory set to: chmod -R 755 forums ...
0
votes
0answers
39 views

ssh: connect to host 104.131.76.121 port 10222: Connection refused

I have been trying to solve this problem for quite some time. The error is in the title. The server is a digitalocean ubuntu 14.04. It was working before hand. I changed the ServerAliveInterval on ...
2
votes
2answers
486 views

cgroups: blkio.weight doesn't seem to have the expected effect

I've got 2 LXC containers with these cgroup settings: lxc.cgroup.blkio.weight = 200 lxc.cgroup.cpu.shares = 200 and lxc.cgroup.blkio.weight = 800 lxc.cgroup.cpu.shares = 800 I have verified in ...
2
votes
2answers
2k views

How to reduce ClamAV memory usage?

I'm running a Ubuntu based web server (Apache, MySQL) on a 512MB VPS. This is more than sufficient for the website it is running (small forum). As I wanted to add some protection against viruses I ...
2
votes
2answers
60 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
3answers
84 views

Ubuntu 14.04.1, 14.10 base distros take 30min+ to get to splash screen

Update: I've found a temporary workaround, but I would still like to find a more permanent solution. Workaround: I startout the boot process with the laptops battery removed. If I do this it boots ...
0
votes
1answer
16 views

`rvm list remote` not showing binaries for Ubuntu 14.04 box

I'm trying to provision a dev box with rvm on Ubuntu 14.04 (via Vagrant and Ansible). I've installed rvm: gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3 \curl -sSL https://get.rvm.io | ...
0
votes
0answers
10 views

Can't locate Cairo.pm in @INC

I am running prinseq for trimming my data but got this error: Can't locate Cairo.pm in @INC (@INC contains: /home/A/software/vcftools_0.1.11/perl How do I install this?
28
votes
9answers
58k views

How do I set my DNS on Ubuntu 14.04?

Most of the info I see online says to edit /etc/resolv.conf, but any changes I make just get overridden. $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
1
vote
0answers
74 views

No ttyUSB when connecting USB-RS485 to Beaglebone Black

I'm trying to connect a externally powered board to control the motors of a robot to my BeagleBone Black. I'm using ssh over USB(the mini-usb) to control the Beaglebone from my laptop. The BBB is ...
1
vote
1answer
20 views

Cannot find -lgcc

I'm trying to compile my next basic c program after hello-world. This contains two supporting modules. I have Ubuntu running in a VM through VirtualBox on a mac. Everything is up to date but I ...
4
votes
3answers
13k views

How do I find out why cron is not running my jobs?

I'm using Ubuntu 14.04, and the cron daemon is running: # ps ax | grep cron 822 ? Ss 0:00 cron but it is not executing any jobs. I was previously getting entries in /var/log/syslog such ...
0
votes
1answer
454 views

rs232 to usb not working

I also asked this question on AskUbuntu but there nobody comments on it I have a konig rs232 serial to usb adapter (no FTDI chip), but when I try to connect to a cisco switch/router (via Putty, ...
2
votes
1answer
376 views

Low PPPoE speed in Linux (Ubuntu)

We have 2 PC with Ubuntu 12.04 and connect with 1000M/bit cable. We then start iperf on both PCs and get 900m/bit speed using the iftop tool. However, when we setup PPPoE server on the 1st PC, and ...
2
votes
1answer
20 views

Linux with VM Windows guests in kiosk mode

We have a bunch of computers in our school, which are used by many students and some of them are really having fun in messing around with the system. However it's not possible to restrict access to ...
0
votes
0answers
17 views

aterm or gnome-terminal window unresponsive to keyboard events

I try to investigate a problem: Depending on the way I launch aterm or gnome-terminal, the window may or may not be responsive to keyboard events. The cause of the problem may reside in Aterm, ...
0
votes
0answers
31 views

deleting admin directory after deleting an admin user

I am creating Admin accounts using this command, sudo useradd *new-admin-username* -s /bin/bash -g sudo -m It creates the admin's directory in the /home/.. Moreover, since these are admin, I can ...
1
vote
0answers
22 views

Set user-wide network proxy settings on Ubuntu (without restart)

Is there any reliable way to set proxy settings user-wide for all traffic on Ubuntu? As far I'm using {http|https|ftp}_proxy variables in /home/$USER/.bashrc which is nice but there's some issues: ...
0
votes
0answers
16 views

OpenVPN on Ubuntu VM

I am trying to create a VLAN Network from my home network for a web-dev platform. I am running Ubuntu servers in VirtualBox on a Windows 7 machine. I am running an Ubuntu DHCP/OpenVPN/Shorewall ...
1
vote
0answers
11 views

Yakuake doesn't save shell setting

When I change the shell appearance opacity it works fine but when I reboot Ubuntu again, the opacity is back to 0 and I have to configure it again. How can I save the Yakuake settings? I am using ...
1
vote
3answers
76 views

Can I install other distro and use /home from previous one?

I want to install CrunchBang, and I have been using Ubuntu 12.10. Should I format /home, or do I need to only format / and install #! there?
0
votes
0answers
17 views

trying to limit FTP users in proftpd

Have proftpd installed in Ubuntu 14.04 LTS It is running fine, and I have ProFTPD listening on two different ports for both unsecured ftp connections and sftp connections authenticated with private ...
0
votes
1answer
17 views

HP SmartArray RAID5 recovery on linux

This is a long time in the making, and I've finally got it working so I thought I'd share this with as many people as I can in case they're in a similar situation. Long story short - HP SmartArray ...
1
vote
0answers
24 views

Use VirtualBox to access site on host from guest? the host and guest is linux

I'm running VirtualBox on a Ubuntu (host), the VM I’m using is fedora (guest). VirtualBox is setup to use the NAT network adapter, and I'm able to get to the internet. I use Port Forwarding to access ...
0
votes
1answer
615 views

My Ubuntu 14.04 LTS doesn't have sound

I installed Ubuntu 14.04 on VMware workstation version 10.0.0 on my Windows 7 machine. After installing I figured out that it doesn't have any sound so I checked the sound settings. All items seem to ...
0
votes
2answers
34 views

how to solve the error in cinder on openstack havana?

I am install openstack controller node for one machtion, and Another metchion running nova-compute only. so I am running controller node cinder will got error. I clearly meantion it which service ...
1
vote
1answer
31 views

MacOS X Mavericks running VirtualBox cannot communicate with Linux VM

I have a MacOS X Mavericks host running Vagrant using VirtualBox as a provider. I have experienced several times that with different VMs (particularly Ubuntu Linux VMs) after the first time the VM is ...
1
vote
2answers
153 views

Shell: How to uninstall all related packages to a specific one? / Ubuntu

Recently I asked to my hosting provider to reload the OS to Ubuntu 12.04 64 bit minimal assuming minimal would have the minimum required packages installed, but I realized that mysql was installed so, ...
0
votes
1answer
32 views

Shutdown so fast on iMac

I'm using Ubuntu 14.04 on iMac 27 in dual boot with OSX via rEFInd. It works nice but when I click to shutdown the Ubuntu it is so quickly and the screen becomes black in 1 or 2 seconds. So I can ...
4
votes
4answers
32k views

mount.nfs: access denied by server while mounting on Ubuntu machines?

I am a linux newbie and I have a very basic question. I have three machines in production - machineA 10.66.136.129 machineB 10.66.138.181 machineC 10.66.138.183 and all those machines ...
1
vote
1answer
84 views

How to clean /tmp?

In general, how can we clean /tmp for freeing up the space taken by non-needed files? Note that I once made a mistake by deleting everything under /tmp, and then after rebooting, my Ubuntu was ...
4
votes
1answer
658 views

Powertop doesn't display Power est. column

When I run powertop, it doesn't display the "Power Est." column that shows the estimated power consumption in Watts of each row. It should look like in the screen capture here: MacBook Pro Retina: ...
2
votes
1answer
2k views

Linker error: /usr/bin/ld: cannot find -lgcc_s

I am trying to compile symlinks (tar.gz-file), which is a very small tool with one line for compilation: gcc -Wall -Wstrict-prototypes -O2 -N -s -o symlinks symlinks.c which gives the error .... ...
0
votes
2answers
50 views

Why can't I change the hostname of my server using sudo? [duplicate]

From a user that is part of the sudoers group, I can normally run any command by doing sudo <command> But the following command fails stating "Permission denied" sudo echo "myhostname" > ...
0
votes
1answer
59 views

dota 2 graphics problem in ubuntu 14.04

i installed ubuntu 14.04 in my laptop. then i installed steam and finally dota 2. but the graphics are very bad. i have amd raedon 7400 in my laptop. it seems like dota 2 is not running through my ...
2
votes
1answer
148 views

A window asking me to enter my ssh passphrase is popping up randomly. Why?

I'm on Ubuntu 14.04. For a few weeks now a small window keeps popping up randomly, grabbing my keyboard and asking me to enter the passphrase for my ssh key. The Window's title says "OpenSSH", and it ...
2
votes
1answer
18 views

Cannot write to sector - boot Ubuntu

So I was in an airport working and I closed my laptop. When I brought it back up again, my screen was black so I kill switched. Now when I boot, I get "cannot write to sector". Anyone got any ideas? ...
0
votes
2answers
23 views

How to properly mount new hdd, to free up the old one

I installed a new hdd /dev/sdb1, and mounted to /home/ubuntu/new1, and moved some files there to free up the old hdd, but when I do du -h new1 is still takes space in the old hdd, below are my fstab ...