Re: X sessions die when using KDM
On Fri, Oct 19, 2001 at 09:23:34PM -0700, nate wrote: When I use KDM to start X, after logging in it goes right back to the kdm login screen. I can login from the console and run X with startx without a problem though. Here are the lines from applicable logs: i have the same problem. tried both kdm and xdm. Hi, I wonder if you use woody and ran 'apt-get upgrade' recently. One of the packages upgraded a few days ago is xfree86-common, which contains the file /etc/X11/Xsession.d/99xfree86-common_start. Please check this file, and if it contains the line exec $REALSTARTUP remove the quotes, so that it reads exec $REALSTARTUP Now login at your kdm screen, and see if it works. HTH, Raghavendra. -- N. Raghavendra| GnuPG signed/encrypted mail [EMAIL PROTECTED]| welcome. Key ID: 03618806. Harish-Chandra Research Institute |C75D D0AF 457E 7454 BEC2 http://www.mri.ernet.in/~raghu/ |37AD C6E1 0407 0361 8806
Re: emacs and KDE
On Tue, Oct 16, 2001 at 11:04:40AM +0200, Joerg Johannes wrote: I'm trying to run emacs with white text on black background. This works in GNOME and all other WM's I tried out. Only KDE makes a very strange thing: The background itself is black, only where text occurs, the boxes around letters are white, and the letters themselves are black again. (If this descriptin is too confusing, try out yourselves: emacs -rv in KDE will do, if you don't want to change it permanently in your .Xresources) Any idea how to change this strange behaviour into what it I'm used from IceWM? Hi, I had a problem which sounds similar. You could go to the KDE Control Center - Look Feel - Style, and unselect the Apply fonts and colors to non-KDE apps option. HTH, Raghavendra. -- N. Raghavendra| GnuPG signed/encrypted mail [EMAIL PROTECTED]| welcome. Key ID: 03618806. Harish-Chandra Research Institute |C75D D0AF 457E 7454 BEC2 http://www.mri.ernet.in/~raghu/ |37AD C6E1 0407 0361 8806 pgpBqEymwQmto.pgp Description: PGP signature
Sound in KDE
Hello, I was using Potato until recently and upgraded to Woody a few days ago, when I got a new computer at work. I installed the KDE packages, and they are working well except for two problems: 1. Java and Javascript are not working at all in Konqueror, even though both are enabled globally. Whenever I open a documetn with an applet, I get a grey patch saying Loading applet. I have installed jdk1.1. 2. Sound is not working in KDE. When KDE starts it produces the following error message in $HOME/.xsession-errors: Error while initializing the sound driver: device /dev/dsp can't be opened (No such device) The properties of /dev/dsp are: crw-rw-rw-1 root audio 14, 3 Jul 5 2000 /dev/dsp and the same is true of /dev/audio. I have added myself to the group 'audio' too. The sound card is an Intel on board card. According to sndconfig running on an identical RedHat machine, the model is Intel Corporation|82820 820 (Camino 2) AC'97 Audio. (The Debian packaged sndconfig does not recognise the same card on my machine.) I am running kernel-image-2.4.9-686 with the following modules currently loaded: ide-cdi, cdrom, i810, agpgart, soundcore, rtc, eepro100, unix, ide-disk, ide-probe-mod, ide-mod, ext2. Any help is greatly appreciated. Cheers, Raghavendra. -- N. Raghavendra| GnuPG signed/encrypted mail [EMAIL PROTECTED]| welcome. Key ID: 03618806. Harish-Chandra Research Institute |C75D D0AF 457E 7454 BEC2 http://www.mri.ernet.in/~raghu/ |37AD C6E1 0407 0361 8806 pgp9sMoTE1sIC.pgp Description: PGP signature
Re: Auctex has vanished!!
On Fri, Jun 08, 2001 at 06:30:48PM +0100, Glyn Millington wrote: Until this evening I had both Xemacs 21.1.10-5 and Emacs 20.7 on my machine, but removed the FSF emacs as I almost never use it. So far so good. But I find that auctex has vanished from the Xemacs menus!! Odd ;-) I've tried re-installing the packag which contains auctex (still sitting onmn the system so no big download) but still no joy. Hi, You can remove the auctex package again: 'apt-cache show auctex' says: Currently XEmacs ships with its own AUC TeX, so this package should only be used with GNU/Emacs. (I.e. you don't need to install this package if your site uses only XEmacs.) Can anyone suggest how to get xemacs and auctex to talk to each other again? It's been a while since I moved from XEmacs to GNU Emacs, but the following should do. In your .emacs file, put the expression: (require 'tex-site) HTH, Raghavendra. -- N. Raghavendra| GnuPG signed/encrypted mail [EMAIL PROTECTED]| welcome. Key ID: 03618806. Harish-Chandra Research Institute |C75D D0AF 457E 7454 BEC2 http://www.mri.ernet.in/~raghu/ |37AD C6E1 0407 0361 8806 pgp3FkHlF3jpe.pgp Description: PGP signature
Re: xscreensaver
On Sun, Jun 03, 2001 at 01:27:08AM +0200, Jeroen Valcke wrote: I want to invoke the xscreensaver(daemon) automatically after I logged in. I added this line to my .xinitrc file # Start xscreensaver daemon xscreensaver However it doesn't work. What's wrong. Adding to the .xinitrc file is correct isn't? Hi, Since you want xscreensaver to start automatically after logging in, I am assuming that you are logging into X, i.e., using a display manager like xdm or wdm. If that is the case, I suggest you put the above lines in $HOME/.xsession. From the startx(1x) manpage: X sessions started from xdm will completely disregard the .xinitrc file. I use wdm, and here is my .xsession file: #!/bin/sh ssh-add /dev/null export XAPPLRESDIR=$HOME/.Xapplres xsetroot -mod 4 4 -bg rgb:6/8/8 -fg rgb:78/a/a xclock -digital -bg Gray85 -fg Black -geometry -0+0 xscreensaver -no-splash rxvt --title Login Shell --loginShell --geometry -17+38 exec flwm The permissions for my .xsession are 700. As you see, I too start xscreensaver at login, and it works fine for me. AFAIK, this should work even if you use startx to initiate an X session. Again from the startx(1x) manpage: Note that in the Debian GNU/Linux system, what many people traditionally put in the .xinitrc file should go in .xsession instead; the idea is that the user's X environment should look and act the same whether startx, xdm, or xinit is used to start the X session. I think the reason for this becomes clear if we look at /etc/X11/xinit/xinitrc: # by default simply do the same thing as xdm X sessions . /etc/X11/Xsession Best, Raghavendra. -- N. Raghavendra| GnuPG signed/encrypted mail [EMAIL PROTECTED]| welcome. Key ID: 03618806. Harish-Chandra Research Institute |C75D D0AF 457E 7454 BEC2 http://www.mri.ernet.in/~raghu/ |37AD C6E1 0407 0361 8806 pgpj1jJAyPE30.pgp Description: PGP signature
Re: Don't allow incoming telnet
On Fri, Jun 01, 2001 at 10:46:38AM +0100, Rory Campbell-Lange wrote: How do I stop telnet sessions coming IN? (I only want users to use ssh) Hi, You could remove the telnetd package: dpkg --purge telnetd Or, you could leave it intact, and edit /etc/inetd.conf, commenting out the line that starts with 'telnet'. You should then restart or reload inetd: /etc/init.d/inetd restart Best, Raghavendra. -- N. Raghavendra| GnuPG signed/encrypted mail [EMAIL PROTECTED]| welcome. Key ID: 03618806. Harish-Chandra Research Institute |C75D D0AF 457E 7454 BEC2 http://www.mri.ernet.in/~raghu/ |37AD C6E1 0407 0361 8806 pgp9bd5amzwco.pgp Description: PGP signature
Tripwire
Hello debian-user, I have just installed the tripwire package. Two questions: 1. The directory /usr/lib/tripwire/databases was empty, so I created a database by doing 'tripwire -initialize'. It looks like this is a necessary step, because /etc/cron.daily tripwire says do not run if there is no database file. I am puzzled about why there was no instruction to do this during the installation or in the README.debian file. Was I doing something unnecessary? 2. The file README.debian says, Please make sure you make /usr/lib/tripwire a read-only mount point. How do I do this? (It is not a separate filesystem like /usr or /tmp.) Many thanks, Raghavendra. -- N. Raghavendra| GnuPG signed/encrypted mail [EMAIL PROTECTED]| welcome. Key ID: 03618806. Harish-Chandra Research Institute |C75D D0AF 457E 7454 BEC2 http://www.mri.ernet.in/~raghu/ |37AD C6E1 0407 0361 8806 pgpL6yk1g2Uy9.pgp Description: PGP signature
Memory figures
Hi debian-user, Recently I added a 64 MB DIMM to a machine with 128 MB RAM, making a total of 192 MB. The funny thing is that if I do 'free' on the machine it says something like total used free sharedbuffers cached Mem:192896 98172 94724 17752 63632 15328 -/+ buffers/cache: 19212 173684 Swap: 393584 0 393584 Doing 'ps' or 'top', OTOH, indicates that no process is using more than 0.8% of memory, and there are only 30 processes, so the used memory should be at most 46 MB, and not 98 MB as 'free' says. Sometimes the 'used' figure in 'free' is as high as 180 MB even when the machine is idle. After rebooting, it is okay, i.e., free shows something like 15-20 MB as used memory. But it soon returns to the above state. Further, even when free says that most of the memory is used the machine doesn't slow down appreciably. E.g., I compiled a kernel using kernel-package, and it took just a few minutes. The machine doesn't run X. Please let me know if you have any ideas on this. Thanks, Raghavendra. -- N. Raghavendra| GnuPG signed/encrypted mail [EMAIL PROTECTED]| welcome. Key ID: 03618806. Harish-Chandra Research Institute |C75D D0AF 457E 7454 BEC2 http://www.mri.ernet.in/~raghu/ |37AD C6E1 0407 0361 8806 pgpHBtQhUNUiR.pgp Description: PGP signature
Web server
Hi, We are moving our web server to a new machine. How much memory do people advise for a web server? Also I'd be happy to get information and pointers on security. Many thanks, Raghavendra. -- N. Raghavendra| GnuPG signed/encrypted mail [EMAIL PROTECTED]| welcome. Key ID: 03618806. Harish-Chandra Research Institute |C75D D0AF 457E 7454 BEC2 http://www.mri.ernet.in/~raghu/ |37AD C6E1 0407 0361 8806 pgp1qXZv2RkhD.pgp Description: PGP signature
Managing logs [was Re: log server]
On Tue, May 15, 2001 at 09:26:40PM -0500, ktb wrote: I've set up a log server, which I fire up as - /sbin/syslogd -r Hi, Sorry for what may be an untimely query, but what is a log server? I am wondering if it is some clever way of managing logs for several machines efficiently from a single computer. Any pointers in this regard are appreciated. I am starting a new thread because what I am asking may not be strictly relevant to the original posting. Best, Raghavendra. -- N. Raghavendra| GnuPG signed/encrypted mail [EMAIL PROTECTED]| welcome. Key ID: 03618806. Harish-Chandra Research Institute |C75D D0AF 457E 7454 BEC2 http://www.mri.ernet.in/~raghu/ |37AD C6E1 0407 0361 8806
Re: NP RAM
Hi, We are buying some computers in our office, and one vendor's quote said that the memory was NP SDRAM. I had asked here a few days ago about NP RAM: what it is and how it relates to ECC RAM. Many thanks to Dave Sherohman [EMAIL PROTECTED] and John Hasler [EMAIL PROTECTED], who replied saying that NP stand for 'non-parity'. All the sources I consulted (including the Debian installation manual) say that parity RAM is advisable for reliability. The chipset we are going for (due to cost factors) is Intel 815e, and this does not support either parity or ECC RAM. Intel 820 and later chipsets apparently support parity and ECC RAM. So right now, we have decided to make do with non-parity and non-ECC RAM. Thanks again for your time, Dave and John. Best, Raghavendra. -- N. Raghavendra| GnuPG signed/encrypted mail [EMAIL PROTECTED]| welcome. Key ID: 03618806. Harish-Chandra Research Institute |C75D D0AF 457E 7454 BEC2 http://www.mri.ernet.in/~raghu/ |37AD C6E1 0407 0361 8806
NP RAM
Hi, I am buying a computer in my office, and have received a quote from a vendor, which says that the memory is 128 MB NP SDRAM. The Unix Hardware Buyer HOWTO says that ECC, error correcting memory, is important for reliability. Could someone tell me what is NP memory, and how does it relate to or compare with ECC memory? Thanks, Raghavendra. -- N. Raghavendra| GnuPG signed/encrypted mail [EMAIL PROTECTED]| welcome. Key ID: 03618806. Harish-Chandra Research Institute |C75D D0AF 457E 7454 BEC2 http://www.mri.ernet.in/~raghu/ |37AD C6E1 0407 0361 8806
Re: setting up an apt repository
On Thu, Apr 26, 2001 at 05:11:54PM +1000, Renai LeMay wrote: What we'd like to do, is set up one machine as a debian template, if you like. We'd like to be able to create other machines from this machine, with a certain package set, and every time this template machine gets updated with security patches etc, the rest of the machines should be able to download those patches from the template machine. Hi, You could look at VA SystemImager at the URL http://systemimager.org/ The manual says that it has been tested with Debian 2.2. Best, Raghavendra. -- N. Raghavendra| GnuPG signed/encrypted mail [EMAIL PROTECTED]| welcome. Key ID: 03618806. Harish-Chandra Research Institute |C75D D0AF 457E 7454 BEC2 http://www.mri.ernet.in/~raghu/ |37AD C6E1 0407 0361 8806
Re: mutt and the running emacs
On Tue, Apr 24, 2001 at 08:12:54AM -0700, Jim McCloskey wrote: Within mutt, I have the editor set to emacs. But I always have emacs running anyway, so there's an annoying duplication when mutt starts its own emacs session. Is there any way to cause mutt to use an already running emacs as its editor? Hi, I don't use Emacs with mutt, but the following may be of some help. First the Emacs part: in your .emacs file put the line (server-start) This starts the Emacs server. Now you can use the 'emacsclient' program to make your principal Emacs visit any file. To test that it works, you can do emacsclient foo.txt in an Xterm. This should open a buffer containing foo.txt in your main Emacs. When you've finished editing the buffer, type 'C-x #' to tell 'emacsclient' that you are through. Now for the mutt aspect: in your .muttrc put the line set editor=emacsclient Now whenever you want to compose a message, mutt will open a buffer in your principal Emacs. To finish editing the message, type 'C-x #' as above. Note that this will work only if you start your Emacs session before invoking mutt. Best, Raghavendra. -- N. Raghavendra| GnuPG signed/encrypted mail [EMAIL PROTECTED]| welcome. Key ID: 03618806. Harish-Chandra Research Institute |C75D D0AF 457E 7454 BEC2 http://www.mri.ernet.in/~raghu/ |37AD C6E1 0407 0361 8806
Re: A little sed
On Fri, Jan 26, 2001 at 11:19:53AM +0100, Hans wrote: - I need to clean up a bunch of html files from SCRIPT /SCRIPT tags. I tried sed -e s/\SCRIPT.*SCRIPT\// file.html file.html2, but it only deletes the first line, not the whole script. The /m modifier doesn't seem to work. How do I go about it. - Is it possible to overwrite the original file, not redirect to an alterate file? - How do I process a bunch of files at once? sed -e s/foo/bar/ *.html *html2 doesn't seem to do it. Or need it be something like for $i in * do? I can't seem to get this to work either. Hi, You could use the shell scripts 'overwrite' and 'replace' in Kernighan and Pike, The UNIX programming environment, Chapter 5, Section 5.5, pages 154-155. Best, Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | Another year is gone - Harish-Chandra Research Institute | A travel hat on my head, GnuPG public key at:| Straw sandals on my feet. http://riemann.mri.ernet.in/~raghu/ | -- Matsuo Basho
Re: Command line search and replace
On Sun, Jan 07, 2001 at 06:12:54PM +0100, Michal F. Hanula wrote: On Mon, Jan 08, 2001 at 12:56:45AM +0800, csj wrote: Is there a tool to do a search-and-replace from the command line? Something along the lines of: replace string one string foo files-to-process I find it a bit of a hassle to keep 100+ files open just to change an .html to an .htm. Note however that I intend to use the tool on other text files besides runaway web pages, such as processing a list of files to feed to tar. Use something like for file in * do sed 's/replace this/by this/g' $file $file.tmp; mv $file.tmp $file; done (there probably _are_ errors, check man sh) Hi, For this task I have been using the shell scripts 'overwrite' and 'replace' on pages 154-155, Section 5.5 of 'The UNIX programming environment' by Kernighan and Pike. I have copied these small scripts into $HOME/bin and use them often. Best, Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | Harish-Chandra Research Institute | What foods these morsels be! GnuPG public key at:| http://riemann.mri.ernet.in/~raghu/ |
Re: XDM startup screen
On Thu, Jan 04, 2001 at 01:33:25PM +0100, Koen Colpaert wrote: After some experimenting with Suse, Slackware and Mandrake I turned to Debian. After installing and configuring X I was presented with a grey xdm-display as a loginscreen. I was wondering if there aren't any better background images available and where can I find them. Hi, You could also look into wdm as an alternative X display manager. The default configuration of wdm doesn't provide a background image, but it has a nice login widget with the Debian logo in it. You can configure it to put an image in the background, and you can choose your window manager from the wdm login screen. For me the big advantage of wdm over xdm is that I can configure it so that anyone can reboot the machine without typing a password (this is a boon on single-user machines like mine in which the keyboard dies after an X session, forcing one to reboot, that too with the mouse alone). Best, Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | Harish-Chandra Research Institute | Eloquence is logic on fire. GnuPG public key at:| http://riemann.mri.ernet.in/~raghu/ |
Re: X in startup
On Thu, Jan 04, 2001 at 01:36:36AM -0800, kmself@ix.netcom.com wrote: on Thu, Jan 04, 2001 at 11:20:47AM +0530, N. Raghavendra ([EMAIL PROTECTED]) wrote: What I have been doing to stop /etc/init.d/ scripts (like xdm) from being executed at bootup is to put the line exit 0 at the top of the file (as the first uncommented line). This makes the script neatly exit without doing anything. I've been known to do this, but I prefer to add an echo to indicate that this is the case. Scripts which silently fail can be annoying. E.g.: echo Not starting foo; exit 0 Hi, Thanks for the tip. It is certainly neater. Best, Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | Harish-Chandra Research Institute | What foods these morsels be! GnuPG public key at:| http://riemann.mri.ernet.in/~raghu/ |
Re: X in startup
On Wed, Jan 03, 2001 at 09:23:30AM -0800, Xucaen wrote: does this disable X? what if you still want to run X from the command line using startx? [EMAIL PROTECTED] wrote: after booting up press ctrlalt F1 to go into a console terminal. logon as root. cd /etc/rc2.d rm S??xdm # or just move it, if you dont want to delete it shutdown -r now worked for me this morning, anyway. Hi, What I have been doing to stop /etc/init.d/ scripts (like xdm) from being executed at bootup is to put the line exit 0 at the top of the file (as the first uncommented line). This makes the script neatly exit without doing anything. Cheers, Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | Instead of loving your enemies, Harish-Chandra Research Institute | treat your friends GnuPG public key at:| a little better. http://riemann.mri.ernet.in/~raghu/ | -- Edgar W. Howe
Re: remote x via ssh question
On Mon, Jan 01, 2001 at 10:21:47AM -0800, Forrest English wrote: i know i can export it just like i would any other time, but i also set X11Forwarding yes, which i belive should forward it automaticaly, and here's what i recive when i try and run [EMAIL PROTECTED] forrest]$ xterm xterm Xt error: Can't open display: Hi, Here is what works for me. Let's say I want to ssh from host SSH-CLIENT to host SSH-SERVER. On SSH-CLIENT I created a file $HOME/.ssh/config and added the following lines to it: Host * ForwardX11 yes That's it. When I ssh from SSH-CLIENT to SSH-SERVER, I can run any X app from SSH-SERVER on the display of SSH-CLIENT. If you want you can replace '*' by 'SSH-SERVER' for the X11 forwarding to work for just that host. Note that the relevant option is 'ForwardX11 yes' and not the sshd_config option 'X11Forwarding yes'. After starting an ssh session, and logging into SSH-SERVER, when I do 'echo $DISPLAY' I get 'SSH-SERVER:10.0'. The 10 comes from the sshd_config file in SSH-SERVER: 'X11DisplayOffset 10'. As far as I know one should not set DISPLAY manually in an ssh session: here's what the ssh(1) manpage says: DISPLAY The DISPLAY variable indicates the location of the X11 server. It is automatically set by ssh to point to a value of the form ``hostname:n'' where hostname indicates the host where the shell runs, and n is an integer = 1. ssh uses this special value to forward X11 connections over the secure channel. The user should normally not set DISPLAY explicitly, as that will render the X11 connection insecure (and will require the user to manually copy any required authorization cookies). HTH, Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | Another year is gone - Harish-Chandra Research Institute | A travel hat on my head, GnuPG public key at:| Straw sandals on my feet. http://riemann.mri.ernet.in/~raghu/ | -- Matsuo Basho
Re: Getting rid of xconsole
On Thu, Dec 28, 2000 at 10:43:53PM -0500, Hall Stevenson wrote: At some point, an apt-get update apt-get upgrade made a change that has xconsole starting up along with X-Windows. I personally don't like the program and don't use it and would like to get rid of it. Hi, I will assume that you are using an X display manager like xdm, wdm etc. If that isn't the case, please ignore this message. I use wdm, Debian 2.2r0. In the file /etc/X11/wdm/wdm.options, there is a line 'run-xconsole' which opens xconsole when wdm is started. To disable this feature, either comment out this line with a hash mark, or add a 'no-' prefix to make it 'no-run-xconsole'. See the manpage wdm.options(5). Ditto for xdm. HTH, Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | Medicine makes people ill, Harish-Chandra Research Institute | mathematics make them sad, GnuPG public key at:| and theology makes them sinful. http://riemann.mri.ernet.in/~raghu/ | -- Martin Luther
Emacs frame size
Hello, Happy Christmas and season's greetings! I am using the GNU Emacs package that comes with Debian 2.2r0. I have set emacs.geometry: 80x38+207+0 in my Xresources file. When I start emacs the frame comes up with the size I wanted, but as soon as I open an Info file with 'C-h i' the frame becomes taller. In case anyone has a fix for this, please let me know. Thanks, Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] Harish-Chandra Research Institute GnuPG public key at: http://riemann.mri.ernet.in/~raghu/
X keyboard problem
Hello, I am using Debian 2.2r0 and wdm. Often when I log out of an X session, and return to the wdm login screen, the keyboard dies. The mouse would be still fine, but I cannot login again because the keyboard wouldn't be working. It starts working again only after the machine is rebooted. Sometimes it takes two or three reboots to get the keyboard going again. The keyboard section of my XF86Config file looks like this: Section Keyboard ProtocolStandard XkbDisable XkbKeymap xfree86(us) EndSection (I disabled the XKEYBOARD extension because I thought that may have been the cause, but the problem still persists, though it doesn't happen as frequently now.) The board has 104 keys. Any help is appreciated. Regards, Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | In summer cool Harish-Chandra Research Institute | Ambling down my road GnuPG public key at:| To hell. http://riemann.mri.ernet.in/~raghu/ | -- Kobayashi Issa
Re: less can't show ä,ü,ö
On Mon, Dec 18, 2000 at 09:52:15AM +0100, Manuel Hendel wrote: kann anyone help fixing my problem with less? I can't see any ä,ü or ö if I do a less file. Hello, Reading from the manpage for 'less', the option '-r' or '--raw-control-chars' causes raw control characters to be displayed. Regards, Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | Harish-Chandra Research Institute | Decaffeinated coffee? GnuPG public key at:| Just Say No. http://riemann.mri.ernet.in/~raghu/ |
Re: apt-get sources.list
On Wed, Dec 13, 2000 at 11:23:09PM +, [EMAIL PROTECTED] wrote: deb http://www.us.debian.org/debian stable main contrib non-free when I use apt-get says there is no such file or directory. Hello, Here is the relevant line from my sources.list: deb http://http.us.debian.org/debian stable main contrib non-free It was taken from /usr/share/doc/apt/examples/sources.list Regards, Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | In summer cool Harish-Chandra Research Institute | Ambling down my road GnuPG public key at:| To hell. http://riemann.mri.ernet.in/~raghu/ | -- Kobayashi Issa
Re: ssh woes!?...
On Mon, Dec 11, 2000 at 04:49:56PM +, Max Lock wrote: I've got a weird ssh problem. I'm running 2.2r0 and when I ssh as root to another 2.2r0 system, I get as far as debug: Allocated local port 607 with the -v option, and it then hangs and timesout? Anyone got any ideas or hit this one before? Hello, It's happened to me too. Here is the relevant snip from /usr/share/doc/ssh/README.Debian PermitRootLogin: The default for this setting has been changed from Yes to No, for security reasons. Simply switch it back on in /etc/ssh/sshd_config if you need to log in as root, although I would recommend that you use real usernames for remote logins, and then use su, or perhaps preferably sudo, to become root. This allows you to determine which of the sysadmins it is that is logged in as root, if needed, and encourages sysadmins not to be root at all times Regards, Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | Harish-Chandra Research Institute | When the cup is full, GnuPG public key at:| carry it level. http://riemann.mri.ernet.in/~raghu/ |
Re: GNU Emacs - smaller font
On Sun, Dec 10, 2000 at 10:14:14AM +, Tom Huckstep wrote: That works fine in GNU Emacs. Unfortunatley Xemacs complains: Symbol's function definition is void: set-default-font Is there any way to keep both flavours of Emacs happy? Hello Tom, You could look at http://www.dotemacs.de/multiemacs.html Cheers, Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | Little snail Harish-Chandra Research Institute | Inch by inch, climb GnuPG public key at:| Mount Fuji! http://riemann.mri.ernet.in/~raghu/ | -- Kobayashi Issa
Re: Configuring SSH
On Wed, May 31, 2000 at 09:11:00PM -0500, Scott Graves wrote: Is there a HOWTO on configuring SSH? I found http://www.csua.berkeley.edu/ssh-howto.html useful. The SSH FAQ is at http://www.employees.org/~satch/ssh/faq/ I was wondering which file I need to edit to allow hosts using RSA-based host authentication to login - I receive a permission denied error when trying to login. I guess at the server side the file /usr/local/etc/sshd_config should contain the line 'RSAAuthentication yes'. There is more info in the above HOWTO. It may be convenient to use ssh-agent and x11-ssh-askpass for authentication. HTH, Raghavendra. -- http://riemann.mri.ernet.in/~raghu/ GnuPG public key ID: 03618806
Help on Debian advocacy
Hello everybody, I work in a place where there is a network of about 60 pcs mostly running Slackware Linux. A year ago a couple of friends and I installed Debian (Hamm) on the PCs in our offices, and have been happily using it since then. I want to advocate the use of Debian in the computer centre here. Since I use Hamm, and am very far away from the current versions of Debian, I would appreciate any info/pointers on the following questions: 1) How stable is Debian Potato? Can it be installed safely on all the servers and macchines in an office network? Ditto ditto for Debian Woody? 2) Are Potato CD's available in the market? If so what version of the Linux kernel do they ship with? 3) There are about 30 public machines in the computer center here, all sharing a common file system through NFS, and all of them YP clients. If they install Debian on all these machines, how difficult would it be for sysadmins to periodically upgrade to a more recent kernel in all of them? Can it be done at one go, or do they have to upgrade the kernel in each machine searately? 4) How does Debian compare with SuSE and Redhat with respect to the number and nature of packages in the distribution? I am quite satisfied with the 1500 or so packages in Hamm main, but the establishment guys here say that they want a distro with as many packages as possible. 5) Are there any Debian advocacy pages on the web, which I can use to convince people here? Sorry for the long message and thanks in advance. Regards, Raghavendra. ___ N. Raghavendra, Mehta Research Institute, Chhatnag Road, Jhusi, Allahabad 211 019, India. Fax: 91-532-667576; Phone: 667511*2020 (O) 667511*4020 (H) ---
Getting mail.
Hello, I am using Debian Hamm and have some questions about mail configuration. The mail server in my work-place is mri.mri.ernet.in, and I have been using Pine to read mail on this server from the PC in my office (riemann.mri.ernet.in). To do this I used the following options in configuring Pine on riemann.mri.ernet.in: smtp-server: mri.mri.ernet.in inbox-path:{mri.mri.ernet.in}INBOX I have recently installed mutt and GnuPG on my PC, and would like to start using them. I want to 1. keep a copy of all messages to me in appropriate folders in the directory $HOME/mail/ on the server (mri.mri.ernet.in). This is because if I am out of town it is easier to telnet to the server and read my mail. 2. transfer each message to an appropriate folder in the directory $HOME/mail/ on my PC (riemann.mri.ernet.in); and 3. use mutt to read and answer the messages on my PC. I am quite clueless as to how to do all this, and would appreciate any help or pointers. Which and what combination of procmail and fetchmail are needed, together with mutt? I apologize to those of you who may have seen this message in the mutt-users mailing list. Thanks in advance. Cheers, Raghavendra. ___ http://riemann.mri.ernet.in/~raghu/
NNTP server.
Hi, I want to install an NNTP server and news reader so that I can read some news groups I am interested in. The machine I have runs on Hamm, and has very little free disk space (about 145 M in /usr and 20 M in /var). However, I am interested only in a few newsgroups, mainly comp.text.tex. Could anyone provide a few hints on how to proceed, and on possible security problems? Thanks and cheers, Raghavendra. ___ N. Raghavendra, Mehta Research Institute, Chhatnag Road, Jhusi, Allahabad 211 019, India; http://riemann.mri.ernet.in/~raghu/ Fax: 91-532-667576; Phone: 667511*2020 (O) 667511*4020 (H) ---
Re: Auto blanking of xscreensaver
On Mon, 15 Nov 1999, Clyde Wilson wrote: I have xscreensaver and xlock installed on Slink. When I lock my screen, everything works fine for about 10 minutes and then my display goes blank. Is there any way I could keep the screensaver running longer without the blanking? Although I have installed both xlock and xscreensaver, I use xscreensaver all the time. This never blanks out. I put the following two lines in my $HOME/.xsession # Start an Xscreensaver process. xscreensaver and copied the lines !!! XScreensaver programs xscreensaver.programs: \ qix -root -solid -delay 0 -segments 100 \n\ attraction -root -mode balls\n\ attraction -root -mode lines -points 3 -segments 200\n\ attraction -root -mode splines -segments 300\n\ (more such lines snipped off) from /usr/lib/X11/app-defaults/XScreenSaver into my $HOME/.Xresources. Now whenever I start an X session, an xscreensaver process is started. If the mouse and keyboard are idle for ten minutes (timeout period), then xscreensaver runs a graphic demo chosen randomly. This graphics hack changes every ten minutes (cycle period). The timeout and cycle periods can be configured, see the xscreensaver manpage. To lock the display, I type xscreensaver -lock into an xterm, and to get a screensaver without locking I do xscreensaver -activate. The screen never blanks out. The newer versions of the the program (mine is the one packaged with Hamm) seem to be even better. Cheers, Raghavendra. ___ N. Raghavendra, Mehta Research Institute, Chhatnag Road, Jhusi, Allahabad 211 019, India. Fax: 91-532-667576; Phone: 667511*2020 (O) 667511*4020 (H) ---
Re: emacs
On Sat, 30 Oct 1999, James Sasitorn wrote: Im having some difficulties using the save options in xemacs21. Also does anyone know the config option line to set the c/c++/java default tab width? I use XEmacs 20.4, and have no idea about v.21. In my .emacs I have included the lines (add-hook 'c-mode-common-hook '(lambda ( ) (c-toggle-auto-hungry-state 1) (setq c-comment-continuation-stars *) (setq c-indent-comments-syntactically-p t) (setq c-basic-offset 8) (setq tab-width 8) (setq indent-tabs-mode nil)) 'turn-on-auto-fill) tab-width is the no. of spaces per tab, and setting the variable indent-tabs-mode to nil causes all indentation to be done with spaces. To see an explanation of c-basic-offset do 'C-h C-i cc-mode' and go to the node 'Customizing Indentation'. I am far from savvy re all this, so there may be better solutions. Cheers, Raghavendra. ___ N. Raghavendra, Mehta Research Institute, Chhatnag Road, Jhusi, Allahabad 211 019, India. Fax: 91-532-667576; Phone: 667511*2020 (O) 667511*4020 (H) ---
Upgrading.
Hi, I installed Debian Hamm in my computer three months ago. Recently, I wanted to install a more recent version of the xscreensaver package, and downloaded xscreensaver_3.10-1.deb from freshmeat.net. Before trying to install it, I did dpkg --info xscreensaver_3.10-1.deb and got, among other things, Package: xscreensaver Version: 3.10-1 Depends: lesstifg (= 1:0.85.2), libc6 (= 2.1), libpam0g, xlib6g (= 3.3.2.3a-2), xpm4g (= 3.4j-0) Suggests: xdaliclock, xv, xscreensaver-gl, fortune The version of libc6 in my Hamm system is 2.0.7t-1, the version of lesstifg is 1:0.83-7, and similarly all the other packages on which xscreensaver depends, are present in my system only in older versions than those needed by xscreensaver-3.10-1. My question is this. Is it possible to download and install the current versions of only those packages that xscreensaver-3.10-1 needs (i.e., lesstifg, libc6 etc.), without upgrading the entire system to Slink? If it is indeed possible, this would be very good for me because my net connection is very slow, so attempting a full upgrade over the net is a very daunting prospect; also CD's are not easily available where I live. Upgrading little by little, as and when needed, would be a great thing in this situation. Any other suggestions would be most welcome. Thanks in advance, Raghavendra. ___ N. Raghavendra, Mehta Research Institute, Chhatnag Road, Jhusi, Allahabad 211 019, India. Fax: 91-532-667576; Phone: 667511*2020 ---
Re: Emacs, Netscape and Apache - together?
On Sat, 19 Jun 1999, Wyn Snow [EMAIL PROTECTED] wrote: I have been trying to get all three: Emacs, Netscape Navigator, and Apache all working on an X-windows Linux system. However, Netscape Navigator is barfing at me, saying it cannot load libraries. I have recently installed Hamm on my computer with XEmacs, Netscape Communicator and Apache working smoothly. Here is my experience, with the hope that it helps. I did the entire installation from old CheapByte CD's (four of them: Debian 2.0 official binary and three extras CD's contaning the Debian 2.0 source, non-free and contrib trees) which I got cheaply. I installed Apache immediately after the base installation, together with X Windows and the bulk of the packages on my system. After installing X Windows, I installed the various XEmacs packages. Then, I installed libc5, xlib6, xpm4.7 and libg++27 from the oldlibs section and motifnls from the x11 section of the main tree. The installation program (I used dselect for all this) then asked me to set the environment variable XNLSPATH to /usr/X11R6/lib/X11/nls, so I added the line export XNLSPATH=/usr/X11R6/lib/X11/nls to /etc/profile. If I remember right the installation program also asked me to reboot for something or other to take effect; I am sorry, my memory fails me here. I then downloaded the Netscape binary communicator-v404-export.x86-unknown-linux2.0.tar.gz, and copied it into the /tmp directory (the gzipped archive itself: no uncompressing or extracting). After that, installed the package netscape4 from the contrib/web section. It found the netscape binary in /tmp and installed it perfectly, together with an extra plugin or two, in /usr/lib/netscape, providing a working Netscape Communicator. I recently spent a day installing kernel 2.0.34 with full X-windows I haven't yet installed a custom built kernel. I am using the 2.0.34 kernel image which came with the base system. HTH, Raghavendra. ___ N. Raghavendra, Mehta Research Institute, Chhatnag Road, Jhusi, Allahabad 211 019, India. Fax: 91-532-667576; Phone: 667511*2020 (O) 667511*4020 (H) ---
Re: Emacs, Netscape and Apache - together?
In response to the message of Sat, 19 Jun 1999, from Wyn Snow [EMAIL PROTECTED], I wrote: I then downloaded the Netscape binary communicator-v404-export.x86-unknown-linux2.0.tar.gz, and copied it into the /tmp directory (the gzipped archive itself: no uncompressing or extracting). After that, installed the package netscape4 from the contrib/web section. It found the netscape binary in /tmp and installed it perfectly, together with an extra plugin or two, in /usr/lib/netscape, providing a working Netscape Communicator. I forgot to say that I copied the Netscape binary to /tmp without changing the name, thus the name of the file in /tmp was also communicator-v404-export.x86-unknown-linux2.0.tar.gz. Raghavendra. ___ N. Raghavendra, Mehta Research Institute, Chhatnag Road, Jhusi, Allahabad 211 019, India. Fax: 91-532-667576; Phone: 667511*2020 (O) 667511*4020 (H) ---
Re: A couple of questions.
On Mon, 7 Jun 1999, Monte Copeland [EMAIL PROTECTED] wrote: What is the name of the program that allows one to take a snapshot of your desk top. I have used it before but I can not remember the name. I am trying to convince a potential convert to switch from windoze, but I need some jpeg pics to show her. If you have the ImageMagick package installed you can use the import program. The following passage is from the import(1) manpage: To capture the entire X server screen in the JPEG image format in a file titled root.jpeg, use: import -window root root.jpeg HTH, Raghavendra. _ N. Raghavendra, Mehta Research Institute, Chhatnag Road, Jhusi, Allahabad 211 019, India. Fax: 91-532-667576. Phone: Office: 91-532-667511*2020 Home: 91-532-667511*4020. -
Re: Floppy drive problem.
Hi, Many thanks to all the people who replied to my email about my floppy drive problem. A quick recap: in my BIOS setup I had configured A: as 1.44MB and B: as 1.2 MB, but Linux sees the 1.2 MB drive as /dev/fd0 and the 1.44 MB one as /dev/fd1, and I wanted to know how to reverse this order, so that the 1.44MB drive is /dev/fd0. From what I have gathered from all the email I have received, the best way out seems to be to open the case and switch the connectors to the floppy drives. Many thanks, Raghavendra. _ N. Raghavendra, Mehta Research Institute, Chhatnag Road, Jhusi, Allahabad 211 019, India. Fax: 91-532-667576. Phone: Office: 91-532-667511*2020 Home: 91-532-667511*4020. -
Floppy drive problem.
Hi, I am a Debian newbie and have the following problem with my floppy drives. There are two of them: a 1.44 MB floppy drive and an unused 1.2 MB floppy drive. In the BIOS setup I have configured the 1.44 MB drive as A: and the other floppy drive as B:. But Linux seems to reverse this order: it sees the 1.2 MB drive as the first floppy drive (/dev/fd0) and the 1.44 MB one as the second floppy drive (/dev/fd1). One consequence of this is that at the end of installing Debian (hamm), I was unable to make a custom boot disk for my system, because when the installation program asked me to insert a blank floppy, I put a 1.44 MB floppy in the drive, and it said something like Making boot floppy failed. Check that the floppy isn't write-protected and is in the correct drive. The same thing happened when I tried the mkboot command later on. Is there a way of making Linux see my 1.44 MB drive as /dev/fd0 and the other one as /dev/fd1? I apologize in case this is an old question, already answered. Many thanks, Raghavendra. _ N. Raghavendra, Mehta Research Institute, Chhatnag Road, Jhusi, Allahabad 211 019, India. Fax: 91-532-667576. Phone: Office: 91-532-667511*2020 Home: 91-532-667511*4020. -