[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian-user-digest Digest V2003 #14



Please remove from your email list.

debian-user-digest-request@lists.debian.org wrote:

Subject:

debian-user-digest Digest                               Volume 2003 : Issue 14

Today's Topics:
  how do i get removed from this?       [ M4sK <Jeppe@arto.dk> ]

  -----------------------------------------------------------------

Subject: how do i get removed from this?
Date: Thu, 02 Jan 2003 17:11:37 +0100
From: M4sK <Jeppe@arto.dk>
To: debian-user@lists.debian.org

At 04:31 02-01-2003 -0600, you wrote:
>debian-user-digest Digest                               Volume 2003 : Issue 10
>
>Today's Topics:
>   sources.list for people.debian.org/~  [ will trillich
> <will@serensoft.com> ]
>   woody! i made it!                     [ will trillich
> <will@serensoft.com> ]
>   Re: initializing linux partitions af  [ Nori Heikkinen
> <nori@sccs.swarthmor ]
>   Re: users and x/gdm                   [ "Karsten M. Self"
> <kmself@ix.netcom ]
>   Re: initializing linux partitions af  [ Gerald Livingston
> <debuser@sysmatri ]
>   Re: ArgoUML                           [ Tom Badran <tb100@doc.ic.ac.uk> ]
>   Re: cannot open dislpay: debian:0.0   [ "Kevin" <kevin@robertsesq.com> ]
>   configuring X with 3D Prophet         [ Alberto Stracuzzi
> <stracuzz@media.d ]
>   Unidentified subject!                 [ Kevin.Bewley@camr.org.uk ]
>   Re: initializing linux partitions af  [ Osamu Aoki <osamu@debian.org> ]
>   Re: Unofficial Debian package manage  [ Frank Copeland
> <fjc@thingy.apana.or ]
>   Timing a program run?                 [ Gerald Livingston
> <debuser@sysmatri ]
>   Re: Timing a program run?             [ Paul Johnson
> <baloo@ursine.dyndns.o ]
>   Re: Timing a program run?             [ Thomas Krennwallner
> <krennwallner@a ]
>   Re: cannot open dislpay: debian:0.0   [ "Kevin" <kevin@robertsesq.com> ]
>   Re: Timing a program run?             [ sean finney <seanius@seanius.net> ]
>   Re: Timing a program run?             [ Elijah <desiderata@softhome.net> ]
>   Re: cannot open dislpay: debian:0.0   [ James Tappin <james@tappin.me.uk> ]
>Date: Thu, 2 Jan 2003 02:14:19 -0600
>From: will trillich <will@serensoft.com>
>To: debian-user@lists.debian.org
>Subject: sources.list for people.debian.org/~elphick?
>Message-ID: <20030102021419.B12902@serensoft.com>
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline
>
>On Tue, Dec 31, 2002 at 09:31:11AM +0000, Oliver Elphick wrote:
> > On Tue, 2002-12-31 at 04:14, will trillich wrote:
> > > couldn't get the ~elphick/postgresql apt thingie to work, so i'm
> >
> > I think that is now fixed.  Please, let me know.
>
>i can't figure out what to put in my sources.list file --
>anything i try with "apt-get" seems to insist on there being a
>point in the remote repository path that includes a "dists"
>directory, and browsing around
>
>         http://people.debian.org/~elphick/repository/
>
>i don't find any such "dists/" directory that would make my
>apt-get happy. i do find
>
>         debian/
>                 stable/
>                 woody/
>                         contrib/
>                         installed/
>                         main/
>                         non-free/
>
>but no "dists/" which my apt seems rather persistent about.
>(there's probably some setting i can change, tho, right?)
>
>suggestions (and blitheringly simple pointers i've overlooked)
>are welcome. :)
>
>--
>I use Debian/GNU Linux version 3.0;
>Linux server 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i586 unknown
>
>DEBIAN NEWBIE TIP #103 from Dave Sherohman <esper@sherohman.org>
>:
>Trying to CREATE A CRONTAB FOR THE LAST DAY OF THE MONTH?  Best
>to put all the logic within the crontab itself (a Good Thing,
>since you then only have to look in one place to find it):
>         1 0 28-31 * * [ "$(date +%d -d +1day)" -eq "1" ] &&
> /path/to/script args
>
>Also see http://newbieDoc.sourceForge.net/ ...
>Date: Thu, 2 Jan 2003 02:16:11 -0600
>From: will trillich <will@serensoft.com>
>To: debian-user@lists.debian.org
>Subject: woody! i made it!
>Message-ID: <20030102021611.C12902@serensoft.com>
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline
>
>after a few speed bumps, I'M FINALLY RUNNING WOODY -- and on my
>primary server, no less. awesome!
>
>thanks for y'all'uns patience and help. :)
>
>--
>I use Debian/GNU Linux version 3.0;
>Linux server 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i586 unknown
>
>DEBIAN NEWBIE TIP #102 from Karsten M. Self <kmself@ix.netcom.com>
>:
>Trying to LEARN ABOUT DEBIAN? Check out the links here:
>http://pub13.ezboard.com/fiwetheylinux.showMessage?topicID=649.topic&index=39
>
>Also see http://newbieDoc.sourceForge.net/ ...
>Date: Thu, 2 Jan 2003 03:15:35 -0500
>From: Nori Heikkinen <nori@sccs.swarthmore.edu>
>To: debian-user <debian-user@lists.debian.org>
>Subject: Re: initializing linux partitions after installation
>Message-ID: <20030102031535.A7025@merlin.sccs.swarthmore.edu>
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline
>
>on Thu, 02 Jan 2003 07:56:36AM +0000, Karsten M. Self insinuated:
> > on Thu, Jan 02, 2003 at 02:24:40AM -0500, Nori Heikkinen
> (nori@sccs.swarthmore.edu) wrote:
> > > so, i did it!  i installed debian from scratch, woo-hoo!  it's now
> > > installed, but not configured, so i still have half the work ahead
> > > of me ... but thanks to y'all and to debian, it was much easier
> > > than i'd expected it to be.
> > >
> > > now my question is: during setup and installation, i partitioned
> > > off my hard drive into a swap partition /, /usr, /var, /tmp, and
> > > /home.  i initialized the swap and the first three of the others,
> > > but then i stopped, and moved on to the rest of the installation.
> > > now i don't have /tmp or /home initialized or mounted.  how do i
> > > go back and do this?
> >
> >    1.  Create the partition (you've done this apparently).
> >
> >    2.  Create a filesystem on it.  E.g.:  if /dev/hda6 is /home:
> >
> >          mke2fs /dev/hda6
> >
> >    3.  Add an entry to /etc/fstab.
> >
> >    4.  Mount the filesystem.
>
>perfect, that works like a charm.  google hadn't been any help on this
>one ... guess i'd just been phrasing my question wrong.  thanks!
>
> > > what's weirding me out is, having created a user account for
> > > myself and logging in, `pwd` says i'm in /home/nori.  how can this
> > > be, if i didn't initialize a /home partition?
> >
> > You don't need to create a partition for given mountpoints, you
> > *can* do so if you like.  /home/nori is probably on your root
> > partition (/).  You can check this with:
> >
> >     $ cd /home/nori; df .
>
>yup, that's exactly what it was.
>
> > > i mean, i'm going to go back and initialize it and /tmp just as
> > > soon as i figure out how, but i'm kind of confused.
> >
> > You're doing fine.  The confusion is permanent, its focus shifts
> > with time.
>
>:) so i'm seeing.  thanks!
>
></nori>
>
>--
>     .~.      nori @ sccs.swarthmore.edu
>     /V\  http://www.sccs.swarthmore.edu/~nori/jnl/
>    // \\          @ maenad.net
>   /(   )\       www.maenad.net
>    ^`~'^
>Date: Thu, 2 Jan 2003 08:23:40 +0000
>From: "Karsten M. Self" <kmself@ix.netcom.com>
>To: debian-user@lists.debian.org
>Subject: Re: users and x/gdm
>Message-ID: <20030102082340.GA1311@ganymede>
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline
>
>on Tue, Dec 31, 2002 at 03:47:08PM -0500, George Georgalis
>(george@galis.org) wrote:
> > Something seems wrong with the archives at the moment...
> >
> >
> > I just finished walking remote hands through a not so simple x
> > configuration. whew.
> >
> > now a user can 'startx' and use the session, but with gdm the session
> > starts then immediately returns to the gdm
> login.
> >
> > I presume there is a permissions problem here... how do I enable users
> > with console access (or users in a group) to access (run) the xserver?
>
>In /etc/X11/Xwrapper.config:
>
>     allowed_users=console
>
>You should be able to manage this setting with:
>
>     # dpkg-reconfigure xserver-common
>
>man 5 Xwrapper.config for more information.
>
>Peace.
>
>--
>Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
>  What Part of "Gestalt" don't you understand?
>    Spread the real scoop on Xenu and The Church of Scientology, link
>        <a href=""http://xenu.org/">http://xenu.org/";>Scientology</a> on your website.
>Date: Thu, 2 Jan 2003 02:24:59 -0600
>From: Gerald Livingston <debuser@sysmatrix.net>
>To: debian-user@lists.debian.org
>Subject: Re: initializing linux partitions after installation
>Message-Id: <20030102022459.24e72aaf.debuser@sysmatrix.net>
>Content-Type: text/plain; charset=US-ASCII
>Content-Transfer-Encoding: 7bit
>
>On Thu, 2 Jan 2003 07:56:36 +0000
>"Karsten M. Self" <kmself@ix.netcom.com> wrote:
>
> > No, but it means you're going to want to move the directory and copy
> > its contents to the new mountpoint once you've created it:
> >
> >     $ sudo bash
> >     # cd /
> >     # mv home home-bak
> >     # mount /home
> >     # cp -pdR home-bak/* /home
> >
>
>I never created a separate /home partition -- made a 27G /. Decided last
>night to clean up and rearrange drives. I've been using /home for all
>kinds of storage -- mp3, ogg, local copy of hosted web site, etc. Ended
>up having to move 22G of files and put /home on its own 40G drive.
>
>Don't feel like re-partitioning so now I'm using the extra space in /
>for things like /tmp and /var/cache/apt.
>
>My current drive mess looks like this:
>
>Filesystem    Type    Size  Used Avail Use% Mounted on
>/dev/hdc7     ext3     27G  898M   25G   4% /
>/dev/hdc3     ext3    9.2G  4.8G  4.0G  55% /debian
>/dev/hdc1     ext3     19M  4.7M   13M  27% /boot
>/dev/hdc5     ext3     14G  6.4G  6.7G  49% /usr
>/dev/hdc6     ext3    4.6G  246M  4.2G   6% /var
>/dev/sda1     ext3     17G   33M   17G   1% /scsi
>/dev/hda2     ext3     28G   15G   12G  58% /mp3.mov
>/dev/hdb1     ext3     37G   22G   14G  62% /home
>
>hda is 40G, hdb is 30G, hdc is 60G, and sda is 18G. Still have some
>re-arranging to do, just haven't decided what to move where. I like
>having most of my free space in one area. With these drives I suppose I
>should go to LVM -- does it allow free space to be concatenated across
>physical drives?
>
>Gotta figure out what the heck is sucking up /var too since I have
>/var/cache/apt sitting elsewhere.
>
>G
>
>--
>Configure your Email to send TEXT ONLY -- See the following page:
>http://expita.com/nomime.html
>
>gvl2 (Gerald)
>AirBall the Rolling Basket Case (1969 Standard Beetle)
>LifeSaver (1974 Bay Window Bus)
>http://www.phorce1.com
>Date: Thu, 2 Jan 2003 08:49:36 +0000
>From: Tom Badran <tb100@doc.ic.ac.uk>
>To: debian-user@lists.debian.org
>Subject: Re: ArgoUML
>Message-Id: <200301020849.36319.tb100@doc.ic.ac.uk>
>Content-Disposition: inline
>Content-Type: text/plain;
>   charset="iso-8859-1"
>Content-Transfer-Encoding: 7bit
>
>On Thursday 02 January 2003 6:05 am, Hanasaki JiJi wrote:
> > ArgoUML-0.12 Runs fine on this:
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
> > Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)
> >
> > downloaded and installed directly from java.sun.com
>
>Also works fine with the blackdown debian packages. You might need to edit
>/usr/bin/argouml to set which jvm to use if you have things like gij or kaffe
>installed.
>
>Tom
>Date: Thu, 2 Jan 2003 00:52:25 -0800
>From: "Kevin" <kevin@robertsesq.com>
>To: "Karsten M. Self" <kmself@ix.netcom.com>,
>         <debian-user@lists.debian.org>
>Subject: Re: cannot open dislpay: debian:0.0
>Message-ID: <05b901c2b23c$461b95b0$0403640a@salkrobertsla>
>Content-Type: text/plain;
>         charset="iso-8859-1"
>Content-Transfer-Encoding: 7bit
>
>----- Original Message -----
>From: "Karsten M. Self" <kmself@ix.netcom.com>
>To: <debian-user@lists.debian.org>
>Sent: Wednesday, January 01, 2003 11:59 PM
>Subject: Re: cannot open dislpay: debian:0.0
>
>
> > on Wed, Jan 01, 2003 at 10:32:20PM -0800, Kevin (kevin@robertsesq.com)
>wrote:
> > >
> > > ----- Original Message -----
> > > From: "Karsten M. Self" <kmself@ix.netcom.com>
> > > To: <debian-user@lists.debian.org>
> > > Sent: Wednesday, January 01, 2003 9:03 PM
> > > Subject: Re: cannot open dislpay: debian:0.0
> > >
> > >
> > > > on Tue, Dec 31, 2002 at 11:35:02PM -0800, Kevin (kevin@robertsesq.com)
> > > wrote:
> > > > > Please can you help with this error?
> > > > > Below is the log, env and .bashrc
> > > > >
> > > > > DISPLAY=debian:0.0;export DISPLAY
> >
> > <...>
> >
> > > > More useful information:
> > > >
> > > >   - What command are you running?
> > > >   - What is the *exact* error message?
> > > >   - How is your root session executing?
> >
> > You didn't answer this question.  Are you logged in directly as root, or
> > did you run 'su' or 'sudo' from another userid?
> >
> > > >   - Are you local or remote on this box?
> > > >
> > > >
> > > > If you are logged in as a nonprivileged user, are 'su'd or 'sudo'd to
> > > > root, and are attempting to run an X client, try specifying the local
> > > > display *and* merging xauth records, as root:
> > > >
> > > >     # export DISPLAY=<local display>
> > > >     # xauth merge ~/<nonprivileged user>/.Xauthority
> >
> > > make xconfig
> > > cannot open display: debian:0.0
> > > root
> > > local
> >
> > That's a bit terser than is useful.
> >
> > Are you *logged in as root, directly, on an X display?*  I doubt it.
> >
> > The solution I suggested previously should work.  Try it and report
> > results.
> >
> > Peace.
> >
> > --
> > Karsten M. Self <kmself@ix.netcom.com>
>http://kmself.home.netcom.com/
> >  What Part of "Gestalt" don't you understand?
> >    Geek for hire:  http://kmself.home.netcom.com/resume.html
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
>listmaster@lists.debian.org
> >
> >
>make xconfig
>rm -f include/asm
>( cd include ; ln -sf asm-i386 asm)
>make -C scripts kconfig.tk
>make[1]: Entering directory `/usr/src/linux-2.4.20/scripts'
>cat header.tk >> ./kconfig.tk
>./tkparse < ../arch/i386/config.in >> kconfig.tk
>echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk
>echo "set ARCH \"i386\"" >> kconfig.tk
>cat tail.tk >> kconfig.tk
>chmod 755 kconfig.tk
>make[1]: Leaving directory `/usr/src/linux-2.4.20/scripts'
>wish -f scripts/kconfig.tk
>Application initialization failed: couldn't connect to display
>"10.100.4.2:0.0"
>Error in startup script: invalid command name "button"
>     while executing
>"button .ref"
>     (file "scripts/kconfig.tk" line 51)
>make: *** [xconfig] Error 1
>
>Yes I was login directly as root
>
>Kevin
>Date: Thu, 2 Jan 2003 10:54:09 +0100
>From: Alberto Stracuzzi <stracuzz@media.dsi.unimi.it>
>To: debian-user@lists.debian.org
>Subject: configuring X with 3D Prophet
>Message-Id: <200301020906.h0296w70040264@saturn.media.dsi.unimi.it>
>Content-Type: text/plain;
>   charset="iso-8859-1"
>Content-Transfer-Encoding: 8bit
>
>Hi to everyone.
>I know that it isn't fair to send the first mail to a list imploring help...
>but....
>
>I installed Debian on my laptop and everything was perfect... So I decided to
>install it on the office dsktop pc (it isn't mine so I can't decide which
>kind of components to use) but I wasn't able to start X.
>The pc uses a Hercules 3d Prophet 4500 64MB Ram graphic board.
>I tried everything: writing to Hercules and SGS, installing drivers they
>showed me (drivers are not certificated by Hercules and SGS), manually
>configuring the XF86Config with values of Bus PCI... Nothing happened: "No
>screen found"...
>I could attach the log file but I don't hate you and I didn't want to bore
>the list...
>
>Simply: anyone did it with success and did he/she write me?
>
>Alberto
>Date: Thu, 2 Jan 2003 09:19:06 +0000
>From: Kevin.Bewley@camr.org.uk
>To: debian-user@lists.debian.org
>Subject:
>Message-ID: <OFCE111514.FED8724E-ON80256CA2.0031EB1D@camr.org.uk>
>Content-type: text/plain; charset=us-ascii
>
>Hi,
>    I know this is an old one but I can't find anything on Google. I have an
>old S3 Aurora64V+ Videocard in my laptop and wish to use the vesafb to get
>the lovely penguin and a 800x600 console. I'm pretty sure the card doesn't
>support VESA 2.0 (only VESA 1.2) but I was told that there was a patch I
>could apply to the kernel source prior to compilation that will sort this
>out.
>
>Is this true?
>
>Where can I get the patch and some instruction on how to apply it?
>
>Oh yes, I'd need a patch for Kernel version 2.4.20 if possible as that is
>what I'm running at the moment. If it's any help the laptop I'm using is a
>Compaq Armada 7350MT.
>
>Cheers,
>Kevin
>
>
>
>The information contained in this e-mail is intended only for the
>individual or entity to whom it is addressed.  It may contain privileged
>and confidential information and if you are not an intended recipient you
>must not copy, distribute or take any action in reliance on it.  If you
>have received this e-mail in error, please notify us immediately by
>telephone on +44 (0)1980 612100.  Please also destroy or delete the
>message from your computer.
>Date: Thu, 2 Jan 2003 01:39:26 -0800
>From: Osamu Aoki <osamu@debian.org>
>To: debian-user <debian-user@lists.debian.org>
>Subject: Re: initializing linux partitions after installation
>Message-ID: <20030102093926.GA26526@aokiconsulting.com>
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline
>
>Hi,
>
>On Thu, Jan 02, 2003 at 07:56:36AM +0000, Karsten M. Self wrote:
> > No, but it means you're going to want to move the directory and copy its
> > contents to the new mountpoint once you've created it:
> >
> >     $ sudo bash
> >     # cd /
> >     # mv home home-bak
> >     # mount /home
> >     # cp -pdR home-bak/* /home
>
>It works for /home since it usually does not have any filename starting
>with "." period in it.
>
>For the the last line of the example, I would use a command line:
>
>     # cp -pdR home-bak/. /home
>
>or using equivalent and easy to remember "archive" option:
>
>    # cp -a home-bak/. /home
>
>This ensures that everything gets copied including file names starting
>with period.
>
>Cheers :)
>
>Osamu
>PS: without "/." after home-bak, /home/home-bak/is created.
>--
>~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
>         Osamu Aoki <osamu@debian.org>   Cupertino CA USA, GPG-key: A8061F32
>  .''`.  Debian Reference: post-installation user's guide for non-developers
>  : :' : http://qref.sf.net and http://people.debian.org/~osamu
>  `. `'  "Our Priorities are Our Users and Free Software" --- Social Contract
>Date: Thu, 2 Jan 2003 09:54:14 +0000 (UTC)
>From: Frank Copeland <fjc@thingy.apana.org.au>
>To: debian-user@lists.debian.org
>Subject: Re: Unofficial Debian package management
>Message-ID: <slrnb18325.fth.fjc@wossname.apana.org.au>
>
>On 26 Dec 02 15:00:22 GMT, David Z Maze <dmaze@debian.org> wrote:
>
> > I've been using mini-dinstall to maintain a small private repository
> > (mostly with my custom-compiled kernels).  You can add other things to
> > it, but it wants a full source package with a .changes file, which
> > means pretending to be a developer and building the package from
> > source yourself.
>
>How are you creating custom kernel packages with .changes files? I've
>been unable to work out how to do it with kernel-package and make-kpkg.
>
>--
>Frank Copeland
>Home Page: <URL:http://thingy.apana.org.au/~fjc/>
>Not the Scientology Home Page: <URL:http://xenu.apana.org.au/ntshp/>
>Date: Thu, 2 Jan 2003 03:57:10 -0600
>From: Gerald Livingston <debuser@sysmatrix.net>
>To: debuser <debian-user@lists.debian.org>
>Subject: Timing a program run?
>Message-Id: <20030102035710.41611bf6.debuser@sysmatrix.net>
>Content-Type: text/plain; charset=US-ASCII
>Content-Transfer-Encoding: 7bit
>
>OK -- dumb question that I can't remember the answer to and can't find
>by googling.
>
>How the heck do I time how long it takes a certain script to run?
>
>I've searched the archives and google and apropos and apt-cache on all
>kinds of variations of "time" (timing, timer, etc) and can't find
>anything.
>
>Do I need to write a 'date +%s' in to the beginning and end of the
>script and do the math when it finishes?
>
>Another dumb bash question later if I can't figure it out.
>
>G
>
>--
>Configure your Email to send TEXT ONLY -- See the following page:
>http://expita.com/nomime.html
>
>gvl2 (Gerald)
>AirBall the Rolling Basket Case (1969 Standard Beetle)
>LifeSaver (1974 Bay Window Bus)
>http://www.phorce1.com
>Date: Thu, 2 Jan 2003 02:07:03 -0800
>From: Paul Johnson <baloo@ursine.dyndns.org>
>To: debuser <debian-user@lists.debian.org>
>Subject: Re: Timing a program run?
>Message-ID: <20030102100703.GB27608@ursine.dyndns.org>
>Content-Type: multipart/signed; micalg=pgp-sha1;
>         protocol="application/pgp-signature"; boundary="uXxzq0nDebZQVNAZ"
>Content-Disposition: inline
>
>On Thu, Jan 02, 2003 at 03:57:10AM -0600, Gerald Livingston wrote:
> > How the heck do I time how long it takes a certain script to run?
>
>This isn't shell specific.  And you're probably going to have to get a
>surgeon to remove your hand from your forhead from hitting it so
>hard.  8:o)
>
>time <command>
>
>
>--
>  .''`.     Baloo <baloo@ursine.dyndns.org>
>: :'  :    proud Debian admin and user
>`. `'`
>   `-  Debian - when you have better things to do than to fix a system
>
>Date: Thu, 2 Jan 2003 11:07:52 +0100
>From: Thomas Krennwallner <krennwallner@aon.at>
>To: debian-user@lists.debian.org
>Subject: Re: Timing a program run?
>Message-ID: <20030102100752.GA856@super-skunk>
>Content-Type: multipart/signed; micalg=pgp-sha1;
>         protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP"
>Content-Disposition: inline
>
>Hi!
>
>On Thu Jan 02, 2003 at 03:57:10AM -0600, the boisterous
>Gerald Livingston <debuser@sysmatrix.net>
>wrote to me:
> > How the heck do I time how long it takes a certain script to run?
>
>$ time app
>
>so long
>Thomas
>
>--
>   ___    Obviously we do not want to leave zombies around.
>_/___\     - W. Richard Stevens
>  ( ^ >   Thomas Krennwallner <krennwallner at aon dot at>
>  /   \   1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446  DAD9 FF58 4E59 67A1 DA7B
>(__\/_)_ http://members.aon.at/krennwallner/
>
>Date: Thu, 2 Jan 2003 02:12:34 -0800
>From: "Kevin" <kevin@robertsesq.com>
>To: <debian-user@lists.debian.org>
>Subject: Re: cannot open dislpay: debian:0.0
>Message-ID: <003a01c2b247$789184e0$0403640a@salkrobertsla>
>Content-Type: text/plain;
>         charset="iso-8859-1"
>Content-Transfer-Encoding: 7bit
>
>----- Original Message -----
>From: "Kevin" <kevin@robertsesq.com>
>To: "Karsten M. Self" <kmself@ix.netcom.com>; <debian-user@lists.debian.org>
>Sent: Thursday, January 02, 2003 12:52 AM
>Subject: Re: cannot open dislpay: debian:0.0
>
>
> >
> > ----- Original Message -----
> > From: "Karsten M. Self" <kmself@ix.netcom.com>
> > To: <debian-user@lists.debian.org>
> > Sent: Wednesday, January 01, 2003 11:59 PM
> > Subject: Re: cannot open dislpay: debian:0.0
> >
> >
> > > on Wed, Jan 01, 2003 at 10:32:20PM -0800, Kevin (kevin@robertsesq.com)
> > wrote:
> > > >
> > > > ----- Original Message -----
> > > > From: "Karsten M. Self" <kmself@ix.netcom.com>
> > > > To: <debian-user@lists.debian.org>
> > > > Sent: Wednesday, January 01, 2003 9:03 PM
> > > > Subject: Re: cannot open dislpay: debian:0.0
> > > >
> > > >
> > > > > on Tue, Dec 31, 2002 at 11:35:02PM -0800, Kevin
>(kevin@robertsesq.com)
> > > > wrote:
> > > > > > Please can you help with this error?
> > > > > > Below is the log, env and .bashrc
> > > > > >
> > > > > > DISPLAY=debian:0.0;export DISPLAY
> > >
> > > <...>
> > >
> > > > > More useful information:
> > > > >
> > > > >   - What command are you running?
> > > > >   - What is the *exact* error message?
> > > > >   - How is your root session executing?
> > >
> > > You didn't answer this question.  Are you logged in directly as root, or
> > > did you run 'su' or 'sudo' from another userid?
> > >
> > > > >   - Are you local or remote on this box?
> > > > >
> > > > >
> > > > > If you are logged in as a nonprivileged user, are 'su'd or 'sudo'd
>to
> > > > > root, and are attempting to run an X client, try specifying the
>local
> > > > > display *and* merging xauth records, as root:
> > > > >
> > > > >     # export DISPLAY=<local display>
> > > > >     # xauth merge ~/<nonprivileged user>/.Xauthority
> > >
> > > > make xconfig
> > > > cannot open display: debian:0.0
> > > > root
> > > > local
> > >
> > > That's a bit terser than is useful.
> > >
> > > Are you *logged in as root, directly, on an X display?*  I doubt it.
> > >
> > > The solution I suggested previously should work.  Try it and report
> > > results.
> > >
> > > Peace.
> > >
> > > --
> > > Karsten M. Self <kmself@ix.netcom.com>
> > http://kmself.home.netcom.com/
> > >  What Part of "Gestalt" don't you understand?
> > >    Geek for hire:  http://kmself.home.netcom.com/resume.html
> > >
> > >
> > > --
> > > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org
> > >
> > >
> > make xconfig
> > rm -f include/asm
> > ( cd include ; ln -sf asm-i386 asm)
> > make -C scripts kconfig.tk
> > make[1]: Entering directory `/usr/src/linux-2.4.20/scripts'
> > cat header.tk >> ./kconfig.tk
> > ./tkparse < ../arch/i386/config.in >> kconfig.tk
> > echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk
> > echo "set ARCH \"i386\"" >> kconfig.tk
> > cat tail.tk >> kconfig.tk
> > chmod 755 kconfig.tk
> > make[1]: Leaving directory `/usr/src/linux-2.4.20/scripts'
> > wish -f scripts/kconfig.tk
> > Application initialization failed: couldn't connect to display
> > "10.100.4.2:0.0"
> > Error in startup script: invalid command name "button"
> >     while executing
> > "button .ref"
> >     (file "scripts/kconfig.tk" line 51)
> > make: *** [xconfig] Error 1
> >
> > Yes I was login directly as root
> >
> > Kevin
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
>listmaster@lists.debian.org
> >
> >
>FYI
>If I try xhost +localhost
>xhost:  unable to open display "debian:0.0"
>
>Kevin
>Date: Thu, 2 Jan 2003 05:13:24 -0500
>From: sean finney <seanius@seanius.net>
>To: Gerald Livingston <debuser@sysmatrix.net>
>Cc: debuser <debian-user@lists.debian.org>
>Subject: Re: Timing a program run?
>Message-ID: <20030102051324.A11280@sccs.swarthmore.edu>
>Content-Type: multipart/signed; micalg=pgp-sha1;
>         protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI"
>Content-Disposition: inline
>
>heya,
>
>how about... "time"?  i think it outputs the timing information
>to stderr after it has finished running the app.  it's funny
>all your searching didn't show that up :)  for future reference,
>"man -k keyword" is another good place to look.
>
>
>         sean
>
>On Thu, Jan 02, 2003 at 03:57:10AM -0600, Gerald Livingston wrote:
> > OK -- dumb question that I can't remember the answer to and can't find
> > by googling.
> >
> > How the heck do I time how long it takes a certain script to run?
> >
> > I've searched the archives and google and apropos and apt-cache on all
> > kinds of variations of "time" (timing, timer, etc) and can't find
> > anything.
> >
> > Do I need to write a 'date +%s' in to the beginning and end of the
> > script and do the math when it finishes?
> >
> > Another dumb bash question later if I can't figure it out.
> >
> > G
> >
> > --
> > Configure your Email to send TEXT ONLY -- See the following page:
> > http://expita.com/nomime.html
> >
> > gvl2 (Gerald)
> > AirBall the Rolling Basket Case (1969 Standard Beetle)
> > LifeSaver (1974 Bay Window Bus)
> > http://www.phorce1.com
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> >
>
>Date: 02 Jan 2003 18:30:22 +0900
>From: Elijah <desiderata@softhome.net>
>To: debian-user@lists.debian.org
>Subject: Re: Timing a program run?
>Message-Id: <1041499827.1584.13.camel@Valhalla>
>Content-Type: text/plain; charset=iso-8859-1
>Content-Transfer-Encoding: 7bit
>
> > > How the heck do I time how long it takes a certain script to run?
> >
> > $ time app
>
>Oh, sorry about that. I suggested 'cron'. my mistake. I thought you want
>to schedule that script of something ^o^
>
>Elijah
>Date: Thu, 2 Jan 2003 10:27:03 +0000
>From: James Tappin <james@tappin.me.uk>
>To: debian-user@lists.debian.org
>Subject: Re: cannot open dislpay: debian:0.0
>Message-Id: <20030102102703.6e8f1261.james@tappin.me.uk>
>Content-Type: text/plain; charset=US-ASCII
>Content-Transfer-Encoding: 7bit
>
>On Thu, 2 Jan 2003 02:12:34 -0800
>"Kevin" <kevin@robertsesq.com> wrote:
>
> > FYI
> > If I try xhost +localhost
> > xhost:  unable to open display "debian:0.0"
> >
>
>3 alternatives spring to mind; either:
>xhost +debian # as the original user
>or:
>export DISPLAY=localhost:0 # as root before running make xconfig
>or even:
>ssh -X root@localhost # instead of su
>
>--
>James Tappin,             O__      "I forget the punishment for using
>james@tappin.me.uk       --  \/`    Microsoft --- Something lingering
>http://www.tappin.me.uk/            with data loss in it I fancy"


Reply to: