Re: ssh
Michael Grant <[EMAIL PROTECTED]> wrote: > If I'm sued as root and I ssh somewhere, ssh/scp reads it's files from > /root/.ssh/. The docs say it reads from ~/.ssh which is what I want, > but it's not doing that. When sued, the shell is properly expanding ~ > to my home dir. > > Anyone know of a way around this behavior? man su says: | By default, the environment is unmodified with the exception of USER, | HOME, and SHELL. HOME and SHELL are set to the target login's default | values. USER is set to the target login, unless the target login has a | user ID of 0, in which case it is unmodified. The invoked shell is the | one belonging to the target login. So if you are sued as root, $HOME is set to /root - that's why ssh reads its configuration from /root/.ssh/ So perhaps you want to try "su -m" as the manpage says: | -m Leave the environment unmodified. HTH, Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Qemu: mouse doesn't work
Reid Linnemann <[EMAIL PROTECTED]> wrote: >> >> Kanotix boots well under qemu (I use the ISO-image) - but after the KDE >> desktop appears, my mouse doesn't work properly any more. When I move >> my mouse, the cursor sometimes moves a bit in the same direction, >> sometimes it jumps to the other side of the Kanotix desktop - and every >> few seconds the moving cursor disappears. But I can see some "old" >> cursors that did not disappear as I moved my mouse. So I cannot work >> with Kanotix under qemu at all because I don't really see where the >> cursor is when I move my mouse. > > You might try unloading kqemu, some systems don't do too well with the > kqemu accelerator. Unfortunately, this doesn't help either. Any more ideas? I have no idea what might go wrong... My hardware should be fast enough: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2 GB RAM So where is the problem? Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Qemu: mouse doesn't work
Hello! I installed Qemu 0.9.0 with kqemu 1.3.0.p11 on FreeBSD 6.2 in order to get Kanotix running under FreeBSD. Kanotix boots well under qemu (I use the ISO-image) - but after the KDE desktop appears, my mouse doesn't work properly any more. When I move my mouse, the cursor sometimes moves a bit in the same direction, sometimes it jumps to the other side of the Kanotix desktop - and every few seconds the moving cursor disappears. But I can see some "old" cursors that did not disappear as I moved my mouse. So I cannot work with Kanotix under qemu at all because I don't really see where the cursor is when I move my mouse. I already tried using "-usbdevice tablet", I tried setting SDL_VIDEO_X11_DGAMOUSE=0 and I even tried to use Qemu via vnc - nothing solves my problem. Any ideas how I could get Kanotix working under Qemu? What might cause the trouble in my case? Is this problem caused by Qemu or is it caused by FreeBSD? Many thanks in advance, Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"