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

Sending data from rs232 [duplicate]

I'm trying to write a loopback test with pins 2 and 3 connected. I am using Ubuntu OS and java for the code. The library that I'm working with is JSSC. I am able to read and write from the serial ...
1
vote
2answers
136 views

Get a refreshing list of running specific processes

I want to monitor running python processes with VSZ, RSS %MEM, %CPU etc. One of my priorities is a list refreshing every X seconds. I managed to come to the point of obtaining a refreshing list of ...
4
votes
3answers
5k views

How to write a shell script that gets executed on login?

I am trying to write bash shell script in Ubuntu 11.10 Linux distro, that will get executed automatically on logging into the system. But I am not able to figure out that what to write in script that ...
0
votes
0answers
16 views

Is there a way to change file/folder ownership on a server in Ubuntu/Kali-Linux? [migrated]

I accidentally changed file ownership of a folder in Windows 7 and now nobody can edit, copy, view, move it, etc. Not even the administrator account account can change it back. I tried icacls and ...
0
votes
2answers
62 views

ls command lists hidden files

When I run ls command I get files like opencv.sh~ in my output which is not visible if I check the home directory. Basically, it also lists hidden files without supplying any other parameter. How can ...
3
votes
2answers
5k 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 ...
1
vote
1answer
140 views

Startup script with LSB headers not working correctly (dependency problem)?

I am creating a startup script for my Ubuntu 14.04.1 LTS server. The script need to be run after the Rabbit MQ server. The Rabbit MQ startup script says it provides "rabbitmq-server". So I put this ...
1
vote
1answer
16 views

Incorrect iperf configuration?

I have a laptop (with Ubuntu) and a router (with OpenWrt). When I check the version for both, the laptop says I have version 2.05 for multithreads and the router says I have 2.05 for pthreads. Both ...
1
vote
1answer
33 views

Grub 2 multi image boot disk boots some images but restarts on others

The issue I'm having is that my bootable usb I have only works with certain boot images, to be more specific it will boot Ubuntu desktop iso images but not Ubuntu server. If I try to boot Ubuntu ...
0
votes
2answers
966 views

Linux Ubuntu / Mint Live CD user-home customization

I'm trying to customize Linux Mint Live CD with these instruction (uck doesn't work for me). What I want is to have more icons at its Live CD user (/home/mint/Desktop) but I can't find /home/mint on ...
59
votes
11answers
177k 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 there just get overridden. $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
0
votes
1answer
775 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
46 views

Vagrant: missing destination file operand after ‘/etc/exports’

I'm running Vagrant 1.7.3 with an Ubuntu 14.04 basebox, and I want to try out the new Puppet 4.2.0. However, when I run vagrant up on an empty VM, I get the following error: cp: missing destination ...
4
votes
1answer
1k 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: ...
6
votes
1answer
745 views

How to write/edit/update the OsIndications efi variable from command line?

In the need to enter the UEFI firmware setup utility while using ultra fast boot (keyboard drivers are not loaded during POST), I wish to write to the "Os Indications" efi variable. My OS is Ubuntu ...
1
vote
0answers
10 views

mdadm RAID10 - change broken disk

Tonight my server stopped answering to ssh, ping, so I drove to the server room. Server did not respond to keyboard (even Ctrl-Alt-Del), there was no data on screen (it was black, no symbols on it), ...
2
votes
1answer
23 views

Disabling wlan0 adapter

Question: What is the terminal command behind right clicking on the wireless icon (Ubuntu 15.04) and then unchecking "Enable Wi-Fi" the box? Why am I asking it? macchanger just work for me when I ...
0
votes
1answer
762 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, ...
0
votes
0answers
23 views

Mouse Pointer Blinks and Sometimes Disappears

I am using Ubuntu 14.04LTS with dual Monitor. I am unable to figure out the problem occurring with the mouse pointer. The mouse pointer blinks and at times it disappears. Any help is appreciated ...
0
votes
0answers
19 views

Why won't MOTD display output from a Python script it calls outside of /etc/update-motd.d/ unless it's in this directory?

The Situation We're running a headless Ubuntu 14.10 Server to fulfill various needs and tests. I was experimenting with changing the MOTD for SSH sessions via /etc/update-motd.d/ so as to display ...
0
votes
0answers
9 views

Iperf connection failed

I have an openwrt router connected to my ubuntu laptop with an ethernet cable. I installed iperf on both, and now I am trying to run commands (i.e. iperf -s), but I keep getting the following errors: ...
0
votes
0answers
21 views

Asterisk:Registration is UNREACHABLE VOIP chan_sip.c:15171 sip_reg_timeout

I'm trying to register my VOIP but I can't and appear this massege [Jul 24 12:45:58] NOTICE[24430]: chan_sip.c:15171 sip_reg_timeout: -- Registration for 'XXXXX@sip2.tellfree.net' timed out, ...
8
votes
5answers
15k views

How to get back sudo on Ubuntu?

I have done this: sudo chown -R myname /usr/ and now I can't use the sudo command because of this error: sudo: must be setuid root And as I read this means that the owner of this file ...
0
votes
1answer
81 views

Using `minicom` not able to access the root file system

I am trying to use minicom for my serial cable communication to the target but I am not able to access the / of my remote device.I tried setting up ttyXX for minicom using sudo minicom -s but still I ...
0
votes
0answers
10 views

Ubuntu 14.04 VM resizing in VMWare fusion 7 whenever a terminal is opened?

On a computer at work, we have a virtual machine running that resizes the whole VMWare window whenever you launch a new CLI terminal window within the VM. Any ideas how to fix it? It's quite annoying. ...
0
votes
0answers
9 views

modprobe vmhgfs gives — FATAL: Module vmhgfs not found

I'm trying to get shared folders working in VMware Player 6. My host is a Windows 7 box, and the VM guest is Ubuntu 14.x I'm trying to share an external drive on my Windows machine (F:) with my ...
2
votes
1answer
16 views

Replacement for php5-auth-pam to authenticate website login against local users

I am working on a login for a PHP-based website where users should be successfully logged in if they enter a valid username and password for a local account on the system. Looking around, it seems ...
0
votes
1answer
20 views

Problems installing PCRE on ubuntu

I am new to linux and am trying to install PCRE 8.37 on Ubuntu 14.04 but am getting the following error: sudo ./configure && make && make install checking for a BSD-compatible ...
4
votes
1answer
1k views

Fedora 18 guest in VirtualBox 4.2: How to assign static IPv4 address to guest regardless of active ethernet interface on host

I have a Ubuntu 13.04 host running VirtualBox 4.2.12. This host has both a wired and a wireless network interface, but only one of which would usually be active at any given time. For example, at home ...
3
votes
2answers
3k views

Long line wrapping in Nano

When editing an authorised_keys file in Nano, I want to wrap long lines so that I can see the end of the lines (i.e tell whose key it is). Essentially I want it to look like the output of cat ...
1
vote
1answer
16 views

Advanced Policy Firewall: allow_hosts.rules doesn't work

I'm trying to open ports for Nimsoft. In allow_hosts.rules I opened ports for private network: tcp:in:d=48000_48020:s=10.0.0.0/8 tcp:out:d=48000_48020:d=10.0.0.0/8 During starting apf I see that ...
0
votes
0answers
9 views

How can I boot a bootable windows 7 installer usb [migrated]

I have a bootable usb windows 7 installer. It is working in another computer with windows 7. I want to boot it from a computer with zorin OS but I can't. I can see it from my bios menu and I can set ...
1
vote
0answers
45 views

Ubuntu 14.04.2 LTS: for NIS users, SSH works but console login and sudo fail

I set up a fresh Ubuntu 14.04 LTS VM on VirtualBox and did an upgrade, so now I'm sitting at 14.04.2. Our office environment is NIS+NFS. I set up autofs and NIS, and confirmed that I can log in as a ...
1
vote
0answers
20 views

Using Ubuntu Server machine as a DHCP and DNS server to forward URL's to IP addresses

I'm inexperienced with Linux servers but I've done okay so far - basically I want this machine to dish out IP addresses via DHCP (done) and then I also want it to act as a DNS server that simply sends ...
0
votes
2answers
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 ...
0
votes
0answers
18 views

How can I fix the duplicate mouse error without logging out?

I sometimes get to see something like this: When I take a screenshot, it looks like this: As you can see, I actually have two mouse cursors + the remainder of a drag-and-drop action on my ...
0
votes
0answers
42 views

Realtek RTL8111 Network card not working on Ubuntu 14.04

I'm trying to install an Ethernet Card into my Ubuntu 14.04 desktop computer. Here is my lspci output (First one is my new ethernet card): 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. ...
0
votes
1answer
85 views

XBMC crashing while playing SOME but NOT ALL videos

I am using Frodo on Ubuntu 14.04. XBMC is crashing when playing some but not all videos - most videos work. My hardware specs (old computer) 00:00.0 Host bridge: Intel Corporation Mobile ...
0
votes
0answers
9 views

is it possible to install libBLT.2.4.so.8.5?

my tkinter is linked to libBLT.2.4.so.8.5 and libtk8.5. However, my ubuntu system only has libBLT.2.4.so.8.6. Is it possible to install libBLT.2.4.so.8.5?
0
votes
1answer
49 views

Bash script strange behavior - script does not act as manual commands

So, this is strange. When I manually run commands it all works fine, but when I run a script with identical commands, I get strange error output. This is what I run: lxc list; for elem in ...
0
votes
2answers
34 views

Installing mailx on ubuntu 14.04.2

So I've installed mailx but I'm unable to get it to send an e-mail. I do the following: mailx -s "Test" To: myemail@email.com Cc: "This is a test." CTRL-D (does not work) CTRL-D does nothing. It's ...
12
votes
3answers
39k 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 ...
0
votes
0answers
9 views

Spotify Linux Client pulse audio crash

I'm running Elementary OS, using the latest version (0.9.17.1) and every day/every other day the client crashes and I get the following error: "spotify crashed with SIGABRT in ...
0
votes
1answer
53 views

Battery indicator problems after installing and uninstalling kubuntu-desktop package on Xubuntu 15.04 x64

A few weeks ago, I decided to get adventurous and install different interfaces on my Lenovo T420 running Xubuntu. I decided to jettison Kubuntu after trying it out (just not my style) and kept Xubuntu ...
3
votes
3answers
3k views

“Could not connect to display” in one user account

I have a GUI application written in Qt and I wanted to run tests by ssh (or Jenkins). There is only one user account, which allows to run it in display mode (ofc when I previously do "export ...
0
votes
1answer
1k views

qemu emulator for raspberry

I am trying to emulate a raspberry pi on ubuntu. I have tried several ways using several tutorials but every time, the emulator logs this: scsi: 0:0:0:0 ABORT operation started scsi: 0:0:0:0 ...
0
votes
0answers
18 views

etc/apt/sources.list contents for EC2 Instances upon AWS

When I copy an Ubuntu image between regions, the image is customised slightly in the process. Notably the software sources in /etc/apt/sources.list are altered to "local values". I am aware that ...
0
votes
1answer
84 views

Why can't I use ssh?

The problem seems to occur straight from the time I have installed Ubuntu 14.04 LTS. I first realized this problem when I was trying to connect with my hosting at HostGator. I neglected and thought ...
0
votes
2answers
42 views

rsyslog seems to have vanished from my system

I'm debugging an issue where I think my server is spamming other servers because it is infected but all my logs stop in august last year, and rsyslog is missing from the system /etc/rsyslog.d still ...
1
vote
2answers
95 views

CasperJS and PHP In Cron Job Cannot Open Files, Works Fine When Run Manualy

I recently got a new DigitalOcean LEMP environment with Ubuntu. I tried making an SH script that uses CasperJS to scrape data from an external website to a JSON file, and a PHP script to parse the ...