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)

1
vote
1answer
569 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
1answer
328 views

elementary os on ubuntu

I have installed Ubuntu 14.04 on my laptop I tried to install Pantheon desktop enviroment because I tried it on the elementary os before and I liked it but the last version of elementary os is ...
0
votes
0answers
16 views

Squid: no authentication when visiting HTTPS websites

I have setup Squid and everything is working. I am now trying to setup a password and all tutorials refer to a file called 'ncsa_auth'. Unfortunately, I do not seem to have this file. I checked in: ...
0
votes
2answers
2k views

How can I add an external CD/DVD writer ?

I want to add an external CD/DVD writer to my Ubuntu 14.04 system (System 76 Ratel): the writers in my local electronics store have USB interfaces, and the drives are advertised as windows and mac ...
3
votes
1answer
524 views

Consequences of setting up POSIX locales

Small background of the situation: We are using several UBUNTU servers having English as working language; however having en_US locale set in machines we encounter problems with apt-cacher-ng ...
1
vote
2answers
5k views

D-Link DWM-156 HSPA USB Modem doesn't work with SIM card inserted

I have a D-Link DWM-156 HSPA modem, that I bought just a few days ago. The modem has drivers in its internal storage. There are Debian packages (.deb) for both i386 and amd64, so obviously I installed ...
1
vote
1answer
39 views

Why is setting up WLAN in Debian so hard? (compared to Ubuntu) [closed]

switching from Ubuntu 14.04 to Debian jessie (LXDE) on a ThinkPad T500 Lan (eth0) is configured in /etc/network/interfaces and works fine. After setting up LXDE i wanted to switch to WLAN and it ...
1
vote
1answer
145 views

Installing Ubuntu 15.04 through Mint 17.1

I am currently using Mint 17.1 on a machine having both legacy BIOS and UEFI. Secure Boot is off. Mint is running on a fully encrypted physical partition and with swap partition is encrypted too. ...
3
votes
2answers
59 views

Add ArchLinux to Ubuntu dual-boot

I would like to dual boot ArchLinux with my Ubuntu. I would like some hints at how to do it without messing my partitions too much. Presently, my Computer partition scheme goes like this: (Ubuntu ...
1
vote
1answer
257 views

Error while booting Ubuntu 14.04 - setterm: $TERM is not defined

Yesterday I restarted my Notebook with Ubuntu 14.04 and got the following error message in between the login-screen and the loaded user interface. Error found when loading /etc/profile setterm: ...
0
votes
1answer
2k views

Consistent network interface name ubuntu using pci slot

One can set consistent interface naming via mac address by modifying /etc/udev/rules.d/70-persistent-net.rules. Can you establish consistent interface naming by PCI slot number? (I tried but failed) ...
0
votes
2answers
88 views

Ubuntu won't connect to university internet [closed]

My WiFi adapter shows networks in the area, but will not allow me to connect to my university Internet. Normally, on Windows, I connect to the Wifi by clicking connect. It shows it as connected, but ...
1
vote
1answer
1k views

XBMC crash after selecting “play”. Ubuntu 14.04 and 13.0 gotham. Link to crashlog

I have a brand new machine with fresh install of Ubuntu 14.04 and I'm trying to run Gotham 13.0 on it. I've already added the restricted multimedia codecs (just in case) to Ubuntu. sudo apt-get ...
0
votes
2answers
779 views

How to achieve higher display resolution for Ubuntu under VirtualBox?

In this setup, Ubuntu under VM only achieves low resolution at 640 * 480 while host is 1920 * 1024. How to, (I believe is to configure X server), achieve higher resolution? I have set in VirtualBox ...
0
votes
1answer
1k views

Start application as root at boot time on Ubuntu 14.04

I'm working in Ubuntu 14.04 I have an C++ application which I have compiled. I get the executable which name is "program". Well the thing is that this program use opencv and sockets then if I try to ...
0
votes
0answers
74 views

installing mongodb with linuxbrew

I want to install mongodb with brew in ubuntu 15.04 but despite several attempts to install i can't do that, even if I completely remove homebrew and reinstall it. when i type in terminal : brew ...
3
votes
1answer
1k views

Need to auto-login after logout on ubuntu

I've set up a kiosk using Ubuntu 12.04, and I'd like to have it autologin after a user logs out or if the screen locks, in case someone manages to get back to lightdm or tries to login to the ...
1
vote
1answer
181 views

How do I run a service with numactl

I need to do something like this to run MongoDB $numactl --interleave=all /usr/bin/mongod --config /etc/mongod.conf & What should I change to be able to run the mongo daemon with the options ...
1
vote
0answers
21 views

after reboot server, service start without special chars

I write simple Java server. This service (java server) connect with mySQL database. I am connecting with this service by socket connection. Everything work well when i start my service by line ...
1
vote
0answers
23 views

Passthrough PS/2 keyboard to guest OS

OS Windows run on VM (ubuntu, libvirt, qemu-kvm). And I have PS/2 keyboard on host hardware. Is there any way to pass it to guest OS without lost of performance (maybe emulate USB keyboard with keys ...
0
votes
0answers
23 views

Why can't I connect to 5ghz?

In "Edit Connections" I chose mode "Infrastructure". In router page (BT Home Hub), it shows that my android phone is connected to 5ghz, and my laptop still uses 2.4ghz. What can I do?
1
vote
0answers
46 views

Running Elementary OS on MacBookPro10,1, get random resolution changes

I recently installed Elementary OS (Ubuntu-based) and every now and then my resolution drops down to a super small size that messes with my mouse-tracking and pretty much makes any application ...
4
votes
3answers
5k views

'd' Key on VNC Viewer Minimises All Windows

I'm running vnc4server on an Ubuntu 10.10 box, and connecting to it from an Ubuntu 8.04 machine using TightVNC Viewer 1.3.9. I'm unable to type anything with the character d within the VNC session, as ...
0
votes
1answer
52 views

airmon-ng disabling my internet connection

I am not really familiar with aircrack but I am having this small problem , when i user airmon-ng start wlan0 it puts my adapter into monitor mode but i loose internet connection and the adapter looks ...
0
votes
1answer
482 views

Grub2 lost in new Linux distro install

So, I really need some help. Recently I was using a dual boot machine on the same hard drive. I had Windows 8.1 and Ubuntu GNOME 14.04. When I installed Ubuntu on top of my Windows install, I didn't ...
0
votes
1answer
105 views

Can't use apt because python encoding issue

I'm getting a python unicode error every time I try to install or update anything with apt or aptitude, preventing me to update my system. The error I'm getting is the following: File ...
4
votes
2answers
586 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 ...
1
vote
1answer
109 views

Why does GDM start in TTY2 and TTY7

I have Ubuntu 15.04 and GNOME 3.16 installed. This PPAs are enabled: deb http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu vivid main deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu ...
20
votes
4answers
43k views

Shell script fails: Syntax error: “(” unexpected

I've been working on a script that automates setting up a development environment for Raspberry Pi development (step by step details that work are here). The script is linked in that article but ...
6
votes
3answers
3k 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
0answers
42 views

Difference between /var/log/kern.log and /var/log/dmesg? [duplicate]

It seems to me /var/log/kern.log and /var/log/dmesg both keep the kernel messages since last boot. What are their differences and relation then? Do they both have all the messages about wireless ...
1
vote
0answers
20 views

Record video from camera and get frame number on demand

I'm using avconv at the moment to store the input of my camera as an video. This works fine. Now i'm asking myself if it is possible to get the current frame number at a particular time of the video ...
3
votes
1answer
40 views

Why when loading an SO file does it append a version to the end?

I use CMake and Ninja to build a test executable of mine written in C++. I use gcc 4.8. I'm on Ubuntu 14. I run CMake to configure the ninja build scripts, then I run ninja to build. I specify the ...
0
votes
1answer
19 views

Why does checkinstall need sudo?

On Ubuntu, IIRC, checkinstall only create a deb package from compiled binary files, and doesn't install them to some destination directories (say, some system directories). But I always have to run ...
7
votes
5answers
3k views

Unable to connect to a wifi network with an SSID containing diacritics

My current WiFi network (and i'm writing this with the help of Windows -.- ) has a diacritic in it's SSID: "ö". If changing the SSID is not an option, how to connect to such a network? This does not ...
0
votes
0answers
24 views

Postfix problem with sending and receiving emails

I have had problems for one week with the email server Postfix. This came after running the antivirus ClamAV with the remove option on. When reading the mail log I keep getting the error message ...
-1
votes
1answer
104 views

Problems with postfix/dovecot unable to receive mail

Can't receive mail on my server but can send just fine. From what I can tell in the logs, it complains about timing out. I check the connection externally using telnet from my PC, I can connect to ...
0
votes
0answers
36 views

gnome power manager

Last night I was trying to sort out a problem with evolution to enable me to delete emails as the disk is getting rather full. I had deleted some files in the evolution folder ( .cmet and .index). I ...
12
votes
3answers
26k views

VirtualBox: two network interfaces (NAT and host-only ones) in a Debian guest on Ubuntu

I created a Debian VM on VirtualBox with two interfaces: a NAT one (for accessing internet) and a host-only one. However, I do not know how to make both interfaces work at the same time. If I the ...
1
vote
1answer
81 views

Getting “Protocol Error” when trying to create a symlink in Docker

I'm trying to setup a symlink, using the command ln -s /var/www/data/cache/widget/overlay/ /var/www/public_html/images/overlay but it outputs ln: failed to create symbolic link ...
5
votes
2answers
82 views

Are driver modules loaded and unloaded automatically?

On Ubuntu 14.04, I found that when I don't plug in my external wireless adapter, its module rt2800usb is still shown in lsmod. when does automatically loading a driver module happen? Is it when ...
0
votes
0answers
37 views

Error installing grub on bootable USB drive

I want to deliver a Linux tool as a bootable USB stick and so I am trying to create a USB stick with the Ubuntu core. I am following the steps at What commands are needed to install Ubuntu Core? But ...
2
votes
0answers
32 views

Toolbar icons unable to load when running Emacs through xhost from FreeBSD to Ubuntu

I'm connected to a FreeBSD Computer using ssh [ip] -X, and emacs launches just fine, but this happens and all the icons are little pieces of paper with red X's: > emacs (emacs:22812): ...
1
vote
1answer
19 views

Dotfile not working in current shell, need new one

To be clear, this isn't a screen issue, I'm sure it's a general shell issue. On a new Ubuntu 12.04 server, I'm currently logged into a terminal in which I want to run the screen command with my ...
0
votes
0answers
15 views

Ubuntu automout+NIS startup conflict

I have an Ubuntu 14.04 system using NIS for login. On startup it seems that automout is starting before NIS, and then not honoring the auto.home NIS pushes out to do NFS for home directories. ...
0
votes
0answers
464 views

Version Error Integrating PowerBroker Identity Services and Samba on ubuntu

I am trying to use PBIS (formally likewise open) to enable me to limit permissions on shares to certain AD groups. When I run the command samba-interop-install --install I get the following error ...
3
votes
1answer
7k views

I can't install new packages and can't update and upgrade

I'm trying to install some program on Ubuntu, but when I try it I got the following error.- E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock ...
0
votes
0answers
27 views

What could be the output of command `lsblk -f -r | grep ' /' | grep -v ' /boot'` on encrypted drives?

Suppose we have drives which are encrypted, what could be the output of following command in Debian based (specially Ubuntu OS)? lsblk -f -r | grep ' /' | grep -v ' /boot'
1
vote
1answer
49 views

What are the deb files for installing a kernel for?

When installing a kernel in Ubuntu(e.g. http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/), what are the files for respectively: linux-headers-4.0.0-xxx_all.deb ...
0
votes
1answer
30 views

What should I do so Ubuntu finds a new application when pressing Alt+F2?

I've got a new machine running Ubuntu 14.4 today, and I installed Eclipse by downloading and unzipping it. Now I would like to be able to: run the command eclipse in the terminal to open Eclipse; ...