Greatest Hits

2
votes
1answer
54k views

How to Fix “Read-only file system” error when I run something as sudo and try to make a folder/file?

When I try to save something or rename a file/folder it say this error " Read-only file system" or run something as root in the terminal it say this error sudo: unable to open /var/lib/sudo/"My User ...
7
votes
2answers
33k views

How to switch from unity to gnome

Default ui for Ubuntu 14.04 being Unity, want to switch to Gnome. Can't find usual way to switch at login screen as mentioned here. ...
45
votes
6answers
92k views

Browsing the internet from the command line

How can I browse the internet from the command line in Maverick?
54
votes
6answers
86k views

How to split larger files into smaller parts?

I have a large file (8GB for Example). How can I split it into multiple parts, let's say 3 equal parts, and after that how do I integrate them later?
3
votes
1answer
57k views

Apache2: Forbidden You don't have permission to access /dir/ on this server

I can access localhost but not the sub directories index.html My default conf looks like: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www <Directory /> ...
35
6
votes
10answers
67k views

Getting error message when trying to start a virtual machine

I have been using VMWare on Windows for a long time. But after a long wait, I moved to VirtualBox on Ubuntu 11.10. I installed Ubuntu, 32 Bit, installed all available updates and installed Virtual ...
19
votes
3answers
108k views

How can I make “rc.local” run on startup?

I have a script that I would like to run when my system starts. I have put it on "rc.local", but it doesn't work. How can I enable it to run on startup? Thanks!
12
votes
6answers
38k views

How to start Virtual box machines automatically when booting?

I have many Virtual box machines in my Ubuntu12.04, each time i shutdown or reboot i have to start them one by one. I wanna a help in writing script for automatically autostart the VBox machines ...
14
votes
2answers
35k views

Is this a correct way to enable htaccess in Apache 2.4.7 on Ubuntu 12.04

In almost every solution of "How to activate htaccess", they say that the /etc/apache2/sites-available/default file needs to be edited. But there isn't such file in Apache 2.4.7 I read somewhere ...
10
votes
4answers
14k views

14.10 wine and fglrx conflict

I've just updated to 14.10 from 14.04, and have come across a problem having both wine and fglrx installed The wine dependencies that are causing the problem go like this wine > wine1.6 > ...
6
votes
2answers
46k views

How to enable Moonlight/Silverlight 5 on firefox?

I have installed moonlight from this post here: http://askubuntu.com/a/327862/188878 the problem is, the application/website I am trying to use "requires" silverlight 5. is there anyway to trick the ...
14
votes
3answers
42k views

How to disable IPv6 permanently?

How can we disable IPv6 system wide via terminal commands? I've read editing /etc/modprobe.d/aliases and replacing: alias net-pf-10 ipv6 with: alias net-pf-10 off alias ipv6 off Is this safe ...
13
votes
6answers
23k views

What version of Python do I have?

How can I find out what versions of Python I have? I am using Ubuntu 14.04 (Trusty Tahr).
29
15
votes
3answers
66k views

How to set static routes in Ubuntu Server?

I have used Ubuntu since Ubuntu 8.10; today I'm working with Ubuntu 12.04 Server. I am having difficulty keeping static routes on booting. I would usually put the route commands /sbin/route add ...
18
votes
3answers
58k views

How to configure ADB access for Android devices?

I'm using Ubuntu 12.10 and I have installed Android SDK, set it's path in my user .bashrc and it works. The problem is that my phone requires adb to be ran by root for permissions, but running adb ...
10
votes
5answers
41k views

Setting PIdgin up for Lync2013

I having difficulty setting up pidgin to work with my company's microsoft 365's communicator lync 2013 (not 2010) account. I either receive a message stating authentication failed, or Incompatible ...
1
vote
3answers
45k views

How do I install intel integrated graphics controller?

I try to find what graphics card I'm running, the commands in terminal only gives me this: VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics ...
17
votes
1answer
82k views

How do I boot into recovery mode?

I recently tried booting into the Grub2's menu entry "Ubuntu GNU/Linux, with Linux 3.2.0-24-generic-pae (Recovery Mode) just to see what was there. It booted successfully, but I had no idea what to ...
32
20
votes
3answers
68k views

How to make a file (e.g. a .sh script) executable, so it can be ran from terminal

I have a script.sh file and type of this file is shellscript file. I want to make this file as application/x-executable file. How can I make it?
8
votes
4answers
29k views

Resolution doesn't change when resizing Virtualbox window

I've installed Ubuntu 64bit on Virtualbox 4.2.16. Guest Additions were installed in Ubuntu as well. However the display resolution of Ubuntu does not seem to change as the Virtualbox window is ...
14
votes
3answers
30k views

How to save a file using nano

I am trying to install Java via the terminal using the guide How to Install Oracle Java JRE on Ubuntu Linux. Everything went perfectly fine until "Step 11: Save the /etc/profile file and exit": I ...
17
22
votes
4answers
32k views

What is the meaning of 'i686' in Ubuntu?

To check whether I am using 32bit or 64bit Ubuntu. I looked in How do I check if I have a 32-bit or a 64-bit OS? and found this answer uname -a. If it is shown as i386, it will be 32bit and amd64, it ...
28
5
votes
7answers
66k views

Why can't Ubuntu 12.04 detect my screen resolution?

I tried using Ubuntu 12.04 LTS using a USB Stick, but the desktop resolution is really low - every icon and piece of text looks pixelated. I have a `ViewSonic VS10866 monitor : 19" LCD display, ...
23
votes
3answers
76k views

Switching window manager/desktop environments?

In general what is the approach to switch the desktop environment or window manager on Ubuntu? The main difference between stock Ubuntu, Kubuntu and Lubuntu is supposedly the use of Unity vs. KDE vs. ...
14
votes
1answer
65k views

The program 'curl' is currently not installed

I am trying out Meteor http://meteor.com/examples/leaderboard I have to use CURL, which I am familiar with on Windows. Now I try to install it on Ubuntu 12.04. But i get these errors: ...
26
14
votes
2answers
64k views

Use xrdp to connect to desktop session

I use Ubuntu on my desktop. When I am away from my desktop, I would like to access the session using my Windows 7 laptop. Currently, I am using xrdp to connect, but it starts up a remote session. Is ...
28
votes
10answers
65k views

Radeon HD 2000, 3000, 4000 on Ubuntu 12.04.2 and higher: fglrx (legacy) unsupported, what to do?

After upgrading to 12.10 quantal, the packaged version of fglrx no longer works. I discovered that this is because there is a separate 'legacy' fglrx driver for the HD 2k-4k series cards, but it is ...
29
votes
2answers
16k views

Explanation of the command to check shellshock

Here is the command I have used to check my bash shell for the Shellshock bug: env x='() { :;}; echo vulnerable' bash -c "echo this is a test" Can anyone please explain the command in details?
21
votes
1answer
29k views

java plugin in Chromium

Icedtea-7-plugin installed but it does not appears in the list in about:plugins in Chromium. Not able to execute java applets. Tried installing Icedtea-7-plugin but in vain. Using openjdk7 in 14.04
22
votes
1answer
20k views

How do I re-run boot loader?

Running sudo apt-get -f install said that The link /vmlinuz.old is a damaged link and: you may need to re-run your boot loader[grub] Here's the full output: user@chrubuntu:~$ sudo apt-get -f ...
30
votes
7answers
93k views

NVIDIA drivers not working after upgrade. Why can I only see terminal?

Tonight I upgraded to 11.04. Problems. Once I had finished the upgrade, I restarted my computer as it told me too. When I got past the ubuntu 11.04 (purple background orange dots), it simply went to ...
7
votes
5answers
74k views

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I have mailserver configure using dovecot+postfix+mysql and it was runnig fine in the server(Ubuntu Server). But during last week it stopped working correctly. It doesn't send email. When I try to ...
12
votes
4answers
57k views

Run RDP server on Ubuntu 12.10

What's the best way to run a RDP Server on Ubuntu 12.10? I'd like to run an RDP server on my Desktop running Ubuntu 12.10 and be able to login from another 12.10 machine using the remote login ...
2
votes
4answers
63k views

How do I make a bootable USB stick from an ISO image? I'm running Kubuntu 12.04

Why won't kb3 (in Kubuntu 12.04) recognize a USB drive and allow me to burn an ISO image to it? kb3 is the default iso burning application and it gets generally good reviews. But it pops up a dialog ...
9
votes
3answers
69k views

How to detect an USB device?

I got a scenario, where a software works only when you insert the USB device provided by the software vendor in windows operating system. Im trying to find the content stored in the USB device. In ...
41
1
vote
2answers
52k views

Install on Second Hard Drive with startup boot option?

In theory, what I want to do is very simple, but I've done some google research and read some posts on this site and I'm still confused. I want to keep win7 on my primary C:\ drive, and install ...
39
votes
7answers
27k views

Repeat a command every x interval of time in terminal?

How can I repeat a command every interval of time , so that it will allow me to run commands for checking or monitoring directories ? There is no need for a script, i need just a simple command ...
15
votes
2answers
45k views

How do I resolve slow and choppy performance in virtualbox?

Both, Ubuntu 12.10 and 13.04 perform very slow when running in VirtualBox 4.2.12. How do I run Ubuntu with unity or enabled transparency smoothly with VirtualBox?
8
votes
1answer
14k views

VirtualBox Extension Pack for 14.04.1 LTS (Virtualbox 4.3.10)

Where might I find the Virtualbox Extension pack for 14.04.1 LTS (64bit) I installed virtualbox via synaptic. The version it installed is 4.3.10 I can't seem to locate a corresponding Extension pack. ...
21
votes
3answers
20k views

How to select video quality from youtube-dl?

I have installed youtube-dl in my 14.04. I can download video by following command, $ youtube-dl [youtube-link] But I want to know how to select available pixel quality of youtube video(i.e ...
19
votes
1answer
21k views

Only MKV format available in HandBrake

I am running Ubuntu 14.04 LTS 32 bit. I have installed HandBrake rev5474 (i686), which I believe is the latest, and the Ubuntu Restricted Extras. I am able to play DVDs via VLC but when it comes to ...
4
votes
3answers
59k views

How to turn on Network Discovery and Share between computers with Samba

I have an Ubuntu server. Accessing the server from Windows clients works fine. But the server is not listed among the available PCs on Windows client's Network overview. For windows machines it ...
5
votes
2answers
27k views

How to extend my root (/) partition?

Till today I was using ubuntu 13.04 in my windows7/ubuntu dual boot. Just now I have upgraded to ubuntu 14.04. My software updater showed an updates available message. I proceeded with Install Now . ...
11
votes
3answers
58k views

How to defrag an ext4 filesystem

I don't want any answer saying that there's no need, please!
42
65
votes
4answers
53k views

What is Ubuntu Touch (Ubuntu for Phones)

Following up on Canonical's announcement, what is Ubuntu for phones, where can I download a copy of the OS to run on my phone? And how do I know if it's compatible with my phone?
7
votes
2answers
27k views

How to install Juniper VPN on Ubuntu 14.04 LTS?

Could you please help me ? On my old Ubuntu 13.10 I was able to run Juniper VPN (on Firefox only) using a workaround which requires you to install the missing 32libs and IcedTea (32bits). However, I ...
13
votes
4answers
32k views

How to speed up VirtualBox Ubuntu 14.04 (disable visual effects, …)

I just installed Ubuntu 14.04 in a VirtualBox machine, which I am planning to use for Java/Web development. After my first steps, I noticed that the CPU usage is very high even when I do simple tasks ...
7
votes
2answers
31k views

Dark GTK theme for Ubuntu 14.04

I am using the zonColor DarkNight theme on Ubuntu 13.10 and am quite pleased with it. I would like to have a similar theme for Ubuntu 14.04 but so far I could not find a single dark theme available. ...
26
votes
2answers
52k views

Run a shell script as another user that has no password

I would like to run a script from the main ubuntu shell as a different user that has no password. I have full sudo priviledges, so I tried this: sudo su -c "Your command right here" -s /bin/sh ...
16
votes
6answers
64k views

Get rid of 0.5s latency when playing audio over Bluetooth with A2DP

As described in the title I experience a half a second delay when playing audio over Bluetooth with A2DP. This makes watching movies not possible as the sound is not synchronised with the video. I'm ...