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)

3
votes
2answers
9k views

Cloned Linux system and /etc/udev/rules.d/70-persistent-net.rules

I set up an Ubuntu system and configured it properly, including defining eth0 in /etc/network/interfaces. I then imaged that system and cloned it on a new system. When I booted up the system the ...
0
votes
0answers
9 views

how do I save atom io files to be executed in terminal

so i am new to atom and i was trying to figure how to run saved atom io files and then run it as an executable program from terminal? Right now i am trying to use the command ./filename.py for ...
3
votes
3answers
3k views

Configure multiple interfaces with different hostnames using DHCP and DNS

I have a machine running Ubuntu 12.04 Server with two interfaces connected (eth0, eth1) to the network. Our network is set up so that a FreeBSD based DHCP server hands out leases and registers the ...
2
votes
2answers
83 views

How to schedule initial configuration of a system after cloning?

I want to setup a big amount of servers using cloning. After the initial image was applied, I want to run a configuration script. The cloning will be done through hard disk replication by the hardware ...
4
votes
2answers
157 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 ...
-2
votes
1answer
39 views

How can I run a script as sudo and for it to not ask me for a password?

I want to run the following script: #!/bin/bash if grep -qs 'MinecraftServer' /media/kiancross/MinecraftServer/MinecraftServer; then echo "Disk already mounted, server boot will continue" else ...
0
votes
1answer
26 views

stop IP address to land on website home page [closed]

I notices that when i type my VPS IP address in address bar then it display website home page. So it may case duplicate content. Can you please tell me How to stop IP address landing on website home ...
1
vote
2answers
7k views

How to start teamspeak 3 on boot, ubuntu server 12.04

So I'm quite new to linux but I'm starting to understand it. I have a Ubuntu Server 12.04 system, fresh install, and I installed a teamspeak 3 server on it: $ sudo useradd teamspeak (provided user ...
0
votes
1answer
1k 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) ...
1
vote
0answers
53 views

Yakuake doesn't save shell setting

When I change the shell appearance opacity it works fine but when I reboot Ubuntu again, the opacity is back to 0 and I have to configure it again. How can I save the Yakuake settings? I am using ...
3
votes
0answers
264 views

How to setup unprivileged LXC container without reboot?

I am writing some bootstrapping scripts, and I can't get usermode LXC containers working on vanilla Ubuntu 14.04 headless without a reboot. Here is what i do. First, I download and install Ubuntu ...
0
votes
2answers
479 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
16 views

Recover /var/lib/dpkg directory in ubuntu 14.04

Today by mistake, i deleted directory /var/lib/dpkg using "rm -rf /var/lib/dpkg/*" from my VPS server. Can you please tell me how i can recover this directory ?
0
votes
1answer
19 views

Curl Command PUT Method

curl -i -X PUT -H 'Content-Length: 1000' http://dfdc:dfdc@xx.xx.xx.xxx:xx/directory/ Above curl doesn't produce any response at Ubuntu shell prompt.
-1
votes
0answers
25 views

Can't unlock Ubuntu account (KDE) with correct password [closed]

I am unable to unlock my Ubuntu session with the correct password. I found this solution but it was for Gnome. I need a solution for KDE.
0
votes
1answer
590 views

Playing or converting .dv4 files in Linux

I need to find a way to playback a number of .dv4 files on Ubuntu 12.04 and Fedora 20, possibly after having converted them to a more conventional format. So far I have managed to convert the files ...
1
vote
0answers
20 views

Variations in Ubuntu 12.04 /usr/bin/time statistics

I have a command line tool which I run on Ubuntu 12.04.5 LTS. I need to calculate the cpu time for this program. I have been checking /usr/bin/time function. command: /usr/bin/time -v -a -o ...
2
votes
2answers
1k views

Adding priority to the task permanently on Linux machine

How do I increase the priority for a task in Debian Linux system? After a little research I found that I can increase the priority to a task using nice command and if I want to increase the priority ...
1
vote
1answer
132 views

Nginx leaves old socket

I'm running Nginx 1.6.2 (the nginx-full package from the nginx/stable PPA). I'm using the unmodified configuration /etc/nginx/nginx.conf: user www-data; worker_processes 4; pid /run/nginx.pid; ...
2
votes
1answer
592 views

How to open tty or execute some script when the shortcut Ctrl+Alt+F[1-6] doesn't work and X11 is partially frozen but system is still working?

I'm using Ubuntu 10.10 with Gnome on Acer Aspire One netbook. The X11 or just some parts of Gnome like panels and partially windows (details described below) are frozen which doesn't allow to do ...
1
vote
2answers
4k 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
2answers
2k views

Linksys AE3000 install on linux

I bought a Linksys AE3000 wireless adapter hoping I could use it on my Ubuntu 12.04 box. I found a website that walked through using it, but it didn't work. I edited rtusb_dev_id.c to add: and then ...
0
votes
1answer
85 views

Strange bash sytax error depending on sudo usage

I made this bash function to detect if the user running is actually logged in as root user and not using sudo by checking the uid + home directory of the user executing the command: #!/bin/bash set ...
3
votes
2answers
5k views

Kernel Panic - not syncing: VFS: Unable to mount root fs after new kernel compile

So I've been at this for a while and have been poking around for an answer for a few days, and figure it's about time to ask for help. I am running Ubuntu 10.10 in VMWare Fusion, and have downloaded ...
4
votes
2answers
9k 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 ...
0
votes
1answer
796 views

Ubuntu 12.04 32 bit is slow on Virtual machine

I have installed Ubuntu 12.04 32 bit os on my Virtual machine. I have allocated 2GB ram to it. But the VM is running very slow, and left side taskbar is not visible. When I place my cursor on the ...
1
vote
0answers
19 views

mate-panel --reset command not found

After some updates, our Ubuntu 14 MATE desktop doesn't have a panel, nor does it load a terminal. After pressing ctrl+alt+f1, and logging into our account, I tried the command: mate-panel --reset ...
0
votes
0answers
18 views

How do I add a specific update to a Ubuntu install stick

I am using a USB to install Ubuntu to a new laptop. It will require a separate package update to configure the wifi afterwards via an ethernet connection. Is there a way to add this package to the USB ...
2
votes
1answer
535 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" ...
0
votes
1answer
27 views

Systemd, change order of unit file starts?

I have written a sample test service and it looks as below, [Unit] Description=Test service [Service] Type=dbus BusName=test.sample Restart=on-failure ExecStart=/usr/sbin/testbin -n ...
1
vote
1answer
1k views

How can I manually decrypt the hard drive?

I've just switched to Ubuntu 12.04 one year ago and moved all my photos, documents, etc to the 1TB main hard drive that has been encrypted during the installation process - not LVM but only the home ...
7
votes
1answer
494 views

Is there a tool(!) to list assigned subuid and subgid values for users?

The question is basically in the title. usermod -v (--add-sub-uids) and usermod -w (--add-sub-gids) can be used to manipulate the subuid and subgid ranges for a user account, but there appears to be ...
2
votes
2answers
4k views

Invalid signatures when running apt-get update

I'm new to linux and am trying to run an update, I get a lot of "Hit"'s and "Ign"'s but in the end I get these errors, does anybody know what they mean and how I can fix them? W: GPG error: ...
0
votes
0answers
19 views

not displaying boot menu

I had both Ubuntu 12.04 and windows 7 on my Hp desktop and it was working properly.Now the problem is when I tried to boot the system it is not going to the boot menu instead it continuously blinks ...
0
votes
0answers
7 views

TweakTool scaling factor not working

I installed TweakTool on my Ubuntu 14.04 and was playing around with it and since then the settings on LibreCalc are not right. Font is too small. Take a look at the bottom where "Sheet 1", "Sheet 2" ...
-1
votes
0answers
32 views

how to reverse the ip address using shell script [duplicate]

In my script, I am getting output as hostname: host1 and IP:100.1.168.192 Now i want to reverse and show the result. Like this i want the result 192.168.1.100 How to reverse it ? My script will ...
1
vote
2answers
48 views

Installing older versions of python packages with apt-get (specifically wxpython)

I've been beating my head against the wall trying to troubleshoot a graphical program with a WX backend. We've found that wxPython 2.8.10 work fine, and seemingly any newer releases doesn't. Despite ...
1
vote
1answer
431 views

Adding multiple user with shell script on Ubuntu

Can someone help me in providing me the shell script for creating multiple users on Ubuntu. Password needs to be different for each user. Thanks in advance
1
vote
1answer
705 views

Bluetooth Device not working debian wheezy

i just installed debian wheezy on msi cx640dx. my bluetooth device not working. here is some information. Kernel version: $uname -r 3.2.0-4-amd64 when i use hcitool dev it don't show any device. ...
0
votes
1answer
45 views

Not able to connect to my Ubuntu SSH Server even after port forwarding on router

I am using a Ubuntu Laptop on a WiFi router. I have installed SSH server on it so that I can access it from my office network. I have forwarded port 7000 from my router settings. Now, when I try to ...
13
votes
3answers
9k views

What is the proper way to manage multiple python versions?

I have a machine with Python 2.6 installed as the default Python. Then, I installed Python 2.7, and manually created /usr/bin/python as a symlink to the new installation. Then, I was running into ...
1
vote
1answer
14 views

difference between “ip link set” and “disconnect / reconnect” in the GUI?

I've got an Ubuntu 14.04 guest installed in virtualbox. Often when the host machine changes networks or is suspended and restarted, the guest VM loses network connectivity. I can reliably get it ...
1
vote
1answer
371 views

Trying to run Virtualbox under NX session: getting permission denied

I am running Nomachine NX server on my Ubuntu 12.04, and I'm connecting from a Windows 7 machine using NX client. When I try to start VirtualBox, I get a permission denied error. The same user that ...
3
votes
1answer
1k 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
0answers
16 views

error with Transcoding with ffmpeg activated by inotify

I’m trying to automatically transcode videos, that are begin uploaded constantly to a server. That is why I have came up with the idea of using inotify, by checking every moment for new files on the ...
0
votes
1answer
42 views

how to force upgrade of coreutils on old distribution?

I'm running an oldish kubuntu "precise" I need a more up to date version of basename with the -s option. Can I force this somehow? Seems I need 8.14 looking at a version I see on a newer box.
1
vote
1answer
1k views

XBMC crash after selecting “play”. Ubuntu 14.04 and 13.0 gotham. Link to crashlog

I have a brand new machine with fresh install of Ubuntu 14.04 and I'm trying to run Gotham 13.0 on it. I've already added the restricted multimedia codecs (just in case) to Ubuntu. sudo apt-get ...
0
votes
2answers
541 views

Mouse and keyboard not working in Ubuntu 14.04

I updated my Ubuntu Linux to 14.04 and now the mouse and keyboard don't work in the login screen. I tried re-installing grub from a Live USB, but it's still not working. I would really appreciate your ...
0
votes
1answer
29 views

How and where should I add a PATH? [duplicate]

I need to add a new directory to my PATH so that SublimeText can find it. I assume this should be added to either .bash_profile, .bashrc, or .profile. Which one should I add it to? .bash_profile ...
0
votes
2answers
58 views

Running a program (command) on terminal after login screen in Ubuntu 14.04

NOTE :- This is not a duplicate question. I have searched about 100 times on this site and several others including Ubuntuforums,askubuntu and stackoverflow. I couldn't get my work done. OBJECTIVE :- ...