Forum Discussion
OstbergM
Staff
12 years agoHey!
That's quite allright, i didn't want to enforce any special way of doing it since there are many ways to do it.
Alternative 1:
The easiest way is probably just to drop the following line in /etc/rc.local
/etc/rc.local is best interpreted as a script that is always run when a system is started.
So restart the system and Xvfb will detach itself to the background of your system.
Alternative 2:
If you don't want to modify any startup-scripts then you could probably just run Xvfb in the background in the same terminal you run LoadUI
This error message is due to Xvfb not running currently:
"(java:2644): Gtk-WARNING **: cannot open display: :99.0"
Hopefully that solves the last of the issues,
let me know if you bump into something else!
Best regards,
Mikael
That's quite allright, i didn't want to enforce any special way of doing it since there are many ways to do it.
Alternative 1:
The easiest way is probably just to drop the following line in /etc/rc.local
Xvfb -ac :99 &
/etc/rc.local is best interpreted as a script that is always run when a system is started.
So restart the system and Xvfb will detach itself to the background of your system.
Alternative 2:
If you don't want to modify any startup-scripts then you could probably just run Xvfb in the background in the same terminal you run LoadUI
Xvfb -ac :99 &; ./loadUI-cmd.sh
This error message is due to Xvfb not running currently:
"(java:2644): Gtk-WARNING **: cannot open display: :99.0"
Hopefully that solves the last of the issues,
let me know if you bump into something else!
Best regards,
Mikael