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

How to find the type of an img file so it can be mounted

I have a .img file and I want to see what's inside of it. I tried mounting it, but I don't know what filesystem type it is. Is there a way to detect what it is so I can mount it? I'm using Ubuntu. ...
1
vote
0answers
132 views

Making CodeBlocks work with Terminator?

I want to make the programs compiled by Codeblocks, run the shell program 'Terminator'. So I went into Environment Settings > Terminal to launch console programs, the default value is xterm -T $TITLE ...
10
votes
1answer
1k views

is upstart and supervisord used for the same thing?

I have a some jvm based processes that I need to make sure start whenever my server is rebooted, and also if it stops because of an unexpected error etc. I'm running Ubuntu 12.04 in case in matters. ...
1
vote
1answer
114 views

Yarbu Execution

I am attempting to use a Project called Yarbu It appears to be exactly what I am looking for. However I am a noob at Linux and am having difficulty getting it to work. I successfully completed the ...
1
vote
4answers
1k views

Finding computer uptime from first day until now

I need to find PC uptime from the day of installation until now. Is this logged somewhere? Does any file log this cumulative uptime?
2
votes
1answer
187 views

write pc uptime in a file in shutdown

I need to log PC uptime. How I can do this? I use uptime for this and I will when ubuntu is shutdown write this command output in a file.
2
votes
2answers
523 views

Changing permissions for files in linux

I have started using Linux recently for development of a project and currently facing some issues with file permissions in the directories. I have some libraries .so files that I need to access from ...
5
votes
1answer
864 views

NFS server causes high load even when idle

I have an Ubuntu (12.04) NFS server that has a high load (larger than 10) even when nothing is running. In detail, the storage is provided by an iSCSI device, on which I have 5 logical volumes (LVM) ...
5
votes
1answer
7k views

~/.xinitrc not being run

I am not able to run my ~/.xinitrc (~/.xsession) scripts when logging into my computer. I'm using Xubuntu 12.10 with vanilla lightgm as the login manager. Both these files have the right permission ...
3
votes
2answers
1k views

iSCSI device mapped to different SCSI device

I have an iSCSI disk array connected to a server (Ubuntu). When I login with iscsiadm -m node --login -p 192.168.1.240 the device used to appear as /dev/sdb. I created a volume group with LVM using ...
1
vote
0answers
457 views

Remapping gnome-terminal shortcut keys [closed]

According to the Gnome-Termianl Usage, I found that ctrl+shift+up/down can scroll up/down a line in the terminal. Now, I want to re-map the shortcut key, just like: alt+j/k to scroll up/down a line, ...
11
votes
2answers
2k views

Why is vi apparently broken (viminfo error E576), and how can I fix it?

I am proficient at using Unix/Linux, but I am not an expert. If I want to open a file (for example, file.txt), I use vi: vi file.txt This opens the file, and if I want to close it, I use :q!. I ...
2
votes
1answer
216 views

PPTP server with NIC aliases

I have set up a VPN on a VPS Server using PPTP. I have one NIC with two aliases. eth0 eth0:1 eth0:2 The 3 interfaces have public addresses. eth0 is a French IP, eth0:1 is UK, and eth0:2 is ...
3
votes
1answer
2k views

qemu - two clients (tap0 & tap1) via br0 can't ping eachother but server pings ok

I've got: A host system running Ubuntu with KVM (functional) Two clients, one Ubuntu and one Windows 7, nothing fancy. I've also setup (see below) a bridge via br0 for the clients: br0: ...
1
vote
2answers
143 views

Having Latest Versions of all Apps in Ubuntu 12.10

As we all know that Arch Linux repository is updated with all the latest releases of all the softwares. But in Ubuntu, The repo is not updated that often resulting in user using the older versions of ...
1
vote
1answer
317 views

Unable to log in to Ubuntu server 10.04 after trying to join Windows domain

I was trying to join our Ubuntu 10.04 server to the Windows domain and I ended up editing the pam.d configuration files. My aim was to have domain users log into the Ubuntu server with their domain ...
3
votes
1answer
603 views

tc class rate 50Kbps != 50K/s in wget?

Got the following test rule setup: tc qdisc add dev wlan0 root handle 1: htb tc class add dev wlan0 parent 1: classid 1:1 htb rate 1000Mbps tc class add dev wlan0 parent 1:1 classid 1:5 htb rate ...
1
vote
1answer
609 views

Adding Objective C compiler to GCC 4.7.2

I finished building the GCC 4.7.2 with C, C++ and Go compilers on my Ubuntu 12.04. I now want to add the Objective C compiler, is it possible to add it to the previous build? If so, how should i ...
1
vote
1answer
225 views

How to add another OS entry in Wubi grub

I am trying to install another linux distro besides ubuntu. However, I want to retain my existing windows based loader. Currently, as per my knowledge, MsDos loads grub which then loads Ubuntu (with ...
3
votes
1answer
291 views

Awesome & youtube

I run Awesome WM on Ubuntu. Recently when I try to watch youtube videos in full screen they have been playing in a small letter box - They have not 'full screened'. In the other hand, Vimeo & ...
2
votes
2answers
1k views

Install Sublime Text 2 on Ubuntu

I installed Ubuntu Linux (via VMWare). I'm trying to install Sublime Text 2 on Ubuntu, so I entered these lines: tar xf Sublime\ Text\ 2.0.1\ x64.tar.bz2 sudo mv Sublime\ Text\ 2 /opt/ sudo ln -s ...
9
votes
2answers
18k views

iptables --set-mark - Route diferent ports through different interfaces

Short story, 3 interfaces, eth0 (LAN), eth1(ADSL), eth2(4G). eth0 -> eth1: Works (ports 80, 443, 4070) eth0 -> eth2: Doesn't happen This is a graphical representation of the idea: Port 80 & ...
2
votes
2answers
503 views

“Waiting for network configuration” upon boot

When I boot, I get the error message waiting for network configuration, then waiting an additional 60 seconds for network configuration. I had edited /etc/network/interfaces file before the above ...
1
vote
1answer
318 views

Writing a service in C: How to pass and process arguments to running service?

I want to write a service in C. While this service is running in background and processing some information I need to grab the results from this service from other applications or from command line. ...
3
votes
1answer
248 views

Can I display part of a window on the second device?

When giving presentations, I use the html/css/js-based showoff. It has a presenter mode which shows the notes and the progress in a good way for me. It seems like the idea is that somehow a second ...
1
vote
1answer
768 views

Writes to FrameBuffer /dev/fb0 do not seem to change graphics screen

In attempting to write directly to the graphics frame buffer /dev/fb0 , (Ubuntu 12.04) , the graphics screen does not change. Has Ubuntu 12.04 invalidated the use of /dev/fb0 , or does it need to be ...
0
votes
0answers
504 views

Java SWT App: Need 64-bit swt.jar

I have a Java app that I want to run in Ubuntu, but I have Java 64 so I can't run it because it only has the 32-bit swt.jar. I can't build it myself, so Is there anyone that can provide the 64-bit ...
3
votes
1answer
200 views

Why do the members of a bridge lose their Ip address?

I have created a bridge using to existing network interfaces: $ brctl addif br0 eth1 $ brctl addif br0 eth2 Why do eth1 and eth2 lose their IP addresses? What's the reasoning behind it? PS this is ...
2
votes
2answers
107 views

Are any files loaded when a terminal session terminates?

I know that .profile / .bash_profile are loaded when a terminal session is started, either through local machine or SSH. Are there any files that are loaded/called when the session terminates? ...
2
votes
1answer
135 views

To check which resource is being accessed by which process

I have some process running on my system. I need to list out which of the process at a moment has acquired/is using one or more of these in my system: Ethernet Camera USB Bluetooth WiFi File System ...
4
votes
1answer
455 views

Automatically apply module patch and compile kernel when updated?

I've recently applied a one-line patch to drivers/bluetooth/btusb.c in order to enable compatibility with my Bluetooth device. However, whenever I get a kernel upgrade, the patch will be lost until ...
1
vote
3answers
124 views

how to type linear algebra symbols

How do I type the symbols for linear algebra on Ubuntu? Are there any programs that use them? ( I understand this is trivial basket weaving. Whats the fastest way! )
2
votes
0answers
540 views

Logged into ubuntu via VNC. Windows key seems stuck

I have an ubuntu server running vnc4server and gnome-session. When i log in remotely using VNC, it appears that the windows key is stuck. This occurs with multiple VNC clients (ultraVNC/realVNC on ...
3
votes
1answer
336 views

Can I limit connections per second for certain UserAgents using UFW?

GoogleBot is hitting my server hard - and even though I have set the CrawlRate in Webmaster Tools it is still hiking up the load on my server and slowing down Apache for the rest of the normal web ...
1
vote
0answers
22 views

Upstart script produces folder with question mark at the end. Why? [duplicate]

Possible Duplicate: Bash/Korn shell script edited on Windows throws error ‘…^M: not found’ I'm writting an Upstart job to run Postgresql: description "PostgreSQL 9.1 Server" author ...
1
vote
1answer
1k views

How do I fix a noisy input device (Internal Mic)? snd_hda_intel - debug included

As the title says, I'm having trouble with a very noisy audio input device - the internal mic or any plugged in mics. So far I've narrowed it down to an problem in ALSA since my debug info is showing ...
1
vote
1answer
5k views

Booting Ubuntu from usb on a Mac

I have a Macbook pro (late 2009) running OSX 10.6.8. I want to partition a flash drive and install my Ubuntu iso image onto it. Then I want to boot up from it by (restarting my computer and) holding ...
1
vote
2answers
251 views

MySQL server on Ubuntu fails to start after changes made to my.cnf in Windows

I have MySQL 5.5 running on Ubuntu Server 12.10. When I run /etc/init.d/mysql restart, I get the following: mysql start/running, process 2754 However, when I open /etc/mysql/my.cnf in Windows via a ...
2
votes
2answers
1k views

Finding out the values of kernel options related to sysctl.conf and sysctl.d

On my Ubuntu machine, in /etc/sysctl.conf file, I've got reverse path filtering options commented out by default like this: #net.ipv4.conf.default.rp_filter=1 #net.ipv4.conf.all.rp_filter=1 but in ...
2
votes
2answers
838 views

Moving a root directory to a separate partition

I'd like to create a new partition and move the contents of the /var directory to it for the security reason of having /var/www and other subdirectories "mounted" with nosuid, noexec, and nodev ...
2
votes
3answers
2k views

redhat vs debian/ubuntu system architecture (& not deb vs rpm)?

What are the key areas (except package management) where Fedora/RHEL/CentOS differ from Debian/Ubuntu Linux systems? I'm asking this from a newbie's perspective to the Linux admin world so that I can ...
1
vote
1answer
2k views

kernel: mdadm: sending ioctl 1261 to a partition!

Every minute these three lines are added to /var/log/syslog: Dec 6 06:04:01 machine1234 kernel: last message repeated 3 times Dec 6 06:04:01 machine1234 CRON[28959]: (root) CMD ...
0
votes
1answer
303 views

Why is rewriting in htaccess not working on this server

I'm moving code from a server that served a single domain to one that serves multiple domains. I'm using named virtual hosts to handle the different domains. The url rewriting is not being executed ...
1
vote
1answer
847 views

Second GPU does not show up in `lspci`

I switched the second GPU in one of our servers (Ubuntu 12.04.1 LTS). But now lspci only gives one entry: $lspci | grep -i nvidia 04:00.0 VGA compatible controller: NVIDIA Corporation G94 [Quadro FX ...
1
vote
1answer
989 views

Gigabit network connection in Ubuntu issue with new hardware

Probably its typical issue, but I couldn’t found the answer. Sometime ago I had mini-ITX server worked on ZOTAC IONITX-G-E. It was managed by Ubuntu 10.10. I setuped Gigabit network with this server. ...
2
votes
1answer
107 views

Adding repositories with “./” [closed]

I'm trying to add this unoficcial repository to my Ubuntu 12.04 machine (32 bits), in order to install a software called SLTV. According to the official site, the following lines should be used: deb ...
3
votes
2answers
799 views

Can't get lm-sensors to ouput correctly or load ATI Radeon temp and fan

I am new to Linux and having minor issues. I followed this guide initially, but did not receive the proper output, and it did not show my ATI Radeon HD 5000 temperature or fan speed. Then I used this ...
6
votes
1answer
4k 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 ...
2
votes
3answers
191 views

Wubi limitations

Hi there I am quite new to Linux. Initially I decided to use Linux on VM but now I want to have full fledged experience. But I don't want to partition my PC. Will Wubi work since Ubuntu is ok for me. ...
4
votes
2answers
486 views

Linux installation stops working after a few reboots

I'm trying to set up a dualboot Win8/Linux on my HP tablet (touchsmart tm2-1050ez). However, when I'm finished setting it all up, after a few more reboots, I'm not able to boot to Linux anymore, as I ...