Greatest Hits

7
votes
3answers
46k views

How do I save files edited with vim?

I can't save changes after editing sudo vi /etc/network/interfaces Text before editing: auto lo iface lo inet ... Edited to: auto eth0 iface eth0 inet dhcp What key combination or sequence ...
64
5
votes
2answers
45k views

How to mount a hard disk as read-only from the terminal

I have searched google, I've searched this website, I've searched using various terms, phrases, using quotes and without quotes and I cannot find the answer to this seemingly easy thing to do. How do ...
6
votes
2answers
66k views

Install Ubuntu next to Windows 8 (UEFI dual boot)

Windows 8 is already jnstalled in UEFI mode on an Asus g55vw laptop. Sad but true, I need it - for now. Downloaded the last version of Ubuntu 12.10. Made a bootable CD from the iso-file. Reboot in ...
14
votes
2answers
64k views

Bash: ./filename : Cannot execute binary file

I couldn't execute a fortran compiled code in ubuntu 11.10 32 bit. Error message is Bash: ./filename : Cannot execute binary file. I've installed the gcc and gfortran libraries too. Could anyone ...
14
votes
3answers
19k views

“Open In Terminal” action in Nautilus in Ubuntu 14.04?

I've gotten used to the "Open In Terminal" option when right clicking in Nautilus. I used it a lot in 12.04, but it seems to have disappeared in 14.04. $ sudo apt-get update [...] $ sudo apt-get ...
4
votes
3answers
48k views

Unable to boot from a USB drive on Samsung Series 9 notebook

Related Ubuntu 12.04 won't boot on Samsung Series 9 NP900X3A (ssd hard-drive) I'm trying to get rid of Windows but I can't boot from USB because the USB slots on the right (USB 3.0) on ...
70
12
votes
8answers
101k views

How to boot Ubuntu from EFI/UEFI?

I installed Ubuntu 11.10 on a newly bought Lenovo ThinkCentre Edge 71 (model: 1577-G3G) with EFI boot enabled. I opted for the Use Entire Disk option. Even though the installation process went without ...
21
votes
5answers
88k views

Create a new SSH user on Ubuntu Server

Just created a new virtual Ubuntu server and I'm in the process of hardening it for production use. I currently have a root account. I want to do the following: Create a new user (let's call them ...
14
votes
6answers
67k views

How to make hdd's mount at startup in ubuntu 12.04

How do you make HDDs and partitions mount at startup with the ubuntu system? I always keep my media and data files on separate partitions - one 2tb HDD and a 400 odd gig partition. I have been ...
0
votes
2answers
36k views

E: Some index files failed to download. They have been ignored, or old ones used instead after apt-get update

My /etc/apt/sources.list contained: nazar_art@nazar-desctop:/etc/apt$ cat source.list deb http://security.ubuntu.com/ubuntu precise-security main universe nazar_art@nazar-desctop:/etc/apt$ cat ...
2
votes
3answers
47k views

apt.conf “Acquire::http:Proxy ”proxyserver:port" seems not to be used (Ubuntu 13.04 under Virtual Box on Win7)

This is for an installation of Ubuntu 13.04 Desktop in a VirtualBox VM. I'm on a corprate network with an HTTP proxy at x.y.z.251:9090. I've configured the guest OS with the autoconfiguration script, ...
4
votes
3answers
48k views

Ubuntu won't boot from a USB on my Windows 8 laptop

Yesterday I set up Ubuntu on a 32GB Sandisk flash drive. I booted it up on my Windows 7 PC, and it works flawlessly. I haven't had any problems getting it to boot with USB priority on that machine, ...
23
votes
8answers
70k views

How do I get permissions to edit system configuration files?

I can't seem to edit and save config files in the root system (eg: /etc/dhcp/dhcpd.config); it just says "permission denied" or the save option is blocked in the text editor. I'm pretty sure I'm a ...
19
votes
6answers
78k views

How do I set up xrdp session that reuses an existing session?

I have been trying to set up a RDP terminal server on precise using xrdp and have been having significant trouble getting a working configuration. When a user logs on, I need it to connect to that ...
1
vote
6answers
47k views

how to reduce size of an image from 130 kb to between 20kb - 50 kb

As per a requirement mentioned here the size of photos submitted should be between 20kb-50kb. I have my scanned photos which have been cropped but the sizes are still ~139 kb. If I reduce the pixels ...
13
votes
2answers
30k views

ntpdate: no server suitable for synchronization found

My clock is off, so I would like to synchronize it using ntpdate. I tried several different NTP servers, but for some reason I always get the following error message: $ sudo ntpdate ntp.ubuntu.com 4 ...
24
9
votes
3answers
56k views

How to set up remote desktop sharing through SSH?

Is there a way to view (and control) a remote desktop through SSH? I will not have physical access to the remote host machine.
11
votes
3answers
43k views

how can I change the date and time on ubuntu 12.04

when I go to change the date and time it doesn't work, and I try to unlock but it just won't unlock, if there is any way to make it work please help. I know it isn't very descriptive but I really ...
29
19
votes
2answers
29k views

403 error after upgrading to apache2.4

After upgrading from Ubuntu 13.04 server, the www pages won't display themselves. Error 403 Forbidden You don't have permission to access / on this server. I've changed access control saves from ...
61
6
votes
5answers
21k views

How do I eliminate screen tearing on 14.04 and XBMC with NVidia-331?

I have updated my 12.04 HTPC to 14.04 (new install; same hardware), and have started getting awful screen tearing where I had none before. /proc/cpuinfo AMD A4-3300 APU with Radeon(tm) HD Graphics ...
29
votes
6answers
70k views

Bash remove first and last characters from a string

I have a string like that: |abcdefg| And i want to get a new string called in someway (like string2) with the original string without the two | at the start and at the end of it so that i will ...
21
votes
2answers
21k views

Where to place my local website starting with the 2.4.7 version of apache2?

I recently installed Ubuntu 14.04, then I installed lamp-server and placed my webpages in /var/www directory, but when I opened localhost in the browser there was nothing. I think that happened ...
4
votes
4answers
44k views

Can I play Windows (Steam) games on Ubuntu?

I am downloading Ubuntu and I really want to play Windows games from Steam but I don't want it to replace my OS.
49
5
votes
7answers
18k views

Lost Windows 7 in GRUB after installing Ubuntu 14.04

So today I've decided install the new 14.04 (64bit) on top of the 13.10 (32bit) Ubuntu that I used to have dual boot with Win 7. So it gave me number of options to install the 14.04, one of them was ...
6
votes
1answer
67k views

Moving folder and subfolder to another path

I need to mve my folder with many subfloder contents to another path. I'm using putty and this is what i tried MV -r fromflderpath tofolderpath Where am i doing wrong ?
35
votes
4answers
65k views

Is my ATI graphics card supported in Ubuntu?

I have an ATI graphics card and I want to know if it is supported and what kind of drivers should I be running to get the best features out of it. Is my card supported in Ubuntu and what drivers will ...
72
25
votes
3answers
58k views

How to set JAVA_HOME for OpenJDK?

How can we set JAVA_HOME environment variable for OpenJDK?
60
18
votes
1answer
21k views

Wireless networking not working after resume in Ubuntu 14.04

[Update]: The same problem exists in Kubuntu and is solved in the same manner. [Solved]: By applying the following command nmcli nm I got the following: Before suspend RUNNING STATE ...
9
votes
1answer
17k views

Parallels (Tools) 9 & 14.04

I can create 14.04 VM with Parallels 9 (on OSX 10.9.2) just fine. However, once I install Parallels Tool, the launch and menu bars disappear. There's still some functionality, e.g. I can create a ...
15
votes
4answers
66k views

What's the easiest way to mount Windows share as a local folder in home directory?

Via Gnome Nautilus I can easily mount Samba shares from my Ubuntu Server. However, these "mounts" are kinda of fake. Many applications I run do not recognize that Gnome has mounted these server ...
9
votes
2answers
29k views

How to create UEFI-only bootable USB live media?

Having live media that can boot both ways can be a problem when installing Ubuntu onto currently available Windows 8 computers. In other words the key advantage to creating UEFI-only bootable USB ...
21
votes
2answers
73k views

Proper fstab entry to mount a samba share on boot?

I am a little confused on the proper fstab entry for a samba share in Ubuntu 12.04 I can get the drive to mount manually by using: sudo mount -t cifs //192.168.2.2/raid_drive /mnt/homeserver -o ...
9
votes
5answers
36k views

Ubuntu 13.04. fail to start after installing nvidia drivers (Vostro laptop)

Everything worked fine in 13.04 Ubuntu but then i installed nvidia-drivers-103 Now it does not load into login screen at all. I see blank purple screen during start-up and then just blank black screen ...
34
votes
3answers
53k views

“(CRON) info (No MTA installed, discarding output)” error in the syslog

I have a fresh install of Ubuntu 12.04.1 LTS an a number of servers. I have not added any cron jobs or edited my crontab on those servers, however, at around the same time for each machine, I get a ...
55
42
votes
4answers
72k views

How can I change the date modified/created of a file?

Is there a way to change the date when a file was modified/created (which is shown in Nautilus or with the ls -l command)? Ideally I am looking for a command which can change the date/time stamps of a ...
15
votes
10answers
54k views

Can I install Microsoft Office? If so, how?

I want to know how to install Microsoft Office (specifically, Microsoft Office 2010) in Ubuntu? I am a die hard fan of MS Office and I want to know if there is a way I can use it in Ubuntu.
35
votes
5answers
89k views

How can I find my hardware details?

Is there any built-in software or terminal method allowing me to view the hardware profiles on my system? Windows equivalent of such a feature would be Device Manager.
16
votes
3answers
56k views

How to fix 3D Acceleration for Vmware Workstation 9?

I have recently installed Vmware workstation 9 on Ubuntu 12.04 & i have migrated my VM's from windows to Ubuntu 12.04 . Now i am getting openGL error & it says no 3D acceleration as shown in ...
45
votes
4answers
83k views

How do I install additional drivers?

I've just installed Ubuntu and I need either video, wireless, or some sort of other manufacturer (non-opensource) driver. How can I run the tool that will fetch all of these for me? I'd like graphical ...
62
60
votes
1answer
65k views

How do I run specific sudo commands without a password?

On one particular machine I often need to run sudo commands every now n then. I am fine with entering password on sudo in most of the cases. However there are three sudo commands I want to run ...
13
votes
3answers
73k views

Why is /lib/libc.so.6 missing?

find | grep libc.so.6 reveals that it's in /lib/i386-linux-gnu/libc.so.6, but a script I was running expected it to be directly under /lib, so why isn't there at least a symlink? Would I risk ...
12
votes
1answer
53k views

How to get a VPN for ubuntu?

I saw a thing called VPN connections under the Internet button at the top of my screen. So I would like more info on this, and possibly instructions on how to set one up. Thanks!
69
8
votes
2answers
53k views

How to install the Boot-Repair tool in an Ubuntu live disc?

When the bootloader (GRUB) is broken, I cannot access neither Ubuntu nor Windows. I heard that an easy solution to fix this is to use the Boot-Repair tool from an Ubuntu liveCD (or liveUSB). What ...
7
votes
4answers
16k views

Error Installing Vmware Workstation On Ubuntu

I am trying to install vmware workstation 10.1 on Ubuntu 14.04 and I got following errors. How do i fix it ? Virtual machine monitor done ...
47
votes
5answers
72k views

Getting MTP enabled devices to work with Ubuntu?

Since Ubuntu 13.04 storage access to external devices via MTP is supposed to work out of the box via a GVFS-MTP module. While this question is about the Galaxy Nexus, other Android devices as ...
58
34
votes
2answers
57k views

How to force Wine into acting like 32-bit Windows on 64-bit Ubuntu?

When installing Wine on 64-bit Ubuntu 12.04, both 64-bit support and 32-bit support get installed. If I run wine foo.exe where foo.exe is a 64-bit-aware installer, it thinks it's on 64-bit Windows. ...
25
votes
6answers
29k views

How to re-enable tray icons for applications in Ubuntu 13.10?

Unfortunately in Ubuntu 13.10 there is no tray icon and whitelisting is removed. The older solutions do not work for me, e.g. I get the message: No such schema 'com.canonical.Unity.Panel' when I try ...
10
votes
4answers
24k views

Ubuntu 14.04 multi touch screen support

Just installed 14.04. It seems to be converting all my screen touch gestures to mouse gestures. And it only supports one point touch. It is supposed to support ten touch points (tested with windows ...
12
votes
3answers
36k views

SMBus/ BIOS error while booting Ubuntu in VirtualBox

I am trying to boot Ubuntu 13.04 in VirtualBox, but every time I boot, I get an error that says: SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr This happens right after ...
5
votes
3answers
23k views

Why not work Apache virtual hosts on Ubuntu 14.04?

I was install Apache 2.4 on Ubuntu 14.04 and it work fine by http://localhost/ address. But when I try to add new virtual host, for example http://bow.loc and restart apache, new address not available ...