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
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
0answers
17 views

connecting to virtualbox ubuntu from osx extremly slow

I am running ubuntu 10.04.x as guest on virtualbox from osx x 10.10.x host It works (kind of), but after working a while with it and also after power sleep it can get almost unusable slow. It looks ...
0
votes
2answers
672 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
913 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
2answers
39 views

Ubuntu won't connect to university internet [on hold]

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
2answers
26 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 ...
0
votes
0answers
18 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
83 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 ...
0
votes
0answers
37 views

Fixing a bug in an official Ubuntu package [on hold]

There is a package in the Ubuntu repositories (pidgin-latex) which has apparently been abandoned by its creators for some time. I have noticed a bug in this package and I would like to rectify it and ...
7
votes
2answers
180 views

Ubuntu - No space left on device (NTFS)

I have a server which stores a lot of data, I keep many nested directories with millions of files in them. While trying to move one big directory (~700GB) from one disk to another I get an error: mv ...
1
vote
0answers
10 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
11 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
12 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
10 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
20 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 ...
-2
votes
0answers
61 views

ubuntu 15.04 asking for login on start [on hold]

Ubuntu 15.04 installed yesterday, now asking for login and password on start. I gave my password i dont know it means with login. I gave my username, no success. Stil asking for login and password. ...
0
votes
1answer
82 views

Missing taskbar icons in ElementaryOS

For some reason, some of my taskbar* icons are missing. Dropbox, Network (Wi-fi) and Mega icons are gone. I don't know how it happened, perhaps an apt-get update or something. Those icons should be ...
0
votes
1answer
454 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 ...
2
votes
2answers
244 views

Nginx leaves old socket

I'm running Nginx 1.6.2 (the nginx-full package from the nginx/stable PPA). I'm using the unmodified configuration /etc/nginx/nginx.conf: user www-data; worker_processes 4; pid /run/nginx.pid; ...
0
votes
1answer
50 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 ...
2
votes
1answer
447 views

Granting SAMBA rights and privileges requires root password

Given a default Ubuntu installation, I get the following myusername@EARTH:~$ sudo bash root@EARTH:~# net rpc rights grant myusername SePrintOperatorPrivilege Enter root's password: Failed to grant ...
4
votes
2answers
567 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 ...
0
votes
1answer
60 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 ...
18
votes
4answers
40k 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 ...
5
votes
3answers
2k 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
1answer
887 views

org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] while running spoon.sh in ubuntu

When I am running spoon.sh file in Ubuntu I am getting the following error: [santosh@sbx data-integration]$ ./spoon.sh /home/decathlon/Pentaho-5.0.1/data-integration org.eclipse.swt.SWTError: No more ...
1
vote
0answers
12 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
2answers
55 views

Prevent Language selection at ubuntu installation

I would like to make a completely unattended installation of Ubuntu Server 14.04 from an USB drive where I extracted the ubuntu-14.04.2-server.iso In /syslinux/txt.cfg of the USB drive, I added the ...
-1
votes
0answers
20 views

How to setup internet connection in Ubuntu server [on hold]

How to setup a wired internet connection in Ubuntu server_Openssh server
8
votes
3answers
32k views

How to start a service automatically, when Ubuntu starts?

I am using Ubuntu 12.04 and want to have a service starting, when the system is booted normally. As 'service' I understand some code, for example cd my_directory; my_command -host 0.0.0.0 -port ...
3
votes
1answer
26 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
13 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 ...
3
votes
1answer
3k 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 .... ...
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
19 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
67 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
31 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
1answer
37k views

How can I restart the SSH daemon on Ubuntu?

When I type in service sshd restart I get a sshd: unrecognized service error. I do have, in /etc/ssh/ a file sshd_config that I use to set config. I can also putty into the Ubuntu box (it is remote). ...
12
votes
3answers
25k 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
0answers
14 views

how to force a tun/tap interface into RUNNING state

I create a tun interface, bring it up and assign an ip addr to it using sudo openvpn --mktun --dev tun2 sudo ip link set dev tun2 up sudo ip addr add 10.0.0.1/24 dev tun2 The interface is created ...
0
votes
1answer
22 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
50 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
25 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
14 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): ...
2
votes
3answers
470 views

Hide all open windows on Ubuntu 12.04 LTS

Is it possible to have a button on the side bar to hide every open window on Ubuntu 12.04 LTS?
1
vote
1answer
18 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
8 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. ...