Home » Questions » Computers [ Ask a new question ]

How can I check the PID of a X-server in another virtual terminal?

How can I check the PID of a X-server in another virtual terminal?

I am trying to open a program in a naked X-server on a different virtual terminal. I am using ubuntu 9.10.

Asked by: Guest | Views: 400
Total answers/comments: 1
Guest [Entry]

"What I did was to store pgrep -f 'X :2' in a variable mypid.
Then I simply killed $mypid.."