[gentoo-user] Not able to log into KDE via KDM after improper shutdown!
Hi, I am no longer able to log into KDE 3.4 via KDM after an improper shutdown (laptop overheated, and shutdown!). I am able to log in via agetty (Ctrl-Alt-F1), though. Incidentally, while inside KDE (as another user ofcourse) I am unable to SU into superuser as well. My password is rejected. KDM displays my username, but once I enter the password the screen goes blank and I'm presented with KDM once again. I am able to log in as another user. Is there some /home/user/.kde file I need to delete? Any ideas? Thanks, Hareesh -- gentoo-user@gentoo.org mailing list
Re: [SOLVED] [gentoo-user] Not able to log into KDE via KDM after improper shutdown!
Hareesh Nagarajan wrote: Hi, I am no longer able to log into KDE 3.4 via KDM after an improper shutdown (laptop overheated, and shutdown!). I am able to log in via agetty (Ctrl-Alt-F1), though. Thanks for the reply Dale. It turns out, that I had added an invalid line to my ~/home/user/.bashrc savehist=100 and it was for this reason KDM was not letting me login. Wierd huh? Shouldn't it not fall back to /etc/bashrc? Thanks, Hareesh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what's up with kernelnewbies?
Hi Maxim, On 12/5/05, maxim wexler [EMAIL PROTECTED] wrote: I posted about my kernel panic problem to kernelnewbies(they seem a competent crew), w/ subject line: kernel panic fix sought. My post was ignored. Three days later somebody posted to the list under the subject line: KERNEL PANIC FIX SOUGHT. He(Kumar is a male name isn't it?)started getting replies right away. I guess this was just a one off thing. Don't read too much into it. The folks at KN are pretty helpful. Cheers, ./h PS: For a similar post, much like yours, this was how I presented my case: https://www.redhat.com/archives/fedora-list/2005-October/msg03146.html -- gentoo-user@gentoo.org mailing list
Re: [SOLVED] [gentoo-user] Not able to log into KDE via KDM after improper shutdown!
On 12/5/05, Dale [EMAIL PROTECTED] wrote: Hareesh Nagarajan wrote: It turns out, that I had added an invalid line to my ~/home/user/.bashrc savehist=100 and it was for this reason KDM was not letting me login. Wierd huh? Shouldn't it not fall back to /etc/bashrc? [ ... ] You would think it would pop up and say, hey idiot, you screwed up one of my files. Put it back or I will not let you in. Something to that effect anyway. Mine may call me a lot worse than a idiot though. :) Dude, why should my .bashrc affect KDM spawning a KDE session for me? If things don't appear as they should in a non-critical path, the app must fall back to system defaults. I will investigate this a little more and look at the KDM sources to figure out if this is a bug with KDM or a bug in my KDM setup. BTW, the buggy line in my .bashrc was this: set savehist=100 If I set this line, then KDM won't log me in. It I comment this line out KDM will let me log in. ./h -- gentoo-user@gentoo.org mailing list
Re: [SOLVED] [gentoo-user] Not able to log into KDE via KDM after improper shutdown!
On 12/5/05, Dale [EMAIL PROTECTED] wrote: Hareesh Nagarajan wrote: You would think it would pop up and say, hey idiot, you screwed up one of my files. Put it back or I will not let you in. Something to that effect anyway. Mine may call me a lot worse than a idiot though. :) Dude, why should my .bashrc affect KDM spawning a KDE session for me? If things don't appear as they should in a non-critical path, the app must fall back to system defaults. I will investigate this a little more and look at the KDM sources to figure out if this is a bug with KDM or a bug in my KDM setup. BTW, the buggy line in my .bashrc was this: set savehist=100 If I set this line, then KDM won't log me in. It I comment this line out KDM will let me log in. ./h It does seem it would let you in and just ignore that setting. Most everything has a default somewhere. I still think it should at the very least pop up a error message and tell you something what is wrong. It's also not like that is something extremely critical. Yeah, I will check this out, over the next few days. BTW, I was being humorous about the comment above. I have a serious sense of humor. I think most everything has to be funny, well except someone being sick or dying anyway. You should see some of the silly things I do. Since I have a genetic disorder, the humor helps. I need all I can get to make it through most days. Maybe I need to change my sig. Yeah, I got the humor. I guess if I was trolling the list more often and had read your responses, I'd have instantly got your drift :) I hope today has been a good day for you! Cheers mate, Hareesh -- gentoo-user@gentoo.org mailing list
[gentoo-user] Bug in net.eth0?
Hi, Some verison info: Version: # $Header: /home/cvsroot/gentoo-src/rc-scripts/init.d/net.eth0,v 1.41 2004/05/10 14:16:35 agriffis Exp $ Some background info: I have my ethernet driver compiled into my kernel. hareesh: hareesh/ $ lspci | grep Ethernet :00:12.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller The problem: After I shutdown my eth0 interface I see an UP in the ifconfig output. hareesh: hareesh/ $ s ifconfig eth0 down hareesh: hareesh/ $ ifconfig eth0 Link encap:Ethernet HWaddr 00:0F:20:C7:25:5C UP BROADCAST NOTRAILERS MULTICAST MTU:1500 Metric:1 RX packets:28225 errors:0 dropped:0 overruns:0 frame:0 TX packets:24421 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:22196299 (21.1 Mb) TX bytes:4732287 (4.5 Mb) Interrupt:11 The /etc/init.d/net.eth0 script does the following check: script status_IFACE=$(ifconfig ${1} 2${devnull} | gawk '$1 == UP {print up}') [...] if [[ ${status_IFACE} == up ]]; then einfo Keeping kernel configuration for ${IFACE} else ebegin Bringing ${IFACE} up via DHCP /sbin/dhcpcd ${dhcpcd_IFACE} ${IFACE} /script So when I do the following, I get: # /etc/init.d/net.eth0 start * Keeping kernel configuration for eth0 So as we can see, the script hasn't given my interface an IP. Obviously, when I do this, I get: hareesh: hareesh/ $ wget www.google.com --14:09:55-- http://www.google.com/ = `index.html' Resolving www.google.com... failed: Temporary failure in name resolution. So then, I do: # /etc/init.d/net.eth0 stop * Bringing eth0 down... So I guess, if you have the ethernet driver compiled in, ifconfig interface still seems to show UP, no idea why. So I think, the script needs to be modified to test if, ifconfig spits a line with 'inet', to truly test if the interface is up. More importantly, UP just says that the device is functioning correctly and does not say that interface actually has an IP address assigned to it. So we need something more to rely on, to actually test if the interface is up and running with an IP address assigned to it. My modifications are as follows. This script, is just a hack, so all you bash gurus please forgive me. Maybe there is a better way of doing all this with the help of the /proc interface: patch --- /etc/init.d/net.eth0.1 2005-11-17 12:55:47.0 -0800 +++ /etc/init.d/net.eth02005-11-17 14:09:33.0 -0800 @@ -50,8 +50,13 @@ # ifconfig_fallback_IFACE (fallback ifconfig if dhcp fails) setup_vars() { local i iface=${1//\./_} - - status_IFACE=$(ifconfig ${1} 2${devnull} | gawk '$1 == UP {print up}') + #status_IFACE=$(ifconfig ${1} 2${devnull} | gawk '$1 == UP {print up}') + temp_IFACE=$(ifconfig ${1} | gawk '{print $1}' | head -n 2 | tr '\n' '_') + if [[ ${temp_IFACE} == ${1}_inet_ ]]; then + status_IFACE=up + else + status_IFACE= + fi eval vlans_IFACE=\\$\{iface_${iface}_vlans\}\ eval ifconfig_IFACE=( \[EMAIL PROTECTED] ) eval dhcpcd_IFACE=\\$\{dhcpcd_$iface\}\ /patch Now, when I execute the script, I get the following: # s /etc/init.d/net.eth0 start * Bringing eth0 up via DHCP...[ ok ] * eth0 received address 140.221.222.55 So is this a bug in net.eth0 or am I missing something obvious? Thanks, ./hareesh -- gentoo-user@gentoo.org mailing list
[gentoo-user] GCC error
Last night, I emerged some ATI drivers, emerged a new kernel (didn't compile it though) and emerged eselect. Today when I compile a C++ program I get the following error: /usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory Any ideas? Thanks, Hareesh -- gentoo-user@gentoo.org mailing list
[gentoo-user] OT: Yet another GNUPLOT query
Hi, I have the following GNUPLOT input file: http://cs.uic.edu/~hnagaraj/histo-plot.txt And the following is my data file: http://cs.uic.edu/~hnagaraj/histo-val.txt And this is my GNUPLOT generated PNG file: http://cs.uic.edu/~hnagaraj/histo.png As my GNUPLOT file mentions, I wish to have the XTICS below rotated say to the right or left (I have put in -135 for kicks) like it is shown here: http://gnuplot.sourceforge.net/demo_4.1/histograms.html I have GNUPLOT 4.1 as well as GNUPLOT 4.0, what changes must I make to have the labels tilted south east? For eg, for the first bar, I'd like the label to look like this. 0 \ \ 128 Thanks! Hareesh -- gentoo-user@gentoo.org mailing list
[gentoo-user] OT: Gentoo user using FC2 on his test machine hits an unfathomable VFS Panic!
Hi, I installed FC2 on my test machine, to test my kernels and I keep hitting the following VFS panic error: http://www.cs.uic.edu/~hnagaraj/vfs-panic.png My grub.conf looks like this: snip default=1 timeout=10 title FC2 root (hd0,0) kernel /vmlinuz-2.6.5-1.358 ro root=/dev/sda2 initrd /initrd-2.6.5-1.358.img title test root (hd0,0) kernel /bzImage ro root=/dev/sda2 /snip The first kernel (default=0) works fine. The second kernel (default=1) is a vanilla 2.6.13.1 and contains no modules; that is everything has been compiled in, so I figured that I do *not* need a ramdisk (initrd) and just having the kernel - bzImage (compressed kernel) is ample. The config file is here: http://www.cs.uic.edu/~hnagaraj/test-config The relevant sections from my fstab look like this: snip /dev/sda2/ ext3defaults1 1 /dev/sda1/boot ext3defaults1 2 /snip Am I missing something? Thanks, Hareesh PS: I haven't yet tried the kernel on my Gentoo box. -- gentoo-user@gentoo.org mailing list
[gentoo-user] OT: Gentoo user using FC2 on his test machine hits an unfathomable VFS Panic!
Hi, I installed FC2 on my test machine, to test my kernels and I keep hitting the following VFS panic error: http://www.cs.uic.edu/~hnagaraj/vfs-panic.png My grub.conf looks like this: snip default=1 timeout=10 title FC2 root (hd0,0) kernel /vmlinuz-2.6.5-1.358 ro root=/dev/sda2 initrd /initrd-2.6.5-1.358.img title test root (hd0,0) kernel /bzImage ro root=/dev/sda2 /snip The first kernel (default=0) works fine. The second kernel (default=1) is a vanilla 2.6.13.1 and contains no modules; that is everything has been compiled in, so I figured that I do *not* need a ramdisk (initrd) and just having the kernel - bzImage (compressed kernel) is ample. The config file is here: http://www.cs.uic.edu/~hnagaraj/test-config The relevant sections from my fstab look like this: snip /dev/sda2/ ext3defaults1 1 /dev/sda1/boot ext3defaults1 2 /snip Am I missing something? Thanks, Hareesh PS: I haven't yet tried the kernel on my Gentoo box. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Can I do this with GNUPLOT?
Hi All: Suppose I have 2 files, the first file's contents are (0, 100) and the second file's contents are (0, 50). Now, can I make GNUPLOT plot a graph with the average, i.e. (0, 100+50/2)? Sure, I could create a third file which stores the average (0, 75) and I could just plot the third file using GNUPLOT. The solution needs to be generic because each of these files could have any number of lines and I could have any number of files. But what I need to plot will always be the average. Thanks! Hareesh PS: Is there an IRC channel for GNUPLOT? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can I do this with GNUPLOT?
On 9/22/05, Willie Wong [EMAIL PROTECTED] wrote: the problem needs to be specific because I have no idea what you are thinking of: So I have the following files: rate1.txt, rate2.txt, ..., rateN.txt rate1.txt has the following contents: 0 5 1 10 2 11 3 12.5 ... ... rate2.txt has the following contents: 0 15.7 1 12 2 12 3 124.5 ... ... and so on. Now, I want to plot a graph which will take the corresponding lines from each of the files and average it out: For example: If I had rate1.txt and rate2.txt, I basically wish to plot a file which looks like this 0 (5+15.7)/2 1 (10+12)/2 ... ... What I could do (and what I have done) is create a file rate.txt which averages out the values in rate1.txt, rate2.txt,... rateN.txt and then I could just plot rate.txt simply using GNUPLOT. So I was wondering if I could avoid that step and tell GNUPLOT to do the following: ``Hey GNUPLOT open files rate1.txt and rate2.txt. Let column1 in rate1.txt be $1, column2 in rate1.txt be $a and column2 in rate2.txt be $b, so plot $1 on the X axis and ($a+$b)/2 on the Y axis. Whew! Thanks for reading this! Hareesh -- gentoo-user@gentoo.org mailing list
[gentoo-user] Does GAIM 1.5 need evolution-data-server?
Hi All: Does GAIM 1.5 now need evolution-data-server? emerge Calculating dependencies ...done! [ebuild N] app-crypt/opencdk-0.5.5 -doc 322 kB [ebuild N] dev-libs/libtasn1-0.2.13 -doc 855 kB [ebuild N] net-libs/gnutls-1.2.3 +crypt -doc +zlib 2,389 kB [ebuild N] net-libs/libsoup-2.2.3-r1 -debug -doc +ssl -static 349 kB [ebuild N] gnome-extra/evolution-data-server-1.2.3 -debug -doc +ipv6 -kerberos +ldap -mozilla -nntp +ssl 13,821 kB [ebuild U ] net-im/gaim-1.5.0 [1.3.1] -cjk -debug +eds* -gnutls -krb4 -nas +nls +perl -silc +spell +tcltk 5,979 kB Total size of downloads: 23,718 kB /emerge Thanks, Hareesh -- gentoo-user@gentoo.org mailing list
[gentoo-user] Eterm, XTerm disappear everytime I invoke them in KDE
Hi All: Everytime I invoke a new instance of ETerm or XTerm, they appear on the screen momentarily and then disappear. A ps -ef | grep $TERM shows nothing, which proves that these processes died almost as soon as they were spawned. When I invoke Konsole, the window appears but the prompt never makes it to the screen. I have no idea why I am facing this problem, because in the last boot it worked. Any hints? Thanks, Hareesh -- gentoo-user@gentoo.org mailing list
[gentoo-user] shell inside XEmacs
Hi All: The shell inside XEmacs (M-shell) looks like this: [m[01;31mhareesh: [01;34mhareesh/ $ ls [01;34mreduced[0m [01;34mrelayfs[0m [01;34msvn[0m Any idea how I can fix it? Thanks, Hareesh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Eterm, XTerm disappear everytime I invoke them in KDE
Hi Oscar, You were correct. During my last boot, I booted into the mm kernel (which did not have BSD PTY support), when I wasn't by the grub screen. Thanks a lot, Hareesh On 7/25/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Have you compiled a new kernel recently? When terminals behave like that, usually that means that you haven't compiled in legacy (bsd) pty support in your kernel (Device Drivers - Character devices)... Oscar Monday 25 July 2005 10.48 skrev Hareesh Nagarajan: Hi All: Everytime I invoke a new instance of ETerm or XTerm, they appear on the screen momentarily and then disappear. A ps -ef | grep $TERM shows nothing, which proves that these processes died almost as soon as they were spawned. When I invoke Konsole, the window appears but the prompt never makes it to the screen. I have no idea why I am facing this problem, because in the last boot it worked. Any hints? Thanks, Hareesh -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Eterm, XTerm disappear everytime I invoke them in KDE
Hey Mariusz, Thanks for the tip. Hareesh On 7/25/05, Mariusz Pękala [EMAIL PROTECTED] wrote: On 2005-07-25 01:48:32 -0700 (Mon, Jul), Hareesh Nagarajan wrote: Hi All: Everytime I invoke a new instance of ETerm or XTerm, they appear on the screen momentarily and then disappear. A ps -ef | grep $TERM shows nothing, which proves that these processes died almost as soon as they were spawned. I don't thing that the variable TERM holds the proper terminal-program name. It's your current terminal type. pgrep -l term or ps -ef | grep term seems better. When I invoke Konsole, the window appears but the prompt never makes it to the screen. check the file ~/.xsession-errors - all stdout and stderr could go there. I have no idea why I am facing this problem, because in the last boot it worked. Any hints? did you do some upgrade recently? run revdep-rebuild ? run: eterm (or whatever) some_log_file 21 maybe some problem with fonts ? bash initialization problem? HTH -- No virus found in this outgoing message. Checked by 'grep -i virus $MESSAGE' Trust me. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Where can I download the gentoo binary for Ximian Evolution 2?
On 6/19/05, Peter Gordon [EMAIL PROTECTED] wrote: On Sun, 2005-06-19 at 10:28 -0700, Hareesh Nagarajan wrote: Where can I download the gentoo binary for Ximian Evolution 2 (x86 architecture)? I just can't seem to remember the name of the site. Gentoo is a source-based distribution. I believe your favorite download mirror should have package CDs with precompiled binaries but I don't know for certain. To install it from source is simple with Portage: I know Gentoo is a source based distro and I've known it for the last two years. I also know how to install a package using emerge. I asked a different question. What was the point of this answer? Hareesh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Where can I download the gentoo binary for Ximian Evolution 2?
On 6/20/05, Mark Shields [EMAIL PROTECTED] wrote: Perhaps his answer isn't clear enough. SOMEONE has to compile the source for Gentoo; to my knowledge, Portage doesn't store an pre-compiled binaries. Read the wikipedia entry for Gentoo, which states: Gentoo does not use binary packages as package management systems like RPM, instead employing a format known as the ebuild. The main difference between RPM files and ebuilds is that RPMs are precompiled binaries, whereas ebuilds are text files which contain a description of the software, and instructions on how to obtain, configure, compile, and install it. There are nearly nine-thousand-five-hundred ebuilds available; the majority of which are distributed by the Gentoo mirrors. New and updated ebuilds can be obtained by synchronizing the local ebuild repository with the mirrors. This is done by executing the command emerge --sync. http://en.wikipedia.org/wiki/Gentoo. In short, you are not going to find an official binary packages for Gentoo, because there are none. Now, you can have someone you know compile them for you on a compatible system, and that will work. Goodness gracious me! I know everything you just said! I was just wondering if anyone out here knows of a website that maintain a repository of application binaries for popular architectures such as the x86. Thank you Steven for giving me the link that I wanted. http://chinstrap.alternating.net/files/binaries/i686/evolution-2.0.3-r2.tbz2 -Hareesh -- gentoo-user@gentoo.org mailing list
[gentoo-user] Where can I download the gentoo binary for Ximian Evolution 2?
Hi, Where can I download the gentoo binary for Ximian Evolution 2 (x86 architecture)? I just can't seem to remember the name of the site. Thanks, Hareesh -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Enscript a diff file
On 6/13/05, Hareesh Nagarajan [EMAIL PROTECTED] wrote: Hi, I have a unified diff file and I need need to pretty print it using enscript. Can someone give me the recipe to do so? enscript -Ediffu trace.patch -o trace.ps Thank you Hareesh! ;) Hareesh -- gentoo-user@gentoo.org mailing list
[gentoo-user] Customize - maximize a window in KDE or a general X application
Hi, If I have a screen res of length*breadth by default a Maximize on a window sets it to length * breadth. Is there a way to set Maximize to (length/2) * breadth? Thanks, Hareesh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo discrimination
On 5/18/05, Sad Jack [EMAIL PROTECTED] wrote: Gentoo is different. Thats its strength as far as I can see. If I wanted a 'my computer' icon on my desktop, indeed if I wanted to be forced to use a desktop I could just take the easy way out and stay with windows. Or if you are a KDE user, just rename the Home icon which can be found on your desktop on a default install to 'My Computer'. :P This in my opinion would be the easiest way out! Hareesh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Changing KDE keyboard shortcuts
On 5/16/05, Jorge Almeida [EMAIL PROTECTED] wrote: On Sun, 15 May 2005, Hareesh Nagarajan wrote: Ctrl+Fn keys. How do I change it to the Alt+Fn keys? Control Center -- Regional Accessibility -- Keyboard Shortcuts -- Shortcut sequences Thank you Jorge! -Hareesh -- gentoo-user@gentoo.org mailing list
[gentoo-user] Starting apps automatically in KDE
Hi All: How do I make Firefox open in virtual desktop 1, Thunderbird in virtual desktop 2, 2 Eterms in virtual desktop 3, etc. in KDE? Thanks, Hareesh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Programs executed as root cannot connect to X server
On 5/8/05, Dmitri Vassilenko [EMAIL PROTECTED] wrote: On Sunday May 8 2005 22:14, Hareesh Nagarajan wrote: How do I enable programs which are executed by the root to connect to the X server? I think if you're doing this locally, you can just copy .Xauthority in the directory of the user currently using the server to /root/ (or whatever root's home directory is). Thanks Dimitri and to everyone who replied to this thread. I used this recipe and I'm now able to connect to an XServer as root (I need K3B to work as root you see!) -Hareesh -- gentoo-user@gentoo.org mailing list
[gentoo-user] Problem with cdrecord (``cannot allocate ...)
Hi All: When I try to burn data with cdrecord as a regular user I get this error: cdrecord: Cannot allocate memory. Cannot get SCSI I/O buffer When I run it as root cdrecord does not spit any errors. I'm running the following kernel: 2.6.11-ck7. How do I get cdrecord to work for an oridinary user? Thanks, -Hareesh -- gentoo-user@gentoo.org mailing list
[gentoo-user] Programs executed as root cannot connect to X server
Hi All: How do I enable programs which are executed by the root to connect to the X server? E.g.: root: hareesh/ # xemacs Xlib: connection to :0.0 refused by server Xlib: No protocol specified X server not responding : :0.0 Thanks, Hareesh -- gentoo-user@gentoo.org mailing list