Re: $PATH and /etc/profile

2004-06-27 Thread Michael B Allen
Sam Halliday said: >> Why is this different from what is happening above? If you run startx >> you're >> starting X from a login shell. > > it IS differnet. if you start from the console, you should really do > `startx &` > to detach from the console and allow you to continue working on the > conso

Re: $PATH and /etc/profile

2004-06-27 Thread Michael B Allen
Bob Proulx said: >> Another method that uses the user's default shell is to change: >> >> /etc/X11/Xsession.d/99xfree86-common_start >> >> to read: >> >> exec -l $SHELL -c "$STARTUP" > > That is clever and I like it. But unfortunately exec -l is a bash-ism > and so that does not work if /bin/sh

Re: bash profile how?

2004-06-27 Thread Michael B Allen
Bob Proulx said: >> Alternatively, do it in .Xresources >> >> *VT100*loginShell: true >> *Rxvt*loginShell: true > > I can see that will work for you and for many other people. But it > won't work for everything in all cases. In particular in the cases > where you need to inherit the

Re: bash profile how?

2004-06-27 Thread Michael B Allen
Bob Proulx said: > I think you have hit the nail squarely on the head. How do you make > it work for all possible shells? I believe that to be the crux of the > issue. Anything that is done is wrong for one shell or another. Well the exec -l $SHELL -c "$STARTUP" solution fixes that provided /bi

Re: Login Shell/Profile: Stop the Madness

2004-06-28 Thread Michael B Allen
On Mon, 28 Jun 2004 00:44:15 -0600 [EMAIL PROTECTED] (Bob Proulx) wrote: > Michael B Allen wrote: > > exec -l $SHELL -c "$STARTUP" > > [...] > > Rather than creating an alternative xfree86-common package, it would > > really be better to just fill out a

Slow Interactivity / hdparam Tuneup?

2004-06-30 Thread Michael B Allen
I'm running 2.4 on a T30 laptop. X gets very choppy when the disk rocks. When locatedb is running the machine is barely usable. Can anyone recommend changes that I can make that might improve the situation? Thanks, Mike [EMAIL PROTECTED] root]# hdparm /dev/hda /dev/hda: multcount= 16 (on)

PHP Image Uploader / Viewer

2004-07-05 Thread Michael B Allen
Can someone recommend a PHP script that will allow me to upload to occasional jpeg and then view it, the filename, and perhaps a little caption. I don't want a full blown CMS -- just a simple tool that does one function and does it well. Mike -- Greedo shoots first? Not in my Star Wars. -- To

Re: PHP Image Uploader / Viewer

2004-07-05 Thread Michael B Allen
On Mon, 5 Jul 2004 20:17:48 -0400 "S.D.A." <[EMAIL PROTECTED]> wrote: > On Mon, Jul 05, 2004 at 07:13:55PM -0400 or thereabouts, Michael B Allen > wrote: > > Can someone recommend a PHP script that will allow me to upload to > > occasional jpeg and then view it,

Re: PHP Image Uploader / Viewer

2004-07-05 Thread Michael B Allen
On Mon, 5 Jul 2004 20:47:25 -0500 "Jacob S." <[EMAIL PROTECTED]> wrote: > > Actually apt-get install gallery and following the instructions in > > /usr/share/doc/gallery/README.Debian seems to be what I want. The > > configuration wizard is a very nice touch. I'm just worried about > > scripting b

Re: Mozilla/Firefox "PostScript/default" security problems

2004-07-06 Thread Michael B Allen
On Mon, 05 Jul 2004 21:56:14 -0500 Reid Priedhorsky <[EMAIL PROTECTED]> wrote: > Hello all, > > I have just discovered that the Mozilla and Firefox old-style printing > option "PostScript/default" is gone. Apparently we are now supposed to use > the Xprint printing stuff; unfortunately, Xprint is

Re: hacking attempt on Apache?

2004-07-06 Thread Michael B Allen
On Tue, 6 Jul 2004 20:30:56 +0200 Pim Bliek <[EMAIL PROTECTED]> wrote: > Apparently all from different IP's but certainly coordinated, because > it is on the same time, same kind of requests. > > Anyone knows how this can be done? Is there any possibility to trace > who might have done this? Yea

Re: postscript-enabled mozilla package anyone?

2004-07-06 Thread Michael B Allen
On Tue, 06 Jul 2004 20:07:13 +0200 Thomas Winischhofer <[EMAIL PROTECTED]> wrote: > What a brillant idea to disable the postscript printing facility > entirely and to "replace" it with a tool whose zillions of text file > config options Sounds like a packaging problem to me. Last I tried instal

Re: Mozilla/Firefox "PostScript/default" security problems

2004-07-06 Thread Michael B Allen
On Tue, 06 Jul 2004 18:29:39 -0400 Travis Crump <[EMAIL PROTECTED]> wrote: > It may > be that you can't enable both direct printing and xprint at the same > time, No. That is not true. To run Xprint you start the Xprt daemon and export XPRTSERVERLIST=":2" (or some alternative display not used).

Re: Mozilla/Firefox "PostScript/default" security problems

2004-07-06 Thread Michael B Allen
On Tue, 6 Jul 2004 20:52:37 -0400 Wayne Topa <[EMAIL PROTECTED]> wrote: > I am also running firefox 0.8 but it was installed with apt-get. I am > stuck with Xprint with no postscript/default. :-( Try it. Just run the Xprint daemon (/etc/init.d/xprint start?), find out what display it's running o

Re: postscript-enabled mozilla package anyone?

2004-07-06 Thread Michael B Allen
On Tue, 6 Jul 2004 19:37:31 -0400 Gregory Seidman <[EMAIL PROTECTED]> wrote: > ...I installed xprt-xprintorg with no difficulty. I then attempted to > print and, with absolutely no configuration on my part, it happily found > my CUPS printers. That's right. Setting up printing via CUPS, lprng, or

Re: Mozilla/Firefox "PostScript/default" security problems

2004-07-06 Thread Michael B Allen
On Tue, 6 Jul 2004 23:19:14 -0600 "Jamin W. Collins" <[EMAIL PROTECTED]> wrote: > On Tue, Jul 06, 2004 at 09:15:36PM -0700, Marc Wilson wrote: > > > > Direct printing works for some people, and for others it doesn't. > > XPrint works for some people, and for others it doesn't. Other than someone

Re: postscript-enabled mozilla package anyone?

2004-07-07 Thread Michael B Allen
On Wed, 07 Jul 2004 09:51:47 +0200 Thomas Winischhofer <[EMAIL PROTECTED]> wrote: > > Xprint output is a solid 100% better than PostScript/default. But then > > I haven't tried it in a while. > > I installed it on my CUPS-running system. The result is a printout in > max 100 dpi on all of my 6 la

Re: postscript-enabled mozilla package anyone

2004-07-07 Thread Michael B Allen
On Wed, 7 Jul 2004 00:28:48 -0700 Jim McCloskey <[EMAIL PROTECTED]> wrote: > Michael B Allen <[EMAIL PROTECTED]> wrote: > > |> Right the choices are A) not print, B) downgrade or C) install > |> xprt-xprintorg. Personally I think people should try C before > |&

Re: pppd authentication problem

2004-07-08 Thread Michael B Allen
On Thu, 8 Jul 2004 16:31:52 +1000 James Sinnamon <[EMAIL PROTECTED]> wrote: > Dear Debian users, > > Until now, I have been accustomed to having ppp work without the need > to understand a great deal. > > However, I have not been able to get kppp to work on my new Debian > sarge/testing system i

Re: Debian's javac vs Sun's new installation of j2sdk

2004-07-08 Thread Michael B Allen
Andreas Janssen said: > You should go to . Get j2se-package, convert your > JRE to a deb, download the matching *debian-deb for your Java version, > and install both the downloaded package and the converted JRE. The > package management will take care of the symlinks in /etc/

Re: Debian's javac vs Sun's new installation of j2sdk

2004-07-09 Thread Michael B Allen
On Fri, 9 Jul 2004 10:32:57 +0300 David Baron <[EMAIL PROTECTED]> wrote: > The update alternatives will let you choose between the java's. It does > not pickup the javac from Sun (must be manually put in there. Java must be > > manually put into alternatives as well if not done using a proper .de

Re: Debian's javac vs Sun's new installation of j2sdk

2004-07-09 Thread Michael B Allen
On Fri, 09 Jul 2004 00:37:25 -0400 "H. S." <[EMAIL PROTECTED]> wrote: > > /usr/local/ and export JAVA_HOME=/usr/local/java and > > PATH=$PATH:${JAVA_HOME}/bin? > > This is what I did. I extracted the version of the Java in > /usr/local/java. Then made links > /usr/local/j2sdk -> /usr/local/java/j

Re: looking for icon samba to conect windows lan

2004-07-09 Thread Michael B Allen
On Fri, 09 Jul 2004 22:21:43 -0400 Adam Aube <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > > Hello i need your help i try to connect to my windows lan, with samba in > > KDE -debian but i don`t find the icon samba to connect it > > Samba is the underlying software, not the GUI fronte

Re: Mozilla/Firefox "PostScript/default" security problems

2004-07-10 Thread Michael B Allen
On Sat, 10 Jul 2004 11:19:03 -0400 Greg Folkert <[EMAIL PROTECTED]> wrote: > Excuse the cross posting, but many are "discussing" on all of these > lists. > > On Sat, 2004-07-10 at 06:47, Magnus Therning wrote: > > > > > > "If I were to dselect today, would I still > > >be able to print to f

Safely Upgrading Packages

2004-07-25 Thread Michael B Allen
I've been running Debian on the net for a while. I thought it's time to look at keeping packages up to date. But when I run apt-get update: # apt-get upgrade Reading Package Lists... Done Building Dependency Tree... Done The following packages have been kept back apache apache-common autoconf de

Re: Safely Upgrading Packages

2004-07-26 Thread Michael B Allen
Simon Kitching said: Good advice. Thanks, Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

DIR_COLORS

2004-07-29 Thread Michael B Allen
The dir_colors info page reads: NAME dir_colors - configuration file for dircolors(1) DESCRIPTION The program ls(1) uses the environment variable LS_COLORS to determine the colors in which the filenames are to be displayed. This environ- ment variable is usually se

Re: DIR_COLORS

2004-07-29 Thread Michael B Allen
Thomas Adam said: > --- Michael B Allen <[EMAIL PROTECTED]> wrote: >> Would anyone happen to know why? > > eval `dircolors -b` > > has always been what has worked for me: > > [EMAIL PROTECTED] n6tadam]$ unset LS_COLORS > [EMAIL PROTECTED] n6tadam]$ eval $(dirco

subscribe

2004-01-06 Thread Michael B Allen
-- A program should be written to model the concepts of the task it performs rather than the physical world or a process because this maximizes the potential for it to be applied to tasks that are conceptually similar and, more important, to tasks that have not yet been conceived. -- To

RH Veteran is now a Debian Newbie

2004-01-06 Thread Michael B Allen
Hello, I just got a "linode" UML VPS over at linode.com and booted debian 3.0r1 2.2.24 on it. I've been using RH 7.3 and it's been a very solid distro for me but I feel like I'm being left behind at this point. Whenever I update a package I have to get the source from their latest packages and reb

Re: RH Veteran is now a Debian Newbie

2004-01-06 Thread Michael B Allen
> Back when I used RedHat I always found it to be a pain the way you > have to manually track down, and rebuild, package depedencies. > > | So I thought I'd try debian as it seems a little more consistent. > | Is this true? > > Debian includes all of its packages in one place, and automatically > b

Re: RH Veteran is now a Debian Newbie

2004-01-06 Thread Michael B Allen
> On Tue, Jan 06, 2004 at 06:16:09PM +, Colin Watson wrote: >> > > What surprises can a RH user expect? >> > >> >I guess the biggest hurdles would be the text-mode, no-detection >> > installer (do a system inventory first) and the fact that stable is >> > obsolete, so one is almost forced

Re: RH Veteran is now a Debian Newbie

2004-01-07 Thread Michael B Allen
This was very useful information Derrick. The text mode support for querying, updating, and particularly installing packages with apt-* and dpkg is indeed far superior to rpm. It was very easy to install postfix-tls (of course configuration appears to be another issue entirely :) Ok. I am well on

Re: RH Veteran is now a Debian Newbie

2004-01-07 Thread Michael B Allen
> On Tuesday 06 January 2004 11:05 pm, Michael B Allen wrote: > Testing might be the release level you are looking for... > (I found Stable to be just a tad too old for my tastes as a desktop) Good thing I'm running a headless Internet server :) Mike -- A program should be wri

[postfix-tls] SASL LOGIN authentication failed

2004-01-09 Thread Michael B Allen
I've just installed postfix-tls but it will not authenticate users with SASL. The error is simply "SASL LOGIN authentication failed" but that's it. I have verbose logging on. Is there any way to get more information from the SASL module? I took a trace and see that postfix is offering AUTH LOGIN P

Re: [postfix-tls] SASL LOGIN authentication failed

2004-01-09 Thread Michael B Allen
> I've just installed postfix-tls but it will not authenticate users with SASL. The > error is simply "SASL LOGIN authentication failed" but that's it. Mmm, if I trace the pwcheck daemon it opens a UNIX domain socket /var/state/pwcheck/pwcheck and waits. When I send an email, nothing happends. Po

Re: [postfix-tls] SASL LOGIN authentication failed [SOLVED]

2004-01-09 Thread Michael B Allen
Thanks as usual Derrick. I got it working. I believe the problem was that postfix opens the pwcheck UNIX domain socket in /var/spool/postfix/var/run/pwcheck whereas the pwcheck daemon opens it in /var/run/pwcheck. The postfix-tls package does not create these directories and the necessary link. Thi

[apache] plain SSL support

2004-01-10 Thread Michael B Allen
I see I can run apache and apache-ssl at the same time but I do not want to have separate disconnected instances of the server running. I can install libapache-mod-ssl but it does not work out of the box. It reads: Setting up libapache-mod-ssl (2.8.9-2.1) ... Makefile.crt... Skipped ca-bundle.

Re: [postfix-tls] SASL LOGIN authentication failed [SOLVED]

2004-01-10 Thread Michael B Allen
> | Do you think it would be productive to contact the maintainer? > > Probaly not. LaMont knows he chroots the daemons for the debian > package (it's a conscious change from the defaults Wietse ships > postfix with). He may know but I sure didn't. It would have helped a lot to at least mention s

Re: [apache] plain SSL support [SOLVED]

2004-01-10 Thread Michael B Allen
>> What is the cleanest way to get plain Apache+SSL going? > > Perhaps install apache-ssl (not apache) and only require ssl for some > directories/sites? I haven't done it, this is just something you might > consider looking into. Sounds good in theory but unfortunately apache-ssl appears to be in

apt-get install aspell fails?

2004-01-10 Thread Michael B Allen
I think I broke something. Apt-get install aspell returns nothing for me. I think it's because I killed apt-get update in the middle of updating the source list. How do I purge that state? I tried apt-get clean without effect. Where's aspell? Thanks, Mike -- A program should be written to mode

Re: apt-get install aspell fails?

2004-01-10 Thread Michael B Allen
> Hello Michael! > > On Sat, Jan 10, 2004 at 05:17:24PM -0500, Michael B Allen wrote: >>I think I broke something. Apt-get install aspell returns nothing for me. I think >>it's because I killed apt-get update in the middle of updating the source list. >>How do I p

Where is the 'deb' program?

2004-01-10 Thread Michael B Allen
>> > Aspell has been removed from Woody, see >> > http://lists.debian.org/debian-user-0401/msg03182.html >> > for reference. >> >> Uhg. I'm using woody. So is there any way around this? I don't think I care >> about pedantic licensing issues. > > Yes there is, to do it and keep Woody (stable) simpl

Re: Where is the 'deb' program?

2004-01-10 Thread Michael B Allen
>> Actually I found the latest aspell-0.50.4 packages on debian.org and >> started to follow the description of using a local repository as >> described in the APT HOWTO but what package is the 'deb' program in? > > There is no "deb" program. deb is the package format used by dpkg, > and dpkg is i

Re: apt-get install aspell fails?

2004-01-10 Thread Michael B Allen
Sorry, but the following packages have unmet dependencies: aspell-bin: Depends: libaspell15 (>= 0.50.3-1) but it is not going to be installed Depends: libc6 (>= 2.3.2.ds1-4) Oops. It looks like these are newer packages. Where oh where can I find woody only aspell packages?! -- A

localhost -> /etc/hosts?

2004-01-10 Thread Michael B Allen
Doesn't Debian have an /etc/hosts file? SquirrelMail needs to resolve 'localhost'. What's the correct way to do this on Debian? Thanks, Mike -- A program should be written to model the concepts of the task it performs rather than the physical world or a process because this maximizes the poten

Re: localhost -> /etc/hosts?

2004-01-10 Thread Michael B Allen
> Michael B Allen wrote: >> Doesn't Debian have an /etc/hosts file? SquirrelMail needs to resolve >> 'localhost'. >> What's the correct way to do this on Debian? > > In /etc/hosts: >127.0.0.1 localhost >192.168.0.1 mypc Ok. Stra

OpenLDAP needs X?!

2004-01-11 Thread Michael B Allen
Why does OpenLDAP need X? How do I get around this? Mike # apt-cache show slapd Package: slapd Priority: extra Section: net Installed-Size: 1768 Maintainer: Wichert Akkerman <[EMAIL PROTECTED]> Architecture: i386 Source: openldap2 Version: 2.0.23-6.3 Provides: ldap-server Depends: libc6 (>= 2.2.4

Re: localhost -> /etc/hosts?

2004-01-11 Thread Michael B Allen
>> Ok. Strange my install didn't have it. Creating it was enough to satisfy SM. > > I think etherconf handles it via debconf. apt-get install etherconf. I'm running in a User Mode Linux Virtual Private Server (UMLVPS?) instance at linode.com so it probably wasn't there for a reason. I think I'll s

Re: localhost -> /etc/hosts?

2004-01-11 Thread Michael B Allen
> On 2004-01-11 14:57:07 +1100, Russell Shaw wrote: >> In /etc/hosts: >> 127.0.0.1 localhost >> 192.168.0.1 mypc > > According to what has been said somewhere else, this is incorrect. > You need a FQDN here. I don't think it matters. If you have DNS you shouldn't

Re: apt-get install aspell fails?

2004-01-11 Thread Michael B Allen
> On Sat, Jan 10, 2004 at 07:50:45PM -0500 or thereabouts, Michael B Allen wrote: >> Sorry, but the following packages have unmet dependencies: >> aspell-bin: Depends: libaspell15 (>= 0.50.3-1) but it is not going to be >> installed >> Depends: lib

Re: packages.debian.org lives again

2004-01-11 Thread Michael B Allen
> Hi all, > > Just to share with everyone my happiness that packages.debian.org is > functioning again. Not completely. If you click through, you'll just get errors. But being a newbie that could be by design for all I know :) Mike -- A program should be written to model the concepts of the

Re: apt-get install aspell fails?

2004-01-11 Thread Michael B Allen
> On Sun, Jan 11, 2004 at 10:23:57PM -0500 or thereabouts, Michael B Allen wrote: >> > We're trying to help you, but some people just will not read. Why do you >> > need a backport? Becasue there isn't a package for Woody, well DUH! >> > >> >

Re: apt-get install aspell fails?

2004-01-12 Thread Michael B Allen
> On Sun, Jan 11, 2004 at 10:51:50PM -0500 or thereabouts, Michael B Allen wrote: >> >> > On Sun, Jan 11, 2004 at 10:23:57PM -0500 or thereabouts, Michael B Allen >> wrote: >> >> > We're trying to help you, but some people just will not read. Why d

Re: apt-get install aspell fails?

2004-01-12 Thread Michael B Allen
>>> With Debian you have choice. If you wish a cutting edge system use Unstable >>> (Sarge), >>> or one less cutting edge use Testing (Sid). If you insist on wanting >>> a new version of Aspell that's not in Stable >> >> THERE IS NO ASPELL *AT ALL* IN STABLE. >> >> Let me rephrase that: >> >> IN S

breaking depenancies

2004-01-15 Thread Michael B Allen
apt-get install webalizer wants to install X libs. I don't want X libs. How can I break this dependency so I can install webalizer without X? Thanks, Mike -- A program should be written to model the concepts of the task it performs rather than the physical world or a process because this maximi

Re: Differences in RH Fedora coming from Debian

2004-01-15 Thread Michael B Allen
> I'm taking a class this semester which is all about installing and using > Linux. After talking with the professor on Tuesday, I've learned a few > details. First, I have to use Vulgarly Illogical for my text editor for > > We're going to be working on Fedora systems. What's sickening, is that

Re: breaking depenancies

2004-01-15 Thread Michael B Allen
> On Thu, Jan 15, 2004 at 04:14:45AM -0500, Michael B Allen wrote: >> apt-get install webalizer wants to install X libs. I don't want X >> libs. How can I break this dependency so I can install webalizer >> without X? > > Recompile webalizer from the Debian sou

Re: breaking depenancies

2004-01-15 Thread Michael B Allen
> On Thu, Jan 15, 2004 at 05:42:01AM -0500, Michael B Allen wrote: >> Colin Watson wrote: >> > On Thu, Jan 15, 2004 at 04:14:45AM -0500, Michael B Allen wrote: >> >> apt-get install webalizer wants to install X libs. I don't want X >> >> libs. H

bash profile how?

2004-06-14 Thread Michael B Allen
For some reason bash isn't sourcing /etc/profile. In fact after adding . /etc/profile to .bash_profile I don't think .bash_profile is being sourced b/c it had no effect. I just wiped RH 7.3 and I don't know the shell best-practices for Debian. Please advise. I'm running testing w/ 2.4.26. Thanks,

Restarting X

2004-06-15 Thread Michael B Allen
What is the cleanest way to restart X? In RH 7.3 I can just to init3, wait a second, and do init 5. Is there an equivalent method with Debian? Thanks, Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

WindowMaker w/ Exceed Colors Washed Out Green

2004-06-15 Thread Michael B Allen
Thanks for answering my last question now I have a hard one. If I run WindowMaker with the Exceed X server the icons, menus, doc, dialogs and so on are green. Meaning the color is all washed out. There's not red. Doesn't happen with GNOME or KDE and it doesn't happen logged into the machine locall

Re: bash profile how?

2004-06-15 Thread Michael B Allen
On Tue, 15 Jun 2004 22:15:24 -0400 Paul Galbraith <[EMAIL PROTECTED]> wrote: > > > >>For some reason bash isn't sourcing /etc/profile. In fact after adding . > >>/etc/profile to .bash_profile I don't think .bash_profile is being > >sourced>b/c it had no effect. > >> > > How are you starting the sh

Re: bash profile how?

2004-06-16 Thread Michael B Allen
On Tue, 15 Jun 2004 23:36:25 -0600 "s. keeling" <[EMAIL PROTECTED]> wrote: > Incoming from Michael B Allen: > > On Tue, 15 Jun 2004 22:15:24 -0400 > > Paul Galbraith <[EMAIL PROTECTED]> wrote: > > > > > > #!/bin/bash --login > >

Re: bash profile how?

2004-06-16 Thread Michael B Allen
Micha Feigin said: >> Well I can appreciate having separate profiles for sh and bash. I have >> cron >> jobs and cgi scripts that need a certain consistent environment that >> differs >> from the environment used for development. But the problem is I cannot >> seem >> to locate the mechanism to tri

Re: bash profile how?

2004-06-16 Thread Michael B Allen
Paul Galbraith said: > I assume you're using a gdm or xdm or kdm...someone earlier on this list > taught me this...I just wrote a .xsession file in my home directory that > looks like this: > > #!/bin/bash --login > exec x-session-manager Mmm, for some reason this didn't work. The ~/.x

Login Shell/Profile: Stop the Madness

2004-06-16 Thread Michael B Allen
After much consternation I feel the need to vent about shell environment initialization. With the default Debian installation, /etc/profile and ~/.bash_profile are not sourced in the X windows environment. Apparently this is because at no time is a login shell created which is necessary to trigger

Where to put xset and kbdrate?

2004-06-16 Thread Michael B Allen
Where sould I put X initialization commands that need to be executed by root like xset -b and kdbrate -r 24? I'm using gdm so /etc/X11/gdm/Init/Default looks like a winner but it's seems specific to gdm. Is there a better place? Thanks, Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with

Re: Login Shell/Profile: Stop the Madness

2004-06-16 Thread Michael B Allen
On Thu, 17 Jun 2004 03:44:50 +0100 Michael Graham <[EMAIL PROTECTED]> wrote: > Michael wrote: > > After much consternation I feel the need to vent about shell > > environment initialization. With the default Debian installation, > > /etc/profile and~/.bash_profile are not sourced in the X windows

Re: bash profile how?

2004-06-16 Thread Michael B Allen
On Thu, 17 Jun 2004 07:41:55 +0300 Micha Feigin <[EMAIL PROTECTED]> wrote: > > > I assume you're using a gdm or xdm or kdm...someone earlier on this > > > list taught me this...I just wrote a .xsession file in my home > > > directory that looks like this: > > > > > > #!/bin/bash --login > > > e

Re: Login Shell/Profile: Stop the Madness

2004-06-17 Thread Michael B Allen
On Thu, 17 Jun 2004 12:18:28 +0100 Michael Graham <[EMAIL PROTECTED]> wrote: > > Now I'm on a RH 7.3 system right now and I've never had this profile > > issue on RH systems so if I look at their scripts I see: > > > > #!/bin/bash > > > > lots of stuff ... > > > > # otherwise, take default

RE: Login Shell/Profile: Stop the Madness

2004-06-17 Thread Michael B Allen
Freivald, Joseph A, GVSOL said: > Ok, so I'm pretty new to Debian, and I have never created a .deb package > (except for the kernel using the kernel tools), but isn't this the kind > of thing that could be put into a package so that people who want it > could install it? I mean, if I'm reading thi

Re: Login Shell/Profile: Stop the Madness

2004-06-17 Thread Michael B Allen
Tim Connors said: > Christian Riedel <[EMAIL PROTECTED]> said on Thu, 17 Jun 2004 18:28:54 > +0200: >> Hi, >> >> On 17.06.2004 15:40, Freivald, Joseph A, GVSOL wrote: >> > /etc/X11/Xsession.d > cat 98login-shell-settings >> > # Debian specific environment settings >> > source /etc/environment >> >

Re: Debian equivalent for RedHat 9 X login manager startup

2004-06-17 Thread Michael B Allen
On Fri, 18 Jun 2004 16:00:59 +1000 James Sinnamon <[EMAIL PROTECTED]> wrote: > Dear Debian users, > > In RedHat Linux 9.0 the X login manager (and eventually KDE) > is started at boot-up time from the following line in /etc/inittab: > > x:5:respawn:/etc/X11/prefdm > > Can anyone tell me the eq

Re: bash profile not working

2004-06-20 Thread Michael B Allen
John Taber said: > I want to set some environmental variables - I tried putting them in > bash_profile (which works in RH) but it doesn't seem to work X under Debian does not source /etc/profile or ~/.bash_profile. I don't know why exactly but the correct fix is to change the file: /etc/X11/Xse

Re: bash profile not working

2004-06-21 Thread Michael B Allen
Marc Wilson said: > Debian's X doesn't source those files because it's NOT SUPPOSED TO. Why > would it? Those are files related to shells. Correct. X should not source shell profile files. Again, the correct fix is to start the session manager with: exec -l $SHELL -c "$STARTUP" This way the

Re: bash profile not working

2004-06-21 Thread Michael B Allen
Marc Wilson said: > Forget I said anything at all. Shouldn't be a problem. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Re: bash profile not working

2004-06-21 Thread Michael B Allen
John Taber said: > So I gather from Michael that my best bet is to: > in /etc/X11/Xsession.d/99xfree86-common_start > remove exec $STARTUP and paste > exec -l $SHELL -c "$STARTUP" > > will this now default to bash? Or how do I specify bash? $SHELL evaluates to your default shell which is specifi

~/.Xdefaults

2004-06-21 Thread Michael B Allen
Why doesn't X read ~/.Xdefaults? It reads ~/.Xdefaults-miallen where miallen is my username but why is the username necessary when it's already specific to me through my home directory? It's just odd. Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble?

Re: Questions about x window environment (kdm and xdm)

2004-06-27 Thread Michael B Allen
On Sun, 27 Jun 2004 01:24:07 -0400 [EMAIL PROTECTED] wrote: > Hello all, > > I have installed Sarge with the netiso cd and then installed x-window, > kde, mozilla and everything to have a working desktop. > > I have later installed xdm and kdm and changed /etc/inittab to have run > level 5. Deb

Re: $PATH and /etc/profile

2004-06-27 Thread Michael B Allen
On Sun, 27 Jun 2004 17:20:21 +0100 Sam Halliday <[EMAIL PROTECTED]> wrote: > Bob Proulx wrote: > > Simon L wrote: > > > When I log in text mode, the entire PATH is there as I want, I can > > > "startx" and when I open a terminal, the PATH is perfect. > > > Now, if I start the computer with KDM an

Re: $PATH and /etc/profile

2004-06-27 Thread Michael B Allen
On Sun, 27 Jun 2004 12:23:56 -0600 [EMAIL PROTECTED] (Bob Proulx) wrote: > Here is the process flow using KDM. > > init spawns kdm > kdm spawns bash --login ~/.xsession I think we're on the same page here Bob but I want to point out that running /usr/bin/bash --login is specific to bash. A