Questions tagged [headless]

Headless systems are those which do not support standard user interface devices, such as monitors, keyboards and mice.

Headless systems are those which do not support standard user interface devices, such as monitors, keyboards and mice.

1191 questions
126
votes
12 answers

"No X11 DISPLAY variable" - what does it mean?

I am trying to install a Java application on my Linux machine (Slackware). I have received the following error, and I do not understand it. Could you advise me how to approach the problem? Thank you. Here is what I get: (I see that some X11…
user42155
  • 48,965
  • 27
  • 59
  • 60
110
votes
5 answers

What does "headless" mean?

While reading the QTKit Application Programming Guide I came across the term 'headless environments' - what does this mean? Here is the passage: ...including applications with a GUI and tools intended to run in a “headless” environment. For…
Vamos
  • 2,701
  • 2
  • 24
  • 37
81
votes
4 answers

How to manage log in session through headless chrome?

I want to create a scraper that: opens a headless browser, goes to a url, logs in (there is steam oauth), fills some inputs, and clicks 2 buttons. My problem is that every new instance of headless browser clears my login session, and then I need…
Anton Kurtin
  • 813
  • 1
  • 7
  • 7
62
votes
11 answers

Any way to start Google Chrome in headless mode?

I carefully revised the list of switches at http://peter.sh/experiments/chromium-command-line-switches/#chrome-frame and I couldn't find anything that would launch Chrome in a hidden background process. The closest I was able to is…
Silviu-Marian
  • 10,565
  • 6
  • 50
  • 72
52
votes
5 answers

How can I set the browser window size when using `google-chrome --headless`?

I tried setting the browser size on Chrome --headless by using Selenium WebDriver commands. I get this WebDriver error: - Failed: unknown error: cannot get automation extension from unknown error: page could not be found:…
Leo Gallucci
  • 16,355
  • 12
  • 77
  • 110
49
votes
3 answers

Install Chrome Headless using NPM

Chrome Headless is fantastic!!! But is there a way I can install Chrome Headless using NPM so that can I use it for my unit tests in automated test environments? Is there an alternative way of doing this? Many thanks in advance!!!
Abhi
  • 1,624
  • 2
  • 16
  • 29
48
votes
3 answers

What is the difference between openjdk-7-jre-headless and openjdk-7-jre(jdk)?

When I type for java -version in command prompt in ubuntu I get following output The program 'java' can be found in the following packages: * default-jre * gcj-4.8-jre-headless * openjdk-7-jre-headless * gcj-4.6-jre-headless *…
3ppps
  • 933
  • 1
  • 11
  • 24
48
votes
3 answers

How to enable cookie in phantomjsdriver selenium c#?

Following is my code : case BrowserType.PhantomJS: var service = PhantomJSDriverService.CreateDefaultService(Path.Combine(_rootPath, @"Packages\")); var cookieFilePath=Path.Combine(_rootPath, @"Packages\cookie.txt"); …
Prateek
  • 627
  • 1
  • 7
  • 19
44
votes
13 answers

Vagrant up - VBoxManage.exe error: VT-x is not available (VERR_VMX_NO_VMX) code E_FAIL (0x80004005) gui headless

Machine: Window10 (64bit). I downloaded the latest VirtualBox, Vagrant and initialized CentOS 6.7 64bit image/url. The following worked successfully in Git-Bash session. 1. vagrant box add "centos67x64"…
AKS
  • 16,482
  • 43
  • 166
  • 258
42
votes
3 answers

How to login in Puppeteer?

I'm new to JavaScript and Puppeteer. I tried the login code below, but it failed. In comparison, I added page2 and succeeded. How can I solve it? const CREDS = require('./creds'); async function main() { const puppeteer = require('puppeteer'); …
38
votes
14 answers

Vagrant up error in headless Ubuntu: The guest machine entered an invalid state while waiting for it to boot

I need to install vagrant in headless ubuntu (Ubuntu 12.04.2 LTS-64 Bit). Vagrant ver-v1.3.0 and Virtual box- 4.2.18. After adding the vagrant package box, when I am giving "vagrant up" command, am getting the following error: Bringing machine…
user2846870
  • 571
  • 1
  • 8
  • 16
35
votes
5 answers

Setting java.awt.headless=true programmatically

I'm trying to set java.awt.headless=true during the application startup but it appears like I'm too late and the non-headless mode has already started: static { System.setProperty("java.awt.headless", "true"); /*…
reto
  • 16,189
  • 7
  • 53
  • 67
33
votes
3 answers

how to add the missing RANDR extension

I have setup the xvfb server on my headless server and when I m running the DISPLAY=:99 firefox I am getting this exception missing RANDR extension Many of them said to disable some xinerna from the xorg.conf file but this file is not getting…
Mahesh More
  • 919
  • 2
  • 8
  • 20
32
votes
6 answers

Headless browser with full javascript support for java

I have been using HtmlUnit (the developers did a great job) as an headless browser for some of my previous applications but the javascript support isn't working for some website that my next application will be accessing. I heard about QtWebKit…
John
  • 1,699
  • 5
  • 20
  • 29
30
votes
4 answers

Run Android emulator without GUI (headless Android)

How can I run emulator without GUI (headless Android)? My requirement is to run the headless Android on the emulator. Is it correct if I use ro.config.headless 1? Or disable zygote?
Android0077
  • 401
  • 1
  • 6
  • 12
1
2 3
79 80