Re: Local search broken for documentation of numpy, matplotlib

2020-02-24 Thread Raj Kiran Grandhi
On Mon, Feb 24, 2020 at 8:23 PM Jonas Smedegaard  wrote:

> I suggest to check the changelogs (upstream and Debian-specific,
> whichever applies to the delta between the version you had before and
> the version you now installed from sid) to see if the issue is
> _knowingly_ fixed - becaue if not then it might reappear later.  In
> other words, I recommend filing as a bug if it seems the issue was
> solved without anyone noticing it.
>

Changelogs do not mention anything regarding this issue. I have filed
a bug report against python-matplotlib-doc.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952495

> Worst thing I can imagine happening if you file a bugreport is that you
> receice an angry email saying something like "you idiot, you have wasted
> 2 minutes of my life writing this bug-closing email because I don't care
> as much about this code as you do and therefore want it to _look_ well
> maintained and users obviously cannot possibly know better than me what
> that means" - which you can then simply ignore: You did you best!

LOL! Thanks for making me smile :-)



Local search broken for documentation of numpy, matplotlib

2020-02-23 Thread Raj Kiran Grandhi
Since upgrading to Buster, the search functionality for some packages
like python-numpy-doc and python-matplotlib-doc is no longer working.
The search page just displays the progress indicator graphic without
generating any results. This is an issue for me as my primary work
computer has no internet access. Google search indicates it could be
an issue with the document generation tool, sphinx, that is used to
generate the documentation.

Is there any workaround to get the search functionality back?

Thanks,
Raj Kiran



Re: Buster/lightdm - after locking screen, unlock prompt not visible

2019-06-01 Thread Raj Kiran Grandhi
> The opinion is that it is a bug. See
>
> https://lists.debian.org/debian-devel/2019/06/msg0.html

Thank you for the feedback. I have filed a bug report for this issue.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929834

Please note that this issue does not occur if using the slick-greeter instead.

Raj Kiran.



Buster/lightdm - after locking screen, unlock prompt not visible

2019-05-31 Thread Raj Kiran Grandhi
Hi,

In a fresh install of Buster with XFCE desktop, locking the screen
blanks the monitor and the monitor enters a power save state. After
that, neither moving the mouse nor typing on the keyboard would turn
the monitor back on.

Typing the password without any visual feedback (while the monitor
continues to be in the power save state) unlocks the screen and my
session is displayed normally.

Also, switching to another VT when the monitor turns off and switching
back displays the unlock prompt normally.

The closest I could find online was this:
https://bbs.archlinux.org/viewtopic.php?id=240200 wherein installing
the nouveau video driver appeared to have fixed the issue. However,
that solution is not applicable in my case as I have an integrated
intel graphics controller.

Is anybody else experiencing this bug? Any workaround?

Thanks,
Raj Kiran



Re: Password protecting grub

2016-03-19 Thread Raj Kiran Grandhi
> > But, be advised that once you do this, all the menu entries in grub will
> be
> > inaccessible until the password is supplied.
> > It would be nice to have a way of requiring a password only if it
> required
> > to boot a non-default entry.
>
> That's what
>   menuentry "May be run by any user" --unrestricted {
> is for. The documentation example runs thus:
>
>
Yes, I had read through that. But that would mean editing
/boot/grub/grub.cfg manually and losing the changes every time grub-update
is run. What I could not figure out was to having the --unrestricted be
appended automatically for the default entry (In my case, GRUB_DEFAULT=0
which boots the default kernel) every time grub-update was run.

An alternate and equally acceptable solution for me would be to require a
password only to a access the grub console or to edit the menu entries
interactively during boot. I had such a setup back when grub-legacy was the
default in debian but could not achieve the same results with grub2.


Re: Password protecting grub

2016-03-18 Thread Raj Kiran Grandhi
I have been trying to achieve something similar on my system. Password
protection in grub2 appears to be quite different from that in grub-legacy.

In grub2, authentication is activated by the lines (from the grub info
manual, the section on security):

set superusers="root"
password_pbkdf2 root grub.pbkdf2.sha512.1.biglongstring

in the /boot/grub/grub.cfg file

The command grub-mkpasswd-pbkdf2 can be used to generate the password.

On debian systems, it is better to put those two lines in
/etc/grub.d/40_custom to make sure that your changes remain after an
`update-grub' command.

But, be advised that once you do this, all the menu entries in grub will be
inaccessible until the password is supplied.
It would be nice to have a way of requiring a password only if it required
to boot a non-default entry.

On Wed, Mar 16, 2016 at 11:12 PM, Himanshu Shekhar 
wrote:

> Ok! I understand GRUB password and other such passwords are ineffective. I
> am also aware of the fact that hard drive can be read anywhere unless it is
> encrypted.
> The am eager to know a particular way (however bad it may be) to secure a
> system, which I have not known yet.
> All efforts yet just stop at one step :
>password : command not found. LOL!
>
> Regards
> Himanshu Shekhar
>


page allocation failure errors

2010-10-06 Thread Raj Kiran Grandhi

Hello,

My debian stable system has been spewing page allocation failure 
errors since the past few months. I have attached a sample error log. 
This does not occur too frequently. Sometimes, my system functions 
normally for several weeks before these errors crop up. When they do, my 
system is brought to its knees swapping furiously. Many times, a hard 
reset was the only option.


Google led me to bugs 533180 and 572932 but I am not sure if my problem 
is due to those. Both the stock lenny kernel as well as the backports 
kernel give these messages. How do I go about identifying the source of 
these errors? How do I determine if it is a hardware issue or a software 
one? BTW memtest did not report anything.


My system is an AMD 64bit dual core, dual processor with 8GB ram and an 
Nvidia graphics card with the proprietary driver. I had been running 
lenny stable since its release without any issues.


Thank you,
Raj Kiran
Sep 29 09:11:16 rajkiran kernel: [1377549.301678] swapper: page allocation failure. order:3, mode:0x20
Sep 29 09:11:16 rajkiran kernel: [1377549.301689] Pid: 0, comm: swapper Tainted: P   2.6.30-bpo.1-amd64 #1
Sep 29 09:11:16 rajkiran kernel: [1377549.301695] Call Trace:
Sep 29 09:11:16 rajkiran kernel: [1377549.301700]  IRQ  [80297e92] ? __alloc_pages_internal+0x404/0x426
Sep 29 09:11:16 rajkiran kernel: [1377549.301732]  [802bb0ec] ? kmem_getpages+0x68/0x12b
Sep 29 09:11:16 rajkiran kernel: [1377549.301740]  [802bb302] ? fallback_alloc+0x153/0x1cd
Sep 29 09:11:16 rajkiran kernel: [1377549.301747]  [802bb48c] ? cache_alloc_node+0x110/0x12f
Sep 29 09:11:16 rajkiran kernel: [1377549.301755]  [802bb556] ? kmem_cache_alloc_node+0xab/0x11e
Sep 29 09:11:16 rajkiran kernel: [1377549.301762]  [802bb625] ? __kmalloc_node+0x5c/0xa7
Sep 29 09:11:16 rajkiran kernel: [1377549.301773]  [8040b430] ? __alloc_skb+0x66/0x138
Sep 29 09:11:16 rajkiran kernel: [1377549.301827]  [a0062838] ? pci_map_single+0x20/0x8d [forcedeth]
Sep 29 09:11:16 rajkiran kernel: [1377549.301837]  [8040bc8f] ? skb_copy+0x30/0x96
Sep 29 09:11:16 rajkiran kernel: [1377549.301851]  [a10a5411] ? vboxNetFltLinuxPacketHandler+0x40/0x95 [vboxnetflt]
Sep 29 09:11:16 rajkiran kernel: [1377549.301863]  [8041228d] ? dev_hard_start_xmit+0x140/0x272
Sep 29 09:11:16 rajkiran kernel: [1377549.301873]  [80423b09] ? __qdisc_run+0xe2/0x1ed
Sep 29 09:11:16 rajkiran kernel: [1377549.301881]  [804126f0] ? dev_queue_xmit+0x230/0x32a
Sep 29 09:11:16 rajkiran kernel: [1377549.301893]  [80437457] ? ip_queue_xmit+0x2d4/0x330
Sep 29 09:11:16 rajkiran kernel: [1377549.301904]  [802ba8e3] ? __drain_alien_cache+0x8f/0xa1
Sep 29 09:11:16 rajkiran kernel: [1377549.301915]  [80447a47] ? tcp_transmit_skb+0x63e/0x67d
Sep 29 09:11:16 rajkiran kernel: [1377549.301923]  [80449ecc] ? tcp_write_xmit+0x874/0x96c
Sep 29 09:11:16 rajkiran kernel: [1377549.301932]  [802ba8e3] ? __drain_alien_cache+0x8f/0xa1
Sep 29 09:11:16 rajkiran kernel: [1377549.301940]  [8044a011] ? __tcp_push_pending_frames+0x22/0x53
Sep 29 09:11:16 rajkiran kernel: [1377549.301948]  [8044538f] ? tcp_data_snd_check+0x21/0xf2
Sep 29 09:11:16 rajkiran kernel: [1377549.301956]  [8044606a] ? tcp_rcv_established+0x6a8/0x711
Sep 29 09:11:16 rajkiran kernel: [1377549.301966]  [8044ce9d] ? tcp_v4_do_rcv+0x1ab/0x34f
Sep 29 09:11:16 rajkiran kernel: [1377549.301975]  [80430d6e] ? ip_route_input+0x58/0xd17
Sep 29 09:11:16 rajkiran kernel: [1377549.301982]  [80439c41] ? __inet_lookup_established+0x43/0x20c
Sep 29 09:11:16 rajkiran kernel: [1377549.301991]  [8044d4cb] ? tcp_v4_rcv+0x48a/0x6db
Sep 29 09:11:16 rajkiran kernel: [1377549.302000]  [804330d8] ? ip_local_deliver_finish+0x146/0x1e9
Sep 29 09:11:16 rajkiran kernel: [1377549.302008]  [80432c75] ? ip_rcv_finish+0x321/0x33b
Sep 29 09:11:16 rajkiran kernel: [1377549.302017]  [804119ea] ? process_backlog+0x81/0xb3
Sep 29 09:11:16 rajkiran kernel: [1377549.302025]  [8040fc83] ? net_rx_action+0xa8/0x191
Sep 29 09:11:16 rajkiran kernel: [1377549.302043]  [a0065012] ? nv_nic_irq_optimized+0xe5/0x25b [forcedeth]
Sep 29 09:11:16 rajkiran kernel: [1377549.302054]  [80246f91] ? __do_softirq+0xac/0x173
Sep 29 09:11:16 rajkiran kernel: [1377549.302064]  [80210bcc] ? call_softirq+0x1c/0x30
Sep 29 09:11:16 rajkiran kernel: [1377549.302072]  [802125fa] ? do_softirq+0x3a/0x7e
Sep 29 09:11:16 rajkiran kernel: [1377549.302079]  [80246d0e] ? irq_exit+0x3f/0x80
Sep 29 09:11:16 rajkiran kernel: [1377549.302086]  [80211ece] ? do_IRQ+0xa9/0xbf
Sep 29 09:11:16 rajkiran kernel: [1377549.302093]  [80210453] ? ret_from_intr+0x0/0x11
Sep 29 09:11:16 rajkiran kernel: [1377549.302098]  EOI  [80256fa9] ? hrtimer_cancel+0xc/0x16
Sep 29 09:11:16 rajkiran kernel: [1377549.302115]  

Disable a program is still running dialog in gnome

2009-07-28 Thread Raj Kiran Grandhi
Nowadays, when I try to shutdown my system, I sometimes get this 
unhelpful dialog:


http://imgur.com/tRv5S.png

It complains about an unknown program that is not responding and wants 
to give me the option of waiting for it to finish. Is there any way to 
disable this dialog permanently? More than once I have left my machine 
thinking it would have shutdown only to find this annoying dialog a 
couple of hours later.


Thanks,
Raj Kiran


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Disable a program is still running dialog in gnome

2009-07-28 Thread Raj Kiran Grandhi

Ron Johnson wrote:

On 2009-07-28 10:34, Raj Kiran Grandhi wrote:
Nowadays, when I try to shutdown my system, I sometimes get this 
unhelpful dialog:


http://imgur.com/tRv5S.png

It complains about an unknown program that is not responding and wants 
to give me the option of waiting for it to finish. Is there any way 
to disable this dialog permanently? More than once I have left my 
machine thinking it would have shutdown only to find this annoying 
dialog a couple of hours later.


Does anything malevolent happen if you click Shutdown Anyway?



Nothing. But all these days I am used to hitting ctrl+alt+del and 
pressing enter and the system would shutdown. Now, *sometimes* it throws 
up this dialog a few seconds after I initiate the shutdown and by that 
time, I would have left the desk. I would see it several hours later 
when I attempt to turn the computer on, only to realize that it has been 
wasting power all the while.


I could not find any setting in gconf-editor that appears related to 
this. Others seem to be having this problem too:


https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/313228
and
https://bugzilla.redhat.com/show_bug.cgi?id=486393

Guess, I'll have to map ctrl-alt-del to 'sudo poweroff' to get rid of 
this, but I then it would become too easy to accidentally initiate shutdown.



Raj Kiran


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: [OT] GNU - Linux and Debian.......

2009-07-21 Thread Raj Kiran Grandhi

Charlie wrote:

Just a general off topic query.

I was recently informed that my signature had a problem rendering correctly on 
someone's mailer - deliniter incorrect - and was told that my signature Linux 
Debian should read Debian GNU/Linux because: considering that the majority 
of it is provided by GNU.


I have added GNU - but it may be silly? My own prejudice was that Linux was 
first so should be first, that without it there would be no Debian? Or as I 
asked my correspondent, who never replied, would there have been an OpenBSD 
Debian or something like that? Then should GNU go before Debian or after? Or 
not be there at all? Even if most comes from GNU Debian is the one that 
creates it so?


I'm just interested and imagine there will not be a definitive answer to this 
at all.


Be well,
Charlie


http://en.wikipedia.org/wiki/GNU/Linux_naming_controversy

--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




No sound in 2.6.30

2009-07-20 Thread Raj Kiran Grandhi
Today I did an `aptitude full-upgrade' on my sid machine and during the 
process, kernel-image-2.6.30-1-686 was installed. Now if I boot the 
2.6.30 kernel, there is no sound. None of the applications give any 
error. The volume controls are all normal. Just the audio is missing. If 
I boot the older kernel (2.6.26), the sound comes back. How can I 
diagnose the problem?


I am attaching the relevant output of lsmod and lspci. What other 
information should I provide?


Thank you,
Raj Kiran
Script started on Monday 20 July 2009 09:16:17 PM IST
sid:~$ uname -r
2.6.30-1-686
sid:~$
sid:~$ lsmod|grep snd
snd_pcm_oss32232  0 
snd_mixer_oss  12368  1 snd_pcm_oss
snd_seq_midi5688  0 
snd_seq_midi_event  6212  1 snd_seq_midi
snd_seq42376  2 snd_seq_midi,snd_seq_midi_event
snd_via82xx20692  1 
gameport   10236  1 snd_via82xx
snd_ac97_codec 91272  1 snd_via82xx
ac97_bus1456  1 snd_ac97_codec
snd_pcm62368  4 
snd_pcm_oss,saa7134_alsa,snd_via82xx,snd_ac97_codec
snd_page_alloc  8152  2 snd_via82xx,snd_pcm
snd_mpu401_uart 6124  1 snd_via82xx
snd_rawmidi18580  2 snd_seq_midi,snd_mpu401_uart
snd_timer  17436  2 snd_seq,snd_pcm
snd_seq_device  6136  3 snd_seq_midi,snd_seq,snd_rawmidi
snd49024  13 
snd_pcm_oss,snd_mixer_oss,snd_seq,saa7134_alsa,snd_via82xx,snd_ac97_codec,snd_pcm,snd_mpu401_uart,snd_rawmidi,snd_timer,snd_seq_device
soundcore   6184  1 snd
sid:~$
sid:~$ sudo lspci -vv|sed -n '/audio/,/^$/p'
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 
AC97 Audio Controller (rev 60)
Subsystem: Elitegroup Computer Systems Device aa01
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR- INTx-
Interrupt: pin C routed to IRQ 22
Region 0: I/O ports at d000 [size=256]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: VIA 82xx Audio

sid:~$ exit
exit

Script done on Monday 20 July 2009 09:16:57 PM IST


Re: remount removeable drive in Lenny - how?

2009-07-20 Thread Raj Kiran Grandhi

Paul E Condon wrote:

I have no objection to the status of hal as a required part of a
standard desktop installation, but I do have a question as to how best
to deal with a peculiar situation.

I have several USB hard drives (ones with rotating machinery inside,
not solid state 'disks'). From time to time I need to perform format
maintenance on one of them. In order to do this, I look in /dev to see
what device name has been assigned to the drive, umount it, and do
whatever - e2fsck, tune2fs, etc. But when I'm finish doing
maintenance, how to I remount it without pulling the USB cable,
waiting a while, and reinserting the cable? Is there a console command
that I can type that avoids the extra wear on the fragile little
connectors and plugs? I'm looking for something that retriggers the
look-up of volume label and the creation of a mount-point in /media as
was there before I started mucking about.

Or is there another way to do the maintenance without umounting? (not
likely, I think)




I use `sudo blockdev --rereadpt /dev/sdx'


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: No sound in 2.6.30

2009-07-20 Thread Raj Kiran Grandhi

Tom Low-Shang wrote:

On Mon, Jul 20, 2009 at 09:24:37PM +0530, Raj Kiran Grandhi wrote:

Today I did an `aptitude full-upgrade' on my sid machine and during
the process, kernel-image-2.6.30-1-686 was installed. Now if I boot
the 2.6.30 kernel, there is no sound.
...
sid:~$
sid:~$ sudo lspci -vv|sed -n '/audio/,/^$/p'
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 
AC97 Audio Controller (rev 60)
...
Kernel driver in use: VIA 82xx Audio


I had similar problem with 2.6.30 and VIA audio. I followed this
advice[1] and set all VIA DXS mixer levels to 100% which restored the
audio output.

[1] http://alsa.opensrc.org/index.php/Via



Thank you. Setting the VIA DXS 1 to 100% did it.

Best regards,
Raj Kiran


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: No sound in 2.6.30

2009-07-20 Thread Raj Kiran Grandhi

Ron Johnson wrote:

On 2009-07-20 10:54, Raj Kiran Grandhi wrote:
Today I did an `aptitude full-upgrade' on my sid machine and during 
the process, kernel-image-2.6.30-1-686 was installed. Now if I boot 
the 2.6.30 kernel, there is no sound. None of the applications give 
any error. The volume controls are all normal. Just the audio is 
missing. If I boot the older kernel (2.6.26), the sound comes back. 
How can I diagnose the problem?


Did you compare the lsmod output from .26 and .30?



I had done it. The only difference was the module snd_seq_oss being 
loaded in the .26 kernel while the modules was not present for the .30 one.


The other post by Tom Low-Shang pointed to the problem with a new mixer 
setting that was set to 0% by default.


Thank you,
Raj Kiran


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: new to debian need help with fonts rendering (?)

2009-07-20 Thread Raj Kiran Grandhi

thirstyh2o wrote:

Hi, folks.

I'm coming from Ubuntu crowd where I spent last couple of years. Finally 
decided:Why 'Debian based', why not Debian itself. 

So to be. I've installed Debian 5.0.2 on my Dell Latitude D820 as dual 
boot to my Ubuntu Jaunty.  The laptop has Nvidia video card on it. The 
resolution and refresh rate were set properly by installer, and I was 
quite pleased by that.


Everything was just fine except... font rendering. I find that, font 
rendering in Ubuntu is way easier on my eyes than in Lenny, where my eyes 
start soring after 15-20 minutes.


In Ubuntu I do use proprietary/restricted video drivers. But in Lenny, 
since I'm not a gamer, I was willing to stick with default open source 
driver.


The proprietary driver improves performance even for other stuff though 
it is more likely to crash, especially during suspend/resume.




Hence the question, is there any way to improve font rendering with open 
source driver or I'll have to install the proprietary one.


Any suggestion would be greatly appreciated.



Try running `dpkg-reconfigure fontconfig-config` and ensure that the 
option for sub-pixel rendering is correct. If you had to change it, you 
might have to run `dpkg-reconfigure fontconfig` for the changes to take 
effect.









--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Upgrading to Lenny 2.6.26: serverworks OSB4 IDE problem

2009-02-15 Thread Raj Kiran Grandhi

Tim Day wrote:

I have an old dual-P3 Intel STL2 motherboard has been running Etch no
problem (2.6.18 kernel) for ages.
It has an IDE drive (root filesystem and swap, and it boots off it)
(/dev/hda on Etch) and a CD-ROM on the single IDE connector on the
motherboard, and a couple of big SATA drives hanging of some PCI-X card
(/dev/sda and /dev/sdb on Etch).

I upgraded it to lenny following the instructions (yes, setting
LABEL=rootfilesys on /dev/dha1 and changing /boot/grub/menu.lst
appropriately etc) but the 2.6.26 kernel seems to be completely ignorant
of the IDE devices and I just get the Waiting for root filesystem...
message.  (It can clearly see the SATA drives though).

I can boot back into 2.6.18 no problem (and now via the
LABEL=rootfilesys mechanism).


Alternatively, you can try the UUID=filesystem-uuid for mounting the 
drive. Another option is to specify the names as sda, sdb, etc.


You can check the output of `tune2fs -l' to determine the necessary 
parameters like label, UUID, etc.




In 2.6.18,
  dmesg | grep -i ide
lists (edited for relevance):
  Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
  ide: Assuming 33MHz system bus...
  SvrWks OSB4: IDE controller at PCI slot :00:0f.1
ide0: BM-DMA at 0x14c0-0x14c7, BIOS settings: hda:DMA, hdb: DMA
ide0: BM-DMA at 0x14c0-0x14c7, BIOS settings: hda:DMA, hdb: DMA
  Probing IDE interface ide0...
  id0 at 0x1f0-0x1f7,0x3f6 on irq 14
  Probing IDE interface ide1...

But 2.6.26 only says
  Uniform Multi-Platform E-IDE driver
  ide: Assuming 33MHz system bus...
  SvrWks OSB4: IDE controller (0x1166,0x0211 rev 0x00) at PCI slow
:00:0f.1
  Serverworks_IDE: probe of :00:0f.1 failed with error -16
And once it drops me to the prompt, all I see is the SATA drives.

I'm a bit out of my depth here

My original assumption was that I'd somehow run foul of the hd*/sd*
renaming issue the release notes make a big deal out of, but the fact my
old 2.6.18 kernel is booting just fine via the new kopts
root=LABLEL=rootfilesys stuff seems to indicate this isn't the case.
Now I'm thinking that the new kernel simply doesn't like my IDE
hardware.  Can anything be done about this ?  I tried adding
  ide0=0x1f0,0x3f6,14
on the kernel command line (based on where 2.6.18 found it); it didn't
make any difference but I later found something at kerneltrap.org
suggesting ide*=... options had been removed by 2.6.26.

Please, any suggestions for how to get the system onto 2.6.26 gratefully
received!

Thanks
Tim






--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Joining Two Videos

2009-01-28 Thread Raj Kiran Grandhi

Hal Vaughan wrote:
I have to join two videos, in different versions, one in .mpg for DVDs 
and one in .mp4. What's the best program that can do this without 
glitches or a high learning curve on Etch? No editing, no dissolves, 
just stick one after the other.


For the mpeg files,
mencoder -oac copy -ovc copy -of mpeg -mpegopts \
 format=dvd:tsaf file1.mpg file2.mpg -o output.mpg

Not so sure about mp4. Try this,
mencoder -oac copy -ovc copy -of lavf -lavfopts \
format=mp4 file1.mp4 file2.mp4 -o output.mp4



Thanks!

Hal




--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Scrolling works in vim by default in gnome-terminal but not in mrxvt

2009-01-28 Thread Raj Kiran Grandhi

Countable Infinity wrote:

Experiment 1
===
1. Open gnome-terminal
2. Run vim
3. Run command :help in vim
4. Use scroll wheel of the mouse to scroll
5. Scrolling happens successfully

Experiment 2
===
1. Open mrxvt
2. Run vim
3. Run command :help in vim
4. Use scroll wheel of the mouse to scroll
5. Scrolling does NOT happen successfully
6. Rn command :set mouse=a in vim
7. Scrolling happens successfully

Could you please tell me why this difference occurs?




I believe g-t maps scroll actions to Up and Down keys. Try mapping 
Up or Down in vim to something and you will find that the mapping is 
activated when you use the scroll button.


This feature is not present in the etch version of g-t. Must have been 
introduced after that.


--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: How to let a user login locally with a weak password

2009-01-17 Thread Raj Kiran Grandhi

Stefan Monnier wrote:

I'd like to setup an account that can use a weak password.
To make up for it, the account should only be accessible locally, not
over the network.
It would be sufficient for it to be accessible only via GDM/XDM (since
I don't need remote XDM/GDM logins).


Stefan


I believe the default settings do not allow remote GDM logins. You can 
always run gdmsetup to be sure. As for remote access via ssh, look into 
the DenyUsers and DenyGroups directives for sshd_config. Alternatively, 
you may prefer to disable password based logins altogether and go with 
public key authentication only. Again look at sshd_config(5) for the 
relevant configuration directives.








--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: mounting two disks on the same mount point (not at the same time)

2009-01-17 Thread Raj Kiran Grandhi

Reid Priedhorsky wrote:

I have a couple of USB disks that I use for backups. I rotate them so only
one is attached at the same time. I have a nightly cron that mirrors the
directories of interest onto whichever one is attached using rsync.

I'd like to mount whichever one is attached at the same mount point,
without having to specify the device. For example, rather than:

  $ mount /dev/disk/by-id/usb-ST316002_1A_DEF107679C83-0:0-part1 /mnt/backup

I'd like to say:

  $ mount /mnt/backup

The latter works for whichever is specified first in /etc/fstab, but not
the other one.

They are both *usually* the only USB disk attached, so they both appear as
/dev/sdc1, but I don't really want to depend on that.

Is this possible?


Give the same label to both the disks. And add the line to mount by 
label in the fstab, like:


LABEL=NIGHTLY_BACKUP_DRIVE /mnt/backup ...



Thanks,

Reid





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: How to let a user login locally with a weak password

2009-01-17 Thread Raj Kiran Grandhi

Osamu Aoki wrote:

Hi,

On Sat, Jan 17, 2009 at 10:08:41PM -0500, Stefan Monnier wrote:

I'd like to setup an account that can use a weak password.
To make up for it, the account should only be accessible locally, not
over the network.


Weak is not easy ... there is minimum number of character for password.
But no password is easy.


Not really. While it is possible to set specific requirements for the 
strength of a password. root can always set the password to anything. 
IMHO, I see no compelling reason for a strong password for a non 
networked home desktop.





It would be sufficient for it to be accessible only via GDM/XDM (since
I don't need remote XDM/GDM logins).


GDM can be configured to have default login user who can get desktop
without password.

System - Administration - Login window - Security - Enable
timed login

Osamu





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: having DHCP use name server from PPP connection?

2009-01-17 Thread Raj Kiran Grandhi

Daniel B. wrote:

Can dhcpd be configured to pass on (to DHCP clients on a local,
private (NATted) network) the DHCP server machine's current domain
name server addresses (given to the machine by PPP (etc.))?



What happens when your server's current name server changes before the 
DHCP lease expires?




I see how to hard-code name servers in /etc/dhcpd.conf with the
domain-name-servers statement.

However, I don't yet see how to have dhcpd report whichever name
servers are listed in /etc/resolve.conf (put there by PPP's
/etc/dhcpd.conf).

(What does dhcpd give to clients if there is no domain-name-servers
statement?  The documentation I've seen (dhcpd, dhcpd.conf manual
pages; Sarge version) doesn't seem to say.)


It probably does not give anything.

One possible solution to your problem is to run one of the several 
caching name servers like pdnsd or dnsmasq on your DHCP server and pass 
on your DHCP servers lan IP as the DNS server IP to the clients.


Another solution is to use a public DNS server or to run your own DNS.





Thanks,
Daniel



--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: how to find trace of attacks

2008-12-31 Thread Raj Kiran Grandhi

Abdelkader Belahcene wrote:

Thanks,

I am simpler user on laptop, with ssh server running. Ther is no 
important data on my laptop!!!


Suddenly my Desktop  froze,
I changed the screen (CTRL+ALT+F1), I  noticed that I was logout, so 
something jected me!!!

I restart the gdm, after that I continued normally.

I never had this kind of problem, before I was  not connected directly 
to  Internet, now I am. For this reason I doubt, moreover my  password 
is not strong enough.


Ok, Now I want to know where to find, any indication, if any, for intrusion.


grep sshd /var/log/auth.log

That should tell you if somebody logged in to your system remotely. Note 
that unless the attacker was not able to gain root access, it is likely 
that the log file might have been wiped clean of traces.




thanks again
best regards
bela








2008/12/30 abdelkader belahcene abelahc...@gmail.com:
  

Hi,
I fear that an attack or an entry in my PC has occured,  how to find the
trace of the attacks.

thanks a lot




It really depends upon what you suspect occurred,and how, and what the
machine is responsible for. Be more specific.

1) Why do you suspect that your machine was compromised?
2) What does the machine do? Desktop machine? Sensitive nuclear
secrets database?
3) Does the computer contain information that, if leaked, could
compromise your organization?
4) Does the computer contain information that, if erased, could be a
liability to your organization?
5) How recent is your last backup that is known to be from before the breach?
6) Is identifying the attacker a priority?

You should probably consult a forensics expert if this is anything
other than a home desktop.

  





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: expand /var, decrease /home space

2008-12-11 Thread Raj Kiran Grandhi

subscriptions wrote:

On Fri, 2008-12-12 at 00:39 +0100, steve wrote:

fairly successful attempt at running a webserver it made /var only 2.8
gig and made /home 280 something gig.

now I want /var to be say 200 gig, and /home alot smaller. for
obvious reasons. 


If the reason is using www, why not configure apache2 that its www
directory is in /home/www ?


Or, alternatively, resize2fs /home to whatever size you need and put 
/var/www/ in its own partition in the freed space.




You can find the configuration files in /etc/apache2/available-sites.

Best,

Rob





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: expand /var, decrease /home space

2008-12-11 Thread Raj Kiran Grandhi

steve wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

attempted to do this before, but never found a way, google is no use.

is there no fairly straightforward way to expand /var and decrease
/home?  for some reason when I installed etch quite a while ago in my
fairly successful attempt at running a webserver it made /var only 2.8
gig and made /home 280 something gig.

now I want /var to be say 200 gig, and /home alot smaller. for
obvious reasons. OR, if theres an easier way to accomplish, maybe mount
/home inside /var? I dont know, reaching for answers lol.

Thanks for any tips or links you can provide.


Can you give us the layout of your partitions? The output of `df` and 
`sudo fdisk -l` should help us in recommending the least painful way of 
achieving your goal.



- --
Steve Reilly


--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: lost my desktop

2008-12-07 Thread Raj Kiran Grandhi

Frank McCormick wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kelly Clowers wrote:

On Sat, Dec 6, 2008 at 17:22, Frank McCormick [EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Frank McCormick wrote:

Well not all of it -- my regular icons have been replaced by generic
looking white onesand when I click on 'em (I WAS configured to
single-click) the desktop files open in a text editor.

I did remove an icon theme ( Nimbus I believe it was called earlier
today) and installed something called Moonlight (supposed to be a
Linux/Unix equiv to Silverlight) but as far as I know
didn't do or change anything else.

Alt-F2 still works, and  the panel looks OK so it seems its just the
desktop affected.

  It seems I can't create any new icons on the desktop either...
Have you logged out and back in? 


Dozens of times now :) Changed themes, customized themes by choosing new
icon packages...renamed the .gnome and .gnome2 directories...renamed the
.nautilus directory.


The strange thing is ALL the icons on the desktop now have .desktop
extensions. None had before.



Does it happen to all users on your system? If not, move .gnome, .gconf 
etc, out of the way and see if it helps


--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: How to stop an active network connection

2008-12-02 Thread Raj Kiran Grandhi

T o n g wrote:
Hi, 


How can I stop an active network connection? e.g.,

 $ netstat 
 Active Internet connections (w/o servers)
 Proto Recv-Q Send-Q Local Address   Foreign Address 
State  
 tcp0  0 192.168.0.100:ssh   ip-72-55-146-217.:35911 
ESTABLISHED


Because barbarians are pounding at my sshd gate again:

 . . .
 Dec  2 16:41:37 helios sshd[9201]: Invalid user chad from 72.55.146.217
 Dec  2 16:41:37 helios sshd[9201]: pam_unix(sshd:auth): check pass; user 
unknown
 Dec  2 16:41:37 helios sshd[9201]: pam_unix(sshd:auth): authentication 
failure; logname= uid=0 euid=0 tty=ssh ruser= 
rhost=ip-72-55-146-217.static.privatedns.com 
 Dec  2 16:41:39 helios sshd[9201]: Failed password for invalid user chad 
from 72.55.146.217 port 42328 ssh2

 . . .

I shut down my sshd daemon, but the network bandwidth did not drop. The
active connection went away in the netstat output, which is wrong, and 
iftop was able to reveal the still-live connection. 


Just apt-get install denyhosts. It will update the /etc/hosts.deny 
everytime it detects an abusive client.




Please help. 


thanks





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: results: debian-user's favourite FLOSS (2008)

2008-12-01 Thread Raj Kiran Grandhi

Ron Johnson wrote:

On 12/01/08 02:36, Tshepang Lekhonkhobe wrote:

Hi,

Following is the results of a poll that has been running for about 2
weeks, one which questions readers of debian-user to list their
favourite FLOSS - Free (Libre) or Open Source Software.

There's the usual stars in the form of Firefox/Iceweasel and GIMP, as
well as aptitude, and great growth being OpenOffice.org's word
processor. Interestingly there wasn't as many votes for Acroread in
the non-free category, perhaps because FLOSS alternatives are really
gaining traction. There's also the usual category killers in the form
of Audacity, K3b, and MPlayer.

Listed below is entries which received at least 3 entries; for
anything else, please do search the archive. In brackets is the years
when specific entrants won (and this is since 2005). Here goes:


audio editor:
* Audacity x9 [2005 to 2007]


What does x9 mean?  To an American reader, it means multiply by 9, 
and that doesn't seem to make sense.




I guess it is the number of votes received for that application.

--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: HELP - Installing Firefox 3 on Debian Etch

2008-11-29 Thread Raj Kiran Grandhi

Carlos Carrero Gutierrez wrote:

Hi, i would like to install Firefox 3 on my Debian Etch. Then, i need
gtk 2.12 or newer.

But when i try to compile gtk 2.14 i need:
pango, glib, pkg-config, cairo, atk...

Well, i have compiled all succesfully except atk 1.2.4, it says:
checking for GLIB - version = 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.18.3, but GLIB
(2.12.4)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the
error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable
PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/.

I remove glib 1.12 (with some paquets) but it says the same.

What could I do? Somebody could help me?

Thank you very much, I appreciate your help.




Did you try the firefox binary from the mozilla site? I have it working 
on both etch-amd64 as well as etch-i386.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: apt-cache as normal user behaves weird

2008-11-29 Thread Raj Kiran Grandhi

LÉVAI Dániel wrote:

Hi!

Why could it be, that when I use apt-cache search as a normal user, its 
output is only a subset of the one when I'm running it as root? 


Like this:
$ apt-cache search ia32
ia32-libs - ia32 shared libraries for use on amd64 and ia64 systems
# apt-cache search ia32
elilo - Bootloader for systems using EFI-based firmware
ia32-apt-get - Apt-get and dpkg wrapper for on-the-fly ia32-libs 
conversion
ia32-archive - Create a local archive of converted i386 debs for amd64 
and ia64

ia32-libs - ia32 shared libraries for use on amd64 and ia64 systems
ia32-libs-gtk - GTK+ ia32 shared libraries
ia32-libs-tools - Tools for converting i386 debs for amd64 and ia64
refit - graphical boot menu for ia32 and x64 EFI systems
microcode.ctl - Intel IA32/IA64 CPU Microcode Utility



Check the permissions of the files in /var/lib/apt/lists. My guess is 
that some of the files are readable only by root.



Daniel




--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: OT: Hidden service disk

2008-11-29 Thread Raj Kiran Grandhi

T o n g wrote:

Hi,

Major PC vendors store their system installation/rescue disks in 1st 
partition (and call it service disk). I'm wondering how they are able to 
hide the partition from Windows. Is any tools under Linux that can create 
such hidden partitions from Windows. If so, how? and can Linux access 
such hidden partitions?


Thanks



Check the partition type of the hidden partition. `fdisk -l device' 
should tell you that. It is probably set to empty or hidden or something 
similar.


I think you should be able to mount the partition in the usual way if it 
contains any filesystem that linux recognizes.


--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Making a Video DVD with data

2008-11-25 Thread Raj Kiran Grandhi

Hello,

I am trying to make a video DVD out of some home videos for sharing with 
friends. I want it to be  playable on standalone DVD players as well as 
readable on both linux and windows. In addition to the videos, the DVD 
will also contain html albums of several photos created by photon.


So far, I have converted the video files into the correct format using 
ffmpeg. I have used dvd-slideshow to create videos out of some photos, 
and finally used dvdstyler to generate a compatible DVD file structure. 
I am able to play the result using both xine and vlc.


Now, when I try to create an udf image out of it, genisoimage warns 
about dropping joliet support. The exact message is this:


Warning: Disabling Joliet support for DVD-Video.

Should I be concerned about this? Are joliet extensions required for UDF 
in order to be read on windows? Was anybody successful at creating a 
similar DVD (Video+Data)?


Any comments would be helpful. Google has not been very helpful, or 
maybe I was using the wrong terms.


Thank you,
Raj Kiran



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Colored less

2008-11-24 Thread Raj Kiran Grandhi

Rob Gom wrote:

Hi,
do you know any colored less version? I often browse logs (not Linux
system logs). I use less for that and it works fine. However it is
single colored. I know that less has ANSI sequences support, but for
that I would have to change program output (which is not possible).
The only solution which I see is run sed producing ANSI sequences as
LESSPIPE. Do you know any other solution?


Did you try `ccze'? It is in the repos.


In other words: I have text file. It can be big (few GB). I want to
browse it. I would like to color every line, for example containing
ERROR as RED, containing WARNING as YELLOW, containing \[RG\].*debug
as GRAY ... I would like to define coloring rules. The viewer can be
text-based (like less) or for any XWindow system.

I would appreciate any comments on that.

Regards,
Robert





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: A lot of help needed with the automake process

2008-11-22 Thread Raj Kiran Grandhi

Raven wrote:

Hi all.
I recently coded a small GNOME applet and before sharing it with a few
friends I wanted to make it noob-proof :)

Basically I wanted to create the usual configure and Makefile scripts so
that I can give my buddies the 3 simple commands to install the applet.
After reading several (at least 5) different online tutorials, I'm afraid
I can't figure out how to create those scripts.
This is the current situation:

* There is only one source file (myapplet.c) in /src
* I have two folders, /pixmaps e /conf, that contain some graphics for the
applet and the initial configuration file
* In the folder root I also have the .server file needed by Bonobo

and this is what I want to accomplish:

* The compiled binary has to end up in /usr/lib/gnome-applets/
* The graphics (icons and a logo) have to be copied in
/usr/share/pixmaps/myapplet
* The configuration file has to be copied in ~/.myapplet/myapplet.conf *
The .server file has to be copied in in /usr/lib/bonobo/servers/

The configure script should also check for dependencies such as gtk+,
glibc and libxml2.


How are you compiling the applet at your end? Perhaps it would be 
simpler to create a small build script that installs the build 
dependencies, compiles and installs your applet.


Alternatively, have you considered simply sending them the binary with a 
small install script? You can add an apt-get line to the script to 
install the dependencies.




I know it's quite the task but is there somebody willing to walk me
through the whole process to create the install scripts?
I now feel I am the real noob :(
Thank you,

-R






--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: A lot of help needed with the automake process

2008-11-22 Thread Raj Kiran Grandhi

Raven wrote:

On Sat, 2008-11-22 at 14:42 +0530, Raj Kiran Grandhi wrote:
How are you compiling the applet at your end? Perhaps it would be 
simpler to create a small build script that installs the build 
dependencies, compiles and installs your applet.


I am now compiling the hard way via the command line with a bunch of
pkg-config statements in the gcc command.
I guess I could write up a build.sh, but I would have liked to do it in
a more standard way.
As I said, I read several tutorials but none of them dealt with more
than the basics. If you (or anyone else) knows about something else that
could help me, I'd be happy to read it.


Have you found this online book on autotools? It is one of the best 
references online.


http://sources.redhat.com/autobook/autobook/autobook.html

Also, I think the gtk/gtkmm tutorial also describes the use of autotools.




Alternatively, have you considered simply sending them the binary with a 
small install script? You can add an apt-get line to the script to 
install the dependencies.


Mhmm..that's also an interesting idea. Can you point me towards any
interesting online resource?

-R




--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




dpkg fails with parse error in /var/lib/dpkg/status

2008-11-21 Thread Raj Kiran Grandhi
I tried to do a dist-upgrade on my machine running sid, when dpkg failed 
complaining about the following parse error in the `status' file.


=
# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
dpkg: parse error, in file `/var/lib/dpkg/status' near line 2881 package 
`python-4suite-xml':

 package has status installed but triggers are awaited
E: Sub-process /usr/bin/dpkg returned an error code (2)
#
=

How can I fix this? I am unable to use dpkg at all as every invocation 
spits out the above error message.


Any info/pointers would be helpful.

Thanks,
Raj Kiran


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: dpkg fails with parse error in /var/lib/dpkg/status

2008-11-21 Thread Raj Kiran Grandhi

Sven Joachim wrote:

On 2008-11-21 18:12 +0100, Raj Kiran Grandhi wrote:


I tried to do a dist-upgrade on my machine running sid, when dpkg
failed complaining about the following parse error in the `status'
file.

=
# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
dpkg: parse error, in file `/var/lib/dpkg/status' near line 2881
package `python-4suite-xml':
 package has status installed but triggers are awaited
E: Sub-process /usr/bin/dpkg returned an error code (2)
#
=

How can I fix this? I am unable to use dpkg at all as every invocation
spits out the above error message.

Any info/pointers would be helpful.


I think you've hit another instance of bug #487637¹.  This is supposed
to be fixed in dpkg 1.14.21, which version of dpkg is installed on your
system?


The above bug appears to be triggered when the disk fills up while dpkg 
is running. However, that is not the case for me. The version of dpkg 
installed on my system was 1.14.23, the latest for sid. I tried 
replacing the dpkg executable from version 1.14.22 (lenny) by manually 
unpacking and copying the executable over to /usr/bin. However, that has 
not helped. I could not find version 1.14.21 either in the mirrors or on 
archive.debian.org. I shall try downloading the source and compiling.


Meanwhile, I should probably file a bug report as Eugene suggested.




Sven

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487637





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: NTFS: 3g won't shut up on chmod/chown errors

2008-11-19 Thread Raj Kiran Grandhi

Dexter Filmore wrote:

I use these options to mount an NTFS partition:

users,gid=fuse,umask=0002,silent,utf8,locale=de_DE.utf8

Now silent is supposed to suppress warnings on chmod/chown errors, each time 
a copy operation is completed I get couldn't change permissions on XY
I need to copy a pretty big range of files to that disk soon and really can't 
take konqueror throwing an error dialog at me for each and every operation.


Whatever is wrong with good old 'cp'? You can just add a redirect to 
/dev/null if the warnings bother you.




In another well known debian spinoff this works alright so what do I have 
here? Bug in ntfs-3g?


Dex





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to get the mac address(network card physical address) of a remote computer by its IP address?

2008-11-19 Thread Raj Kiran Grandhi

中和刘 wrote:

On Wed, Nov 19, 2008 at 9:20 PM, Ron Johnson [EMAIL PROTECTED] wrote:

On 11/19/08 07:06, 中和刘 wrote:

when a user visit my website, it's easy to get the ip address of the
user, but i think IP address is not as stable as mac address, so I
hope I can get the mac address of the user according to its IP
address, is it possible? thanks

IP packets don't contain the MAC address.  You'd have to run some
asynchronous arp ping against the IP address.

i heard that arp ping only get the mac address on the LAN, it cannot
get mac address outside the LAN.

(Why do I get the feeling that some Chinese Government rule is behind this
request?)

no, I'm not a member of chinese government, I just want to provide
better service in my website :)


I guess most sites just use cookies for this purpose.




--
Ron Johnson, Jr.
Jefferson LA  USA

If you don't agree with me, you are worse than Hitler!!!


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject
of unsubscribe. Trouble? Contact [EMAIL PROTECTED]









--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to change date of system

2008-11-12 Thread Raj Kiran Grandhi

lee wrote:

On Wed, 12 Nov 2008 18:31:07 +0530
Raj Kiran Grandhi [EMAIL PROTECTED] wrote:


Just curious, what is the reason for setting BIOS time to GMT instead
of localtime? It is simpler using localtime when I have wake on RTC
alarm enabled.


It's supposed to make it easier to deal with daylight saving times.


I see. We do not have DST in India so I never faced any problem except 
when installing linux (I have to change UTC=no in /etc/default/rcS)


Thanks for the info.


Other than that, it seems to make sense to refer to GMT/UTC as a
common, invariable source for time information and to go from there:
What is the reason for having GMT/UTC? How do you know what time it is
when every clock shows a different time? :)





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to change date of system

2008-11-12 Thread Raj Kiran Grandhi

lee wrote:

On Wed, 12 Nov 2008 10:16:03 +0100
abdelkader belahcene [EMAIL PROTECTED] wrote:


Hi,
I want to change the time for my system, ( the time displayed doesn't
correspond to my country which is gmt+1)
I use date -s, but I have to do it at each reboot,
how to do it permanently


Set the time in the BIOS to GMT, edit /etc/default/rcS (UTC=yes) and run
dpkg-reconfigure tzdata to specify your timezone.


Just curious, what is the reason for setting BIOS time to GMT instead of 
localtime? It is simpler using localtime when I have wake on RTC alarm 
enabled.




To keep always the correct time, you can run ntpd.





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Print margins in iceweasel 3.0

2008-11-11 Thread Raj Kiran Grandhi
I find that I am no longer able to tweak the margins while printing in 
iceweasel 3. Am I alone?


Also, the other print settings, such as paper size, header/footer 
options, etc are not persistent. I am being required to set them every 
time. I don't remember such behaviour from version 2. How do I get this 
sorted out?


Thanks,
Raj Kiran


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Windows to Debian secure data transfer over internet

2008-11-11 Thread Raj Kiran Grandhi

H.S. wrote:

Hello,

I am in a situation where a friend of mine wants to send tons of photos
to me. Internet connection being what it is regarding stability, I am
aiming to a method where the photos' transfer can be resumed if the
connection breaks and is recreated.

Keeping security in mind, I am thinking of asking him to send them over
to my machine, running Debian Testing, over SSH once I create an account
for him (we do not want to go for mailing a DVD if we can help it).

Now I wanted to know what is the best way to go about this. He is not a
computer savvy and does not use Linux. Otherwise I would have just asked
him to send it over rsync via ssh.

For now what I have in mind is this:
1. Ask him to make archive volumes of the data, say 10 MB each.
2. Ask him to install the GUI scp client on his windows box.
3. Create account for him on my Debian router machine.
4. Ask him to start scp transfer of those volumes. They may number 300
in all (around 3GB of data).
5. If the connection breaks, he can know right away which was the last
volume being transfered and can resume from there.


Consider this:

1. Your friend installs truecrypt and azureus.
2. Your friend creates a truecrypt volume (in a 3GB+ file), mounts it, 
copies the photos into it and unmounts it.
3. Your friend creates a torrent of the truecrypt volume and mails you 
the .torrent file.

4. Your friend starts seeding the torrent.
5. You download it at tell him once the transfer is complete.
6. Get the passphrase from your friend over phone and retrieve the photos.

Both truecrypt and azureus are reasonable user friendly, so your friend 
should not have much trouble dealing with them. Or else, you can outline 
the exact steps he has to carry out or even do it for him using remote 
desktop.




His upload speed is around 460 kbps. For 3GB of data, we are talking
around 14 hours needed for the transfer.

Any other suggestions or useful advice?

I also thought of asking him to install cygwin to get SSH and rsync, but
I do not want to complicate this further for him. However, if there is a
package for Windows which install the minimal packages needed for ssh
and rsync and is easy to install, that could be an option.

Thanks,
-HS






--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to use mplayer to convert DVD to a file?

2008-11-11 Thread Raj Kiran Grandhi

Serena Cantor wrote:
I have copy DVD to hard drive. 
It's at /mnt/dos4/1415

I want to convert it to save space.
Do you know the command?


The mplayer/mencoder documentation has a detailed chapter on ripping a 
dvd. It is really worth reading before proceeding.


http://www.mplayerhq.hu/DOCS/HTML/en/encoding-guide.html


--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to increase FAT partition size in extended partition?

2008-11-11 Thread Raj Kiran Grandhi

Serena Cantor wrote:

Is there any free software for doing that?


Yes there is. Try gparted. It lets you do all sorts of things with your 
disk partitions.



--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: how to use mplayer to convert DVD to a file?

2008-11-11 Thread Raj Kiran Grandhi

Serena Cantor wrote:

The page you list is too long.
Isn't it just a command? Do you know? 


Indeed, it is just a command. Would you rather read the manpage?

mencoder takes an input audio/video combination and transforms it to a 
different audio/video combination. Without telling anything about the 
source video and the desired target format, how do you expect anyone to 
provide the command to encode it?



Thanks anyway!


--- On Tue, 11/11/08, Raj Kiran Grandhi [EMAIL PROTECTED] wrote:


From: Raj Kiran Grandhi [EMAIL PROTECTED]
Subject: Re: how to use mplayer to convert DVD to a file?
To: debian-user@lists.debian.org
Cc: debian-user@lists.debian.org
Date: Tuesday, November 11, 2008, 7:33 PM
Serena Cantor wrote:

I have copy DVD to hard drive. It's at

/mnt/dos4/1415

I want to convert it to save space.
Do you know the command?

The mplayer/mencoder documentation has a detailed chapter
on ripping a dvd. It is really worth reading before
proceeding.

http://www.mplayerhq.hu/DOCS/HTML/en/encoding-guide.html


--
If you can't explain it simply, you don't
understand it well enough.
   -- Albert Einstein


-- To UNSUBSCRIBE, email to
[EMAIL PROTECTED] with a subject of
unsubscribe. Trouble? Contact
[EMAIL PROTECTED]



  






--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Software For Book Writing

2008-11-07 Thread Raj Kiran Grandhi

Eduardo M KALINOWSKI wrote:

Raj Kiran Grandhi escreveu:
Can it convert from latex to odt format? I have spent quite a bit of 
time unsuccessfully searching for something that would do it without 
causing a lot of grief. Please point me to it. It would be a life saver 
in those cases where people insist on receiving documents in .doc 
format.


Can't you just send a pdf? It's as ubiquitous as Word (or even more),
and this will keep the beautiful formatting Latex does.


If I can get them to accept it. They probably want it to be editable. I 
think the best way to make them learn the folly of their (people who 
insist on .doc) ways is to convert each page of the pdflatex's output 
into a png and embed them as pages in the .doc format :)



--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Software For Book Writing

2008-11-06 Thread Raj Kiran Grandhi

TW wrote:

Hi,

	I'm going to be writing a political book soon and I'm not 
sure what software to use to write it.


	I want to use something like Vim to write it, but, I want 
to be able to convert it to OpenOffice/MicrosoftWord, etc. format(s).
The reason that I want to use something like Vim is because I'd be 
able to make a more censored version of the book on the fly for 
certain people to download (underagers, for instance).  I thought 
that latex would be what I needed, but I'm not sure.  I thought 
DocBook, but isn't that for documentation?  I need something that 
goes the whole nine yards, The Little Brown Handbook style (footnotes, 
etc.).  Thanks for the help.


	By the way, you guys get first dibs on the book (it'll be 
free, free as in free beer).  I'm planning on writing a section 
on free software.




Latex should be fine. But I have not found any tools to convert latex to 
odt. You may also want to look at sisu. It is in the repos and claims to 
be able to generate most formats one would care about.



--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Software For Book Writing

2008-11-06 Thread Raj Kiran Grandhi

Douglas A. Tutty wrote:

On Thu, Nov 06, 2008 at 06:04:03PM -0700, TW wrote:
	I'm going to be writing a political book soon and I'm not 
sure what software to use to write it.


	I want to use something like Vim to write it, but, I want 
to be able to convert it to OpenOffice/MicrosoftWord, etc. format(s).
The reason that I want to use something like Vim is because I'd be 
able to make a more censored version of the book on the fly for 
certain people to download (underagers, for instance).  I thought 
that latex would be what I needed, but I'm not sure.  I thought 
DocBook, but isn't that for documentation?  I need something that 
goes the whole nine yards, The Little Brown Handbook style (footnotes, 
etc.).  Thanks for the help.


There seems to be a module that converts LaTex into just about anything,


Can it convert from latex to odt format? I have spent quite a bit of 
time unsuccessfully searching for something that would do it without 
causing a lot of grief. Please point me to it. It would be a life saver 
in those cases where people insist on receiving documents in .doc 
format. Last time, I ended up making the document in OpenOffice and 
exporting it as word. It was a pain (the writing part, not the export).



so I'd go with LaTex.  I've never used or had need of outputting to
Microsoft Word.  If you need to distribute read-only to people, just
make them pdf's from the LaTex.  Or HTML.  (either will do hypertext
links from the TOC and note markers).  Being a plain-text format, you
should be able to make different versions (sensored you say) for people.  


Doug.





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Software For Book Writing

2008-11-06 Thread Raj Kiran Grandhi

Steve Lamb wrote:

Raj Kiran Grandhi wrote:

Latex should be fine. But I have not found any tools to convert latex to
odt. You may also want to look at sisu. It is in the repos and claims to
be able to generate most formats one would care about.


Abiword.



Do you mean abiword is capable of converting latex to odt? I do not 
think so, or maybe I am missing something?


--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: grub with sata drives? - Progress

2008-11-03 Thread Raj Kiran Grandhi

Thomas H. George wrote:

On Mon, Nov 03, 2008 at 03:00:56PM -0600, elijah rutschman wrote:

On Mon, Nov 3, 2008 at 2:28 PM, Thomas H. George [EMAIL PROTECTED] wrote:

I have two sata drives, sda and sdb with the root partition on sdb.  I
installed grub on sdb and made the following entries in
/boot/grub/menu.lst:

As far as I know, grub doesn't use the Linux /dev/ nodes to access
disks.  The syntax for both IDE and SATA drives should be the same for
your menu.lst, so something along the lines of groot=(hd0,0).  Since
you are using the secondary drive (in Linux, /dev/sdb) I guess it
would probably be groot=(hd1,0).  You'd still want kopt=root=/dev/sdb1
as it is though, since that parameter is intended for the kernel and
not the bootloader.

-Elijah


Well groot=(hd2,0) works - that is, when trying to boot I now get a
message:

root  (hd2,0)
  Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz-2.6.26-1-amd64 root=/dev/sdb1 ro

Error 15: File not found


Is your /boot on a separate partition?

Please post more information on your partition layout. At the very least 
mention the partition of your /boot and the total number of disks in 
your system. You mentioned having two SATA drives, but do you also have 
any IDE drives?


The 'groot=dev' line in menu.lst should be commented out with a single 
'#'. update-grub uses this line to figure out the partition where your 
/boot is located. If your /boot is on a dedicated partition, then the 
kernel would be found in the root of that filesystem. So the kernel line 
should read:


kernel /vmlinuz-2.6.26-1-amd64 root=/dev/sdb1

If you are able to get to a grub prompt while booting, you can manually 
specify the kernel and vmlinuz and use tab for autocomplete.


At the grub prompt, press 'c' to get to the console.

type root (hdtab

that should list all the drives. Select the appropriate number, and 
press tab to list the paritions. Select the partition that makes most 
sense.


type 'kernel /tab' and use tabcompletion to point grub to the correct 
kernel and initrd.


Once you have all the needed info, you can modify menu.lst appropriately.

good luck.

--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: cups-pdf

2008-11-02 Thread Raj Kiran Grandhi

Chris wrote:

On Sunday 02 November 2008, Michael Iatrou wrote:

When the date was Sunday 02 November 2008, Chris wrote:

I am getting very poor results printing to pdf from Firefox, it seems to
have worked better in the past.  Changing the settings for image
resolution does not help.

Have you tried printing to Postscript and the converting it to pdf using
ps2pdfwr?

--
 Michael Iatrou (gtgz)


They look equally bad.  I would attach a file to this email, but I think lots 
of list subscribers would not appreciate that.


Small attachments (~50 kb or so) should be fine. If it is too big, just 
upload it somewhere and post a link.




C




--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Grub Question

2008-10-26 Thread Raj Kiran Grandhi

Thomas H. George wrote:

On Sun, Oct 26, 2008 at 05:50:04AM +0530, Raj Kiran Grandhi wrote:
Just install grub on all your disks, so that your system boots 
irrespective of the boot order in the bios.


Also, it is better to use UUID for specifying the root filesystem in 
menu.lst as well as in fstab.


How do I use UUID?  I googled it for a definition, then tried apropos
uuid which found vol_id and findfs as two programs to generate uuid's.
findfs LABEL=label is unable to resolve any entry I have tried whether
device, directory or file. vol_id apparently exists only as a man page,
even apt-cache search vol_id finds nothing.



findfs UUID=uuid

You can use `udevinfo --query=all --name=/dev/partition' to get the 
uuid of any partition. If a filesystem does not have a uuid, you can use 
`tune2fs -U random' to set a random uuid to that filesystem.


Simply use root=UUID=uuid in menu.lst and UUID=uuid instead of the 
partition name in your fstab


--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Grub Question

2008-10-25 Thread Raj Kiran Grandhi

Thomas H. George wrote:

I am trying to convert from lilo where boot=/dev/sdb0 and
root=/dev/sdb1 in lilo.conf

I have tried kopt=root=/dev/sdb1 ro and groot=(sdb,0) in grub's menu.lst
(also kopt=root=/dev/sdb0 ro since I understand grub counts from 0).
The MBR is unchanged and the system still boots with lilo.

A problem could be that the bios setup detects the hard drive which lilo
believes is sdb as Sata 3 (Sata 1 is another hard drive and Sata 2 is an
optical drive).  I thought maybe grub would think lilo's sdb is sdc but
this didn't work either.

A google entry indicated there is a command line continuation feature
which should show the available drives which grub sees.  I haven't been
able to make this work.

The google entries I've found have no examples for designating Sata
drives.

What have I missed?


Just install grub on all your disks, so that your system boots 
irrespective of the boot order in the bios.


Also, it is better to use UUID for specifying the root filesystem in 
menu.lst as well as in fstab.




Tom





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Question on configuration

2008-10-24 Thread Raj Kiran Grandhi

Stephen Liu wrote:

Hi folks,


Debian Etch - base installation, running as domU (guest) on a Xen box


I'm installing BIND on its tarball and encountering following problem.


# ./configure --prefix=/usr/local/bind
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ar... /usr/bin/ar
checking for etags... no
checking for emacs-etags... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.


If all you need is a recent version of bind9, it may be simpler to just 
install it from the sid repos. If you are determined to build from the 
source, then first install the package build-essential. Also install the 
build dependencies for bind9.


# apt-get install build-essential
That will install the compilers and development libraries needed to 
build any package.


Assuming you have a line for sid sources in your sources.list,

# apt-get build-dep bind9
will install all the dependencies required to compile bind9




Which of the above package shall I install ?

Which C compiler shall I install?  Any other additional packages ?  


Please help.  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 






--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Anti-Virus - seeking opinions

2008-10-16 Thread Raj Kiran Grandhi

Don Sutter wrote:

Hi All,

I certainly hope the following doesn't start a flame war! I would like
to use Linux to scan Windows drives for viruses. Since Linux is
generally slime free are any of the Linux anti-virus solutions robust
enough to handle Windows? Perhaps I should consider using VM, Windows
and a Windows based anti-virus? Ideas?


Did you give clamav a try? It is in the repos.
Avast has a version for linux. It is free as in beer for personal use.

You can manage without an anti virus by running Windows in a VM if you 
do not connect it directly to any untrusted network and if you do not 
connect any removable devices directly to the VM.




Thanks in advance





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Running app full-screen

2008-10-13 Thread Raj Kiran Grandhi

Douglas A. Tutty wrote:

On Mon, Oct 13, 2008 at 06:13:38PM -0700, Todd A. Jacobs wrote:

I'd like to run a single application (tellico) full-screen in a
dedicated VNC session *without* a window manager. I'm not sure how to
force the application to be full-screen, though.

If my xstartup contains exec tellico, it launches properly but only
takes up a fraction of the screen. Is there a way to adjust the
geometry without resorting to a window manager?



I think (its been many years since I tried) that most if not all X apps
will accept a --geometry setting on the command line.  Once you get that
right, there's a file (I forget the name) in your home directory that
maps Xresources (that may be the file name) like geometry to application
names.


~/.Xdefaults
It should contain a line like:
appname*geometry: widthxheight+0+0



I hope that this points you in the right direction.

Doug.





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: editing menus

2008-09-28 Thread Raj Kiran Grandhi

Robert Holtzman wrote:


Gnome is correct, but there is no Main Menu under Desktop - 
Preferences. There is a Menus and Toolbars selection, however it has 
nothing to do with editing menu items. BTW it looks like Desktop has 
replaced System.


Help talks about creating a XDG_CONFIG_DIRS/menus/applications.menu
in $HOME, supposedly to define a menu entry, and while it looks doable, 
it also looks like I would be opening a bucket of worms.


I forgot to include the fact that I'm running 2.6.24-etchnhalf.1-486. 
Sorry.




What version of gnome does etchnhalf ship with? The menu editor 
(alacarte) from ubuntu is probably a much recent version than that with 
etch. Try installing alacarte from lenny or sid.


--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




convert odt to pdf via the command line

2008-09-23 Thread Raj Kiran Grandhi
I have a bunch of .odt files that I want to convert to pdf. Is there any 
tool that can do it? apt-cache search did not show anything helpful nor 
did google.


Last time I needed this, I ended up adding a pdf printer and  printing 
the documents to that printer using the -pt option of oowriter.


However, it is not very reliable, since the command returns immediately 
and the pdf is available only after some time. Makes it tricky to write 
a script that has to use the generated pdf.


Any pointers will be helpful.

Thanks,
Raj Kiran


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: convert odt to pdf via the command line

2008-09-23 Thread Raj Kiran Grandhi

François Cerbelle wrote:

Le Mar 23 septembre 2008 14:59, Raj Kiran Grandhi a écrit :

I have a bunch of .odt files that I want to convert to pdf. Is there any
tool that can do it? apt-cache search did not show anything helpful nor
did google.

Strange, I should have a different question when asking Google :
batch export openoffice pdf

[...]

Any pointers will be helpful.

And my friend Google gave me this link that should help you :
http://www.oooninja.com/2008/02/batch-command-line-file-conversion-with.html


Works great! Thanks.



;-)
Have a nice day

Fanfan


--
Raj Kiran Grandhi.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: convert odt to pdf via the command line

2008-09-23 Thread Raj Kiran Grandhi

Roberto D'Oliveira wrote:

2008/9/24 Raj Kiran Grandhi [EMAIL PROTECTED]:

I have a bunch of .odt files that I want to convert to pdf. Is there any
tool that can do it? apt-cache search did not show anything helpful nor did
google.

Last time I needed this, I ended up adding a pdf printer and  printing the
documents to that printer using the -pt option of oowriter.

However, it is not very reliable, since the command returns immediately and
the pdf is available only after some time. Makes it tricky to write a script
that has to use the generated pdf.

Any pointers will be helpful.

Thanks,
Raj Kiran




I'm using unoconv for this work.



Unfortunately for me, unoconv is only available on lenny and later. For 
etch, the script pointed out by François Cerbelle does a fairly good job.


Thank you.
Raj Kiran Grandhi


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Convert HTML document to use relative links ?

2008-09-03 Thread Raj Kiran Grandhi

Owen Townend wrote:

2008/9/3 Andre Majorel [EMAIL PROTECTED]:

Is there is program to make all links relative in HTML documents
saved in wget -x fashion ? (http://foo.com/a/b.html saved as
./foo.com/a/b.html.)

For example,

- if ./foo.com/a/b.html contains img src=/images/d.jpg
 and ./foo.com/images/d.jpg
 exists, replace that tag img src=../images/d.jpg

- if ./foo.com/a/b.html contains a href=http://bar.org/c.html;
 and  ./bar.org/c.html
 exists, replace that tag by a href=../../bar.org/c.html

I know about wget -k and it doesn't do what I need. My goal is use
wget or some such to have an exact mirror of the web site and then
make a _copy_ of the mirror that can be navigated off-line.


One way to do this which would save downloading twice might be
something like this:

1) wget from foo.com to bar.local as exact mirror
2) apache virtual host for the exact mirror as foo.com
3) temporary hosts line/dns entry either on bar.local or your
workstation aliasing foo.com to bar.local
4) wget -k foo.com would pull from local exact copy as a local relative mirror.



An easier way would be to just run wget with the -k and -nc options from 
the main site. Just make sure you are in the same starting directory 
when you ran the original command. wget will not download any file that 
is already present, but will instead read it locally from the disk and 
make the link conversions.


Better make a backup though, in case something goes wrong.


--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Sound volume user specific?

2008-08-31 Thread Raj Kiran Grandhi

Michal R. Hoffmann wrote:

Hi,

Is it possible to control sound volume on each user account 
independently? So when user A logs in and changes the sound volume (with 
gnome alsa mixer) to max it won't affect user's B settings.

It is desktop debian (sid) machine, ALSA, Gnome.



It should be possible to write a script that saves the mixer settings at 
logout and restores them at login. It happens automatically at shutdown 
and startup, so look in /etc/init.d/alsa-utils for the relevant sections 
and modify them for your use.


HTH,
Raj Kiran
--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Solving sudoku with aptitude

2008-08-24 Thread Raj Kiran Grandhi
Here is an interesting article where the author uses package 
dependencies and conflict handling mechanisms of the debian package 
management system to solve sudoku puzzles


http://algebraicthunk.net/~dburrows/blog/entry/package-management-sudoku/

Regards,
Raj Kiran

--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Microsoft-IIS/6.0 - US - Debian mirror?

2008-07-29 Thread Raj Kiran Grandhi

lubo wrote:

yep, some sorts of load balancing is involved.

here is the one with IIS on it:

http://35.9.37.225/debian/dists/etch/


$ dig http.us.debian.org
snip
;; ANSWER SECTION:
http.us.debian.org. 3494IN  A   128.30.2.36
http.us.debian.org. 3494IN  A   64.50.236.52
http.us.debian.org. 3494IN  A   64.50.238.52
http.us.debian.org. 3494IN  A   35.9.37.225
snip

The first three run apache on linux and the last one runs IIS.

--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Ext3 Overwritted by Ext3

2008-07-29 Thread Raj Kiran Grandhi

Armin ranjbar wrote:

Dear all ,


there is an Ext3 partition which have been mkfs.ext3 by mistake , there
are very few inodes available in file system now but tools like lde shows
that majority of data is still available on disk , the problem is that how
its possible to take back disconnected ext3 blocks in filesystem as file ?
how can i put them in lost and found ? do you know any solution ?




If you have run mkfs.ext3 while the partition was mounted, then an fsck 
might put stuff in lost+found. It happened to me once when I mistyped 
the disk name (hda5 instead of hdb5). That was several years ago so I 
don't remember whether it was ext3 or ext2.


--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Ext3 Overwritted by Ext3

2008-07-29 Thread Raj Kiran Grandhi

Raj Kiran Grandhi wrote:

Armin ranjbar wrote:

Dear all ,


there is an Ext3 partition which have been mkfs.ext3 by mistake , there
are very few inodes available in file system now but tools like lde shows
that majority of data is still available on disk , the problem is that 
how
its possible to take back disconnected ext3 blocks in filesystem as 
file ?

how can i put them in lost and found ? do you know any solution ?




If you have run mkfs.ext3 while the partition was mounted, then an fsck 
might put stuff in lost+found. It happened to me once when I mistyped 
the disk name (hda5 instead of hdb5). That was several years ago so I 
don't remember whether it was ext3 or ext2.




Just wanted to add that you might want to use dd to make a complete copy 
 of your disk and work on a copy (or a copy of the copy if you are 
sufficiently paranoid about your data)


--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: where does iceweasel store the setting for controlling site passwords

2008-07-29 Thread Raj Kiran Grandhi

Mitchell Laks wrote:

On 09:07 Mon 28 Jul , ss11223 wrote:

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Preferences - security - Passwords Section / Exceptions button




Thank you all for this suggestion, but it is actually wrong.

For instance I see only 3 entries there, which relate to banks etc
that I chose to enter the password each time.

I guess this setting 
Preferences - security - Passwords Section / Exceptions button


remembers the password.

I am talking about remembering the 
*login name 
which in this case is very long

and then i enter a 4 digit password.

this is a setting that governs the LOGIN
which is the first
thing presented when you get to the site.

then after you which you enter the password.


This is the first question that iceweasel asks
not the second thing which is remember the password.


Sometimes if you have used multiple usernames and firefox remembers the 
passwords to more than one, then firefox will make you enter the 
complete username before it auto fills the password. It this is the 
case, you will have to delete the extra login name from the remembered 
passwords list.


Also, on the login form, if you press the Down key in the username 
field, it should show a list of names entered earlier. You can select 
your id from that list.




Thanks,

Mitchell





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Cannot switch to VT (console)

2008-07-23 Thread Raj Kiran Grandhi

Michal R. Hoffmann wrote:

Hi,

Recently I tried to switch to VT (console) and I couldn't - Ctrl+Alt+F1 
didn't work (and they used to couple of weeks ago). I don't even know 
where to look for the problem; xev detects KeyRelease XF86_Switch_VT_1 
event, /etc/inittab contain getty respawns.


Check your xorg.conf and see if the DontVTSwitch option is present. 
Also, it could be some problem with your XkbModel setting, like pc105 
instead of pc104.




Oh, when I tried chvt 1 it responded:
Couldnt get a file descriptor referring to the console


Did you try that as root?



Debian sid, home-compiled kernel, GDM/Gnome, nvidia-glx

Any suggestions, please?



--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: [OT] Incredible world-wide transportation network

2008-07-15 Thread Raj Kiran Grandhi

Ron Johnson wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Last Wednesday, I bought two WD6400AAKS drives from NewEgg.

They were manufactured in Thailand only 21 days ago.  They couldn't
have been sitting in NE's warehouse very long...


I won't be surprised if the printed date of manufacture was deliberately 
set to some future time at the time of packaging. So in Thailand, it 
*might* be possible to buy a drive that has not yet been manufactured as 
per the sticker.


I once purchased a pack of cookies and found the date of packing to be a 
couple of weeks in the future!




- --
Ron Johnson, Jr.
Jefferson LA  USA

Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh82gsACgkQS9HxQb37XmeLSACgxDhisDD/IX1uSxk48vJfSLBw
E1EAn3FI6CxJ3XKq2g32bbY0sWR57jCw
=EVm9
-END PGP SIGNATURE-





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: sudo password visible through ssh command line

2008-07-10 Thread Raj Kiran Grandhi

Javier Barroso wrote:

Hi,

In sid with key passwordless auth :

ssh [EMAIL PROTECTED] sudo ls
password: password

And password is shown you

Any tip to avoid this ?

Where should be reported this bug if it could be consider as such (note 
I don't know if there are more programs with this problem)?


This is not a bug. The password is shown because no tty is allocated to 
the command. If you want a tty to be allocated, pass the -t option to 
ssh, as in ssh -t [EMAIL PROTECTED] sudo ls




Greetings

Debian Rocks!




--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: bandwidth tool

2008-07-06 Thread Raj Kiran Grandhi

Mag Gam wrote:
Is there a tool to measure network traffic? I am using ifstat but its 
reporting wrong statistics. I am trying to get something similar to


eth0 , 16Mb/sec
eth1,  10Mb/sec

etc..

I need something simple :-)


I needed something like that, and I finally ended up writing a small 
python script (see attachment) that reads from 
/sys/class/net/iface/statistics and computes the rates. Works for me. 
YMMV.


HTH,
Raj Kiran


--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein
#!/usr/bin/python
#  Copyright © 2008 Raj Kiran Grandhi
#
#  This program is free software: you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 3 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program.  If not, see http://www.gnu.org/licenses/.

import sys, time, os, signal
signal.signal(signal.SIGINT, signal.SIG_DFL)

class Status: pass

def get_status(interface):
s = Status()
path = /sys/class/net/%s/statistics/ % interface
file = open(path + tx_bytes)
s.tx_bytes = int(file.readline().strip())
file.close()

file = open(path + rx_bytes)
s.rx_bytes = int(file.readline().strip())
file.close()

file = open(path + tx_packets)
s.tx_packets = int(file.readline().strip())
file.close()

file = open(path + rx_packets)
s.rx_packets = int(file.readline().strip())
file.close()
return s

def human(rate):
if rate  1024:
return %d B/s % rate
if rate  1024*1024:
return %5.1f kB/s % (rate/1024.0)
if rate  1024*1024*1024:
return %5.1f MB/s % (rate/(1024.0*1024.0))
else:
return %5.1f GB/s % (rate/(1024*1024*1024.0))

devices = sorted(os.listdir(/sys/class/net))
if len(sys.argv)  1:
devices = sys.argv[1:]

status_queue = {}
t_start = time.time()
for dev in devices:
status_queue[dev] = []
status_queue[dev].append(get_status(dev))

interval = 1
num_run = 5
print .center(80,'-')
print Device.center(20) + Download(curr/avg).center(24) +.center(8)+ 
Upload(curr/avg).center(24)
print .center(20)+Current.center(12)+/+5sec 
Avg.center(12)+.center(8)+Current.center(12)+/+5sec Avg.center(12)
print .center(80,'-')
time.sleep(interval)
while True:
t_current = time.time()
for dev in devices:
status_queue[dev].append(get_status(dev))
s_old = status_queue[dev][-2]
s_curr = status_queue[dev][-1]
s_start = status_queue[dev][0]
s_first = status_queue[dev][1]
rate_in = s_curr.rx_bytes - s_old.rx_bytes + 0.0
rate_out = s_curr.tx_bytes - s_old.tx_bytes + 0.0
rate_in_avg = (s_curr.rx_bytes - s_start.rx_bytes)/(t_current - 
t_start)
rate_out_avg = (s_curr.tx_bytes - s_start.tx_bytes)/(t_current 
- t_start)
delta = len(status_queue[dev])-2
if delta = num_run:
rate_in_run = float(s_curr.rx_bytes - 
s_first.rx_bytes)/delta
rate_out_run = float(s_curr.tx_bytes - 
s_first.tx_bytes)/delta
else:
rate_in_run = rate_in_avg
rate_out_run = rate_out_avg

#   sys.stdout.write(%16.2f%16.2f%16.2f\n % (rate_in, 
rate_in_avg, rate_in_run))
sys.stdout.write(dev.center(20)+human(rate_in).center(12)+/+
human(rate_in_run).center(12)+.center(8)+
human(rate_out).center(12)+/+
human(rate_out_run).center(12)+\n)
sys.stdout.flush()
if len(status_queue[dev])  num_run+1:
del status_queue[dev][1]
#   print %s: in:%8.2f kbps  out: %8.2f kbps % (dev, 
rate_in/1024.0, rate_out/1024.0)
time.sleep(interval)
sys.stdout.write([%dA % len(devices))


Re: login problem (password corruption? pam?)

2008-07-06 Thread Raj Kiran Grandhi

Joseph Neal wrote:

Hello all.

Logins keep going bad on me.  Repeatedly.  

I first noticed the problem yesterday after updating sid.  First sudo failed 
to accept my password.  I logged out of KDE and was not able to log back in. 


Let's call my normal login that I've been using the past couple years login1.

After this happened I switched to a console where I was successfully able to 
log in as root.  I tried using usermod to reset the password for user1 but 
was still unable to login.  I can su to user1 from root, however.  I created 
a new user, user2, which I was able to use to successfully log in.  After 
adding user2 to sudoers I was able to use kuser to change the password for 
user1 and log back in to my normal account.  All was fine and dandy until a 
few hours later the same thing started happening again.  This time I was 
unable to log in as user1 or user2 so I was forced to create a user3 and 
again use kuser to set a new password for user1.


This time I'm not logging out until I figure out what's going on.

Any guess as to what's going on?

Any idea why kuser lets me successfully reset the password and not usermod?


By reset, do you mean setting a null password? For that you can just use 
passwd -d username


Did you check the /etc/passwd and /etc/shadow files to see whether the 
usernames are disabled?


I suggest doing the following:

Create a new user4. Login from the console as user4 and make a backup of 
your /etc/passwd and /etc/shadow files. Wait till the system refuses to 
let you in, and then compare the files with your backed up versions to 
see if something suspicious is going on.





Here's how all this looked to auth.log:

Jul  6 07:55:33 dsl017-124-002 kdm: :0[4670]: pam_unix(kdm:auth): 
authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user

=joe
Jul  6 07:55:51 dsl017-124-002 kdm: :0[4670]: pam_unix(kdm:auth): 
authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user

=joseph
Jul  6 07:56:22 dsl017-124-002 login[4702]: pam_unix(login:auth): 
authentication failure; logname=LOGIN uid=0 euid=0 tty=tty4 ruser= rhost

=  user=joe
Jul  6 07:56:24 dsl017-124-002 login[4702]: FAILED LOGIN (1) on 'tty4' FOR 
`joe', Authentication failure
Jul  6 07:56:29 dsl017-124-002 login[4702]: pam_unix(login:session): session 
opened for user root by LOGIN(uid=0)

Jul  6 07:56:29 dsl017-124-002 login[4761]: ROOT LOGIN  on 'tty4'
Jul  6 07:59:48 dsl017-124-002 usermod[8030]: change user `joe' password
Jul  6 07:59:59 dsl017-124-002 login[4700]: pam_unix(login:auth): 
authentication failure; logname=LOGIN uid=0 euid=0 tty=tty3 ruser= rhost

=  user=joe
Jul  6 08:00:01 dsl017-124-002 login[4700]: FAILED LOGIN (1) on 'tty3' FOR 
`joe', Authentication failure

Jul  6 08:00:40 dsl017-124-002 su[8035]: Successful su for joe by root
Jul  6 08:00:40 dsl017-124-002 su[8035]: + tty4 root:joe




--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: shutdown and reboot scripts

2008-07-02 Thread Raj Kiran Grandhi

Daniel Dalton wrote:

Hi,

Can someone tell me what script I can edit so when my box shuts down or
reboots all my mounted devices get pumounted?
(I use pmount to mount everything)
So, how can I pumount all devices on /media?

So basically I have 2 questions:
1. What script can I place commands in that runs at shutdown/reboot...
2. How do I pumount all devices in /media?



AFAIK you should not have to do anything. Everything (except /) is 
unmounted by default during shutdown. / is re-mounted ro. The default 
init scripts takes care of killing all processes before unmounting devices.


--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ssh connection without passwd

2008-06-19 Thread Raj Kiran Grandhi

abdelkader belahcene wrote:

Hi every one,

I am using DSL on small miniPC.

I tried the ssh-keygen it seemed running correctly, it generates the
key (pub and priv),


Use ssh-copy-id to copy your public key to the ssh server. This requires 
that password based connections are allowed to that server.



but the ssh-add  gave  cannot open a connection to
 authentifcation agent   , I tried it after ssh-agent I got same error.


In fact I want an automatic (  from scrpit without passwd ) connection
to myserver using ssh. I don't know if ssh has an option to disable
the passwd or  to send it thru the command ???

thanks a lot
best regards
bela





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: reboot problems

2008-06-17 Thread Raj Kiran Grandhi

Kamaraju S Kusumanchi wrote:

Raj Kiran Grandhi wrote:


Gelonia L Dent wrote:

Dear Debian Users,

I am working on a diskless cluster which runs Debian 2.6.17. I rebooted
the machine and lost the ssh, dhcp, most shell commands and the NFS
filesystem . The system boots using GRUB. I've tried to restart all of
these daemons but with no success.

Did you reboot the master or one of the slave nodes? If you rebooted the
master, then you will have to reboot all the slave nodes also, if the
cluster is diskless.


Why? Would n't the image get updated automatically?



What happens when the nfs root filesystem disappears? Can linux recover? 
I don't know, but I guess the node can't really go on.


But, does a diskless setup have any real advantages given the low price 
of storage these days? IMHO it is much better to have a small disk in 
each node and have the node boot from its own disk. Let /, /boot and 
swap remain local to each node and nfsmount the rest. With systemimager 
and friends, it is not difficult at all to keep the nodes in sync.





raju



--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Iceweasel upgrade - can I go back?

2008-06-17 Thread Raj Kiran Grandhi

Alan Chandler wrote:
I am running Sid, and in the past couple of days it upgraded iceweasel.  
Now I can't run firebird - essential for development of some facilities 
on my web site.


Can I easily undo that upgrade?  If so how


Add etch or lenny to your sources.list and then install the required 
version of iceweasel with:


apt-get -t lenny iceweasel or apt-get install iceweasel=version

You can get the version string using apt-cache policy iceweasel


--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: reboot problems

2008-06-16 Thread Raj Kiran Grandhi

Gelonia L Dent wrote:

Dear Debian Users,

I am working on a diskless cluster which runs Debian 2.6.17. I rebooted
the machine and lost the ssh, dhcp, most shell commands and the NFS
filesystem . The system boots using GRUB. I've tried to restart all of
these daemons but with no success.


Did you reboot the master or one of the slave nodes? If you rebooted the 
master, then you will have to reboot all the slave nodes also, if the 
cluster is diskless.


Also, the kernel version you are using is odd. The version in etch is 
2.6.18. Are you running etch? Or something older?




Any ideas on how to fix this mess?

Kind regards,

GL






--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: silly little text problem

2008-06-15 Thread Raj Kiran Grandhi

Douglas A. Tutty wrote:

On Sun, Jun 15, 2008 at 03:50:27PM -0500, Jordi Guti?rrez Hermoso wrote:

On 15/06/2008, Douglas A. Tutty [EMAIL PROTECTED] wrote:

 My wife has a poem she wants typed up in a particular format:

 First line unindented
next four lines indented
 next line unindented

You may want to use the verse environment for this. It's in the
texlive-humanities package.

Documentation:

 http://www.ctan.org/tex-archive/macros/latex/contrib/verse/verse.pdf

Are you doing typesetting or is your wife doing it? Does she enjoy
typing in LaTeX?


No, its me that does the typing.  She did the layout by hand and wants
it to stay the same.

I'm in Etch and don't see a texlive-humanities package, but I do see the
verse environment in texlive-latex-extra.


texlive-humanities is in lenny and sid. Probably some shuffling around 
of latex packages. You should be able to get it from ctan if it is not 
there in the package.



I just read the doc and it at
least gives a clue on how to do it manually with inserting space for the
indent: a little tedious and I'll see if it can be improved.


The verse.pdf file (link below) says that it is possible to achieve 
indentation of even numbered lines using the `altverse' environment 
within the verse environment.




I wonder why I can't find that verse.pdf file with texdoctk?  It doesn't
even show if I click on search and enter verse.


I think the pdf may be there in the texlive-latex-extra-doc package. 
Here is a ctan link to the file.


http://www.ctan.org/tex-archive/macros/latex/contrib/verse/verse.pdf




Thanks for the pointer.

Doug.





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: [OT] signing a pdf document

2008-06-10 Thread Raj Kiran Grandhi

Hugo Vanwoerkom wrote:

Hi,

People I do business with want me to physically sign a contract that 
they send me as a small pdf (22K).


I use Adobe Reader to print it, I sign the printed copy and scan the 
result and send the jpeg image back: 3 pages totalling 891K!


That is ridiculous. Is that the way everybody signs a pdf document?



Considering that those people are willing to accept your signature in a 
form that can be trivial to forge, chances are that you won't be able to 
convince them to use a more secure method. Why bother?



Hugo





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Getting rid of noise in /var/log/samba

2008-06-10 Thread Raj Kiran Grandhi
How do I disable all these silly messages that fill up /var/log/samba 
and syslog? Using 'grep -v' every time I want to inspect the logs is 
getting tiresome.


The server is running etch.

Typical messages:

[2008/03/31 22:14:59, 0] auth/auth_util.c:create_builtin_administrators(792)
  create_builtin_administrators: Failed to create Administrators
[2008/03/31 22:14:59, 0] auth/auth_util.c:create_builtin_users(758)
  create_builtin_users: Failed to create Users

Thanks,
Raj Kiran

--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: list of all background jobs

2008-05-28 Thread Raj Kiran Grandhi

Kamaraju S Kusumanchi wrote:

Consider the following scenario. I am on machine A.

[EMAIL PROTECTED] $ ssh [EMAIL PROTECTED]
[EMAIL PROTECTED] $ nohup command1 
[EMAIL PROTECTED] $ nohup command2 

Now if I use the jobs command, I can display the background jobs on this
shell.

[EMAIL PROTECTED] $ jobs

[1] Running  nohup command1 
[2] Running  nohup command2 

Now if I exit the shell on machineB and come back to machineA.

[EMAIL PROTECTED] $ exit
[EMAIL PROTECTED] $

After some time (say after a day or so) I log back in to machineB.

[EMAIL PROTECTED] $ ssh [EMAIL PROTECTED]
[EMAIL PROTECTED] $ jobs

then there is no output even though the jobs are being run in the
background.


That is to be expected, since `jobs' is  a shell builtin and lists 
backgrounded jobs running in that shell alone.



Is there any way to get information about all the jobs being
run in the background that belong to a particular user? In other words is
there any way to display information about [1],[2] jobs in the new shell?

Currently I am using a round about way to achieve this

[EMAIL PROTECTED] $ ps aex | grep nohup | gvim -

Is there any better, more elegant solution for this problem?


I use `pgrep nohup' to find processes containing 'nohup' in the command, 
or `ps x -u username' to find processes belonging to a certain user.




thanks
raju



--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: USB drive names

2008-05-28 Thread Raj Kiran Grandhi

Jan Willem Stumpel wrote:

I bought some USB external hard disks recently. They automount
beautifully on a Debian system. One is a LACIE disk, another one
is a Western Digital Elements disk.

They mount as /media/LaCie and /media/Elements respectively.
Question: is it possible to change those names? E.g., if I would
like to change the names to (say) Lassie1 and Lassie2, how could I
go about it? Also, where is the name of the mount directory (now
/media) stored?


You can just change the volume label of those drives to whatever you want.



Regards, Jan





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: DRM PDFs

2008-05-28 Thread Raj Kiran Grandhi

Adam Hardy wrote:
Just thought I'd ask, even though my web searches don't reveal anything 
but Adobe promises and work-arounds involving printing to postscript on 
a windows box first - but is there software for linux to read DRM pdfs?


AFAIK the DRM in pdf files that prevent you from printing or copying 
text rely on the application to honor the restrictions. So you should 
just be able to download the source of whatever application you are 
using (xpdf, kpdf, evince, pdftk) and comment out the code that checks 
for these restrictions. Assuming ofcourse that you are able to view the 
file using one of these applications.




Thanks
Adam





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: [OFF] Sudo

2008-05-28 Thread Raj Kiran Grandhi

Márcio Luciano Donada wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Hi People,

I wonder if it is possible using the sudo leave with only the user can
edit the files that are in /etc/squid.


A better option would be to chmod g+w the files in /etc/squid and then 
add the relevant users to that group.


If you really want to do it using sudo, I think you should specify the 
complete command like '/usr/bin/vim /etc/squid/file' in the sudoers 
file. See the Cmnd_Alias section of sudoers(5) for more details.




Thank you
- --

Márcio Luciano Donada mdonada at auroraalimentos dot com dot br
Aurora Alimentos - Cooperativa Central Oeste Catarinense
Departamento de T.I.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFIPgDXbjyCr4Ixg0wRAuteAJ93+fLmJf9fuuBKTzqSib9Sot8wVgCgjDJM

L/Q9uuBGhokb3KtikPVPHbE=
=fAnL
-END PGP SIGNATURE-





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: [debian-user] How to copy a laptop HD?

2008-05-20 Thread Raj Kiran Grandhi

Javier Vasquez wrote:


You mean grub-install it?  I couldn't...  For some reason grub doesn't
even find the stage1 file after running something similar to
grub-install --root-directory /mnt/sda-boot /dev/sda.  So I tried
chroot to /mnt/sda-root (I also made the bind between /mnt/sda-boot
and /mnt-sda-root/boot) and run grub-install --root-directory /boot
/dev/sda and it worked better but now the stage2 file is not found by
grub...  So yet under chroot, I did a search for /boot/grub/stage2,
and it was found under (hd0,4) or (hd0,5), so then I did root
(hd0,4), and then setup (hd0), and it said it finished successfully,
but that was all a lie, since I rebooted and I had the same thing as
when copying the MBR, a whole lot of grub words filling up the
screen.  So I have tried everything that had occurred to me and that
have read on the web, and at least just by grub-install, or plane
grub, I don't seem to find a solution.


Ensure that you have copies all the files from your existing /boot 
partition to the new /boot partition. Then unmount your existing /boot 
and mount the new partition at /boot. Then run grub-install /dev/sda. 
You may want to fix the menu.lst file so that the groot points to your 
new disk.


I always prefer this option instead of dd.


--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: apt cdrom repository

2008-05-20 Thread Raj Kiran Grandhi

John Knops wrote:

Hi,
I want to download various debs to my home directory to be burnt latter
to a cd for use on an older computer which will not be connected to the
internet. At the moment I'm downloading all debs, including dependencies
manually one at a time. To speed up the process I've tried to use
¨apt-get -d -o dir::cache= ~/Tmp/deb install ¨ without any luck.
I'm obviously using the wrong options but can't think of any others to 
try.Can someone tell me what I should be doing.


I'm running ubuntu on my box, is this the root of the problem.
Thanks,
 JohnK.




Maybe apt-zip what you are looking for? I have not used it, but it 
claims to ease the process of keeping a non-networked machine up-to-date.


--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Cloning hda to new internal disk (was Re: [debian-user] How to copy a laptop HD?)

2008-05-20 Thread Raj Kiran Grandhi

Ron Johnson wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/20/08 15:55, Lee Glidewell wrote:
Have a look at partimage. Specifically you might be interested in the 
CloneZilla live distro. It's built specifically for the purpose of porting 
installations between hard disks. 


In a similar vein to OP's question, I am going to buy a new boot
disk, because my hda is old enough -- and drives are cheap enough --
that I'd rather replace it before it fails.

So I checked out CloneZilla, but it seems to be aimed at
institutional use.  Even partimage seems to need an intermediary step.

Is there any way to directly clone /dev/hda to /dev/sdX, so that I
can then boot off of /dev/sdX?


If you can boot some live system, you can just partition your new disk, 
mount them all, copy all your files over, fix /etc/fstab and 
/boot/grub/menu.lst, mount the new boot partition at /boot and run 
grub-install /dev/sda. With this approach, you are free to change your 
partitioning scheme.


Alternatively, if your new partitions have the same layout but larger, 
then you can use dd to clone each partition individualy, do a resize2fs 
on each of them, then fix fstab and menu.lst before running a grub-install.






- --
Ron Johnson, Jr.
Jefferson LA  USA

ESPN makes baseball players better.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIM4bhS9HxQb37XmcRAnEgAJ9Q0InLDNLoQ3itUUnosl7Xf9V3wQCeJ2d1
pmVBe2+JzN+XwwM+UyZYPXY=
=9QD/
-END PGP SIGNATURE-





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: screen resolution question

2008-05-20 Thread Raj Kiran Grandhi

Glenn Becker wrote:


Hi all -

I am running a testing box. Recently, it seems, my X settings changed 
(w/o my intentionally changing them, at least as far as I can recall) so 
that the screen resolution on Gnome, for example, it was defaulting to 
1400x1050. It is nice to see that my older laptop can handle this, but 
... I also have older eyes and prefer a setting of 1024x768.


AFAIK dpkg saves a backup of the xorg.conf file suffixed with the 
date/time of modification. Just try replacing the exisiting xorg.conf 
with the backup.




So I went looking into the xorg.conf file, and found that ... no default 
screen res appeared to be set! In fact the file contains almost _no_ 
details and consists mainly of a lot of sections that look like this:


Section Device
Identifier  Configured Video Device

... making it look like a lot of the X configuration is handled 
automatically.


Well, great ... cough ... I would rather it _wasn't_ handled 
automatically, because I want to choose my own settings. I've handrolled 
my own .conf files for X for ages ... is there any way for me to do this 
and not have my settings overwritten by an automated thingum that has no 
idea what my specific needs are?


If this is an attempt at an improvement I cannot say I care much for it. 
Certainly I can change the settings via the Gnome GUI, but this doesn't 
help me if (as often happens on my old machine) I'd rather just run 
Fluxbox.


Sorry if this is an ignorant question and has been asked before. If I 
need to RTFM, just let me know where to find the relevant M and I will 
RTF thing.


Thx,

Glenn

+-+
Glenn Becker - [EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org
+-+





--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: vmplayer installer cannot find libs (amd64)

2008-05-17 Thread Raj Kiran Grandhi

michael wrote:

On Sat, 2008-05-17 at 06:45 +0530, Raj Kiran Grandhi wrote:

michael wrote:
eg: 
The installation of VMware Player 2.0.3 build-80004 for Linux completed

successfully. You can decide to remove this software from your system at
any
time by invoking the following command: /usr/bin/vmware-uninstall.pl.

Before running VMware Player for the first time, you need to configure
it by
invoking the following command: /usr/bin/vmware-config.pl. Do you want
this
program to invoke the command for you now? [yes]

The following libraries could not be found on your system:
libX11.so.6
libXtst.so.6
libXext.so.6
libXrender.so.1
libz.so.1

You will need to install these manually before you can run VMware
Player.


but yet:
[EMAIL PROTECTED]:~$ locate libX11.so.6
/usr/lib/libX11.so.6
/usr/lib/libX11.so.6.2.0


So, I'm confused!
vmplayer is probably expecting the 32-bit libraries. Install ia32-libs 
and ia32-libs-gtk and retry the installation of vmplayer.




Fantastic! Installing ia32-libs did the trick!
Now if only I could work out how to make some folders on my amd64 Debian
system appear on the WinXP virtual machine (without dragging them)!

Thanks! Michael



Samba? Or you can use the shared folders option of vmware.

--

If you can't explain it simply, you don't understand it well enough.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: pxelinux.0 doesn't recognize my Mirrored debian??

2008-05-16 Thread Raj Kiran Grandhi

Abdelkader BELAHCENE wrote:

Hi,

I mirrored completly lenny (i386) on my server about 19 giga, last month.

I want to install on PC by using my server via the pxelinux.0 program. 
It runs correctly when the server for installation is an official one 
for example ftp.fr.debian.org,
when I use mine, I doesn't found appropriate file. I checked the command 
use (on second terminal) it used

 sh -c  /usr/lib/debian-installer/retivier/net-retriv.
and other commands like
  anna retriver default
 choose-mirror

Is there a special directory to download in relation with the net 
install via pxe??


How did you create your local mirror. Make sure that you have also 
downloaded the main/debian-installer section since that is where the 
installer loads its components from. Also make sure that you have the 
correct Release.gpg files.


--
Raj Kiran Grandhi
--
Politics is for the moment. An equation is for eternity.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: apt-get dist-upgrade failure

2008-05-16 Thread Raj Kiran Grandhi

Manu Hack wrote:



On Fri, May 16, 2008 at 5:06 PM, Preston Boyington 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:


Manu Hack wrote:

Hi,

I decided to upgrade my etch box to lenny/sid but an apt-get
dist-upgrade got stuck.  Please let me know what could be done here.

Thanks a lot.

Manu



i wonder if you could do this:

dpkg -i --force-overwrite
/var/cache/apt/archives/libbonobo2-common_2.22.0-1_all.deb

i've had to use --force-overwrite from time to time...


Forgot to reply all.

Still getting the same error of

dpkg: error processing 
/var/cache/apt/archives/libbonobo2-common_2.22.0-1_all.deb (--unpack):


 unable to make backup link of `./usr/share/locale/tr/LC_MESSAGES/libbonobo-2.0.mo 
http://libbonobo-2.0.mo/' before installing new version: Operation not 
permitted
dpkg-deb: subprocess paste killed by signal (Broken pipe)

Got the same error with apt-get -f install

And the file

/usr/share/locale/tr/LC_MESSAGES/libbonobo-2.0.mo

is so weird that even sudo rm  
/usr/share/locale/tr/LC_MESSAGES/libbonobo-2.0.mo 
said I don't have the permission to do so.  
(Operation not permitted)


Please elaborate on what you mean by 'weird'. Is it a symbolic link or a 
regular file?


Try becoming root with 'sudo -i' and remove that file. root should be 
able to delete any regular file irrespective of whether it is being used 
or not. Nobody tells root he can't do something (outside of some special 
directories). You should suspect something seriously wrong if your 
system behaves otherwise.


For your present problem with locales, install localepurge and get rid 
of all the locales that you don't care about.



--
Raj Kiran Grandhi
--
Politics is for the moment. An equation is for eternity.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Debian secure by default?

2008-05-16 Thread Raj Kiran Grandhi

Rico Secada wrote:

Hi.

Why is Debian not setup to be secure be default?

Not everyone is a security expert so imho the system should be fully
secured out-of-the-box.


Please elaborate on what you consider to be the insecure parts of a 
default installation. Describe a process by which an etch system can be 
compromised remotely. Obviously, the ability to become root by tweaking 
the boot parameters from the grub screen does not count as a vulnerability.



--
Raj Kiran Grandhi
--
Politics is for the moment. An equation is for eternity.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: vmplayer installer cannot find libs (amd64)

2008-05-16 Thread Raj Kiran Grandhi

michael wrote:
eg: 
The installation of VMware Player 2.0.3 build-80004 for Linux completed

successfully. You can decide to remove this software from your system at
any
time by invoking the following command: /usr/bin/vmware-uninstall.pl.

Before running VMware Player for the first time, you need to configure
it by
invoking the following command: /usr/bin/vmware-config.pl. Do you want
this
program to invoke the command for you now? [yes]

The following libraries could not be found on your system:
libX11.so.6
libXtst.so.6
libXext.so.6
libXrender.so.1
libz.so.1

You will need to install these manually before you can run VMware
Player.


but yet:
[EMAIL PROTECTED]:~$ locate libX11.so.6
/usr/lib/libX11.so.6
/usr/lib/libX11.so.6.2.0


So, I'm confused!


vmplayer is probably expecting the 32-bit libraries. Install ia32-libs 
and ia32-libs-gtk and retry the installation of vmplayer.



--
Raj Kiran Grandhi
--
Politics is for the moment. An equation is for eternity.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Firefox irresponsible

2008-05-14 Thread Raj Kiran Grandhi

Javier Barroso wrote:


  Somebody with the same problem ? Any workarround ?
I'm on dialup.  Its normal for me to wait for iceweasel to grab a page
and display it.

Well, firefox load pages fast, but sometimes It takes various seconds 
while I can't click any link / bookmark or google shortcut box


It is possible that firefox is busy running some javascript on one of 
the open pages. I remember reading somewhere that javascript can only 
run as a single thread for all the tabs and windows, so whenever a 
script is executing the UI becomes unresponsive. I have had this problem 
 some time back before I installed the noscript extension. You might 
want to consider it.


Alternatively, you may consider adblockplus which is takes a 
blacklisting approach rather than the explicit whitelisting approach of 
noscript.



--
Raj Kiran Grandhi
--
Politics is for the moment. An equation is for eternity.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Recommendations on forced disk check

2008-05-14 Thread Raj Kiran Grandhi

Douglas A. Tutty wrote:

On Wed, May 14, 2008 at 05:27:47PM +0200, Rico Secada wrote:

What are your recommendations on using tune2fs to turn off the forced
HD check on a server that needs to be available as much as possible?

If the forced check is shut off, should one run some manual check? Also
I don't have physical access to the machine only SSH.


Since the forced checks only happen at boot (or perhaps remount), if the
server is supposed to be available 24/7, it shouldn't be rebooted except
at kernel update time anyway.


With ksplice (http://web.mit.edu/ksplice/) even that should not be 
necessary!




I would assume that the people who wrote ext2/3 knew what they were
doing when they implemented forced checks.

Doug.





--
Raj Kiran Grandhi
--
Politics is for the moment. An equation is for eternity.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Blue movies - literally!

2008-05-14 Thread Raj Kiran Grandhi

andy wrote:

Raj Kiran Grandhi wrote:

andy wrote:
I am attempting to play a video file, but the image is just varying 
shades of blue. I had this once before and logged out and back in, 
which cleared it temporarily. However, now it has come back again. 
This is despite the mediaplayer I am using - kaffeine or mplayer or 
vlc. What do I look for to even debug it?


Thanks

A



It could be a hardware issue. Try changing the video output driver to 
a software based one (`-vo x11 -zoom' in mplayer should do) and see if 
it helps.


Alternatively, you can try playing from a newly created user account 
to check if it has anything to do with your configuration setup.



Hi Raj

Yes, this *does* help. Now, how would I make this the default for apps 
like vlc xine kaffeine and all of the rest? I guess that it is a 
question of setting this up as a system default. Any ideas?




You can put it in /etc/mplayer/mplayer.conf or ~/.mplayer/config. The 
lines to add are:


vo=x11
zoom=yes

I am not so sure of vlc and others. Be aware, however, that the software 
based rendering and scaling are significantly slower and highly cpu 
intensive. It may be worth the effort to troubleshoot and video driver 
issues you may be facing regarding hardware rendering.



Cheers

Andy




--
Raj Kiran Grandhi
--
Politics is for the moment. An equation is for eternity.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: window manager

2008-05-13 Thread Raj Kiran Grandhi

Alex Samad wrote:

Hi

When I login into X from gdm I get XFCE, but when i login via startx at
the commandline prompt I get gnome, how do I change startx to do the
same as gdm ? or atleast to set it to xfce

alex



Create a shell script .xsession in your home directory. Put whatever you 
like in it, gnome-session or xfce-session. It will be executed whenever 
you do 'startx'. When logging in from gdm select 'User Session' or 
'XClient script' (whichever is present) and choose to make it the 
default option if you like.


--
Raj Kiran Grandhi
--
Politics is for the moment. An equation is for eternity.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Gnome display fonts have disappered

2008-05-13 Thread Raj Kiran Grandhi

A. Lester Buck III wrote:

Hi,

I had a bit of corruption appear on the system disk for my Debian
testing system.  The file systems all check fine now, but the Gnome
display shows no text fonts.  Everything else is fine, I can login (it
doesn't show my username as I type), and as I mouse over the menu bars,
various tooltips light up as normal.  I can lauch applications, but
everything is lacking the text labels and menus.  Would anyone have an
idea how I might reinstall the Gnome system fonts or otherwise correct
or debug this issue?

Thanks a lot,

Lester




Try dpkg-query -l|grep fonts and then reinstall all the packages that 
have 'font' in their name.


--
Raj Kiran Grandhi
--
Politics is for the moment. An equation is for eternity.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: replacing pxe.linux.0

2008-05-13 Thread Raj Kiran Grandhi

abelahcene wrote:

Hi,
I install  successfully debian via pxe (dhcp and al.) , from a remote 
server, but I want instead of using pxe.linux.0 , I want to use a full  
CD1, to do the installation without using extra server. Is it possible ?

thanks a lot


Boot from CD1 and install? Or am I missing something?

--
Raj Kiran Grandhi
--
Politics is for the moment. An equation is for eternity.
   -- Albert Einstein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




  1   2   3   4   >