[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Find the display



On Fri, Aug 11, 2000 at 04:55:23PM +0200, goswin.brederlow@student.uni-tuebingen.de wrote:
> You can check what connections the running sawfish has open with lsof
> (if that works). Look for /tmp/.X11-unix/???. ??? should then give you
> the X server it's connected to.

I tried looking for this, but i couldn't figure out the chain that would
work.  Fortunately, sawmill has a named pipe:

  /tmp/.sawmill-$LOGNAME/$display named pipe.

This looks to be the ultimate way to find it, for sawfish.  Looks like
it may be a hangover from the sawmill named days - something was missed?
:)  (and yes, this is current, from today's login in my case)

Is the lsof, netstat, etc. way a viable way of finding the display for a
program in the general case?

-m
-- 
Michael Urman <mu@zen.ddts.net>
gpg: 1024g/55C56706 : C3D7 2A8F 6261 3DE4 F544  6DC3 A1D5 BEF6 156F 65A4
<mwr#debian> bsd is also responsible for porn nets, then, too? Groovy.



Reply to: