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
vote
1answer
333 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
266 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
823 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
554 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
208 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
109 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
141 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
491 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
127 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
584 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
374 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
254 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
899 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
3k 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
331 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
933 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
1k 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
847 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
5k 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
195 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
3answers
521 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 ...
5
votes
3answers
10k views

Creating an user without a password

I'm trying to create user without password like this: sudo adduser \ --system \ --shell /bin/bash \ --gecos ‘User for managing of git version control’ \ --group \ --disabled-password \ ...
4
votes
2answers
4k views

Cannot change baud rate on usb serial device

I recently upgraded to ubuntu 12.04 from 10.04. Under 10.04 I had no trouble using usbserial driver to connect to a device through the serial port. After the upgrade usually I cannot reset the baud ...
1
vote
3answers
2k views

Can only access my webserver from my computer?

I am learning Apache2, and I just attempted to make my local web server live to the internet. When I type my IP 86.207.14.136 on the browser's address bar and access it, I see the index.html stored ...
1
vote
1answer
189 views

Accidentally set /lib permissions to 644

Long story short, I've got an Ubuntu server box that was recently compromised (I believe through a known exploit of an older version of Tomcat, which has already been updated). Part of the exploit ...
2
votes
1answer
498 views

Chromakey -video-editing in Unix?

My friends are recommending me to use OSx for video-editing but trying to use old good OSs such as Debian and Ubuntu. How can I do chromakey -video-editing in some Unix or Linux?
1
vote
0answers
367 views

How to install Ruby Test to Sublime Text 2

I am quite new to Ubuntu, so I am running into some problems. I was following this tutorial to install Ruby Tests for Sublime Text 2: https://github.com/maltize/sublime-text-2-ruby-tests There is ...
4
votes
1answer
9k views

/dev/sdb: No such file or directory (but /dev/sdb1 etc. exist)

I'm not sure what is wrong here but when running fdisk -l I don't get an output, and when running fdisk /dev/sdb # I get this fdisk: unable to open /dev/sdb: No such file or directory I'm ...
2
votes
1answer
1k views

How to change the username in Ubuntu 10.10?

I want to change a username. In the prompt, which says abhishek@hello$, I want to replace abhishek with alok (i.e. alok@hello$). Is it possible to do that without reinstalling Ubuntu?
0
votes
1answer
53 views

Apache2 configuration issue?

Why is it that when I write the directive Alias /hello /myfile.php it works fine, but if I write Alias /hello /myfile.php?myvar=test apache gives me 'NOT FOUND'.
2
votes
1answer
1k views

unable to connect ftp in pasive mode

I'm try to connect to ftp which I've just configured but using FileZilla, I'm getting the following logs Status: Connecting to x.x.x.x:21... Status: Connection established, waiting for welcome ...
2
votes
1answer
494 views

Ubuntu Software Raid5 - /dev devices changed, will mdadm raid break

I had a major server failure. The OS is fine and back up and running. Before I plug my raid drives back in and try and mount it I need to ask this simple question. The drives that originally mapped ...
4
votes
1answer
311 views

Completely disable GNOME for my user in Ubuntu

At the office we've been issued laptops with Ubuntu pre-installed. Unity is of course the OS default, but KDE is available. I prefer KDE and so have set KDM and KDE as my defaults. However some GNOME ...
1
vote
1answer
633 views

Samba share file permissions - users can't open files that I create

I have set up an Ubuntu server (12.04 LTS) for samba file sharing. The problem I'm having has to do with files that I create on the server. Other users can't open them because I created them under a ...
1
vote
1answer
578 views

Mesa EGL not working, not even initializing

Nearly a week now, and I can't figure out what's wrong! Any pointers would be appreciated (pun intended)! Ubuntu 12.04 x86_64 Mesa-8.0.4 ./configure --enable-64-bit --enable-pic -enable-opengl ...
3
votes
2answers
3k views

Problem with samba shares Ubuntu server 12.04

I'm having a problem with setting up samba share permissions on Ubuntu Server LTS. I've got two shares set up in the smb.conf file. The entries look like this: [share] comment = Ubuntu File Server ...
2
votes
2answers
2k views

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

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 ...
3
votes
2answers
3k views

getting 553 - cannot create file in vsftpd (ubuntu 12.04)

I'm trying to setup a ftp account for a user that has read/write access to one folder: /items/myuser I've set up the account with username 'myuser' in Linux with the adduser command. After that, I've ...
3
votes
1answer
1k views

Keyboard layout changed. How and why?

Yesterday, I upgraded my kernel (to 3.5.0-19-generic), rebooted, and had to reinstall my video drivers to get full resolution. (After upgrading the kernel, the resolution always goes to 640x480, until ...
1
vote
1answer
605 views

How to avoid 4 core limit for Ubuntu within VMWare?

I have Ubuntu installed as VM on my laptop. My laptop has quad core with HT technology making it 8 cores. Within Ubuntu VM I can only use max of 4 cores. What should I do so I can access all 8? ...
3
votes
1answer
252 views

Display a right-click menu using a shell script

Is it possible to display a right-click menu using a shell script (or some kind of Unix command?) I'm trying to find a program that can be used to display a context menu at a specific location on the ...
2
votes
4answers
217 views

Executing programs without having to specify a directory?

Why is it that I have to type /etc/init.d/apache2 (args) in order to run apache?? Isn't there a way to just apache2 args ??
7
votes
2answers
2k views

can packages marked Debian/Ubuntu be installed in Linux Mint as well?

I have been using Ubuntu 12.10 for some time now, and I kinda hate it. 12.04 was a lot better. While i can still revert to 12.04, I am thinking about trying out Linux Mint based on 12.10 (the Nadia ...
5
votes
2answers
2k views

“who am i” after “su” not showing new user id?

Why is it that when I switch user 'su username' and then execute 'who am i' is outputs the previous user which I was logged as and not the one I've switched to?