Server :: SSH Into Initramfs On Headless SliTaz Server?

Dec 24, 2010

I've installed SliTaz Linux onto a headless server with the following partition scheme:

/dev/hdb1 ext3 main system
/dev/hdb2 ext3 currently empty
/dev/hdb3 swap

I would like to further configure this machine so that (1) a VirtualBox virtual machine is automatically started during boot with no user intervention, and (2) /dev/hdb1 /dev/hdb2 are encrypted with LUKS or the like.

Because /dev/hdb1 and /dev/hdb2 will be encrypted, I will need to decrypt them with my passphrase during boot. But since this will be a headless server, I need to SSH in before the main OS loads, i.e. I probably need to SSH into initramfs? So far, I've found (1) VBoxTool which starts a virtual machine during boot, and (2) and early-ssh which installs dropbear SSH server into initramfs. However, since all my partitions (/dev/hdb1, /dev/hdb2) will be encrypted, I need to decrypt them before the boot process can continue after initramfs. This seems to imply that I need to modify the initramfs process so that I can (1) login via early-ssh mentioned above, (2) enter my decryption passphrase, then (3) let the normal boot process continue.Therefore, my question is: how do I find and edit my initramfs so that I can add the needed decryption tools (what are they?) and be prompted to enter my passphrase via SSH during boot?

View 2 Replies


ADVERTISEMENT

Ubuntu :: Update Initramfs On PXE Server?

Oct 26, 2010

After copying a filesystem to be used as an image on a PXE server, is it possible to update that image's initramfs on the PXE server?

On PXE server, I added several ethernet modules/drivers to the following file:

/nfsroot/etc/initramfs-tools/modules

Before the changes will take effect, I need to run:

Code:

$ sudo update-initramfs -u

View 1 Replies View Related

Debian Configuration :: 100% CPU On Headless Server?

Jun 18, 2011

I have a strange problem. I have set up a server to run without a keyboard, mouse, or video. If I boot it connected to a monitor, there is no issue. However, if I boot it without a monitor attached, the CPU just runs at 100%. Below is a shot of my HTOP from the machine: The weird part is that if you sort the processes by CPU%, they don't actually total 100%. I was trying to see what was pushing the CPU so high, but most of the time the running processes only total between 5 and 20%. Has anyone else seen the problem? Any idea what's happening? I'm worried that if I leave it running like that, the processor could burn up. My temporary work around is to boot it up with a monitor, then disconnect the monitor, but that's really inconvenient.

View 4 Replies View Related

Ubuntu :: Headless Server Without Monitor?

Jun 13, 2010

Well xubuntu wont boot without a monitor. I booted freenas without the monitor and plugged it back in and got a signal. So it isnt the bios.

View 3 Replies View Related

Ubuntu :: Headless Server Won't Let Me Execute Exe

Jan 22, 2011

I have now had an Ubuntu desktop server on a very crappy server (network filesystem with enourmus latency) for a year and as the subscription will soon run out I opted for a slightly better one, still crappy but at least a "complete server" (cpu+mem+HD).And a headless installation of Ubuntu Server 10.10 "Maverick Meerkat" instead of my Desktop version.I'm not using it for web pages or other 'ordinary' things though, I'm running my homemade MMORPG off of it and this new headless situation is a bit unclear to me.

I created an account and password with my root account, a folder with the username was created in /home/ and I uploaded my mmorpg executable there with an ftp client.I tried to change the whole folder (being root) to 777 but it didn't work either.

View 7 Replies View Related

Ubuntu :: Running Server Via USB On Headless

Aug 18, 2011

I have an HP MSS 487 (headless). I was going to update to WHS2011 but was thinking of trying Ubuntu Server first. My MSS has a USB slot, but I'm not sure how to start and run Ubuntu Server from that USB stick. I can use remote desktop to access the box. I'll also need to install something on my other pcs/macs so that I can get the backups working. I didn't see anything that is similar to the whs connector software (client). Would I need to install a full Ubuntu client to do the backups?

View 4 Replies View Related

Debian :: Openbox As VNC Desktop On Headless Server?

May 15, 2015

I'm currently using the default Gnome desktop environment on my server when I connect via VNC, but I've been trying to Openbox on Crunchbang lately and I rather prefer it for being so light. I'm a relative noob and don't want to cock anything up - what's the simplest way to switch to the Openbox environment for when I connect via VNC, and once that's working, whats the safest way to remove Gnome?

View 8 Replies View Related

Debian :: Mail Client For A Headless Server?

Jan 9, 2011

On my Seagate DockStar torrent box running Debian Squeeze, I want to send email when a torrent download is done. What email client is good if I want to send e-mail via gmail server?

View 3 Replies View Related

OpenSUSE :: Setup Openoffice Headless Server On 11.3 ?

Nov 13, 2010

Does anyone Know how to set up Openoffice headless server on openSuse 11.3 ?

View 9 Replies View Related

General :: Use Synergy+ Server On Headless Computer?

Jun 19, 2010

I have a headless (kind of) Linux Mint computer with Synergy installed and a MacBook.

Is there any way I can use the headless computer as a Synergy server for the MacBook so I can use the Linux's KB/Mouse with the Mac?

View 1 Replies View Related

Ubuntu :: Server Headless And Drive Partioning?

May 2, 2010

I have the latest download of Ubuntu Server 10.04 installed. I have not installed a gui for it. I would like to be able to do this from command line if possible. I will be running this server headless but I would like to be able to login remotely if necessary. My hunch is I will need a gui to be able to log in remotely?

I have three Internal drives in my server. 80GB, ext4 formatted, this has the server os loaded on it. The other two drives are 160 and 500GB formatted ext4 as well but they are empty. I have two Ext USB drives with all my stuff I don't want to lose. Both are formatted NTFS. So I need help but keep in mind I am going to run the server headless, but would like to login remotely if necessary without a gui.

My other home computers will dual boot windows or linux, so I need to know what is the safest and best way to format the two drives in my server. ex4 or ntfs? Will I be able to run server without a gui as headless? I just installed Samba4 and starting down the learning curve by googling how to set it up.
My file sharing is simple. Nothing special within the Lan, but want to keep hackers out from the outside world. I use Logmein on my windows computers and may want to setup a remote login for the server at some point. Right now my big this is setting up the drives, shares, and going headless. I would like to be able to just turn the thing on and not worry about it.

View 5 Replies View Related

Ubuntu :: Get CUPS Working On A Headless Server?

May 12, 2010

I've been trying to get CUPS working on a headless server, in order to share the printers connected to it with the rest of the network. The problem is that I can't add printers via the web interface, or rather, that I can log in, as it will not authorize my account. I've tried lppasswd, adding cupsys to the group 'shadow'(only to have the system tell me that there is no user called cupsys), and been editing the cupd.conf for hours. On top of all tha, I can't even get to the web-interface without running "/etc/init.d/cups restart"!

[Code]...

View 3 Replies View Related

Ubuntu Multimedia :: MPD As Daemon On Headless Server?

Jul 22, 2010

i have been scratching my head and repeatedly banging it against a wall

i have a lan:
m0n0wall router
ubuntu server (headless/no mouse/kbd/speakers, etc in attic)
4 desktop pc's
1 dlink dsm 520

my server is exactly that it has mysql/apache/mediatomb/php/cacti/phpmyadmin/samba/nfs/mpd) ignore all other service running on server & focus on MPD. all 4 desktop pc can connect to mpd and they can see the library. BUT they cannot play any track as it states there was an error with the audio device!i have tried all the examples on the web and none work what do i do? how do i configure it to use the LOCAL soundcard NOT the one that is not present in my server? all the examples are set to use the LOCAL(one on machine running MPD) sound card which does not work until i connect a speaker to my server which again is located in my attic and only has a pc speaker so this is NOT what i want. all 4 desktops do not have mpd installed as they do not need it. all media is stored on my server the gui's that connect to mpd do not have any configuration for a sound card

View 2 Replies View Related

Ubuntu Servers :: Headless GUI Admin Server 10.04?

May 4, 2011

I have been having some trouble configuring a means to remotely administer an Ubuntu Sever 10.04 machine i recently built and am hoping for some guidance. I'm sorta new to linux so please forgive my ignorance of conf files and the command line . I am looking to have this server serve as...VPN Server, Minecraft Server, KVM Server, Torrent and Dyn-DNS box.I have managed to install all the KVM settings including bridged networking running (Personal victory there) and sorta have Minecraft running (only need to figure out how to make it launch on boot). Torrents already taken care of since Transmission came along with the ubuntu desktop install .The big thing that is slowing me down is remote management. I installed ubuntu desktop (thankfully its Gnome 2), i know that most people don't like it but its what i'm most familiar with. I tried running VNC but always needed to login on the physical machine before I could use that which defeats the purpose. I am now using xrdp which frankly the performance is terrible compared to what i was getting with the built in VNC server and still needed the monitor on and active to connec

View 9 Replies View Related

Server :: Glibc Included Inside Initramfs Causes Reboot?

Jun 7, 2010

I'm attempting to build a linux appliance.The main root file system will be the initramfs image.I've got everything else working except for this problem. It seems as soon as I install the glibc 32-bit libraries in the initramfs imageduring boot it willautomatically reboot on me.System software using:

binutils: 2.18
gcc: 4.2.4
glibc: 2.7

[code]....

View 2 Replies View Related

Debian Configuration :: Converting From Desktop / GUI To Headless Server

Mar 25, 2016

I set up my Debian box as a HTPC but am moving it to my closet and using it as a NAS now, so I want to make it headless since there won't be a monitor connected to it.What's the cleanest way to nuke the desktop environment? 2nd to reinstalling, that is (although that may not be a bad option since may home directory is in another partition).

View 1 Replies View Related

General :: Simulating Audio Playback On Headless Server?

Jun 9, 2010

We have a headless linux server (Debian 5) we use for running integration tests of our web-page code. Among these tests are ones implemented using Selenium, which practically simulates a user browsing our pages and clicking on things. One of these tests is failing now, because it involves starting a flash-based audio player and checking to see whether the progress bar gets displayed properly. The reason this test fails is that there is no way to play the audio, and no sound card on the machine, which has simple webserver hardware.

So, my question would be: Is there a simple way of giving a program the impression that its audio output is being processed, and playback is taking place? I don't have to record the playback, or redirect it or anything like that, just a dummy soundcard, like the dummy X-server we are using, which actually does not need to display stuff.

I have tried using JACK, but it's too complicated, and the documentation does not even answer this very simple question. I also installed alsa on the server; it 'pretends' to run, but when a program tries to play audio, just spews error and debug information having to do with the non-existence of a soundcard.

View 1 Replies View Related

Ubuntu :: Setting Up A Headless Torrent Server For The Flat?

Feb 19, 2010

setting up a headless torrent server for the flat. The webui works great on transmission except I want to schedule it to pause during daylight hours. Essentially I only want it to be downloading between the hours of 2am and 8am.

Currently I cannot get it to pause. Only throttle the speed. Setting the speeds to zero appears to set it to unlimited speed. And we don't really want it running 1 kb/s constantly (lowest possible setting) during the day.

Server is running 8.04 LTS using Transmission 1.83. Currently I have the Gnome desktop installed and using remote desktop viewer to set some things up via a gui. CLI is faster... if you know what you're doing, which I don't really, so I like to fiddle. I did think about using Crontabs to kill the process at 8am and start it at 2am, however this is pointless as we'd like to be able to setup torrents via the webui during the day.

View 9 Replies View Related

Ubuntu Servers :: Headless Server Won't Detect Monitor?

Aug 29, 2010

I've got a headless server (32 bit 9.04/9.10, can't remember) that started refusing SSH and HTTP connections a few days ago, and I'm just getting around to hopefully fixing it. The problem is that I can't even connect to the darn thing. I've plugged in a mouse, keyboard, and monitor, but the monitor tells me that it has no signal. I know the monitor works with the computer, as I used the same one to set up the server.

Just for kicks, I even tried to put in a live CD, but that didn't help. Any ideas on how I can connect to this thing?

[Code]...

View 2 Replies View Related

Ubuntu Servers :: Run A FUSE Filesystem On A Headless Server?

Feb 9, 2011

I have a very specific requirement outside the typical use case of "enterprise server". If possible, I need to run a FUSE filesystem on a headless server, and share it via Samba.Physical security is a non-issue.I see two challenges with this, that Google and I have been unable to figure out: I'm assuming that in order to mount a FUSE system, a user must be logged in. (Hence the "U" in "FUSE".) So the first challenge is how to get Ubuntu to automatically login, on the physical console, to a user terminal session. (I know this can be trivially done in GNOME, but this won't have X-Windows or GNOME installed.) This has to happen automagically after boot-up; manually logging in locally or via SSH isn't an optin.Second challenge (?), how to share a FUSE file system via Samba?

View 2 Replies View Related

Ubuntu :: Encrypt Backup Drive On Headless Server?

May 31, 2011

I have a headless ubuntu server (10.04 x64) in the attic that I use as mostly as a file server for media streaming and backing up other PCs on the home network. The box doesn't have a display, keyboard or mouse connected and is in a location where it's physically difficult to get at.

I'm mostly looking at a solution to protect the system if it were physically stolen(hopefully this is very unlikely) so that I could have a reasonable confidence that no one could boot a live CD and steal any private documents on there.

I don't feel like I need to encrypt the root file system (and I don't want to reinstall!) as most of the data on the system isn't sensitive (MP3s, video files etc).

I would like to protect the backups of the other systems as they have some personal documents etc on them,

I need to also balance this with convenience as I need the backups to continue to be automatic or they most likely won't get done at all.

Currently I have a samba share called "backup" that is password protected and points to /media/backup where a 2tb drive is mounted, this drive is used just for backups from the other systems so I would like to encrypt the whole drive.

I realise that I can't have the drive mount completely automatically as it will then be accessible to anyone who can boot the box. The compromise I would like would be that the drive is encrypted and then either:

1.) I log in via ssh and enter a command to mount the drive which prompts for a passphrase - drive stays mounted after I log out until manually unmounted or the system is rebooted

or

2.) On boot something runs automatically which then prompts me for the passphrase when I next connect via ssh - again the drive stays mounted after I log out until manually unmounted or the system is rebooted

I would prefer 2 as then I am less likely to forget to mount the drive after a reboot.

I have seen several tutorials using LUKS to encrypt the drive and manually mount but am wondering if it's possible to achieve 2. Also wondering if there are any implications for samba if the drive is not available straight away at boot, would I need to restart anything after mounting the encrypted drive for example?

View 8 Replies View Related

Server :: Running Selenium Test Scripts Headless?

Nov 24, 2010

I need to run "Selenium" test scripts (written inside TestNG) on a headless linux server (Red Hat Enterprise Linux Server release 5.3) using Xvfb. while executing the script, I get the following warnings in the "server.log" file.Warning: Cannot allocate colormap entry for "#c0c0c0"Warning: Cannot allocate colormap entry for default background.This warnings occurs when the script try to launch Firefox. Firefox is not getting launched and the code gets hanged in the middle, without executing any test case.I suspect the problem could be with the Xvfb's screen resolution. screen resolution might be lesser than firefox'sexpected resolution.we can be able to specify our own display in POM file using <display> tag.

View 2 Replies View Related

Ubuntu Installation :: Server Won't Start Properly - Goes To Initramfs Prompt

May 31, 2010

I'm trying to install ubuntu-10.04-server-i386 in Virtualbox on Windows XP Home (for use as a Drupal development server) using the instructions here [URL]... the Ubuntu server will not start properly. Instead it goes to an initramfs prompt as follows

[code]...

Another thread suggested typing 'exit' after a while but it just repeats the same output. It seems the root disk doesn't exist. I allowed the installer to set up partitions to its own recommendation (Guided?) although I'm not entirely sure what it did - I think there are two partitions but you guys will know that. The host disk is SATA. The CPU is a dualcore but I've only enabled one CPU on the guest within Virtualbox. Also, I had to enable PAE mode as without it Virtualbox crashed every time I started the guest. PAE wasn't mentioned in the instructions mentioned above. I've tried changing the various other disk parameters in Virtualbox (without fully understanding them) but no luck. I also ran run the boot info script from a desktop LiveCD and the results are given below.

[code]...

View 9 Replies View Related

General :: Busybox/Initramfs Prevents Launch Of Ubuntu Server 8.04.3?

Sep 27, 2009

Prior to posting this I entered search arguments, "Busybox," then "initramfs" to attempt to find another user who may have experienced the same thing; if the solution is imbedded in the message threads, I must have missed it. On hand is a Ubuntu Server 8.04.3 installer CD. What works: Installs to a Mac Pro under both Parallels, and then under Fusion both were successful first try.

Install to a newly purchased 2 gig Acer Aspire One seems to have succeeded, but upon launching from Grub, Busybox/initramfs intercepts and halts the launch with an error I don't understand:

Starting up ...
Loading, please wait ...
Check root = bootary cat /proc/cmdline

[code]....

The new Acer-PC Aspire One was partitioned into four 80 gig partitions using the Paragon software to do the partitioning. XP is on the first, and Ubuntu Server on the next 80 gig partition. Install was "successfully" done from a Lite-On external CD/DVD over USB.

During the install I changed the default name from Ubuntu to something else (probably a bad idea), and I naively entered "/" root to answer the mount question (finding nothing to tell me what to do). Ubuntu required a disk driver choice from a long list - finding no reference or guidance as to what to enter, I naively entered IDE Generic, and it took (I guess it "took").

FWIW the Ubuntu installer didn't require me to indentify the mount entry or the disk driver during installs on my Mac (Fusion/Parallels).I did connect the Internet during the install. I did checkoff/install LAMP during the install from CD. Goal: To use Joomla in a mock server environment.

View 3 Replies View Related

Fedora Servers :: Installing X System/apps On Headless Server?

Sep 17, 2010

Background: I need some help regarding install X server/apps on a headless(ie. no monitor, no graphic device) server. The server is in fact a virtual one by Amazon EC2. So there's no monitor nor any graphics hardware. Fedora server (6, i believe) is pre-packaged. The problem is that I want to be running a server app with a GUI. The app won't start without the GUI (and I probably need to tweak a few things through its GUI too).

I plan on setting up very very bare minimal X on the server and then uses NX for remote access. Can somebody shed some light here?

Simply put, my questions are:

1) What would be the minimal list of package i need to install?
2) Where can I find docs about installing and setting up NX? I could only find very fragmented/outdated docs about it.

View 6 Replies View Related

General :: Windows - Set Up A Virtual Machine In A Similar Way To A Headless Server?

Aug 16, 2011

I have an Ubuntu Desktop 11.04 virtual machine using VirtualBox on my Windows 7 system.

Up until now I have been doing all my development within the Ubuntu environment but unfortunately, I don't like it. I want to move back to Windows, which is much more familiar to me but I would still like to access the virtual box like a virtual server as it is already set up with Apache, PHP, Pear, Git etc...

How can I make the two work in harmony? I essentially want to be able to start the VM and connect to it as if it was a server machine somewhere on my network, without having to actually buy another machine to put on my network.

View 3 Replies View Related

Ubuntu Servers :: Removing Ebox From Loading On A Headless Server?

Jul 18, 2010

I upgraded my Ubuntu 8.04 LTS server to 10.04 LTS - rebooted and things ran good. I knew I had a few problems, but DHCP and DNS were booting up and working fine for me.I went to take a look at Webmin, but apparently that's been removed from support for Ubuntu 10.04 - so I thought, I'll use eBox. I realized that Ebox didn't have the network module turned on, so I tried to turn it on. I found out the installation was missing scriptaculous, so I got that and installed that and then turned on the network module.I then rebooted the machine - and now nothing. It hangs when I get to the load for Apache. I would like to disable the network module for eBox, but can't find documentation for how to do that from the command line - which I have to use because the damn box won't boot and I'm running from a Live CD.

View 4 Replies View Related

Ubuntu Servers :: Headless Media Server Create M3u File?

Mar 13, 2011

Any command line tool to create a m3u file from directories?

View 1 Replies View Related

Ubuntu Servers :: Turn USB Passport Drive Off On Headless Server?

Jul 29, 2011

This is a silly question maybe, but how can I turn my passport drive off after has being unmounted? I am assuming that's the right order, before removing: umount and then turning off. By the way, I am talking about Ubuntu Server, not regular Ubuntu desktop via GUI.

View 2 Replies View Related

Ubuntu Servers :: Epic Battle To Daemonize Rtorrent On Headless Server

Mar 9, 2010

I spent most of the day yesterday trying to make this work and haven't gotten really anywhere with it. Building from source quietly failed although it built without error and I got checkinstall to pack it up it didn't actually work.So I rolled back to the repository version of rtorrent.As I understand it, the things I need to do are (I am thwarted at every step):create user with --disabled-password optioncreating the user is no problem except they seem to have no shell, and running any command while su'd as that user throws an error like Code: Cannot open your terminal '/dev/pts/1' - please check.

I found somewhere that changing the permissions on /dev/pts/N solves this problem however N can change after a reboot, or probably following other events so that's likely not the right fix.create init script to run rtorrent as user in previous stepI found an example that seems like it works but I wont know for sure until I get the prior step worked out fully.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved