[clue] w and X

David L. Willson DLWillson at TheGeek.NU
Wed Nov 7 11:32:35 MST 2012


That ~might~ be a better question, since I'm noticing that this negative effect is also present in 'last' 'lastlog' and 'who'. 

So, my question for today is: How do I work around this? 

I can: 
pgrep -u (particular user) 

Or: 
ps aux | cut -f 1 -d ' ' | sort | uniq -c | sort -n 

And that... well, that's OK, but not really what I'm looking for. 

-- 
David L. Willson 
Trainer, Engineer, Enthusiast 
RHCE Network+ A+ Linux+ LPIC-1 Ubuntu 
Mobile 720-333-LANS(5267) 

This is a good time for a r3VOLution. 

----- Original Message -----

> Hi David,

> Another way you could ask this question is, why doesn't Xrdp update
> the wtmp/utmp files on your system when you log in via Xrdp?
> Presumably w reads the utmp file for logged-in users. I know this
> doesn't exactly answer your question but maybe asking a different
> question might get you on the way to resolving this issue.

> HTH
> Jim
> --
> Jim Ockers, P.E., P.Eng. ( ockers at ockers.net )
> Contact info: http://www.ockers.net/

> David L. Willson wrote:
> > Interestingly, if I'm signed into Xrdp, but I have no terminal
> > windows open, and another user runs 'w', I don't show up.
> 

> > Is there a better way to see who-all is logged in?
> 

> > --
> 
> > David L. Willson
> 
> > Trainer, Engineer, Enthusiast
> 
> > RHCE Network+ A+ Linux+ LPIC-1 Ubuntu
> 
> > Mobile 720-333-LANS(5267)
> 

> > This is a good time for a r3VOLution.
> 

> > _______________________________________________
> 
> > clue mailing list: clue at cluedenver.org For information, account
> > preferences, or to unsubscribe see:
> > http://cluedenver.org/mailman/listinfo/clue
> 
> _______________________________________________
> clue mailing list: clue at cluedenver.org
> For information, account preferences, or to unsubscribe see:
> http://cluedenver.org/mailman/listinfo/clue
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20121107/3f183e62/attachment.html 


More information about the clue mailing list