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
18 views

Restarting all the network in Ubuntu after hibernating

When my Ubuntu 14.04 machine awakes from hibernation, sometimes the network is disable and enabling it does not make it work again. Running sudo service network-manager restart alone does not solve ...
11
votes
5answers
571 views

Is there a more succinct alternative to piping to wc for counting files in a directory

If I do ls -1 target_dir | wc -l, I get a count of files in a directory. I find this a bit cumbersome. Is there a more elegant or succinct way?
0
votes
1answer
797 views

dota 2 graphics problem in ubuntu 14.04

i installed ubuntu 14.04 in my laptop. then i installed steam and finally dota 2. but the graphics are very bad. i have amd raedon 7400 in my laptop. it seems like dota 2 is not running through my ...
1
vote
5answers
7k views

Is there some default password for a new user in Linux?

I am a Windows user gradually moving towards Linux. In Windows we have an option of either having or not having some password for a user. Once we do not put a password we can directly log in to the ...
1
vote
0answers
23 views

Repositories of Linux Mint, Ubuntu, Debian

This was bugging me for really long time, but I was quite ashamed to ask, as this looks like most basic question about Linux. Linux Mint builds on top of Ubuntu and Ubuntu on top of Debian (I know ...
26
votes
4answers
32k views

How can I update to a newer version of Git using apt-get?

I've just set up a new machine with Ubuntu Oneiric 11.10 and then run apt-get update apt-get upgrade apt-get install git Now if I run git --version it tells me I have git version 1.7.5.4 but on my ...
4
votes
5answers
8k views

How can I upgrade pip on Ubuntu 10.04?

On Ubuntu 10.04 I've used apt-get install pip to install pip after which I installed django. Then I tried to uninstall django with pip via pip uninstall django which gives me: pip: error: No command ...
0
votes
0answers
22 views

Unable to install mysql-server-5.6

My website was running fine on server version 5.5, but now it hangs on the installation of version 5.6. I've tried removing it, purging it, even removing the /etc/mysql folder, then reinstalling it ...
0
votes
1answer
26 views

Cannot Access LAMP Web Server on Ubuntu Server 14.04

UPDATE: So it seems that I can access the website from computers outside of the LAN, it's when I try to pull up from any computer on the same LAN as the server that I get an issue. From what I've read ...
0
votes
0answers
19 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
21 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
12 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
11 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
242 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
22 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
43 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
15 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
57 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
42 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
178 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
24 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 ...
1
vote
1answer
24 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
26 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
737 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
15 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
565 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
135 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 ...