Results 1 to 2 of 2
Hi Guys,
I am able to start x server using the below command:
Code:
startx -- `which Xvfb` :1 -screen 0 1024x768x24 2>&1 >/dev/null &
and i am sending commands ...
- 01-20-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 1
How to stop the Xserver started by xvfb command
Hi Guys,
I am able to start x server using the below command:
and i am sending commands to the x server like below:Code:startx -- `which Xvfb` :1 -screen 0 1024x768x24 2>&1 >/dev/null &
My questions are how to stop this server so that i can run the below command again with out getting the error saying that server is already runningCode:DISPLAY=:1 cd /home/ram/workspace/selenium/ DISPLAY=:1 ./go
Code:startx -- `which Xvfb` :1 -screen 0 1024x768x24 2>&1 >/dev/null &
I have read in a forum abt ctrl+alt+F1 but it brought me to console..I did not know what to do..I just used the shutdown command to restart..
Also..I dont want to stop my current desktop x server..I just want to stop the xserver started by the above command..
Please help me...
It would be helpful if some one can tell me how to take the video of what is happening in the xserver..which i started..
NOTE: I am very dumb in the world of linux..Please explain
Thanks in Advacne
Apollo
- 01-21-2011 #2
Find out which background job it is (probably 1):
jobs
Then kill it:
kill %1
(or whatever the job number in square braces is at the beginning of the jobs command output). You may need kill -9 %1 for a sure kill.


Reply With Quote
