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
votes
0answers
13 views

How can I run a command as root user on Ubuntu? [duplicate]

It seems Ubuntu has disabled the root user account so su doesnt work which is causing me an issue where I have an apache log file that is owned by root $ls -al error.log -rw-r----- 1 root adm 2061050 ...
3
votes
1answer
2k 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 ...
0
votes
1answer
10 views

Why is my WiFi card unclaimed by drivers in UbuntuMATE?

The title says the main issue, my Realtek 802.11n WiFi card isn't being claimed by the drivers from here. I installed led the drivers using the install.sh script given in the decompressed tar.gz. ...
0
votes
1answer
3k views

How to fix error 'xrandr: cannot find output “VGA1”'?

I am trying to enable a HDMI connection to a monitor connected with a HDMI cable to my Lenovo laptop using the following commands. > xrandr xrandr: Failed to get size of gamma for output default ...
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
0answers
10 views

Ubuntu 10.04 iPhone issues [on hold]

I have several HP Smart Zero t410 thin clients at my work place. They're a good replacement for a full desktop machine for many of my users. My question comes in because we have a few users who use ...
0
votes
0answers
9 views

Using Incrond Inotify but having issues with user groups/permissions

In the /etc/incron.allow I added both: root USER_1 Then I edited the incrontab so it looks like this: /var/www/laravel/public/js/main.js IN_MODIFY yui-compressor -o ...
4
votes
4answers
234 views

Remove a directory from inside using the command line interface [duplicate]

Imaging the next simple file structure within the /home/user/ directory: /home/user |--dir0 |--dir1 |--file1 My current directory is 'dir1' and I remove the ...
0
votes
0answers
13 views

tgt daemon not working properly

bl_root@bL:~$ service tgt status tgt start/running, process 1544 bl_root@bL:~$ tgtadm --lld iscsi --op show --mode target tgtadm: failed to send ...
0
votes
0answers
20 views

Ubuntu / SFTP: Enable Access for User B to a subdirectory of User A's home [on hold]

I am using Ubuntu 12.04 and OpenSSH 5.9p1 What I want to do: Give user 'Anton' access to a specific directory (home/AnotherUser/test) on the server via SCP or SFTP. He should only be able to access, ...
0
votes
0answers
41 views

Strange “terminal” appearing

I use ubuntu 12.04 with KDE and had two times a strange terminal or something like this appearing for like 2 seconds and then closing again in the upper right corner. I did not see what it exactly ...
0
votes
2answers
4k views

Software center not working on kali linux?

I followed the instructions for installing kali linux and put these commands into the terminal: apt-get update apt-get install software-center I also added: deb http://http.kali.org/ /kali main ...
0
votes
0answers
5 views

Uninstall MySQL without removing HHVM on Laravel Forge / Ubuntu 14.04

Since I maintain database and web servers separatly, I wanted to have my Forge's maintained web server without mysql, as it tend to use a lot of memory, even if I don't use it. Trying to run a sudo ...
1
vote
1answer
16 views

User settings for monit? Should it run as root, or it's own user?

I'm trying to install monit on an Ubuntu 12.04 server. I have it set up, and configured (i think), but i'm not sure what user it's supposed to run as. My user on the server is called deploy, and my ...
0
votes
2answers
2k views

Unable to connect INTEX 3.5G (aka 普创E003) Wireless USB modem in Ubuntu 12.04 LTS

Can anyone help me out on connecting INTEX 3.5G 7.2 Mbps (aka 普创E003) Wireless USB modem in Ubuntu? Initially it is recognized as a storage device and the modprobe cmd does not create any impact on ...
0
votes
1answer
14 views

News-Window (Browser or RSS) in Kiosk Mode

We have 242 PCs with Ubuntu 12.04 running something like a kiosk mode using iDesk. The background image contains some info for the user but this is very static. Currently we are searching for a way to ...
1
vote
2answers
25 views

Remove nouveau driver (nvidia) without rebooting

I have a Ubuntu Version here, that is started from USB as a Live version. I do not want to install it on hdd, because it would be too much for only testing a small thing on Ubuntu. So I started ...
7
votes
1answer
56 views

what's difference between src version 3.* and 3.*-generic

In my local Linux/Ubuntu, I have two directories for Linux src /usr/src/linux-3.16.0 /usr/src/linux-3.16.0-generic I found the code in 3.16.0 is much more than that in 3.16.0-generic. I am ...
1
vote
1answer
40 views

Unable to install new kernel in ubuntu server. “gzip: stdout: No space left on device” error even though abundant disk space

I am trying to install a new kernel on Ubuntu Server and I am unable to complete it due to a "gzip: stdout: no space left on device" error. The full error was produced after running sudo make ...
0
votes
2answers
175 views

what's the name of ubuntu package contains llvm linker lld

Would like to try this lld from LLVM. The doc on apt could be found here, but I don't know which package contains the lld executable. It seems the purpose of lld is to remove the system dependency, ...
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 .... ...
0
votes
2answers
23 views

Bash output command too large, can't read it!

I'm having some troubles on Ubuntu 14.04 initialization, it fails to mount an SSH folder and gives me the option of a manual recovery by pressing M, displaying a command-line logged at root user for ...
0
votes
1answer
24 views

How to rotate log files [on hold]

i have made a script to zip my log file but by mistake both file is there in directory original and zipped. so is there any command can be used so that i can remove the original file only in one ...
0
votes
0answers
7 views

Ubuntu's Search photos comes up every time I move the mouse

I'm running ubuntu 15.04 on an intel NUC and every time I move the mouse quickly to the left the "Search Photos" window comes up. It does not matter in which application I'm currently in. If I move ...
1
vote
1answer
988 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
1answer
19 views

Arrange program windows out of bash script?

I'm writing a shell script to automatically launch my work environment. It would be pretty nice to arrange the program windows automatically (for example vim opens at the left on desktop, and browser ...
0
votes
1answer
22 views

How to run a specific test from OpenSSL test suite?

I want to measure the code coverage of different tests from OpenSSL test suite. I successfully measured the total coverage of the tests with this method: $ make clean $ export CC="gcc ...
0
votes
1answer
25 views

Which distro to switch to (laptop) [on hold]

I switched to Linux Ubuntu 14.04 from Windows 8.1 about a month ago because I wanted to get more out of my laptop (Lenovo Flex 2). I have been trying to either solve or ignore some issues that I have ...
1
vote
3answers
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 ...
0
votes
0answers
9 views

Is there a key binding to switch to “last” workspace in mint 17.2?

Mint 17.2, Cinnamon. I use dconf editor to set up my hot keys to switch between workspaces. Here is the relevant portion of my workspace key bindings: What I want is a key binding that switches ...
1
vote
1answer
17 views

Old Xen Installation Unable to be Formatted

I recently tried to format a disk that had an old Ubuntu 14.04 partition and a Xen Swap Disk partition. I am currently running the Ubuntu Live CD and trying to access my partitions on the drive for ...
2
votes
1answer
736 views

ifconfig ethernet (eth0) no data flow

Hello this is my ifconfig output: eth0 Link encap:Ethernet HWaddr 50:46:5d:44:5e:fe inet addr:10.0.0.6 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: ...
1
vote
1answer
14 views

System claims my USB is mounted when I insert it and I cannot (un)mount it. How do I fix this?

I'm running Ubuntu 14.10 Server (headless). I have a group of USB flashdrives that I need to reformat for use across several devices. I've successfully mounted, formatted, copied files to, and ...
1
vote
3answers
5k views

How to repair Ubuntu after upgrade? (from recovery mode)

I have gone through countless threads on the following error and none have helped. Your screen, graphics card, and input device settings could not be detected correctly. You will need to configure ...
8
votes
1answer
10k views

How can I make this daemon/init run as a non root user?

I have an init script to kick off a daemon. The problem is it runs as root. I would like it to run as a user called "deploy". Ubuntu 12.04 #! /bin/sh # File: /etc/init.d/unicorn ### BEGIN INIT ...
0
votes
1answer
19 views

ispconfig PHP not parsing on apache2 virtual host

I have trouble installing ispconfig 3 on my (L)Ubuntu 15.04. I can fully install ispconfig but I can't reach the website when viewing the virtual host of apache2. I can open ispconfig from ...
1
vote
2answers
795 views

Unmet dependencies using apt-get on Ubuntu

I am working on a Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-43-generic x86_64) machine. It is a server running in production environment with other projects so I have to be quite careful. I have to install ...
2
votes
1answer
561 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 ...
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
134 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
60 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
139 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
14 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
176k 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
774 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 ...