Tag Info

Hot answers tagged

30

The complete solution is: Remaster a CD, ie, download a non graphical ubuntu installation ISO (server or alternate installation CD), mount it $ sudo su - # mkdir -p /mnt/iso # mount -o loop ubuntu.iso /mnt/iso Copy the relevant files to a different directory # mkdir -p /opt/ubuntuiso # cp -rT /mnt/iso /opt/ubuntuiso Prevent the language selection menu ...


17

As of Ubuntu 12.04, a more straightforward, but nevertheless undocumented, solution is to use /etc/default/grub to override the recordfail timeout: GRUB_TIMEOUT=10 GRUB_RECORDFAIL_TIMEOUT=$GRUB_TIMEOUT The fact that such option is completely undocumented is just too bad. EDIT Actually, the support for GRUB_RECORDFAIL_TIMEOUT was added in the middle of ...


12

Ubuntu switched to libreoffice instead of openoffice quite a while ago. Install libreoffice-common, then you can run the libreoffice service by adding the "--headless" runtime argument. $ /usr/bin/libreoffice --headless The rest of that article should be compatible if you replace "openoffice.org" with "libreoffice" across the board.


9

Create a link to /etc/localtime ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime Just replace /America/Los_Angeles with your zone.


8

Install ALSA $ sudo apt-get install libasound2 libasound2-plugins alsa-utils alsa-oss Install PulseAudio: $ sudo apt-get install pulseaudio pulseaudio-utils Set Group Memberships for PA: $ sudo usermod -aG pulse,pulse-access <username> Run the PulseaudioServer: $ pulseaudio -D Following command tells us if a sink is recognized by ...


7

Install OpenOffice following the instruction given at their Website. The installation procedure is as follows: First Download the openOffice.org all in one tar package. Then extract the .tar.gz file into a suitable directory. I downloaded in my home directory. Then open a terminal and go the the directory containing the .deb files. If you extracted in ...


7

The answer to this one can be found in the grub file /etc/grub.d/00_header make_timeout () { cat << EOF if [ "\${recordfail}" = 1 ]; then set timeout=-1 else set timeout=${2} fi EOF } Setting the timeout value to -1 will stop the count down. Change the value to a value > 0 i.e. set timeout=10 this section of the file would look like ...


6

No, you can't. But Deja Dup is just a graphical front end for the command line tool duplicity, which you can use on a server. Its command line interface is a bit complicated, but read its man page or some of the instructions in Deja Dup's manual restore help page: https://live.gnome.org/DejaDup/Help/Restore/WorstCase


6

Per Charles' comment: "dns-namservers" should be dns-nameservers (you missed an "e").


6

I think you are referring to xvfb - the ability to run in a framebuffer. or sudo apt-get install xvfb You need to specify a resolution and colour depth as well as the nominal display number Usage: xvfb :1 -screen 0 800x600x8 & export DISPLAY=":1" java application_name.jar or shorter: xvfb-run -a -e /tmp/some/log/file.log java -jar ...


5

Figured it out myself, finally. Apparently the problem was that since there is no monitor, no valid "screens" are started up when the box boots, and therefore no resolutions are available in the Unity settings dialog. However, when no screens are found, it seems the system defaults to a "virtual desktop", with a 640x480 resolution. The system does support ...


4

AFAIK Ubuntu doesn't use the runlevel, in fact the /etc/rc*.d directory are the same. If your goal is to not run Xorg automatically just edit /etc/default/grub and modify the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" in GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text" then type: sudo update-grub to switch back delete "text" and re-run sudo ...


4

If for headless or server mode you mean without graphical interface, it is sufficient to stop gdm: sudo stop gdm so that you remain only with virtual consoles. To enable again the graphical login, start gdm: sudo start gdm Be aware that this can make your network stop working. To avoid this it is probably enough to set the connection as a System ...


4

Re-purpose using tasksel Install sudo apt-get install tasksel run sudo tasksel Uncheck ubuntu-desktop Check basic server


4

I located the culprit. Tested on a fresh install, confirmed it's a bug. I submitted a bug report In short the issue is: The polkit authentication dialogue will show up on DISPLAY :0 instead of DISPLAY :1 where the VNC/NX session is. A workaround may be to use libpam-keyring to auto authenticate upon login. or... scratch that, that probably would not do ...


3

Yes you can. I just did. Follow the instructions here and you can run deja-dup using the X of your own machine. Then you just execute from your local machine: ssh -X SERVER_IP deja-dup


3

The current directory (your home) is missing the "w" (write) permission. Try these commands cd ~ chmod u+w . Don't forget the dot at the end. It represents the current directory. Or you can do the same with just one command: chmod u+w ~ You don't even need sudo according to my tests.


3

Here's a sample script and how to use it. Install these packages first: libav-tools mediainfo ubuntu-restricted-extras avconv (formerly known as ffmpeg) performs the actual conversion mediainfo provides the tag information to create the folder structure and name the file. The script is: #!/bin/bash OUTPUTBASE=converted-oggs #path to the base folder ...


3

Just found a solution here: Starting the the virtual machine with VBoxManage instead of VBoxHeadless solves my problem. e.g: VBoxManage startvm Name_Of_VM --type headless The machine goes nicely into the background. Now I can control the virtual machine with VBoxManage controlvm poweroff/pause/reset (section 3.3).


2

I have figured out with some trial and error, that the "--hostadapter1" in the command vboxmanage modifyvm "centos604" --memory 512 --acpi on --boot1 dvd --nic1 bridged --bridgeadapter1 eth0 --nic2 hostonly --hostonlyadapter1 vboxnet0 --ostype RedHat_64 should actually be replaced with the "--hostadapter2" vboxmanage modifyvm "centos604" --memory 512 ...


2

I have the same problem. when I first installed Ubuntu 12 server edition, there was no problem but after a month it will not boot without monitor and keyboard. What I did is to check the BIOS and change the boot options from 'do not boot with errors to boot with errors' After that my server can boot headless with no monitor or keyboard attached. It seems ...


2

Make sure that you have first completely removed LibreOffice, then follow Olive Twist's installation instructions and that should work for you.


2

Looks like ownership on your home directory is messed up. At the very least, you should have write permission to your own home, and it looks like that is not the case. Here is the top few lines of output when I look at my own home directory: mike@cobbler:~$ ls -al total 474700 drwxr-xr-x 45 mike mike 4096 Jul 14 12:55 . drwxr-xr-x 3 root root ...


2

This is a fairly common question. However, I personally believe that VNC is a poor solution for this kind of usage. I would recommend having a look at X2Go. It is much, much, faster tha VNC and it forwards audio using PulseAudio, etc, over SSH. It is quite easy to setup and you don't need to be logged in on the server for it to work. Have a look at ...


2

OP has resolved the issue and posted the answer as a comment; I did happen to stumble across a solution that worked for me. I ran this command: sudo dpkg-reconfigure xserver-xorg and now I am able to run that machine without a monitor/keyboard/mouse


2

An headless server JUST used for file server functionality should just have packages to handle that function. You could perform a minimal install and then add just samba and ssh and get rid of everything else. Bios suggestions from Rory Alsop are a good idea. Do you have a vga on the motherboard so you can use that instead of the nvidia? That would be ...


2

Take a look at the powernap package, which is designed to do exactly this.


2

You mention "in industry" a couple of times. Fact is these different virtualisation technologies, along with others like OpenVZ, all get used in industry. Most of them have certain merits like: being able to maximise density through burstable RAM (for cheap OpenVZ VPS hosting) offering fair shares of the hardware (for more expensive, lower density Xen VPS ...


2

Set up Apache on your machine with the web-page you want to show use NAT to redirect all pass-through traffic on port 80 to Apache. You can find a lot of info on the subject if you google for "iptables". Here's one tutorial (it's about setting up a "transparent proxy", but the idea is absolutely the same): ...


2

The Filesystem Hierarchy Standard specifies: /var contains variable data files So moving /var should have the biggest impact. If you have enough RAM, you could also mount /tmp as tmpfs because it usually contains only small files which don't have to be persistent between reboots. In fact the FHS even says: Programs must not assume that any files ...



Only top voted, non community-wiki answers of a minimum length are eligible