I'm writing a *very* simple script to choose between window managers when starting X.
How can I see which tty's are currently being used, e.g. by another X server instance? So I can assign another tty to the new instance...
I've been searching in google and the forums but still feel clueless about where should I search first...
What am I missing?
I'm new in this forum (first post) so please be patient. Thanks! :)
/edit: I use Arch Linux.