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


ADVERTISEMENT

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

Fedora :: Cannot Get VNC Running Headless?

Oct 19, 2010

I'm running Fedora 13 on an ESX 4.1 server.I've changed /etc/inittab to runlevel 3.I then installed vncserver. When I try to start vncserver (service vncserver start) I get the following error:

Code:
Starting VNC server: no displays configured
If I try to start Xvnc (/usr/bin/.Xvnc) I get this error:

[code]...

View 1 Replies View Related

Fedora :: Running Headless Can't Connect To VNC?

Jul 13, 2011

Before I posted I searched this issue and found one marked solved, but when I went there all the poster said is that he had got it running. No Solution. I am running FC 15 64bit, X server is running but I am unable to connect to the vncserver with my windows vncviewer

View 2 Replies View Related

Ubuntu Servers :: 11.04 (Headless) Running Into Kernel Panic On Startup

Apr 29, 2011

I'm new to ubuntu and I wanted to setup a headless server (Asus Hummingbird, 2GB RAM, Ubuntu Server 11.04). The installation was successful but: After I tried starting my server without any connected monitor, the server did not start -> I run into a kernel panic (if I connect the monitor after a while I can see the messages on the screen, Keyboard lights flash...). What do I have to do to get the machine running without any monitor? My second problem is, that the Network is always powered down on system power down -> no WOL is possible. Is there an easy way of enabling the WOL function? I tried several things from different tutorials but nothing worked...

View 3 Replies View Related

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 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

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

Programming :: Selenium Not Working With Java TestNG?

Oct 5, 2010

i am doing GUI automation testing of my product with selenium-grid-1.0.8 i have tried it with Perl & Java. with Java i am getting error

com.thoughtworks.selenium.SeleniumException: XHR ERROR: URL = http://20.20.0.1/ Response_Code = 403 Error_Message = Forbidden
at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProc essor.java:97)
at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)

[code]...

After this error my test case getting stopped. In perl i am getting this error but it is working fine.

# Error requesting http://localhost:4444/selenium-serve...b4d5d1bf9ed2e:
# XHR ERROR: URL = http://10.20.20.181/corporate/webpages/login.jsp Response_Code = 403 Error_Message = Forbidden

and i have to do this automation by java but i could not go ahead due to this error in java.

View 2 Replies View Related

Programming :: Script To Test If Program Is Running

Sep 22, 2010

I'm trying to test whether wget is working still or not. While [ wget is still running ] <----- but how should this look please?
do
codes
done

View 4 Replies View Related

CentOS 5 :: Can Test Website On PC Without Running Any Stack

Oct 20, 2009

I have Centos 5.3 installed on my pc. I have mysql, PHP and apache server running on my computer too.Is there any way I can test my website on my pc without running any stack ( lampp )?

View 10 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

Debian Programming :: Python - Selenium Script Migration

Apr 3, 2014

I have a code that uses the Firefox webdriver with Selenium to execute a couple javascript commands and fetch me some info. Since Debian doesn't use Firefox by default, and Selenium doesn't recognize Iceweasel as the equivalent of Firefox (which may be reasonable, but still kinda dumb), I downloaded and extracted the firefox-28.0 bz2 folder to my desktop. Next, I used the top answer suggested here to point Selenium to the binary:

Code: Select allfrom selenium import webdriver
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary
[...]
binary = FirefoxBinary('~/firefox/firefox-bin')
driver = webdriver.Firefox(firefox_binary=binary)

However, it results in this error message:

Code: Select allTraceback (most recent call last):
  File "./seltest.py", line 19, in <module>
    driver = webdriver.Firefox(firefox_binary=binary)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 59, in __init__
    self.binary, timeout),

[Code] ....

Did I set the binary path incorrectly or something?

View 9 Replies View Related

Fedora Installation :: 12 Test Drive Running Live From CD?

Mar 4, 2010

The disk I obtained from a seller runs fine in live mode (no installation) on my Windows XP. I liked what I saw. However, when trying to run cd live on my Linux PC it won't run. Linux pc currently has Kubundu 9.1 installed. Previous to that I had Mint 8 installed, but again Fedora 12 cd would not run. After getting an initial Fedora startup screen, I next receive a bunch of text, ending with a text screen of about 30 lines with "OK" in green to right of each line. At bottom is blinking cursor. That ends my machine's live running of cd.

Obviously, if I can not get cd to run live on linux pc, I'm not going to be able to install. (I should add that ubuntu, kubuntu, mint 8 and pclinuxos all ran successfully live on machine and three of them were installed successfully.) Perhaps, Fedora is at war with Ubuntu et al.

View 1 Replies View Related

Ubuntu :: Test Program Not Running On Openmoko Phone

Dec 3, 2010

I am running ubuntu-9 on i686 and cross compiled simple hello.c program with arm-linux-gcc (handheld/arm-linux-gcc-3.3.2.tar.bz2]) for arm , but unable to run it on openmoko neo free runner phone.

View 1 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







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