9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] X11 setup problem
@ 2007-06-20  8:38 pavlovetsky
  2007-06-20  8:47 ` John Floren
  2007-06-20  9:29 ` [9fans] " pavlovetsky
  0 siblings, 2 replies; 14+ messages in thread
From: pavlovetsky @ 2007-06-20  8:38 UTC (permalink / raw)
  To: 9fans

I have problem installing X11. I mount X11.iso and after I issued the
command /n/dist/X11.setup (as was prescribed in README) I got the
following:
/n/kfs/dist/replica/client/X11.db: rc (X11.setup): can't open: '/n/kfs/
dist' does not exist.

What do you think is wrong? What to do?

Thanks a lot.


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

* Re: [9fans] X11 setup problem
  2007-06-20  8:38 [9fans] X11 setup problem pavlovetsky
@ 2007-06-20  8:47 ` John Floren
  2007-06-20  9:08   ` Steve Simon
  2007-06-20  9:29 ` [9fans] " pavlovetsky
  1 sibling, 1 reply; 14+ messages in thread
From: John Floren @ 2007-06-20  8:47 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 6/19/07, pavlovetsky@gmail.com <pavlovetsky@gmail.com> wrote:
> I have problem installing X11. I mount X11.iso and after I issued the
> command /n/dist/X11.setup (as was prescribed in README) I got the
> following:
> /n/kfs/dist/replica/client/X11.db: rc (X11.setup): can't open: '/n/kfs/
> dist' does not exist.
>
> What do you think is wrong? What to do?
>
> Thanks a lot.
>

Looks like the problem here is that the iso is SO old, it expects a
kfs file system rather than the current fossil fs. If I remember, I
tried installing X11 some months ago and ran into the same problem.
Not sure what the solution is, I'm afraid. Besides, it's such an old
X, might not even be worth using.

John
--
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn


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

* Re: [9fans] X11 setup problem
  2007-06-20  8:47 ` John Floren
@ 2007-06-20  9:08   ` Steve Simon
  0 siblings, 0 replies; 14+ messages in thread
From: Steve Simon @ 2007-06-20  9:08 UTC (permalink / raw)
  To: 9fans

> Looks like the problem here is that the iso is SO old, it expects a
> kfs file system rather than the current fossil fs.

Exactly, the x11 iso predates fossil.

I am sure this was discussed a fairly recently,
fbg rembembers the answer, if you google comp.os.plan9
you should find some hints.

the x11 port offers only 8 bit pixmaps to the clients
so all images must be remapped to the physical displays
depth in the server, so its slow on 16bit and 32bit displays.

This said it does work though annoyingly some programs
refuse to cooperate with 8bit displays, most notably
firefox ☹

If you are interested, the port consists of a single file
(brazil.c from memory) and I for one would find a new port
that supports 16 and 32 bit displays very useful.

Also beware, recompiling X11 from scratch takes a 20 or 30
times as long as compiling the plan9 kernel.

-Steve



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

* [9fans] Re: X11 setup problem
  2007-06-20  8:38 [9fans] X11 setup problem pavlovetsky
  2007-06-20  8:47 ` John Floren
@ 2007-06-20  9:29 ` pavlovetsky
  2007-06-20 11:40   ` Anthony Sorace
                     ` (4 more replies)
  1 sibling, 5 replies; 14+ messages in thread
From: pavlovetsky @ 2007-06-20  9:29 UTC (permalink / raw)
  To: 9fans

Yes, this (I mean the age of the X11 distribution) was the first
thought arised in my mind.
Ok, the contents of X11.setup is as follows:


#!/bin/rc

>>/n/kfs/dist/replica/client/X11.db
>>/n/kfs/dist/replica/client/X11.log


Now the question is how to upgrade and make it usable with fossil. I
am asking this question since I am afraid I am still learning the
system and need help in (seems to be) simple matter.
Is there somebody who can give a clue? Thank you.


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

* Re: [9fans] Re: X11 setup problem
  2007-06-20  9:29 ` [9fans] " pavlovetsky
@ 2007-06-20 11:40   ` Anthony Sorace
  2007-06-20 13:54     ` Paweł Lasek
  2007-06-21  8:51     ` pavlovetsky
  2007-06-20 14:14   ` pavlovetsky
                     ` (3 subsequent siblings)
  4 siblings, 2 replies; 14+ messages in thread
From: Anthony Sorace @ 2007-06-20 11:40 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

/n/kfs is the conventional mount point for the previous
local-disk-backed file system on terminals and cpu servers; it's
likely just an issue of point it at wherever your file system is
*really* mounted, instead (or, just mount it on /n/kfs and skip the
changes).

however, and this is important, it is *very* *strongly* recommended
that you learn to use the system without X11 first. X11 is not part of
the distribution for a reason; that port is old and slow, and was
never heavily used. no program in Plan 9 depends on, or even wants,
X11 in any way. you will find it distracting and frustrating rather
than helpful if you aren't familiar with "real" Plan 9 first, as
you'll keep expecting things to be there which aren't.


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

* Re: [9fans] Re: X11 setup problem
  2007-06-20 11:40   ` Anthony Sorace
@ 2007-06-20 13:54     ` Paweł Lasek
  2007-06-21  8:51     ` pavlovetsky
  1 sibling, 0 replies; 14+ messages in thread
From: Paweł Lasek @ 2007-06-20 13:54 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 6/20/07, Anthony Sorace <anothy@gmail.com> wrote:

> however, and this is important, it is *very* *strongly* recommended
> that you learn to use the system without X11 first. X11 is not part of
> the distribution for a reason; that port is old and slow, and was
> never heavily used. no program in Plan 9 depends on, or even wants,
> X11 in any way. you will find it distracting and frustrating rather
> than helpful if you aren't familiar with "real" Plan 9 first, as
> you'll keep expecting things to be there which aren't.
>

And if someone really wants X11, it might be more sensible to port
X.Org's kdrive using /dev/draw for framebuffer.... It might be easier
than getting that old port to be usable with modern X11 apps :-)

--
Paul Lasek


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

* [9fans] Re: X11 setup problem
  2007-06-20  9:29 ` [9fans] " pavlovetsky
  2007-06-20 11:40   ` Anthony Sorace
@ 2007-06-20 14:14   ` pavlovetsky
  2007-06-20 14:42   ` pavlovetsky
                     ` (2 subsequent siblings)
  4 siblings, 0 replies; 14+ messages in thread
From: pavlovetsky @ 2007-06-20 14:14 UTC (permalink / raw)
  To: 9fans

My messages posted with delay and it looks a bit inadequate, sorry for
inconvenience.


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

* [9fans] Re: X11 setup problem
  2007-06-20  9:29 ` [9fans] " pavlovetsky
  2007-06-20 11:40   ` Anthony Sorace
  2007-06-20 14:14   ` pavlovetsky
@ 2007-06-20 14:42   ` pavlovetsky
  2007-06-20 22:15   ` Steve Simon
  2007-06-22  8:57   ` pavlovetsky
  4 siblings, 0 replies; 14+ messages in thread
From: pavlovetsky @ 2007-06-20 14:42 UTC (permalink / raw)
  To: 9fans

On Jun 20, 2:41 pm, ano...@gmail.com (Anthony Sorace) wrote:
> /n/kfs is the conventional mount point for the previous
> local-disk-backed file system on terminals and cpu servers; it's
> likely just an issue of point it at wherever your file system is
> *really* mounted, instead (or, just mount it on /n/kfs and skip the
> changes).
>
> however, and this is important, it is *very* *strongly* recommended
> that you learn to use the system without X11 first. X11 is not part of
> the distribution for a reason; that port is old and slow, and was
> never heavily used. no program in Plan 9 depends on, or even wants,
> X11 in any way. you will find it distracting and frustrating rather
> than helpful if you aren't familiar with "real" Plan 9 first, as
> you'll keep expecting things to be there which aren't.

I understand you perfectly. My idea was that with X installed it would
be easer to port other software that uses X server.


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

* Re: [9fans] Re: X11 setup problem
  2007-06-20  9:29 ` [9fans] " pavlovetsky
                     ` (2 preceding siblings ...)
  2007-06-20 14:42   ` pavlovetsky
@ 2007-06-20 22:15   ` Steve Simon
  2007-06-20 22:55     ` john
  2007-06-22  8:57   ` pavlovetsky
  4 siblings, 1 reply; 14+ messages in thread
From: Steve Simon @ 2007-06-20 22:15 UTC (permalink / raw)
  To: 9fans

Ok,

Installing the X11 iso on a fossil based file server.

	# start the iso9660 filesystem server
	9660srv

	disable the 9fs command by binding echo over it
	bind /386/bin/echo /rc/bin/9fs

	# mount a psudo /n/kfs pointing to the root of your fossil filesystem
	mount /srv/boot /n/kfs

	# the below is from the standard X11 install instructions.

	# mount the iso
	mount /srv/9660 /n/dist /n/juke/X11.iso

	# initialise the replica logs
	/n/dist/X11.setup

	# do the pull
	replica/pull /n/dist/X11

	# have coffee, even installing takes 10 mins...

-Steve


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

* Re: [9fans] Re: X11 setup problem
  2007-06-20 22:15   ` Steve Simon
@ 2007-06-20 22:55     ` john
  2007-06-21  7:29       ` Steve Simon
  0 siblings, 1 reply; 14+ messages in thread
From: john @ 2007-06-20 22:55 UTC (permalink / raw)
  To: 9fans

> Ok,
>
> Installing the X11 iso on a fossil based file server.
>
> 	# start the iso9660 filesystem server
> 	9660srv
>
> 	disable the 9fs command by binding echo over it
> 	bind /386/bin/echo /rc/bin/9fs
>
> 	# mount a psudo /n/kfs pointing to the root of your fossil filesystem
> 	mount /srv/boot /n/kfs
>
> 	# the below is from the standard X11 install instructions.
>
> 	# mount the iso
> 	mount /srv/9660 /n/dist /n/juke/X11.iso
>
> 	# initialise the replica logs
> 	/n/dist/X11.setup
>
> 	# do the pull
> 	replica/pull /n/dist/X11
>
> 	# have coffee, even installing takes 10 mins...
>
> -Steve

I went ahead and installed X11 just for the hell of it, but can
anybody tell me what actually comes with the distribution?

John



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

* Re: [9fans] Re: X11 setup problem
  2007-06-20 22:55     ` john
@ 2007-06-21  7:29       ` Steve Simon
  0 siblings, 0 replies; 14+ messages in thread
From: Steve Simon @ 2007-06-21  7:29 UTC (permalink / raw)
  To: 9fans

anybody tell me what actually comes with the distribution?

An X11 server for plan9 and all the usual tools,
xauth, xclock, xrdb, xterm etc.

try:
	9fs boot
	du -a /n/boot | grep X11

-Steve


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

* [9fans] Re: X11 setup problem
  2007-06-20 11:40   ` Anthony Sorace
  2007-06-20 13:54     ` Paweł Lasek
@ 2007-06-21  8:51     ` pavlovetsky
  1 sibling, 0 replies; 14+ messages in thread
From: pavlovetsky @ 2007-06-21  8:51 UTC (permalink / raw)
  To: 9fans

On Jun 20, 4:55 pm, pawel.la...@gmail.com (Pawe  Lasek) wrote:
> On 6/20/07, Anthony Sorace <ano...@gmail.com> wrote:
>
> > however, and this is important, it is *very* *strongly* recommended
> > that you learn to use the system without X11 first. X11 is not part of
> > the distribution for a reason; that port is old and slow, and was
> > never heavily used. no program in Plan 9 depends on, or even wants,
> > X11 in any way. you will find it distracting and frustrating rather
> > than helpful if you aren't familiar with "real" Plan 9 first, as
> > you'll keep expecting things to be there which aren't.
>
> And if someone really wants X11, it might be more sensible to port
> X.Org's kdrive using /dev/draw for framebuffer.... It might be easier
> than getting that old port to be usable with modern X11 apps :-)
>
> --
> Paul Lasek

Paul is right. It seems much more sensible to drop this antique thing
and port latest sources, in the end.


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

* [9fans] Re: X11 setup problem
  2007-06-20  9:29 ` [9fans] " pavlovetsky
                     ` (3 preceding siblings ...)
  2007-06-20 22:15   ` Steve Simon
@ 2007-06-22  8:57   ` pavlovetsky
  2007-06-22  9:40     ` Steve Simon
  4 siblings, 1 reply; 14+ messages in thread
From: pavlovetsky @ 2007-06-22  8:57 UTC (permalink / raw)
  To: 9fans

On Jun 21, 1:16 am, s...@quintile.net (Steve Simon) wrote:
> Ok,
>
> Installing the X11 iso on a fossil based file server.
>
>         # start the iso9660 filesystem server
>         9660srv
>
>         disable the 9fs command by binding echo over it
>         bind /386/bin/echo /rc/bin/9fs
>
>         # mount a psudo /n/kfs pointing to the root of your fossil filesystem
>         mount /srv/boot /n/kfs
>
>         # the below is from the standard X11 install instructions.
>
>         # mount the iso
>         mount /srv/9660 /n/dist /n/juke/X11.iso
>
>         # initialise the replica logs
>         /n/dist/X11.setup
>
>         # do the pull
>         replica/pull /n/dist/X11
>
>         # have coffee, even installing takes 10 mins...
>
> -Steve

I had different and, I am afraid, more crude aproach regarding the
part before mounting iso. Namely I did "bind / /n/kfs" and edited
replica configuration named X11 by replacing "fn clientmount { 9fs
kfs }" with "fn clientmount { status='' }". I extracted the contents
of X11.iso, edited replica configuration, and, in the end, my pull was
in the form "replica/pull /usr/anton/X11/X11". A hack, the value of
which is learning how the things work.


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

* Re: [9fans] Re: X11 setup problem
  2007-06-22  8:57   ` pavlovetsky
@ 2007-06-22  9:40     ` Steve Simon
  0 siblings, 0 replies; 14+ messages in thread
From: Steve Simon @ 2007-06-22  9:40 UTC (permalink / raw)
  To: 9fans

> I had different and, I am afraid, more crude aproach regarding the
> part before mounting iso. Namely I did "bind / /n/kfs" and edited
> replica configuration named X11 by replacing "fn clientmount { 9fs
> kfs }" with "fn clientmount { status='' }". I extracted the contents
> of X11.iso, edited replica configuration, and, in the end, my pull was
> in the form "replica/pull /usr/anton/X11/X11". A hack, the value of
> which is learning how the things work.


Working out how to do it yourself is never a hack it is A Good Thing™,
well done!

For I put a page on the wiki on installing X11, which probably applies
similarly to the other ISOs in /n/sources/extra but I haven't tested
them with this recipie.

-Steve


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

end of thread, other threads:[~2007-06-22  9:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-20  8:38 [9fans] X11 setup problem pavlovetsky
2007-06-20  8:47 ` John Floren
2007-06-20  9:08   ` Steve Simon
2007-06-20  9:29 ` [9fans] " pavlovetsky
2007-06-20 11:40   ` Anthony Sorace
2007-06-20 13:54     ` Paweł Lasek
2007-06-21  8:51     ` pavlovetsky
2007-06-20 14:14   ` pavlovetsky
2007-06-20 14:42   ` pavlovetsky
2007-06-20 22:15   ` Steve Simon
2007-06-20 22:55     ` john
2007-06-21  7:29       ` Steve Simon
2007-06-22  8:57   ` pavlovetsky
2007-06-22  9:40     ` Steve Simon

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).