X11 clipboard problems

2006-09-26 Thread Martin Brecher

Hello, -

I have the following problem:

box1 : FreeBSD 6.2-BETA with Xorg
box2 : FreeBSD 4.11 with XFree 4.3

When I ssh from box1 into box2 using X11Forwarding and launch an
application, for example Mozilla, on box2, I cannot copy and paste
between the applications running on box1 and the application(s) running
on box2. The clipboard just doesn't work. (AFAIK I have never
encountered this problem before, but I will try this with one of my old
SparcStations soon.)

A search on Google revealed that this has happened to a few people on
non-BSD systems, too; but I could not find any information on how to
solve this, nor any work-around.

Any tips or hints?

Greetings,
Martin

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 802.1x

2004-08-19 Thread Martin Brecher
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Cubicool wrote:
[...]
| I've scoured google all
| over and discovered Open1x--which has openly dropped all BSD support
[...]
This statement does not seem to be entirely correct.
The website http://www.open1x.org states that version 0.7 from 12 June
2003 features better BSD support, whatever that may be.
Also the Supported Platforms chapter of the Xsupplicant documentation
states that:
*BSD support was initially removed largely due to a lack of
active *BSD development. Some *BSD code does remain, however,
and we encourage any *BSD developers out there to test
xsupplicant and submit patches or file bug reports to improve
*BSD support.
[...]
The Open1x team would like to reprovide support for *BSD
platforms, but doing so will require some additional hacking on
the codebase. This project is maintained in our spare time, and
we already feel stretched, so we hope you understand our current
dilemma in providing *BSD support. If you are interested in
helping us with *BSD support, please let us know.
http://sourceforge.net/docman/display_doc.php?docid=23371group_id=60236#ch2
Maybe you are able to help them out.
Greetings,
Martin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBJXE7kWEEBp53XEURAkXkAKDDKdkWlqzyRd7PuyrK5H72QT/UnwCfT79c
UlA9gzlGYFNE3qm/UObYGIc=
=pf7Z
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Updating jail

2004-08-11 Thread Martin Brecher
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Renato Botelho wrote:
| Hi all,
|
| I have a box running FreeBSD-5.2.1-RELEASE-p9, and I have a jail
| running on this machine, all works fine.
|
| When FreeBSD-5.3 releases, I want to upgrade my box to this version,
| how must I proceed to upgrade my box and my jail to new version?
You will have to sync your source using cvsup(1) to the apropriate
branch which I guess will be RELENG_5_3.
General instructions on how to sync your source to the new release and
how to recompile and reinstall your system are located in the FreeBSD
Handbook at: http://www.freebsd.org/handbook/cutting-edge.html and
http://www.freebsd.org/handbook/cvsup.html.
Some tips for updating your jails can be found at
http://subwiki.honeypot.net/cgi-bin/view/Freebsd/BuildAndUpdateJails.
You should definitely back up your entire system before updating. It's
also probably advisable to disable all additionally installed software
before booting the new version. There seem to have been a lot of changes
which may break your current binaries. So after you upgrade the system,
a portupgrade -fa may be in place.
And be sure to have a look at /usr/src/UPDATING after syncing your source.
I would break this all up into the following
1. backup
2. rebuild steps, including cvsup, buildworld etc
3. disable all ports and jails
4. install steps, including install{kernel,world} and mergemaster,
reboot etc
[see if it works]
5. jail updating steps
...
Hope this helps,
Martin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBGgj0kWEEBp53XEURAvprAJ47Zdari1N2GEMSrBvJ9SUrHYOL8ACaAgxU
6yJwQbJnN/TTSBrlwVefO+w=
=D68r
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FBSD 5.2-1 NIS/YP KDE

2004-04-17 Thread Martin Brecher
RA Cohen wrote:
[...]
I have been successful in all aspects but one:  client logins
default to the most basic window mgr (tvwm I think). There are
approx. 400 potentiaol users total over 65 workstations (a
school environment). How can I make all of them default to KDE
without manually going into each and every central home
directory to set this? Do I need a Perl sctript to do this? How
can I get a new user addition to default to KDE?
[...]

There are many ways to achieve this.

As you have all the home folders in a central location, it would be 
easiest to replace every user's .xsession/.xinitrc files with one 
calling startkde.

For new users to already have this custom file, place it in 
/usr/share/skel/ with a name of dot.xinitrc resp. dot.xsession.

But there are other solutions:

One thing to consider is using a graphical login managager like 
{k,g,x}dm, in case you don't already do so.

{k,g}dm allow the user to chooser their session. Adding new sessions to 
the list is pretty straightforward - just take a look at gdm.conf resp. 
kdm.conf files and the respective documentation.

If xdm is used you could modify its Xsession file: remove the part where 
~/.xsession is started and simply have it launch kde.

Yet another way would be to simply replace twm with a symlink pointing 
at the startkde script.



Finally, I suggest you check out cfengine www.cfengine.org (also in 
the ports), which makes central administration of a network quite easy. 
Cfengine also has macros to easily modify every user's 
~/.{xsession,whatever} file.
Additionally, you might want to consider using CVS to keep track of your 
configuration files (or/and the configuration files of cfengine).

HTH,
- Martin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: jails; sharing parts of file system; mounting pieces of file system in other positions, etc.

2004-01-07 Thread Martin Brecher
Chad, Rob, -
On linux you can do a

% mount -bind olddir newdir

to remount a piece of the FS somewhere else.  The NullFS on FBSD seems
to allow similar things.  However, as much as I could find on NullFS

[...]
I'm currently setting up my 4.9-RELEASE webserver to do something
similar - each jail gets a root filesystem, but /usr is shared readonly
by all of them. The exception is /usr/local/etc, which is symlinked to
/etc/local (in the jail).
My impression, though I don't have much to back this up with, is that
nullfs is reliable enough in read-only mode. Other folks may have a
different opinion.
Personally, I use (localhost) nfs-mounts to remount parts of the file 
system somewhere else. Works quite well.

Greetings,
Martin Brecher
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Plan 9 style backup utility for FreeBSD?

2004-01-07 Thread Martin Brecher
Scott Mitchell wrote:
[...]
Is there some standard tool for doing this on FreeBSD?  You can't just
do a direct copy cause this results in major disk space wastage so I'm
imagining you need to use hard links or something to keep the size down.


Check out rsync and the --link-dest=DIR option.  This will hardlink
unchanged files to the previous copy in the link-dest directory, rather
than copying the data again.
I just saw a project named rsnapshot on freshmeat.net:

rsnapshot is a filesystem snapshot utility based on rsync. It
makes it easy to make periodic snapshots of local machines, and
remote machines over ssh. It uses hard links whenever possible,
to greatly reduce the disk space required.
Homepage is http://www.rsnapshot.org/. Does not seem to be in the 
ports collection, though.

Greetings,
Martin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with startx on 5.2-RC2

2004-01-03 Thread Martin Brecher
Jaroslaw Nozderko wrote:
[...]
However, I managed to work around these freezes by removing the two
SMP-related lines from my kernel configuration:
options SMP  # Symmetric MultiProcessor Kernel
device  apic # I/O APIC
Additionally, I am sure ACPI does not have anything to do with this --
at least on this box.
Well, it's getting more and more interesting... 
I'm curious what does it have to do with SMP ?

Are you sure it has nothing to do with ACPI ?
Other posters suggests disabling ACPI. Did you try
and it didn't help ?
ACPI is still activated. Removing those two lines from my kernel 
configuration solved the problem for me. Have you tried that? This would 
help nailing the problem down, I guess.

BTW, I haven't tried with the geforce again, yet -- still running the 
i740 (which had the problems, too, of course).

Some people mentioned that the X11 freezes crawled in shortly before the 
5.2 branch; was there some (major?) update to the APIC stuff maybe? 
(Just guessing wild.)

Greetings,
Martin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gnumail

2004-01-03 Thread Martin Brecher
Robert Warning wrote:
I almost forgot. You will get a different font error with the libart 
backend, but I know how to fix it :) Download this gziped tarball
http://www.stupid-design.com/martin/GNUstep.de/Fonts/FreeFonts.nfont.tar.gz
and unpack it in /usr/local/GNUstep/System/Library/Fonts. Everything 
should be fine then. Also see:
http://www.stupid-design.com/martin/GNUstep.de/Fonts/index.en.php3
Please see http://wiki.gnustep.org/index.php/nfont%20packages

There are more links to more (imho better) nfont packages than the ones 
I have on GNUstep.de.

As a side note: custom installed stuff should go into GNUstep/Local/... 
rather than System/... :-)

Greetings,
Martin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with startx on 5.2-RC2

2004-01-03 Thread Martin Brecher
Jaroslaw Nozderko wrote:
[...]
I installed 5.2-RC2 again, added 

hint.acpi.0.disabled=1

to /boot/device.hints, but then I got this in dmesg after vga0:...

unknown: PNP0401 can't assign resources (port)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0700 can't assign resources (port)
unknown: PNP0f13 can't assign resources (irq)
unknown: PNP0303 can't assign resources (port)
Messages were always present with ACPI disabled and
absent when enabled. I've decided to get back
to 5.1 and wait for 5.2-RELEASE...
Have you tried removing

options SMP  # Symmetric MultiProcessor Kernel
device  apic # I/O APIC
from your kernel config and recompiled?

I just put in the nvidida card again: no freezes with those two options 
removed from my kernel. And acpi.ko is working happily.

Greetings,
Martin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with startx on 5.2-RC2

2004-01-02 Thread Martin Brecher
Jaroslaw Nozderko wrote:
[...]
Yes, see my post from earlier today called Can't shutdown, logout,
or restart cleanly.
[...]
thanks, I've read it - I have Asus P3B-F motherboard :))
But seriously, I'm not sure it's hardware-related - I don't remember
a single occurence of this problem in 5.1 and 5.0. It seems to have 
something to do with 5.2.
[...]

I agree: I experienced X11 freezes on 5.2 with both a nvidia card as
well as a card using the i740 chipset. The nv freezed the computer as
soon as I started X, the i740 happend to freeze it when I killed the X
server
Also, I saw two similar reports on the -current list.
However, I managed to work around these freezes by removing the two
SMP-related lines from my kernel configuration:
options SMP  # Symmetric MultiProcessor Kernel
device  apic # I/O APIC
Additionally, I am sure ACPI does not have anything to do with this --
at least on this box.
HTH
- Martin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How can I duplicate a set of installed ports?

2004-01-02 Thread Martin Brecher
John Mills wrote:
[...]
I have an installation I'm comfortable with, between those ports I chose 
to install, those I chose _not_ to install, and those I went around and 
added individually. Now I want to install the same set in a number of 
other systems. 
[...]
The machines have 3.5 diskettes, _just_sufficient_ hard drives, netowrk
interface cards, and no CD-ROMs. They hang on a LAN served with DHCP.
[...]
What are my options, and your recommendations?
Assuming all machines have similar installations of FreeBSD, you could 
just cp -Rp /usr/local to the other machines over the network -- or have 
 it just NFS mounted (no local copy on each machine).
Additionally, you would have to copy missing items from /var/db/pkg to 
the other machines. And possibly diff/merge some files in /etc (some 
ports may need additional user accounts, etc).

Greetings,
Martin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Vinum RAID5 speed question

2003-09-26 Thread Martin Brecher
Hi, -

I plan on setting up a vinum RAID5 array of three 120GB IDE disks. The 
disks will be attached to two Promise 100 TX2 controllers, on which two 
other disks are residing, too.

The following questions have come to my mind:

1. I thought about getting disks with 8MB cache. Does the bigger cache 
size affect performance in a RAID5 scenario?

2. Currently I'm running a RAID5 with 4 older 5400rpm disks in that 
machine, and write speeds are around 3MB/s. I guess that several people 
here are running vinum RAID5 with current IDE disks, so what throughput 
can I expect from the new planned setup?

3. The volume is meant for storing all kinds of files with all kinds of 
sizes. My current setup has a blocksize of 489kb. From other people's 
experience, what blocksize might bring the best results for such general 
purpose?

4. Any other advice would be welcome, of course. :-)

Thanks,
Martin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ugly Huge BSD Monster

2003-09-02 Thread Martin Brecher
First off, let me say that FreeBSD is one of the cleanest systems out 
there as the developers try to remove bigger packages from the base 
system instead of adding more bloat every release. One example would be 
the removal of perl from the base distribution in 5.x.

As for perl and the other scripting languages, the actual scripts are 
often very small because developers don't need to reinvent the wheel 
everytime but instead make use of the huge repository of existing 
classes and libraries. On Windows for example most software packages 
include their own dependencies. I have seen applications installing 
their own scripting environments, even their own Java VMs - apart from a 
dozen of dlls...

If you want to develop graphical applications, let me recommend you to 
take a look at the GNUstep project (http://www.gnustep.org). It provides 
a complete and clean API but is very small in comparison to the likes of 
KDE/Qt or GNOME.

Greetings,
Martin
Denis Troshin wrote:
Almost  every  package  I  install requires a few other packages. This
'idea   of   using   dependent  packages'  turns  FreeBSD  (and  other
unix-systems) to an ugly monster.
For  example, I don't need Perl or Python but a few packages I install
require them.
Does exist a programming under unix without these dependencies?

P.S.  Under Windows it is possible to write not bad applications which
depend  just  on  libraries (KERNEL32, USER32, GDI32).  And these libs
exist on every base system!!!
Is it possible in unix?

Before I thought that unix programs very compact, but they are huge!



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]