Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Linux agent installation: How to specify which user to use? #3937

HealingQuickly ·

Hello Robin

I'm trying to install a Linux agent, before running, I have some questions about the agent properties.

How does QB determine which Linux user it is? Is it "root" by default?
How can I specify a particular user within that Linux machine, for example when I have limited licenses for certain tools, I'd like to make sure QB will utilize that Linux agent on behalf of the user I specified.

Is there a place to change such property before running I looked at /conf/wrapper.conf, and itself, I couldn't find it.
(Is there a way to change it, when the agent has been installed?)

Thank you for answering all this!

  • replies 4
  • views 1430
  • stars 0
robinshen ADMIN ·
HealingQuickly ·

Hi Robin

Thanks for the reply

I followed the Unix installation guide, and I ran " start", the terminal outputs say the agent is running, but it stops in about 3 seconds.
I modified conf/, APP_NAME, APP_LONG_NAME, because the Linux machine is also an agent for another QB server.

What could be the problem here? Did I miss anything?


HealingQuickly ·

I tried to run bin/, and it gives the following error

java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
Exception in thread "main" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
        at java.awt.GraphicsEnvironment.checkHeadless(
        at java.awt.Window.<init>(
        at java.awt.Frame.<init>(
        at java.awt.Frame.<init>(
        at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(
        at javax.swing.SwingUtilities.getSharedOwnerFrame(
        at javax.swing.JOptionPane.getRootFrame(
        at javax.swing.JOptionPane.showOptionDialog(
        at javax.swing.JOptionPane.showConfirmDialog(
        at javax.swing.JOptionPane.showConfirmDialog(
        at com.pmease.quickbuild.bootstrap.Config.configBuildAgent(
        at com.pmease.quickbuild.bootstrap.Config.main(

What seems to be the issue?


robinshen ADMIN ·

The needs to GUI terminal to run. But you can edit "" directly. As to why the process fails, please check logs/console.log and logs/quickbuild.log for details. Two things to note: 1. have you changed the port in 2. does the agent process own all files recursively under the agent installation directory?