Package name

2006-06-08 Thread Lei Kong
Hi all, My system is debian testing, I just found I lost man pages for basic system calls, like open(), read() write() ... Can someone tell me what is the package I need to install? Thanks. Lei Kong -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe"

Re: Re: bash history search key binding

2006-02-25 Thread Lei Kong
Hi all, I am using debian testing, and the bash version is 3.1.5. I have the following lines in my .bashrc to assign arrow keys to history search: bind '"\M-[A":history-search-backward' bind '"\M-[B":history-search-forward' what does $ bind -P | grep history say? It

bash history search key binding

2006-02-25 Thread Lei Kong
Hi all, I am using debian testing, and the bash version is 3.1.5. I have the following lines in my .bashrc to assign arrow keys to history search: bind '"\M-[A":history-search-backward' bind '"\M-[B":history-search-forward' It worked well before, one day, after I did a routine upgrade, it stop

bash history search key binding

2006-02-24 Thread Lei Kong
Hi all, I am using debian testing, and the bash version is 3.1.5. I have the following lines in my .bashrc to assign arrow keys to history search: bind '"\M-[A":history-search-backward' bind '"\M-[B":history-search-forward' It worked well before, one day, after I did a routine upgrade, it st

Re: ACPI

2006-02-03 Thread Lei Kong
Hello, I have Debian testing with kernel 2.6.12-1-386 on an IBM Thinkpad. For some reason, ACPI is not enabled in the kernel by default. This is unfortunate, because I cannot monitor the battery without ACPI. How exactly do I go about configuring the kernel to enable ACPI? I am sorry for the n

Re: Re: module load sequence

2006-02-02 Thread Lei Kong
Lei Kong wrote: How do I make sure ide_generic module is loaded before libata and ata_piix? I need to do this on my thinkpad z60t, because the dvd rom won't be recognized otherwise. echo ide_generic >> /etc/modules -- Chris Howie Thanks, I tried this before, it didn't wo

module load sequence

2006-02-01 Thread Lei Kong
How do I make sure ide_generic module is loaded before libata and ata_piix? I need to do this on my thinkpad z60t, because the dvd rom won't be recognized otherwise. Thanks. Lei -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Re: 100dpi vs. 75dpi fonts in X

2006-01-26 Thread Lei Kong
Thanks for the hint, now things looks all right now. My laptop screen is 14in 5:3 wide screen, guess that's why things got screwed up. Now I set the display size explicitly in xorg.conf, I am running debian testing. No way to let the machine detect the correct DPI automatically? guess that requir

Re: Re: sudo and X

2006-01-26 Thread Lei Kong
I haven't seen any definitive answers to this one yet and I'm not sure if the behavior is different between sarge and etch (I have etch). After the update of sudo I didn't have any problems, but as soon as I put the "Defaults env_reset" into the /etc/sudoers as suggested by the DSA 946-1, the s

Font size discrepancy

2006-01-25 Thread Lei Kong
The actuall font size is smaller when starting kde from command line, than the kde font size when started from kdm. I am running debian testing on my thinkpad z60t, and the font I am using is Bitstream Vera Sans. I noticed there is no difference in the console font size, which is bitmap font, i

Re: Re: su/sudo cannot X

2006-01-19 Thread Lei Kong
John Hasler wrote X and X applications are exceedingly complex, unaudited, and likely to be chock full of buffer overruns, format string vulnerabilities, and other I guess a checking on CERT's vulnerability list will reveal if this is true, X vs non-X. nasties. Consider the segfaults and m

Re: Re: su/sudo cannot X

2006-01-19 Thread Lei Kong
As about the security concern, why is it more secure not to let root log into X than otherwise? why is not letting root start X client after su/sudo by default a good policy? Because neither X nor any X applications are secure. True, root X session over network is insecure, but how about us

Re: Re: su/sudo cannot X

2006-01-18 Thread Lei Kong
$xhost + $ sudo -s #kedit kedit: cannot connect to X server Leave off the xhost line when using sudo. It inheirets the parent shell's environment. I did try it without xhost+ first, didn't work. The inherit thing is default, or I need to configure it? On my desktop, sudo -s does allow

Re: Re: su/sudo cannot X

2006-01-18 Thread Lei Kong
thanks, sux works beautifully. but still I don't understand why sudo -s has problems, and on my desktop, on problem at all, and I don't remember doing special thing on it. As about the security concern, why is it more secure not to let root log into X than otherwise? why is not letting root start

Re: Re: su/sudo cannot X

2006-01-18 Thread Lei Kong
I tried it, and it works with su, but not su - or sudo -s then I removed these lines, and guess what, it still allows me to open a window with su, and su - and sudo -s still fail, mysterious, huh? In summary, sudo -s never allows me to start an X client. On my another machine, I never had any pr

Re: su/sudo cannot X

2006-01-17 Thread Lei Kong
On Tuesday 17 January 2006 19:17, you wrote: > On Tue, 2006-01-17 at 17:29 -0500, Lei Kong wrote: > > Hi, > > > > I have a strange problem with my thinkpad z60t, running debian testing. > > I ran these commands in konsole or xterm under kde: > > > > $xho

su/sudo cannot X

2006-01-17 Thread Lei Kong
without xhost +. xserver-xorg 6.8.2.dfsg.1-11 sudo 1.6.8p12-1 kdebase 3.4.3-3 Can someone enlighten me? Thanks. Lei Kong -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Cont

Re: Re: "superblock last write time is in the future" on boot

2006-01-04 Thread Lei Kong
he link in your previous post, and solved the problem by making hardware clock store UTC time (UTF=yes in /etc/default/rcS). Now, my question is, any drawback in doing so? besides possbile windows problem on a dual boot machine and confusion when looking at bios. thanks. Lei Kong -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Re: "superblock last write time is in the future" on boot

2006-01-04 Thread Lei Kong
> On Tue, 03 Jan 2006, Brandon Simmons wrote: > > boot. According to the Debian changelog for the e2fsprogs package, the > > newest > > version checks for this, so I don't know whether e2fsprogs is mistaken or > > whether there really is a problem. How would I go about checking this? > > Short a

firefox crashes on flash

2005-11-15 Thread Lei Kong
My system is debian testing, with kde 3.4, xorg 6.8.2. After upgradeing from kde 3.3.x to kde 3.4.2, firefox crashes everytime I visit a site with flash stuff. Anyone has a clue on how to get around without removing flash plugin? thanks. Lei Kong -- To UNSUBSCRIBE, email to [EMAIL PROTECTED

one column of pixels missing

2005-06-03 Thread Lei Kong
Hi all, I have sarge running on a dell inspiron 8200. In kde, I noticed something really weird: About 1/3 screen width from the right, there is one (maybe more) column of pixels missing. Whenever I move a window there, I can see contents missing in that column, no matter it is text or graphics.

Re: Re: gnome and kde conflicts?

2005-05-28 Thread Lei Kong
> Incoming from Lei Kong: > > > > I like the consistent look across kde and gtk applications offered by > > this feature, but with this enabled, gnome doesn't start any more. > > The first thing you should be offering people who might be able to > help you i

Re: interesting boot problem

2005-05-27 Thread Lei Kong
> Ok. Here is the story. I have Debian Sarge CDs. I can boot the first > cd on my laptop and install Debian easily. But when i want to boot > that cd with my old pc which is P2 i cant boot it. But, i can boot > other distro's cds with that machine, Slackware and Knoppix is an > exapmle. So i cant

gnome and kde conflicts?

2005-05-27 Thread Lei Kong
I am using sarge, both kde and gnome are installed. I chose to use kde style and font for gtk application in kde (kcontrol -> appearance & themes -> gtk styles and fonts), then I found kde wrote the following into .gtkrc-2.0: include "/usr/share/themes/Qt/gtk-2.0/gtkrc" style "user-font" { fon