Re: [expert] Shadowing / intercepting X-sessions?

2000-02-04 Thread Andrew Morton

Iwan van der Kleyn wrote:
 
 In a Citrix environment (Winframe or Metaframe) it is possible for an
 administrator to "shadow" a user-session. That is: to monitor the screen of
 a user and to take it over. Arguably a rather drastic tool (with regard to
 privacy-matters) but quite convenient when helping "users-in-distress". Is
 it possible to do the same with XFree86?

http://www.cs.brown.edu/software/xmx/



[expert] Problem w/ 6.1 kernel crashes

2000-01-07 Thread Andrew Morton

We have several Mandrake 6.1 boxes here.  They are vanilla
out-of-the-box uniprocessor installations.  They are NFS clients against
HPUX 10.20 servers.

We're seeing regular kernel freezes which occur during NFS activity. 
The Mandrake box will still respond to pings, but everything else
(telnet, ftp, X, etc) is dead.

We have one Mandake 6.0 box (kernel 2.2.9) which has run flawlessly for
months.

Are there any known problems with Mandrake'2 2.2.13 NFS?  Any
suggestions for fixes?

TIA,
Andrew.



Re: [expert] rexe?

1999-11-22 Thread Andrew Morton

Nikodemus Karlsson wrote:
 
 Hi!
 I'm trying to get remote execution (rexe) to work, but I have run in troubles.

rexec is broken bigtime on all Linux systems.

try 'rexec -a' to avoid one bug and '-p password' to avoid the other.

For gory details see

http://sourceware.cygnus.com/ml/libc-alpha/1999-11/msg0.html



Re: [expert] C++ Cross Compiler

1999-10-25 Thread Andrew Morton

John Connell wrote:
 
 Anyone know where I can get a C++ cross-compiler? TIA!

GCC!

http://www.objsw.com/CrossGCC/



Re: [expert] ld-linux.so.2

1999-10-20 Thread Andrew Morton

Sheldon Lee Wen wrote:
 
 Hi,
 
I noticed after a while of my box being up that ld-linux.so.2
 seems to increase largely in memory and cpu usage. It keeps creeping up
 in size. Is this a memory leak? Is there a fix?

huh?  ld-linux is the 'interpreter' which ELF executables ask the kernel
to launch to get them running.  How do you get a process called
ld-linux.so.2?  I'd be interested in seeing your 'ps auxfw' output.

Anyway, you should be studying...



Re: [expert] Changing Netscape Attributes

1999-10-14 Thread Andrew Morton

Felipe Almeida wrote:
 
 Hi,
 
 How can I make Netscape print the page name, numbers and location, just
 like it does in Windows?

You can't.

This, and the ability to use an external editor for mailnews are top of
my Mozilla wishlist.



Re: [expert] what gives with bookmarks?

1999-10-14 Thread Andrew Morton

"S. Newhouse" wrote:
 
 Hello,
  I have netscape-4.61mdk installed (in mandrake-6.1) and I cannot save
 bookmarks.  I have tried replacing ~/.netscape/bookmarks.html and just
 simply adding new bookmarks.  When netscape is closed and opened, the
 installation default bookmarks get loaded.  Where is this file, and
 what can I do about this?

Perhaps Netscape is looking in the wrong place for the bookmarks.

Quit from netscape and check your preferences file.  Mine says:

pwold011:~ grep bookmark_file ~/.netscape/preferences.js
user_pref("browser.bookmark_file",
"/home/morton/.netscape/bookmarks.html");



Re: [expert] Sendmail .mc files...

1999-09-27 Thread Andrew Morton

Keith Woodworth wrote:
 
 I want to build a custom .cf file for sendmail but was wondering does the
 rpm file for sendmail have the mc files to customize the config file?

You need the sendmail-cf RPM.

Under Mandrake 6.0 the default /etc/sendmail.cf can be recreated with

cd /usr/lib/sendmail-cf/cf
mv redhat.mc  /etc/sendmail.cf

I do not know if this has changed with 6.1.



Re: [expert] Sendmail .mc files...

1999-09-27 Thread Andrew Morton

 mv redhat.mc  /etc/sendmail.cf
s/mv/m4/



Re: [expert] xscreensaver warning

1999-09-24 Thread Andrew Morton

Steve Philp wrote:
 
 Andrew Morton wrote:
 
  Just a word of warning:
 
  I have twice had the 'penetrate' xscreensaver module wedge my display
  totally.  This has happened with a Matrox Millennium and a G200. XFree
  3.3.3.1.
 
  Restarting the X server via telnet didn't recover it.  I ended up losing
  30 days uptime :-(
 
  So, if you use xcsreensaver I recommend you remove
  /usr/X11R6/lib/xscreensaver/penetrate
 
 Just tried it here with a G200, 3.3.3.1 SVGA server, with no problems.
 Is there something I need to wait for before it wedges?

It's very infrequent.  I've seen it only three times in eight
machine-months.  Once on RH5.2, twice on Mandrake 6.0.  Two machines.

I assume the video hardware is being left in a whacky state which the
xfree initialisation doesn't restore, butthe BIOS does.



[expert] xscreensaver warning

1999-09-23 Thread Andrew Morton

Just a word of warning:

I have twice had the 'penetrate' xscreensaver module wedge my display
totally.  This has happened with a Matrox Millennium and a G200. XFree
3.3.3.1.

Restarting the X server via telnet didn't recover it.  I ended up losing
30 days uptime :-(


So, if you use xcsreensaver I recommend you remove
/usr/X11R6/lib/xscreensaver/penetrate



Re: [expert] Few questions

1999-09-19 Thread Andrew Morton

Sheldon Lee Wen wrote:
 
 Hi,
 
  Actually look for the "XFree86 Font Deuglification How-To"
 That'll fix the problem.

http://www.frii.com/~meldroc/Font-Deuglification.html



Re: [expert] Fetchmail

1999-09-18 Thread Andrew Morton

Bernhard Rosenkraenzer wrote:
 
 On Sat, 18 Sep 1999, Felipe Almeida wrote:
 
  I have a doubt here! I used fetchmail do grab my mail from my ISP POP3
  mail server and it did grab them. But when I opened Pine to read the
  messages it didn't show them. I looked at the /var/spool/mail/myusername
  and the messages weren't there. Where did fetchmail put my messages?
 
 You have almost certainly misconfigured your mail server (sendmail or
 postfix).

I had a lot of trouble getting fetchmail (particulary with procmail)
running under Venus.

The first thing to do is to have a look in /var/log/maillog after you've
downloaded mail.  That'll tell us the problem.

The fix may be replacing /usr/bin/smrsh with /bin/sh in sendmail.cf, or
futzing with the sendmail relaying rules.  Can't really tell without the
maillog output though.



Re: [expert] What's wrong with this???

1999-08-31 Thread Andrew Morton

John Aldrich wrote:

 ...

 /etc/cron.daily/slocate.cron: line 6: syntax error: unexpected end of file
 /etc/cron.daily/wakeup.cron: 0: command not found
 /etc/cron.daily/wakeup.cron~: 0: command not found
 
 Below is the cron job itself:
 # Cron script to (hopefully) play an MP3 file to wake me up in the mornings
 # at 6:00 AM Monday through Friday
 #
 0 6 * * 1-5 /usr/bin/mpg123 "/home/john/taco-puttin_on_the_ritz.mp3"
 
 Ok...my question is as follows: What the heck is the problem?


It looks to me like you've put the above cron config items into
/etc/cron.daily/wakeup.cron?  If so, this isn't the correct thing to do.

The files in /etc/cron.daily are scripts which are executed by cron
under the control of /etc/crontab.  What you have put in /etc/cron.daily
is a crontab, not a script!  Cron is trying to execute the command "0 6
* * 1-5 ..." and is complaining that there's no such command as "0".

What you need is a personal cron job in /var/spool/cron/john.  Remove
/etc/cron.daily/wakeup.cron, run (as user 'john') the command 'crontab
-e' and enter

0 6 * * 1-5 /usr/bin/mpg123 "/home/john/taco-puttin_on_the_ritz.mp3"

This will create /var/spool/cron/john.  Once a minute cron will look at
this and if the times match cron will run the mpg123 command.

Hope this makes sense...

[ And don't get up so early - you'll damage your brain :-) ]



Re: [expert] Sendmail problems

1999-08-30 Thread Andrew Morton

"Morton, Andrew (A.) [EXCHANGE:WOLL:4009-M:BNR]" wrote:
 
 Hi, folks.
 
 Short form question:
 ===
 
 Could some kind soul please tell me how to DISABLE all the new anti-spam
 stuff in sendmail 8.9.3?

Just to answer my own question...

1: /usr/lib/sendmail-cf/README is very useful.

2: I added

FEATURE(relay_local_from)
FEATURE(promiscuous_relay)
FEATURE(accept_unresolvable_domains)

to /usr/lib/sendmail-cf/cf/redhat.mc

3: m4 redhat.mc  /etc/sendmail.cf

Now all the 'sender domain' and relaying checks are disabled.



Re: [expert] The final word on VMware?

1999-08-28 Thread Andrew Morton

Sim wrote:
 
 
 VMWare is working for me with a 2.2.10 kernel here, except that I can't work
 out how the get the network connection working and since Iw ant it for AOL 4.0
 only then I'm a bit frustrated
 

OK, thanks, guys.  When I tried it on 2.2.9-27 the kernel module was
oopsing.  I guess I need to go back and try it again.



Re: [expert] Netscape Files

1999-08-25 Thread Andrew Morton

John Connell wrote:
 
 Reza Samadi wrote:
 
  John Connell wrote:
  
   Can anyone tell me which files in Netscape contain the "Personal Bookmarks"
   and the "Address Book?"
   I found "bookmark.html" it had everything except the "personal" ones. I just
   want to back them up so as not to have to go through the *big* hassle of
   redoing them if/when I have to do a reinstall! TIA!
   John
 
  Hello
  the adress book is contained by the file ~/.netscape/abook.nab
  but I don't konw any thins about the Personal Bookmars,
  the ~/.netscape/bookmark.html contains all my favorites links.
 
  I have looked for abook.nab to no avail! pab.na2 is the closest thing I
 could find.

The .nab files are nasty binary things.  It would be safer for you to
export your address book to a .ldif text file and reimport that once
you've upgraded.

Communicator Menu - Address Book... - File - Export



[expert] The final word on VMware?

1999-08-25 Thread Andrew Morton

Hi, folks.

I know this has been done to death, but could someone please summarise
for me?

- vmware works with  kernel-2.2.9-19mdk
- vmware doesn't work with kernel-2.2.9-27mdk

Is there a fix or workaround to make it run under -27?

Thanks.



Re: [expert] IP Masquerading

1999-08-15 Thread Andrew Morton

kNIGits wrote:
 
 G'day from Australia!

Me too.

 Can someone tell me if the stock standard Mandrake 6.0 kernel can do IP
 masquerading?

Yup.  Here's the script I use:

#!/bin/sh
echo 1  /proc/sys/net/ipv4/ip_forward
ipchains -P forward DENY
ipchains -A forward -s 10.0.0.0/8 -j MASQ

This sets my net-connected Linux box (10.0.0.x) up to do forwarding to
LAN-connected windows clients.  On the Windows box you should edit the
network settings so that your Linux box is the default gateway. 
Configure the Windows DNS servers straight out of /etc/resolv.conf and
you're in business.



Re: [expert] Switch default Windows Manager

1999-08-05 Thread Andrew Morton

"Steven W. Laird" wrote:
 
 If you are using Linux-Madrake 6.0 do either of the following:
 1.   Go to "K" , System, Desktop Switching Tool or
 2.   From a term window type "switchdesk"

There's a buglet in Mandrake concerning this.

The 'kdmconfig' application may be used to edit the windowmanager menu
in kdm. It changes the order of that little drop-down menu.

kdmconfig directly alters the 'SessionTypes' line in
/usr/share/config/kdmrc.

However at boot time the /usr/sbin/fndSession script rebuilds the
SessionTypes line and you lose your preference.

I had to disable fndSession (within rc.sysinit) to avoid this behaviour.



Re: [expert] /etc/sysconfig

1999-08-05 Thread Andrew Morton

Lang Zhi wrote:
 
 Hi,
 i'm looking at /etc/sysconfig/clock, the file contains :
 UTC="yes"
 ARC=false
 What does the UTC and ARC mean ?

UTC = Universal coordinated time.  aka Greenwich mean time.  Set this to
true if your hardware clock is set to GMT rather than localtime.

ARC is something to do with the console interface on Alpha Linux (as
opposed to x86) systems.  I think there are two sorts of BIOSes on Alpha
boxen: ARC and AlphaBIOS.  You need to tell your 'hwclock' app which
sort of BIOS you have.