9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] plan9port acme imageinit: can't open font
@ 2022-03-03 13:34 Blake McBride
  2022-03-03 16:24 ` Lucio De Re
  0 siblings, 1 reply; 4+ messages in thread
From: Blake McBride @ 2022-03-03 13:34 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

Greetings,

I am running Plan9port on Fedora 35.

When I run acme as root, it runs fine.  However, when I try to run it as a
regular user, I get:

$ acme
imageinit: can't open font /mnt/font/Courier/12a/font: 0���
acme: can't open display: 0���
$

Any help would be appreciated.

Thanks!

Blake McBride

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T8cf6e1b4fb87fe4d-M1d053855f0eef55feb496c4b
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1234 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] plan9port acme imageinit: can't open font
  2022-03-03 13:34 [9fans] plan9port acme imageinit: can't open font Blake McBride
@ 2022-03-03 16:24 ` Lucio De Re
  2022-03-09 19:47   ` Blake McBride
  0 siblings, 1 reply; 4+ messages in thread
From: Lucio De Re @ 2022-03-03 16:24 UTC (permalink / raw)
  To: 9fans

You nay have to delete the namespace in /tmp that may have been
created under root's permissions.

I'm guessing, but it seems the most likely culprit. That, or fontsrv,
which may also have left something that only root can access. Of
course, /mnt/font is a dreadful red herring.

Lucio.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T8cf6e1b4fb87fe4d-M3bca3eb0b273dfa5e811db22
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] plan9port acme imageinit: can't open font
  2022-03-03 16:24 ` Lucio De Re
@ 2022-03-09 19:47   ` Blake McBride
  2022-03-10 18:49     ` donk86
  0 siblings, 1 reply; 4+ messages in thread
From: Blake McBride @ 2022-03-09 19:47 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 850 bytes --]

Thanks for the pointers.  I tried them and it didn't help.

I suppose I'll move on without acme.  If anyone is ever interested in
taking a look at this, you can see from my original post what I am running.

Thanks.

Blake


On Thu, Mar 3, 2022 at 10:26 AM Lucio De Re <lucio.dere@gmail.com> wrote:

> You nay have to delete the namespace in /tmp that may have been
> created under root's permissions.
> 
> I'm guessing, but it seems the most likely culprit. That, or fontsrv,
> which may also have left something that only root can access. Of
> course, /mnt/font is a dreadful red herring.
> 
> Lucio.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T8cf6e1b4fb87fe4d-M00d4f9a7f351c9a968a62935
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 2208 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] plan9port acme imageinit: can't open font
  2022-03-09 19:47   ` Blake McBride
@ 2022-03-10 18:49     ` donk86
  0 siblings, 0 replies; 4+ messages in thread
From: donk86 @ 2022-03-10 18:49 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 605 bytes --]

Hi,
 acme, or libdraw is not finding your font.  What you can do is 
$ 9p ls font

That shows  a listing of all available fonts pick one and use the -f / -F
flags with a font that is listed and see what happens.

This is the line that starts acme  in my riostart 
acme -a -f /mnt/font/'Go Regular'/11a/font -F /mnt/font/'Go Mono'/11a/font&

good luck

don



------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T8cf6e1b4fb87fe4d-M1592ed9784272ce05e2d2cdc
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1360 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-10 18:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-03 13:34 [9fans] plan9port acme imageinit: can't open font Blake McBride
2022-03-03 16:24 ` Lucio De Re
2022-03-09 19:47   ` Blake McBride
2022-03-10 18:49     ` donk86

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).