|
List Info
Thread: Re. running X apps via SSH.
|
|
| Re. running X apps via SSH. |

|
2006-10-04 22:54:59 |
>I wish to run a few X apps via ssh from a headless
computer. Simply trying
>to ssh with -X produces an error to the effect that a
variable is not
>defined. This makes perfect sense, something must be
running to give it a
>socket name. "0:0" etc.
>
>What packages, services are minimaly required to run
such a gtk app
>remotely. What docs have been written on this?
My experience with GTK apps is that you need to use the -Y
option that
newer versions of SSH require to enable trusted forwarding.
(This is
applicable to the version of SSH shipped with NetBSD >=
3.0.) SSH had
its X11 forwarding security tightened up a few releases
back.
Hope this helps,
Dave
|
|
| Creating ISO CD ... |

|
2006-10-07 07:12:56 |
Hi All,
Well, I've not build a MACPPC/NetBSD-Current ISO CD for a
long time.
I guess that there are some change ...
Please Can somebody help me ?
Here is the procedure I used before ( 3.99.x release ) :
in the RELEASE.MACPPC directory :
# cd /sata2/BUILD/release.macppc
# cp macppc/binary/kernel/netbsd-GENERIC_MD.gz netbsd.macppc
# cp macppc/installation/ofwboot.xcf .
Creation of the CHRP Bootscript in
"release.macppc/macppc/" :
------------------------------------------------------------
------------
----------
<CHRP-BOOT>
<COMPATIBLE>MacRISC</COMPATIBLE>
<DESCRIPTION>
NetBSD/4.99.3/macppc/MacPPC bootable CD script
</DESCRIPTION>
<BOOT-SCRIPT>
boot cd:,ofwboot.xcf netbsd.macppc
</BOOT-SCRIPT>
</CHRP-BOOT>
------------------------------------------------------------
------------
----------
Adding Some lines to HFSMAP.LST :
# echo ".chrp - 'chrp' 'tbxi'" >>
/sata2/BUILD/src/distrib/cdrom/
hfsmap.lst
ISO Image Creation :
# mkisofs -o NetBSD-4.99.3_macppc_20061006.iso -hfs -part
-map /sata2/
BUILD/src/distrib/cdrom/hfsmap.lst -hfs-bless ./macppc
/sata2/BUILD/
src/distrib/cdrom -boot-hfs-file
/sata2/BUILD/src/distrib/cdrom/
macppc_installboot/macppcboot.raw -l -J -r -L /sata2/BUILD/
release.macppc
BLKNUM=`ls -l NetBSD-4.99.3_macppc_20061006.iso | awk
'{print $5}'`
BLKNUM=`expr $ / 512`
# /sata2/BUILD/src/distrib/cdrom/macppc_installboot/
macppc_installboot NetBSD-4.99.3_macppc_20061006.iso
$ 756
dd if=/sata2/BUILD/dest.macppc/usr/mdec/ofwboot bs=64k
count=1
conv=sync >> NetBSD-4.99.3_macppc_20061006.iso
Well, right now, I've successfully build the 4.99.3 MacPPC
Release,
but I was unable to find the file macppcboot.raw !
I've seen that it is no longer included in the source tree
...
What is the new way to make this ?
Many thanks
Best regards.
|
|
| Creating ISO CD ... |

|
2006-10-07 07:26:31 |
I guess I've found the answer :
# cd /sata2/BUILD/src/distrib/cdrom/macppc_mkboothfs
# make
This produce the following file : macppc_mkboothfs
# ./macppc_mkboothfs macppcboot.raw
Then run the MKISOFS command as usual, using this new
MACPPCBOOT.RAW
file with the -boot-hfs-file option :
# cd /sata2/BUILD/release.macppc
# mkisofs -o NetBSD-4.99.3_macppc_20061007.iso -hfs -part
-map /sata2/
BUILD/src/distrib/cdrom/hfsmap.lst -hfs-bless ./macppc
-boot-hfs-
file
/sata2/BUILD/src/distrib/cdrom/macppc_mkboothfs/macppcboot.r
aw -
l -J -r -L /sata2/BUILD/release.macppc
Seems to produce a valid iso image ...
can somebody tell me if I'm right ?
Best regards
|
|
| Creating ISO CD ... |

|
2006-10-07 07:39:10 |
I still have a problem ...
Here are the logs :
root athlon64:/sata2/SCRIPTS # ./make_iso_ppc.sh
VERSION 4.99.3
ARCH macppc
TOP /sata2/BUILD/release.macppc/macppc
CDROM_UTIL: /sata2/BUILD/src/distrib/cdrom
# mkisofs -o NetBSD-4.99.3_macppc_20061007.iso -hfs -part
-map /sata2/
BUILD/src/distrib/cdrom/hfsmap.lst -hfs-bless ./macppc
-boot-hfs-
file
/sata2/BUILD/src/distrib/cdrom/macppc_mkboothfs/macppcboot.r
aw -
l -J -r -L /sata2/BUILD/release.macppc
mkisofs: The option '-L' is reserved by POSIX.1-2001.
mkisofs: The option '-L' means 'follow all symbolic links'.
mkisofs: Mkisofs-2.02 will introduce POSIX semantics for
'-L'.
mkisofs: Use -allow-leading-dots in future to get old
mkisofs behavior.
Warning: creating filesystem that does not conform to
ISO-9660.
2.01% done, estimate finish Sat Oct 7 09:35:23 2006
4.01% done, estimate finish Sat Oct 7 09:35:23 2006
6.02% done, estimate finish Sat Oct 7 09:35:23 2006
8.02% done, estimate finish Sat Oct 7 09:35:35 2006
10.02% done, estimate finish Sat Oct 7 09:35:32 2006
12.03% done, estimate finish Sat Oct 7 09:35:31 2006
14.03% done, estimate finish Sat Oct 7 09:35:37 2006
16.03% done, estimate finish Sat Oct 7 09:35:35 2006
18.04% done, estimate finish Sat Oct 7 09:35:34 2006
20.04% done, estimate finish Sat Oct 7 09:35:32 2006
22.04% done, estimate finish Sat Oct 7 09:35:32 2006
24.05% done, estimate finish Sat Oct 7 09:35:31 2006
26.05% done, estimate finish Sat Oct 7 09:35:34 2006
28.06% done, estimate finish Sat Oct 7 09:35:33 2006
30.06% done, estimate finish Sat Oct 7 09:35:32 2006
32.06% done, estimate finish Sat Oct 7 09:35:32 2006
34.07% done, estimate finish Sat Oct 7 09:35:34 2006
36.07% done, estimate finish Sat Oct 7 09:35:34 2006
38.07% done, estimate finish Sat Oct 7 09:35:33 2006
40.08% done, estimate finish Sat Oct 7 09:35:32 2006
42.08% done, estimate finish Sat Oct 7 09:35:32 2006
44.08% done, estimate finish Sat Oct 7 09:35:32 2006
46.09% done, estimate finish Sat Oct 7 09:35:33 2006
48.09% done, estimate finish Sat Oct 7 09:35:33 2006
50.10% done, estimate finish Sat Oct 7 09:35:32 2006
52.10% done, estimate finish Sat Oct 7 09:35:32 2006
54.10% done, estimate finish Sat Oct 7 09:35:32 2006
56.11% done, estimate finish Sat Oct 7 09:35:31 2006
58.11% done, estimate finish Sat Oct 7 09:35:33 2006
60.12% done, estimate finish Sat Oct 7 09:35:32 2006
62.12% done, estimate finish Sat Oct 7 09:35:32 2006
64.13% done, estimate finish Sat Oct 7 09:35:32 2006
66.13% done, estimate finish Sat Oct 7 09:35:33 2006
68.13% done, estimate finish Sat Oct 7 09:35:33 2006
70.13% done, estimate finish Sat Oct 7 09:35:32 2006
72.14% done, estimate finish Sat Oct 7 09:35:32 2006
74.14% done, estimate finish Sat Oct 7 09:35:32 2006
76.14% done, estimate finish Sat Oct 7 09:35:32 2006
78.15% done, estimate finish Sat Oct 7 09:35:31 2006
80.15% done, estimate finish Sat Oct 7 09:35:32 2006
82.16% done, estimate finish Sat Oct 7 09:35:32 2006
84.16% done, estimate finish Sat Oct 7 09:35:32 2006
86.17% done, estimate finish Sat Oct 7 09:35:32 2006
88.17% done, estimate finish Sat Oct 7 09:35:33 2006
90.17% done, estimate finish Sat Oct 7 09:35:32 2006
92.17% done, estimate finish Sat Oct 7 09:35:32 2006
94.18% done, estimate finish Sat Oct 7 09:35:32 2006
96.19% done, estimate finish Sat Oct 7 09:35:32 2006
Total extents actually written (inc HFS) = 249381
(Size of ISO volume = 243240, HFS extra = 6141)
Total translation table size: 0
Total rockridge attributes bytes: 7110
Total directory bytes: 22528
Path table size(bytes): 152
Max brk space used c33324
249531 extents written (487 MB)
# /sata2/BUILD/src/distrib/cdrom/macppc_installboot/
macppc_installboot NetBSD-4.99.3_macppc_20061007.iso 998124
756
macppc_installboot: Opening primary bootstrap `998124': No
such file
or directory
# dd if=/sata2/BUILD/dest.macppc/usr/mdec/ofwboot bs=64k
count=1
conv=sync >> NetBSD-4.99.3_macppc_20061007.iso
0+1 records in
1+0 records out
65536 bytes transferred in 0.282 secs (232397 bytes/sec)
Any ideas are welcome
Best Regards
Le 7 oct. 06 à 09:26, KlinT a écrit :
> I guess I've found the answer :
>
>
> # cd /sata2/BUILD/src/distrib/cdrom/macppc_mkboothfs
> # make
>
> This produce the following file : macppc_mkboothfs
>
> # ./macppc_mkboothfs macppcboot.raw
>
> Then run the MKISOFS command as usual, using this new
> MACPPCBOOT.RAW file with the -boot-hfs-file option :
>
> # cd /sata2/BUILD/release.macppc
> # mkisofs -o NetBSD-4.99.3_macppc_20061007.iso -hfs
-part -map /
> sata2/BUILD/src/distrib/cdrom/hfsmap.lst -hfs-bless
./macppc -boot-
> hfs-file
/sata2/BUILD/src/distrib/cdrom/macppc_mkboothfs/
> macppcboot.raw -l -J -r -L /sata2/BUILD/release.macppc
>
> Seems to produce a valid iso image ...
>
> can somebody tell me if I'm right ?
>
> Best regards
>
|
|
| Creating ISO CD ... |

|
2006-10-07 08:03:20 |
klint klintcentral.net wrote:
> can somebody tell me if I'm right ?
You don't have to do it manually, just use Makefile:
# cd /usr/src/distrib/cdrom
# vi current.conf
comment out CD_IMAGES+= foo-$ lines except
macppccd-$ if you don't need others
# make RELEASE=current
RSYNC_SITE=rsync://rsync.NetBSD.org/NetBSD-daily/HEAD/200609
250000Z fetch
of cource you have to change build date in the path
appropriately.
if you already have necessary release sets on your
machine,
maybe you could copy them manually to
src/distrib/cdrom/download/ dir.
# make RELEASE=current
then have fun.
---
Izumi Tsutsui
|
|
| Creating ISO CD ... |

|
2006-10-07 08:08:50 |
Hi,
That's what i'm actually trying ...
I've also tried a build.sh iso-image ... it works ...
Many thanks
Le 7 oct. 06 à 10:03, Izumi Tsutsui a écrit :
> klint klintcentral.net wrote:
>
>> can somebody tell me if I'm right ?
>
> You don't have to do it manually, just use Makefile:
>
> # cd /usr/src/distrib/cdrom
> # vi current.conf
>
> comment out CD_IMAGES+= foo-$ lines
except
> macppccd-$ if you don't need others
>
> # make RELEASE=current
RSYNC_SITE=rsync://rsync.NetBSD.org/NetBSD-
> daily/HEAD/200609250000Z fetch
I don't use the NetBSD-Daily ...
I fetch the sources from CVS and build them as usual ...
>
> of cource you have to change build date in the path
appropriately.
>
> if you already have necessary release sets on your
machine,
> maybe you could copy them manually to
src/distrib/cdrom/download/
> dir.
I've made a link between release.macppc to
src/distrib/cdrom/download
But some files are missing ( CHANGES, CHANGES.prev, ... )
>
> # make RELEASE=current
Try in progress
>
> then have fun.
>
> ---
> Izumi Tsutsui
>
|
|
| Creating ISO CD ... |

|
2006-10-07 08:32:42 |
Hi again,
I think I've find what I need to do it manually :
After creating the ISO as described in a previous post, the
correct
line for "macppc_installboot" is :
# cd /sata2/BUILD/src/distrib/cdrom/macppc_installboot
# ./macppc_installboot /sata2/BUILD/release.macppc/
NetBSD-4.99.3_macppc_20061007.iso
/sata2/BUILD/dest.macppc/usr/mdec/
bootxx /ofwboot
I've now to test it
Best Regards
Le 7 oct. 06 à 10:03, Izumi Tsutsui a écrit :
> klint klintcentral.net wrote:
>
>> can somebody tell me if I'm right ?
>
> You don't have to do it manually, just use Makefile:
>
> # cd /usr/src/distrib/cdrom
> # vi current.conf
>
> comment out CD_IMAGES+= foo-$ lines
except
> macppccd-$ if you don't need others
>
> # make RELEASE=current
RSYNC_SITE=rsync://rsync.NetBSD.org/NetBSD-
> daily/HEAD/200609250000Z fetch
>
> of cource you have to change build date in the path
appropriately.
>
> if you already have necessary release sets on your
machine,
> maybe you could copy them manually to
src/distrib/cdrom/download/
> dir.
>
> # make RELEASE=current
>
> then have fun.
>
> ---
> Izumi Tsutsui
>
|
|
| Creating ISO CD ... |

|
2006-10-07 09:00:04 |
Well,
Le CD seems to be bootable :
at boot press : Command + Option + O + F
then at prompt type : boot cd:,ofwboot.xcf netbsd.macppc
The kernel hang on OHCI devices but, it's maybe because of
one or
momre add-on card I have in my mac
Best Regards,
Thanks for your help Izumi ...
Le 7 oct. 06 à 10:32, KlinT a écrit :
> Hi again,
>
> I think I've find what I need to do it manually :
>
> After creating the ISO as described in a previous post,
the correct
> line for "macppc_installboot" is :
>
> # cd /sata2/BUILD/src/distrib/cdrom/macppc_installboot
> # ./macppc_installboot /sata2/BUILD/release.macppc/
> NetBSD-4.99.3_macppc_20061007.iso
/sata2/BUILD/dest.macppc/usr/mdec/
> bootxx /ofwboot
>
> I've now to test it
>
> Best Regards
>
> Le 7 oct. 06 à 10:03, Izumi Tsutsui a écrit :
>
>> klint klintcentral.net wrote:
>>
>>> can somebody tell me if I'm right ?
>>
>> You don't have to do it manually, just use
Makefile:
>>
>> # cd /usr/src/distrib/cdrom
>> # vi current.conf
>>
>> comment out CD_IMAGES+= foo-$ lines
except
>> macppccd-$ if you don't need others
>>
>> # make RELEASE=current
RSYNC_SITE=rsync://rsync.NetBSD.org/NetBSD-
>> daily/HEAD/200609250000Z fetch
>>
>> of cource you have to change build date in the
path appropriately.
>>
>> if you already have necessary release sets on
your machine,
>> maybe you could copy them manually to
src/distrib/cdrom/
>> download/ dir.
>>
>> # make RELEASE=current
>>
>> then have fun.
>>
>> ---
>> Izumi Tsutsui
>>
>
>
|
|
[1-8]
|
|