Questions tagged [ubuntu]

Please don't use this tag just because your system is running Ubuntu. Use it _only_ if your question is somehow specific to Ubuntu only. Note that https://askubuntu.com is specifically dedicated to Ubuntu questions.

2,771 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
14
votes
1answer
13k views

Forcing zpool to use /dev/disk/by-id in Ubuntu Xenial

I'm giving the bundled OpenZFS on Ubuntu 16.04 Xenial a try. When creating pools, I always reference drives by their serials in /dev/disk/by-id/ (or /dev/disk/gpt on FreeBSD) for resiliency. Drives ...
11
votes
0answers
4k views

Graph is too large for cairo-renderer bitmaps Error

Im trying to use pyreverse to generate images of UML diagrams for a project source code. When I run the pyreverse command and specify to generate .png images, it runs and then after a while, it shows: ...
10
votes
0answers
719 views

Why ZFS scrub does not complete?

First off let's start with what I'm running. This is a home media server running Ubuntu 16.10. I have one pool of mirrored 6 terabyte drives that are about half full. I built the system about a month ...
8
votes
1answer
3k views

How to set LANG in locale, despite it's in /etc/default/locale in ubuntu for unicode support?

I run Ubuntu 12.04, I can't set the locale to en_US.utf8. I set the LANG by configuring /etc/default/locale as described here. $cat /etc/default/locale LANG=en_US.utf8 $locale LANG= LANGUAGE= ...
8
votes
1answer
2k views

xorg.conf XkbOption ignored for terminate:ctrl_alt_bksp to restart X

I want Ctrl+Alt+Bksp to restart X, so I created an xorg.conf rule: /usr/share/X11/xorg.conf.d/53-zap.conf: Section "ServerFlags" Option "DontZap" "false" EndSection Section "InputClass" ...
7
votes
0answers
365 views

Tricking Slack into thinking you don't have multiple monitors

As far as I can tell there is no way to select a single screen to share in the Linux Slack app when you have more than one screen. So in my 3 screen set up, screen sharing is practically unusable. ...
6
votes
1answer
3k views

USB ports keep resetting on Linux

Problem USB Ports (2.0) keep resetting causing connected peripherals to stop working after some time. Hardware Motherboard: ASUS J1800I-C CPU: Intel(R) Celeron(R) CPU J1800 @ 2.41GHz RAM: 4GB ...
6
votes
1answer
698 views

Explanation of the building process of the kernel on Ubuntu/Debian systems

I'm getting into Linux kernel programming and I have successfully built my own kernel several times now. However, I have done it using step by step guides found from the internet and I don't really ...
5
votes
0answers
2k views

Apple MagicTrackpad2 on Ubuntu

I bought an Apple Magic Trackpad2 and want to use it on Ubuntu 16.04. Actually moving the pointer works, but e.g. two finger scrolling or tap to click doesn't. So I came up with the following ...
5
votes
2answers
1k views

Cannot see packets arrive on application socket that were seen by Wireshark

Using Ubuntu 14 I have a Linux machine where there are two interfaces: eth1: 172.16.20.1 ppp0: 192.168.0.2 ppp0 is connected to a device which has a PPP interface (192.168.0.1) and a WAN interface (...
5
votes
1answer
198 views

How to change DISPLAY of currently running application

I have multiple displays open on a central server. Is it possible to "move" a X-window application that is running on a particular DISPLAY to a different DISPLAY? How can this be done? I'm using xpra ...
5
votes
2answers
4k views

Fingerprint reader on Asus Zenbook

So I have ZorinOS installed on my ASUS ZenBook UX330UA-AH54, however, FingerprintGUI shows my fingerprint sensor (Elantech I think) as an unknown device. Is there any custom software or fixes that can ...
5
votes
1answer
5k views

grub recovery mode: etc/resolv.conf: no such file or directory

I’ve installed Ubuntu 16.04 on my laptop a few months ago and suddenly I can t get past the splash screen. (I see the red dots gradually becoming white and vice-versa, so something is happening, but ...
5
votes
1answer
2k views

A stop job is running for LVM

I use full disk encryption which uses an LVM. It uses like this in lsblk: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda ...
5
votes
0answers
5k views

Grub rescue after corrupted hard-drive (“read-only filesystem”)

I run xubuntu 12.04 alongside a NTFS storage partition and a windows 8 partition. I moved my MySQL data directory off the xubuntu (ext4) partition, onto the NTFS partition, and did an import of a ...
5
votes
0answers
18k views

How to get to recovery mode if grub screen does not appear?

I cannot login my Ubuntu12.04 (which is VM running on OSX using VMWARE FUSION 6) because I have changed permission of /tmp for some purpose before rebooting the machine. Thus I tried to boot Ubuntu ...
5
votes
0answers
4k views

`crontab -e` sometimes fails with “Creation of temporary crontab file failed”

From time to time crontab -e fails on me on a Ubuntu box. It is the same for all users including the root and crontab -eu <user> under the root. Goes like this on a regular basis, a success here ...
5
votes
0answers
10k views

Is there a solution for when a system hangs on “switching to clocksource tsc” anyway?

Ok so this is exactly what I did yesterday, and what I have tried to solve the problem so far. The distribution is Ubuntu Server 12.04. What I have done just before the error appeared I added a new ...
4
votes
0answers
138 views

ThinkPad second “sticky” backspace key

I have bought a Lenovo ThinkPad T580, and noticed that in the upper right corner of the keyboard, there is a second backspace button (in addition to the other backspace button right above the ENTER-...
4
votes
0answers
241 views

how to prioritize udev-rules over the driver/kernel (network interfaces names)?

I have an ubuntu server 14.04 virtual machine with 2 network interfaces eth0 - for web management, SSH eth1 - for incoming span network analysis I've configured the machine with udev rules (to ...
4
votes
0answers
1k views

Ubuntu - lftp will not connect to ftps site (Fatal error: gnutls_handshake: An unexpected TLS packet was received.)

I have a specific ftps site that I cannot connect to with lftp. When I attempt to connect I get the error: Fatal error: gnutls_handshake: An unexpected TLS packet was received When I use gnutls-...
4
votes
0answers
93 views

How to open child windows on same display as cursor in Gnome?

I'm doing a bunch of work in Pure Data on Ubuntu 18.04 & Gnome 3.28 with a dual-monitor setup in which the secondary monitor is to the left of the primary. Working in Pure Data involves frequently ...
4
votes
0answers
707 views

“su: must be run from a terminal” with lxc

I am trying to understand the following error and the solution I connect to the lxc container with the following command #lxc exec cont-01 -- sudo --login --user ubuntu and after login in on the ...
4
votes
0answers
398 views

crashplan peer-to-peer backup alternative

I'm looking for a backup solution to replace Crashplan's peer-to-peer backup that has recently been discontinued. I am looking for recommendations on a solution. Here is my scenario: I have several ...
4
votes
0answers
3k views

Extremely high memory usage Android studio and emulator

After upgrading Android Studio to 2.3, I've encountered extremely high memory usage. Previously, I would keep my pc(including Android studio and emulator) on for several weeks, and RAM usage would ...
4
votes
0answers
988 views

Create virtual microphone and output sound to it

My goal is testing Video Room Application, so I'm going to create multiple virtual machines with virtual webcams and microphones. Webcam is working fine with v4l2loopback, but microphone is not. I'm ...
4
votes
0answers
249 views

ncftpput don't create parent directory

I am trying to upload multiple directories recursively to an FTP server, (and FTP is the only way). Say I have the following environment: Remote: / /remote-files/ /readme.txt Local: /my-website....
4
votes
0answers
2k views

Dell XPS 13 9350 wifi dying with Broadcom BCM4350 and 4.8 kernel

Launchpad report: for all those with the same problem, please subscribe to this report I opened in Launchpad so that it can gain some traction. I've been using Ubuntu 16.04 with kernel 4.7 for some ...
4
votes
1answer
246 views

Upgrade problem /Kubuntu

I am trying to upgrade through terminal ( preference ) and I still got this error which I have not seen yet. I am using Ubuntu KDE (Kubuntu 16.04 xenial ). Thanks for help. Reading package lists... ...
4
votes
0answers
618 views

“No protocol specified” when starting Xorg via lightdm, but works when started directly

To start the X server on boot, use of a display manager such as lightdm seems to be the preferred method. However, if I start X by starting the lightdm service, I get a "No protocol specified" error. ...
4
votes
0answers
382 views

How do I define an Ubuntu Linux16.04 systemd service for fastcgi-mono-server4 or xsp4?

How do I define an Ubuntu Linux16.04 systemd service for fastcgi-mono-server4 or xsp4? I have already defined an Ubuntu Linux16.04 systemd service for apache2 by copying obex.service to apache2....
4
votes
2answers
1k views

Why does kill not work from script, but does work from terminal?

I have the following contrived script to illustrate my issue: #!/bin/bash set -eux sudo sleep 120 & spid=$! sleep 1 sudo kill $spid wait $! This will print $ ./test.sh + spid=21931 + sleep 1 + ...
4
votes
1answer
319 views

Emacs won't mouse wheel scroll on Ubuntu 15.10 with Cinnamon

I'm running Ubuntu 15.10 using the Cinnamon interface instead of the default. When I run emacs 24.5.1 in an X interface, almost everything works well with the mouse, except the mouse wheel scrolling ...
4
votes
0answers
548 views

404 Not Found. File exists (mounted)

First off, I will update this post with any information you may need, but since I have no idea where to begin, I will try to summarize the issue. Just ask if you want to see something. I'm having ...
4
votes
2answers
303 views

Function Keys no longer available for Switching Workspaces

For about 15 years I have assigned a workspace to each function key (F1-F10) in whichever Linux/X environment I'm using. Yesterday I ran a normal software update on my work Ubuntu box and now, ...
4
votes
1answer
824 views

Why is my SSH authentication socket different from the man pages?

These two entries of man ssh-agent describe the SSH authentication socket: $TMPDIR/ssh-XXXXXXXXXX/agent.<ppid> UNIX-domain sockets used to contain the connection to the authentication agent....
4
votes
1answer
637 views

Tons of unknown connections in nethogs

I am seeing hundreds of different connections to the same ip and port scrolling by when running nethogs. Occasionally the foreign IP and port will change (not always 80, but sometimes). I've noticed ...
4
votes
1answer
546 views

Files are opened by wrong applications if opened from a number of programs

History: I had problems with mime associations under Firefox. Firefox opened downloaded files with wrong programs. I deleted ~/.local/share/applications/mimeapps.list and now it works. Now I noticed ...
4
votes
0answers
2k views

Linux - Only first virtual interface can ping external gateway

I created 3 virtual interfaces with different MAC addresses all linked to the same physical interface. I see that they can successfully arp for the gateway (gw) and they can ping (the request is ...
4
votes
2answers
1k views

Updating kernel versions when booting from rEFInd

I'm booting from EFI using the awesome rEFInd bootloader. I've so far had to configure boot myself by manually copying over my EFI-compatible linux boot image to my EFI partition and writing a ...
4
votes
0answers
673 views

How can I crop a 1920x1200 monitor to 1920x1080?

I have just purchased a 1920x1200 monitor, and have some situations where I want to force the output to the more common 1920x1080. However, I don't want to distort the output, and would prefer a "...
4
votes
0answers
1k views

How to configure external USB touchpad for a laptop

I have a laptop that, obviously, comes with a touchpad and a keyboard. However, I have an USB keyboard with integrated touchpad that better suits my needs. I use Ubuntu 13.10 and I cannot find how to ...
4
votes
1answer
1k views

Limiting download speed based on other LAN traffic

I'm kind of new to Linux (but learning) so bare with me if I say something stupid :P. I'm currently running an Ubuntu fileserver which automates a whole bunch of downloading tasks. At present it is ...
4
votes
0answers
4k views

How do I change file/directory permission of a nfs mounted directory, so I access files as user?

On a Ubuntu computer I mounted a directory from another computer using the following line in the fstab: 12.34.56.78:/space/Images /mnt/space/images nfs rsize=16384,wsize=16384,rw,auto,nolock 0 0 ...
4
votes
3answers
2k views

Tool to create recipe to preseed partitioning

I want to preseed an Ubuntu 12.04 installer using a custom partitioning recipe. My disk layout is reasonably complex, and so is the recipe syntax itself. Hand-crafting such a recipe seems tedious and ...
4
votes
0answers
1k views

Remmina doesn't work with keyboard when connected remotely

In order to bypass firewall/GPO constraint, I want to use Ubuntu as springboard to rdp to a Windows box on the same LAN remotely. I can xrdp to ubuntu via sesman-Xvnc module. I can run remmina from ...
4
votes
0answers
763 views

Compiling and running Snapper for Ubuntu

I am trying to get snapper working in my Mint 14. (The version from launchpad is old and not compatible with Ubuntu 12.10. The OpenSuSe's build project failed to build it, too). So I try my luck with ...
4
votes
2answers
1k views

Jingle CLI client / Jitsi replacement / VOIP

I am looking for a Jingle client for the command line. Currently, I use Jitsi, but my dreams of not needing the GUI for more than just web-browsing are not realized due to my reliance on this program....
4
votes
0answers
285 views

To what extent does LXC manage configuring the network interface in a container?

In the LXC config file we can specify an IP address for a container: lxc.network.type=veth lxc.network.link=br0 lxc.network.ipv4 = 10.1.0.35/16 lxc.network.flags=up lxc.network.hwaddr= 00:16:3e:24:26:...
4
votes
0answers
1k views

Using Creative Sound Blaster on Ubuntu Server

I just got a Creative Sound Blaster for playing audio wirelessly. I connected it to a virtual version of Ubuntu desktop and just had to go into the sound settings and switch it to the USB and the ...