showfont and xfs -droppriv

Anthony de Boer adb-tlug-AbAJl/g/NLXk1uMJSBkQmQ at public.gmane.org
Fri Sep 5 15:06:50 UTC 2003


David Tilbrook wrote:
> Apologies for reposting, but I didn't authorize my subscription
> until recently so may have missed any answers (I'm an optimist).

The list sets Reply-To: (which I'm overriding at the moment), so you
wouldn't have seen replies if you weren't subscribed.  I don't recall
previously seeing your question, though, so there may also be an
nonsubscriber embargo.

> When I try:
> 
> 	showfont -fn 6x13
> 
> I get:
> 
> 	can't open server "localhost:7100"

It's attempting a TCP connection to 127.0.0.1:7100, but xfs isn't
listening there.  It is listening on a Unix-domain socket, and that's
what we want to get at.  A bit of a look finds /tmp/.font-unix/fs7100
to be the probable socket.  I get output if I try:

	showfont -server :7100 -fn 6x13

It would be nice if it parsed $DISPLAY and defaulted to going to the
same place (mine is ":0.0", which tells X clients to use a Unix-domain
socket to get at the X server).

FWIW, I start my X server with -nolisten tcp, so it's not listening on
port 6000 either.

-- 
Anthony de Boer
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list