Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Quick X Question
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dermot
Tux's lil' helper
Tux's lil' helper


Joined: 28 Mar 2003
Posts: 108
Location: Dublin, Ireland

PostPosted: Tue Apr 22, 2003 8:23 am    Post subject: Quick X Question Reply with quote

Is there a command that I can type at the console that will give me a list of available X sessions?

To elaborate a little - I have a server that several people ssh to and run X apps from. I want to use xdpyinfo to get the display properties for each of their sessions. Because of the large geographical area over which these terminals are spread, it would be for more practical for me to do this locally.

Is there anyway to get such a list?
_________________
Dermot

I bought some rock star ashes from the back of Rolling Stone
I don't think he would've minded - he couldn't sell his soul
Back to top
View user's profile Send private message
Sarah
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2003
Posts: 82

PostPosted: Tue Apr 22, 2003 2:52 pm    Post subject: Reply with quote

There's probably a more elegant solution than this but you could try:
Code:
ps ax | grep "X :"

_________________
Probably the last sound heard before the Universe folded up like a paper hat would be someone saying, "What happens if I do this?" - Terry Pratchett, Interesting Times
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum