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
1answer
195 views

How should I handle the shebang when writing my own shell?

I'm writing a script to test a shell project to see that my custom shell has correct output. str="HELLO" echo $str echo "*** YOU SHOULD SEE HELLO ABOVE ***" ls * echo "*** YOU SHOULD SEE THE OUTPUT ...
0
votes
0answers
22 views

an error occurred while mounting /

I have a trouble with virtual Ubuntu image launched on Oracle VM VirtualBox. After last reboot I can't manage to run it, because I'm getting on start message: an error occurred while mounting / ...
0
votes
0answers
9 views

How to restore lvm partition without config file?

Today I did update my ubuntu server. The device structure is looks like to below 1) sda1 # new os 2) sdb1 # origin /boot partition 3) sdb2 # origin swap partition 4) sdb3 # origin ...
0
votes
0answers
8 views

Check MX on ubuntu not working

I am working on mac and using vagrant with ubuntu When I am running host -t MX gmail.com on my mac I have gmail.com mail is handled by 30 alt3.gmail-smtp-in.l.google.com. gmail.com mail is handled ...
0
votes
2answers
21 views

Tmux shortcut problem

While using Tmux, I tried to maximise the current pane using <prefix> z, and had a bit of a keyboard fail and accidently held down the prefix keys while pressing z, instead of letting go of the ...
4
votes
4answers
2k views

Is it safe to chown on /usr/lib?

Can I do this? sudo chown -R myUsernName /usr/lib I mean can I do this without worrying that my OS will be broken? Or permissions will be screwed up? Here is the reason why I would like to do it ...
0
votes
1answer
3k 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
0answers
17 views

Suspicious traffic in nethogs on fresh install

Earlier today google said that unusual traffic was emanating from my computer and gave me a captcha. I got curious and installed nethogs. Everything appears normal except for an unknown program ...
0
votes
4answers
2k views

Installed Linux, now Windows doesn't boot anymore

I had a working Windows 8.1 which I used regularly. Today I needed Linux, so I chose Ubuntu and installed it from a bootable flash drive alongside Windows. Everything worked well, I could choose which ...
0
votes
0answers
19 views

Subprocess returned an errorcode

I'm trying to install TinyOS in virtual box on Ubuntu and am having some issues. The error I am getting is Errors were encountered while processing: ...
2
votes
1answer
3k views

/etc/fstab is mounting rw filesystem as read-only

A partition of my internal hard drive (not the root partition) I want to mount automatically on boot. I've been using /etc/fstab to mount my external backup drive automatically read-only, so this is ...
0
votes
1answer
59 views

Is it okay to modify Ubuntu Linux 16.04's /etc/fstab after I initialized it?

I modified /etc/fstab after I initialized it on an Ubuntu Linux 16.04 system running on an Lenovo Thinkstation desktop. After it messed up my Ubuntu Linux 16.04 system causing it to go into emergency ...
2
votes
0answers
24 views

How do Linux kernel modules get enabled in a Linux distro's kernel package?

Although I know how to recompile my kernel to enable a module I want, I'm curious to know how the default Linux kernel modules are chosen in a Linux distribution's kernel package. Taking a comparison ...
0
votes
3answers
21 views

Double sided DVD's: Is it possible to have a dual-layer (both sided) DVD that is usable for 9.4GB Distro Installs?

I was looking at installs with all my OSS software, and the 4.7GB limit was reached for install of a particular Linux distro. My question is is it possible to have a Double-sided DVD-RAM (i.e. the ...
0
votes
0answers
6 views

Ubuntu won't lock on lid close, lock keystroke, or settings -> lock on Ubuntu 12.04 LTS installed via croton to a chromebook

I installed ubuntu via this guide http://lifehacker.com/how-to-install-linux-on-a-chromebook-and-unlock-its-ful-509039343 using the unity option instead of xfce. WHen I close the lid, hit the lock ...
2
votes
1answer
749 views

nmcli freedesktop DBus warnings and errors

As soon as I do nmcli con up id <ESSID>, I experience some warnings/errors: ** (process:4841): WARNING **: async_got_type: could not read properties for ...
0
votes
0answers
39 views

Why does modifying /etc/fstab and starting the autofs service corrupt my home directory? [on hold]

I am running Ubuntu Linux 16.04 on a Lenovo Thinkstation. Yesterday when I modified /etc/fstab and started the autofs service, I lost access to my home directory /home/frank which I valiantly tried to ...
1
vote
1answer
46 views

Openvpn exclude ip in pool

I have an OpenVPN server running on a Linux Ubuntu box. Multiple clients connect to this server (500+) and that is why I set the server-bridge option like this: server-bridge 10.0.100.1 255.255.0.0 ...
0
votes
2answers
36 views

Uninstall Wordpress

I am still at the beginning and just wondering how to uninstall totally WordPress and then reinstall it. I installed first time from this tutorial.
0
votes
1answer
41 views

Eclipse Mars reacts delayed and crashes on Ubuntu 16

I´ve changed from Windows to Ubuntu 16.04 recently and when I'm running Eclipse Mars 2 (4.5.2), it reacts really slow or delayed. When I try to do anything like creating a new project, importing or ...
4
votes
2answers
9k views

How to extend filesystem partition on Ubuntu VM?

I'm running Ubuntu Desktop 14.04 as a VM on a mac with vmware fusion. I'm getting space warning issues and now want to expand from 20GB to 200GB. I powered off the VM and on the vmware side ...
1
vote
2answers
46 views

Where are my lost cron jobs?

I am trying to port the code over to a new server hosted somewhere else, and I want to know what cron jobs are running on the old box. Where can I find these? crontab -l SHELL="/bin/bash" 0 0,6 * * ...
0
votes
0answers
8 views

i3status alsa mixer

How do I get i3status to display the volume level from alsamixer instead of Pulseaudio? This is my volume configuration right now: volume master { format = "♪: %volume" format_muted ...
0
votes
1answer
26 views

Return owner of process given PID

I'm trying to grab the owner of a process from a list, I have the command pidof nmap to get the then ps -u <PID> | grep USER that I'm currently playing around with, but when I run it, it ends ...
1
vote
1answer
931 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 ...
1
vote
1answer
99 views

ubuntu server 16.04: cannot get supervisor to start automatically

I installed supervisor on ubuntu server 16.04. $ sudo apt-get install supervisor $ sudo update-rc.d supervisor defaults After rebooting, supervisor didn't get started automatically. Checked the ...
7
votes
4answers
8k 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 ...
1
vote
0answers
32 views

how to create an icon button in X11?

I am using x11 library for creating a simple window application in Linux. I want to add an icon button (graphical button) to my app - something similar to this: Are there any instructions on how to ...
11
votes
5answers
25k views

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

I was trying to open eclipse in my ubuntu VM with the below commmand.. And as soon as I do that, I always get the below exception - ubuntu@username-dyn-vm1-48493:~$ eclipse Eclipse: An error has ...
3
votes
1answer
21 views

Console keymapping

I have installed Arch Linux on my Thinkpad W530, and none of the Fn-Fx keys or the volume buttons work. However, they do work before I have booted into Arch at the Grub menu. (I can change the ...
1
vote
1answer
12 views

Using chroot to restore Kubuntu 14.04

I have accidentaly purged some system files and now Kubuntu 14.04 won't boot past the start up logo. I read online that I can perform changes on my system through my LiveUSB and the BASH chroot ...
1
vote
3answers
1k 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 ...
1
vote
1answer
2k views

pptp is refusing traffic

I have setup a pptp (VPN) server on CentOS 6.5. I can connect, but unfortunately, when I try to load a page, it hangs on 'Connecting...' I have no idea what could cause this... tail /var/log/messages ...
0
votes
0answers
24 views

Practical method to safely use a USB stick on daily basis for Linux

Which practical method exist for safely using a USB stick on a daily basis, for Linux-based systems (e.g. Ubuntu) ? With emphasis over the following: I'm well aware that nothing is 100% secure ...
0
votes
0answers
38 views

scp and rsync not working when executed within .sh files from “startup programs window”

With Ubuntu Mate 16.04, I have a file my_backup.sh like this: # Log just for trying echo $(date) >> /home/albert/dia_hora # BBDD NOW=$(date --date="yesterday" +"%d") ...
0
votes
1answer
1k views

Low display resolution Ubuntu Gnome remix 12.10

I'm running Ubuntu Gnome remix 12.10 and it can't recognize my display. My HW is: Intel i3 3225 with HD 4000 onboard / is on a OCZ Vertex 4 SSD display is an old IBM Thinkvision with vga connector ...
0
votes
0answers
17 views

Errors building and installing clBLAS on Ubuntu 16.04 (64bit)

I'm tring to build clBLAS from source on Ubuntu 16.04 (64bit). From the cmake configuration output it appear the dependencies have been satisfied. I'm being guided by instructions from here like so; ...
1
vote
2answers
1k 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
1answer
17 views

How does this work in firewalld? iptables accept all [on hold]

On Ubuntu with plain iptables, filter table, INPUT chain: Chain INPUT (policy ACCEPT) num target prot opt source destination 1 ACCEPT all -- anywhere anywhere ctstate ...
1
vote
0answers
12 views

xcalib not saving brightness settings and other issues

I have certain issues which I'll list below, I hope you can help me: 1.) I have xcalib installed, I use it to manually change my contrast settings (something not possible in ubuntu directly, at least ...
0
votes
1answer
765 views

Ubuntu Postfix Open LDAP integration - no SASL authentication mechanisms

Ive followed all the steps in https://help.ubuntu.com/community/Postfix/DovecotLDAP but I am getting a localhost postfix/smtpd[12520]: fatal: no SASL authentication mechanisms in my ...
0
votes
0answers
19 views

ssh doesn't let you change your password ,if expired

abc@xyz:~$ ssh root@178.63.93.31 root@178.63.93.31's password: You are required to change your password immediately (root enforced) Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-85-generic x86_64) ...
2
votes
2answers
56 views

How to Find LaTeX generated PDF files?

I need to find LaTeX Generated PDF files because I want to find those files made by me. I think find could possibly work here. OS X El-Capitan I run Ulrich's proposal find BitTorrentSync/ -exec ...
-1
votes
0answers
14 views

Share Internet from WebOS tv with ubuntu pc through Ethernet

Is it possible to share WebOS TV's internet connection with ubuntu using Ethernet ? Do I have to do anything for this on my Ubuntu (Gnome) pc? I'll be thankful if you tell me How I can do that? Sorry ...
1
vote
3answers
6k 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 ...
0
votes
1answer
39 views

Remote headless streaming of GUI from Linux: X says “No protocol specified” before login

The goal: I want to stream video (i.e., to Twitch) of the graphical output of a Java program I'm running on a headless Linux box. I also want to be able to start this up remotely and without a ...
1
vote
1answer
37 views

xkill Used On Desktop

Mouse accidentally clicked on Desktop while active with an xkill terminal command. Which makes it completely without use. Have used nemo command which resets everything as long as terminal remains ...
2
votes
1answer
23 views

Is it safe to uncheck Ubuntu Recommended Updates?

I'm currently using Lubuntu 16.04 LTS . There are three options in Software and Updates app which are Important security updates (xenial-security) should be necessary. It doesn't matter having ...
5
votes
2answers
159 views

How to Install R's devtools and digitize?

System: Ubuntu 16.04 64 bit, Dell PC 2013, 16 GB, i5 2013. I need devtools because I need the function install_github to install the non-CRAN package digitize here. I installed R by sudo apt-get ...
0
votes
0answers
10 views

Which script is responsible for mounting an HGFS share on an Ubuntu 16.04 guest running on a Windows host in VMWare Workstation 12?

I'm trying to change the permissions of the mount so that the owner of all files/folders in the shared folder residing on the Windows host doesn't default to root. I've found this ...