running Xvfb in background on remote linux

Abhishek Tripathi

i am facing issues with Xvfb on remote linux. when i run the command

Xvfb :99 &

I get this messages on the command line Initializing built-in extension Generic Event Extension Initializing built-in extension SHAPE Initializing built-in extension MIT-SHM Initializing built-in extension XInputExtension Initializing built-in extension XTEST Initializing built-in extension BIG-REQUESTS Initializing built-in extension SYNC Initializing built-in extension XKEYBOARD Initializing built-in extension XC-MISC Initializing built-in extension SECURITY Initializing built-in extension XINERAMA Initializing built-in extension XFIXES Initializing built-in extension RENDER Initializing built-in extension RANDR Initializing built-in extension COMPOSITE Initializing built-in extension DAMAGE Initializing built-in extension MIT-SCREEN-SAVER Initializing built-in extension DOUBLE-BUFFER Initializing built-in extension RECORD Initializing built-in extension DPMS Initializing built-in extension Present Initializing built-in extension X-Resource Initializing built-in extension XVideo Initializing built-in extension XVideo-MotionCompensation Initializing built-in extension SELinux Initializing built-in extension GLX

and i have to suspend it using ctrl+c still it will be running in the background, i am writing a shell script to automate it but this command Xvfb :99 & is not running in the background ! any help regarding this ?

my shell script :

system("sudo yum -y install Xvfb");
system("sudo yum -y install firefox");
system("sudo yum -y install ImageMagick");
system("Xvfb :99 &");
system("export DISPLAY=:99");
Mrunal Gosar

instead of & try to use below:
issue ctrl+z command after entering Xvfb :99
then enter bg to send the process to run in background and following would keep on running in background.
EDIT: Below should also help:

nohup Xvfb :99 > /dev/null 2>&1 &

or simply nohup Xvfb :99 &

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Running Commands on a Remote Linux

From Dev

running a process in background in linux

From Dev

Check if remote process is running (linux)

From Dev

Check if remote process is running (linux)

From Dev

Running a remote command through SSH but in the background

From Dev

running mvn exec in the background of remote server

From Dev

Running remote scripts on Linux Servers from Windows

From Dev

ssh -X on Linux to remote server running Windows

From Dev

Running Commands on Remote Linux Server Using SSH

From Dev

Running a Linux Daemon vs An infinite loop in the background

From Dev

Running Linux commands in the background: ampersand (&) or screen

From Dev

Unable to install Xvfb on Suse Linux

From Dev

Running linux script on remote linux system using putty

From Dev

Debian: Start Xvfb with systemd script and send to background

From Dev

how to record video of selenium tests running on Xvfb?

From Dev

how to record video of selenium tests running on Xvfb?

From Dev

How to restart remote MySQL server running on Ubuntu linux?

From Dev

Remote BIOS update from current running Linux OS

From Dev

Connect PHP on Linux server to MS SQL on remote server running Windows

From Dev

Running a shell script to a remote linux server from the local window?

From Dev

How to gracefully stop a rethinkdb server running in the background in linux?

From Dev

netcoreapp 2.1 how to keep app running as background in linux

From Dev

What is extension of Linux long running background service/executable file?

From Dev

Error running selenium ruby script through xvfb-run

From Dev

Changing Xvfb frame buffer resolution while it's running

From Dev

Handle Remote Notification in Background

From Dev

remote long running command

From Dev

Running process on a remote browser

From Dev

running script on remote machine

Related Related

  1. 1

    Running Commands on a Remote Linux

  2. 2

    running a process in background in linux

  3. 3

    Check if remote process is running (linux)

  4. 4

    Check if remote process is running (linux)

  5. 5

    Running a remote command through SSH but in the background

  6. 6

    running mvn exec in the background of remote server

  7. 7

    Running remote scripts on Linux Servers from Windows

  8. 8

    ssh -X on Linux to remote server running Windows

  9. 9

    Running Commands on Remote Linux Server Using SSH

  10. 10

    Running a Linux Daemon vs An infinite loop in the background

  11. 11

    Running Linux commands in the background: ampersand (&) or screen

  12. 12

    Unable to install Xvfb on Suse Linux

  13. 13

    Running linux script on remote linux system using putty

  14. 14

    Debian: Start Xvfb with systemd script and send to background

  15. 15

    how to record video of selenium tests running on Xvfb?

  16. 16

    how to record video of selenium tests running on Xvfb?

  17. 17

    How to restart remote MySQL server running on Ubuntu linux?

  18. 18

    Remote BIOS update from current running Linux OS

  19. 19

    Connect PHP on Linux server to MS SQL on remote server running Windows

  20. 20

    Running a shell script to a remote linux server from the local window?

  21. 21

    How to gracefully stop a rethinkdb server running in the background in linux?

  22. 22

    netcoreapp 2.1 how to keep app running as background in linux

  23. 23

    What is extension of Linux long running background service/executable file?

  24. 24

    Error running selenium ruby script through xvfb-run

  25. 25

    Changing Xvfb frame buffer resolution while it's running

  26. 26

    Handle Remote Notification in Background

  27. 27

    remote long running command

  28. 28

    Running process on a remote browser

  29. 29

    running script on remote machine

HotTag

Archive