Re: [gentoo-user] startx kde
On Friday 20 May 2005 22:55, Nick Rout wrote: Read the Fine Manual Which Fine Manual are we talking about here for kde and where might it be found? set the DISPLAYMANAGER=kdm line in /etc/rc.conf then rc-update add xdm boot /etc/init.d/xdm start On Fri, 2005-05-20 at 19:09 -0700, cfk wrote: Thank you for the help on keepwork. Next question. My computer has spend the day emerging kde. The function 'startx' does work with 'twm'. So, I can test kde before changing /etc/X11/initrc/xinitrc from 'twm ' to 'kde , what is a good way to do that? Charles -- Nick Rout [EMAIL PROTECTED] I've set in /etc/rc.conf DISPLAYMANAGER=kdm and invoked 'rc-update add xdm boot'. I have also created (in /root) an .xinitrc with startkde in it as mentioned in a previous post last night. When I reboot the computer, I now get a slightly different version of twm but no kde. I can invoke some kde programs such as kwrite, khexedit and all their widgets are rendering, so I think I am very close, but not quite able to get kde to startup in Gentoo yet. Some suggestions on areas to look would be appreciated. Charles Krinke -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] startx kde
On Saturday 21 May 2005 10:27, ZeeGeek wrote: On 5/21/05, cfk [EMAIL PROTECTED] wrote: On Friday 20 May 2005 22:55, Nick Rout wrote: Read the Fine Manual Which Fine Manual are we talking about here for kde and where might it be found? set the DISPLAYMANAGER=kdm line in /etc/rc.conf then rc-update add xdm boot /etc/init.d/xdm start On Fri, 2005-05-20 at 19:09 -0700, cfk wrote: Thank you for the help on keepwork. Next question. My computer has spend the day emerging kde. The function 'startx' does work with 'twm'. So, I can test kde before changing /etc/X11/initrc/xinitrc from 'twm ' to 'kde , what is a good way to do that? Charles -- Nick Rout [EMAIL PROTECTED] I've set in /etc/rc.conf DISPLAYMANAGER=kdm and invoked 'rc-update add xdm boot'. I have also created (in /root) an .xinitrc with startkde in it as mentioned in a previous post last night. When I reboot the computer, I now get a slightly different version of twm but no kde. I can invoke some kde programs such as kwrite, khexedit and all their widgets are rendering, so I think I am very close, but not quite able to get kde to startup in Gentoo yet. Some suggestions on areas to look would be appreciated. Charles Krinke -- gentoo-user@gentoo.org mailing list if you use xdm, then you won't need .xinitrc in your home directory, this file is for startx. iirc try to put XSESSION=kde in your /etc/rc.conf Thank you all. I have gotten my first Gentoo system up to the KDE stage and can now emerge from an X-Windows terminal, so I'm going for kdevelop and a few others next. Charles Krinke -- gentoo-user@gentoo.org mailing list
[gentoo-user] Adding Menus in KDE
I have my Gentoo system booting and running KDE, than you very much. Now is the time to understand how menus are added to the task bar. I wonder how new programs, such as kdevelop, just emerged are added to the menu. I know how to create a task bar button from a menu item, but I dont know how to create a menu item. I am asking this question in two ways, both manually (right-click something maybe) and automatically (all executables in a directory, or all executables in a package, or executables emerged in a certain way). Charles Krinke -- gentoo-user@gentoo.org mailing list
[gentoo-user] keeping source
Pardon the slightly naive question. I would like to study the c and cpp source on the packages I am emerging. I *think* they are removed after compilation. I say I *think* as I was looking in /var/tmp/portage and /usr/portage and didnt find them. How do I go about keeping the source for later reference of the various packages that I emerge with gentoo. Charles -- gentoo-user@gentoo.org mailing list
[gentoo-user] startx kde
Thank you for the help on keepwork. Next question. My computer has spend the day emerging kde. The function 'startx' does work with 'twm'. So, I can test kde before changing /etc/X11/initrc/xinitrc from 'twm ' to 'kde , what is a good way to do that? Charles -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] startx kde
The function 'startx' does work with 'twm'. So, I can test kde before changing /etc/X11/initrc/xinitrc from 'twm ' to 'kde , what is a good way to do that? create ~/.xinitrc, put startkde in it. If you kde is screwed, ctrl+alt+f2/3/4/5/6, login and nuke it. If you can't login locally, remote login, and nuke you kde session. HTH. -- Joe Thank you Joe. Next question. When I run 'startx' with ctrl+alt-f2, I get twm right now, no problem. If I then ctrl-alt-f1 back to the emerge I'm running, when I ctrl-alt-f2 a second time, I can see that X has died due to an error with a missing /dev/fb0, i.e. no frame buffer. What should I do to correct this? Charles -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] next step X
Gentlemen: Here's what I have found over the last day or so in trying to get to X functionality. This is with a computer with more then one distribution, and the others all have X functionality. The computer is an Intel 810 motherboard with the i810 integrated graphics device. I can see there is no /dev/mouse0 or /dev/agpgart on the Gentoo partition as there is on the Fedora partition, so part of the installation is incomplete. I copied the known functional /etc/X11/xorg.conf from the known functional Fedora X installation. When I invoke, startx, I get two errors. One has to do with the missing /dev/agpgart and the other has to do with the missing /dev/mouse0. I did try to follow the X Server Configuration Howto at gentoo.org with 'emerge xorg-x11', 'env-update', 'xorgconfig' and others, but I obviously missed a step and my naivety is showing a little bit. What installation step have I missed that precluded Gentoo from creating these two device nodes (and perhaps some others) that keep me from getting to the next step, an X windows screen (forget about KDE for now, I would be happy just to get a pointer moving around on the screen). Charles Krinke -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] next step X
On Saturday 14 May 2005 12:13, Mark Knecht wrote: On 5/14/05, cfk [EMAIL PROTECTED] wrote: I copied the known functional /etc/X11/xorg.conf from the known functional Fedora X installation. So that config is wrong for this distro. Try running the xorgconfig program and make your own config file for this distro. Good luck, Mark Dear Mark: I started out with running xorgconfig and the result is the same. It's only this morning that I tried the xorg.conf from a different partition on this computer. I have figured out the mouse and it doesnt appear to be a problem anymore. Its the difference between /dev/mouse and /dev/input/mouse. Its this agpgart stuff that has me puzzled. I think the key issue is I dont quite know enough to properly craft an xorg.conf. Basically, I know enough to be dangerous, but not enough to get myself out of this quicksand. Charles -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] next step X
On Wednesday 11 May 2005 18:38, Mark Knecht wrote: Gentlemen: After finishing the installation, I cannot seem to bring the eth0 interface up. When I try to manually ifconfig eth0 addr broadcast netmask up, I get a message of no such device. So, I must have foobarred another incantation along the way. It was working fine in the chroot environment an hour or so ago, so I suspect something in the last stages of the install. What are the sort of things I can do to diagnose this sort of problem. Mostly, I am questing for knowledge right now. Charles lspci to understand what hardware lsmod to understand what modules are loaded modprobe foo to get a module loaded to support the adapter vi /etc/conf.d/net to look at what the system is trying to do with the hardware when the scripts are run post some more info back (if you can) and then folks will help you take the next step. Good luck, Mark Under the liveCD, the network interface is working fine and I was able to emerge kde, albeit with an error at the end with a version mismatch between libtool.m4 (1.5.10) and litmain (1.5), but thats the story after this one. lspci shows the 3com 3c905C Tornado card. lsmod (under liveCD) shows 3c95x is the driver used. In rebooting to the *real* partition, I can see that while init is running there is an error: Bringing eth0 up via DHCP ERROR: Problem starting needed services netmount was not started. I can do a modprobe 3c95x and lsmod shows it is loaded. I can then do an ifconfig eth0 up and the interface is up (ping www.yahoo.com works). The file /etc/conf.d/net has two uncommented lines: iface_eth0=dhcp gateway=eth0/10.10.10.1 I am suspecting that the netmount is the source of my confusion. Since modprobe 3c59x allows the interface to then work just fine, there may be a needed alias to tell the init script the PCI card for the ethernet interface is a 3Com. If I recall, in some other distributions, there is an alias file for modules and perhaps Gentoo is a little different then my previous understanding. Charles p.s Why would emerge vi say no ebuilds. I have nano, but not vi yet. p.p.s. After this step, the emerge kde tells me that libtool.m4 has the wrong version and I need to run libtoolize --copy --force. I run that, and get the error configure.ac does nto exist, run libtoolize --help. Invoking libtoolize --help tells me I need to run it from the toplevel directory, which I assume to be where the source for libtool.m4 would be. Where would the default location for libtool be so I could run libtoolize properly, or should I emerge something_else, or emerge the_same_thing_again p.p.p.s Thanks for the help. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] next step X
On Thursday 12 May 2005 10:12, Daniel Drake wrote: cfk wrote: I can do a modprobe 3c95x and lsmod shows it is loaded. I can then do an ifconfig eth0 up and the interface is up (ping www.yahoo.com works). The file /etc/conf.d/net has two uncommented lines: iface_eth0=dhcp gateway=eth0/10.10.10.1 I am suspecting that the netmount is the source of my confusion. Since modprobe 3c59x allows the interface to then work just fine, there may be a needed alias to tell the init script the PCI card for the ethernet interface is a 3Com. If I recall, in some other distributions, there is an alias file for modules and perhaps Gentoo is a little different then my previous understanding. Is there any particular reason why you built 3c59x as a module as opposed to in-kernel? If you had built it in-kernel, you would not be having these problems - the kernel would just sort out the driver loading for you. Anyway, assuming you _do_ have a reason why you want it as a module, then you should add it to /etc/modules.autoload.d/kernel-2.6 assuming you are running a 2.6 kernel. p.s Why would emerge vi say no ebuilds. I have nano, but not vi yet. Try vim p.p.s. After this step, the emerge kde tells me that libtool.m4 has the wrong version and I need to run libtoolize --copy --force. I run that, and get the error configure.ac does nto exist, run libtoolize --help. Invoking libtoolize --help tells me I need to run it from the toplevel directory, which I assume to be where the source for libtool.m4 would be. Where would the default location for libtool be so I could run libtoolize properly, or should I emerge something_else, or emerge the_same_thing_again Run emerge sync and try again. Which package is actually failing? I doubt it is the kde package itself, it is probably one of its dependencies. You are not expected to run libtoolize yourself. The ebuild in question should handle this, but you may be running into a bug. Daniel Dear Daniel, Mark and others; After adding 3c59x to /etc/modules.autoload.d/kernel-2.6, the partition boots fine with networking enabled. To answer the original question on modules, I just ran genkernel and took all the defaults as I am new to Gentoo. I did then emerge --sync followed by emerge kde and I still get the libtoolize version error. On this one, I am not sure which way to go next, perhaps a little more advice ifyou dont mind. Things are progressing, some knowledge is seeping into my little brain, and I appreciate all the help. Charles Krinke -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] next step X
On Thursday 12 May 2005 11:49, Mark Knecht wrote: Charles, I'm glad that you now have networking. That's pretty crucial stuff. I want to clarify one thing here. You are now fully booting this new machine using Gentoo, correct? Grub is installed and you're booted up to the command line. You have xorg-x11 emerged correctly and are now attempting to get kde installed? My guess, and it's only a guess, is that you're having some sort of profile problem. do not build kde first, as much as you might like to. If you stay at the command line and do emerge sync (note - not 'emerge --sync') emerge -pv world then what is it telling you about what's installed on your machine and what you need to update? Post the results back, or just work your way through the emerge world operation BEFORE emerging kde. That's pretty important as you will likely update your profile and emerge a number of packages that kde will require anyway. Cheers, Mark Dear Mark: I am fully booting this system using Gentoo. I have a colorful bash prompt right now and I am trying to get X running. Last night I did 'emerge xorg-x11' and it succeeded OK. Grub has incantations that allow the partition with Gentoo to boot. There are other distributions on some other partitions, but I dont think they have any bearing on Gentoo. Here is the result of emerge -pv world on the machine in question. ** These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] sys-apps/grep-2.5.1-r7 [2.5.1-r6] -build -debug +nls -pcre -static (-uclibc) 667 kB [ebuild U ] sys-apps/net-tools-1.60-r11 [1.60-r9] -build -debug +nls -static 220 kB [ebuild U ] sys-apps/kbd-1.12-r4 [1.12-r3] +nls 867 kB [ebuild N] sys-devel/binutils-config-1.8-r2 0 kB [ebuild U ] sys-devel/binutils-2.15.92.0.2-r7 [2.15.92.0.2-r1] -debug -multislot -multitarget +nls -test 10,793 kB [ebuild U ] sys-libs/cracklib-2.7-r11 [2.7-r10] -debug -minimal +pam 20 kB [ebuild U ] app-arch/tar-1.15.1 [1.14] -build -debug +nls -static 1,573 kB [ebuild U ] sys-libs/glibc-2.3.4.20041102-r1 [2.3.4.20040808-r1] -build -debug -erandom -hardened (-multilib) +nls -nomalloccheck -nptl -nptlonly -pic -userlocales 17,112 kB [ebuild U ] sys-apps/sed-4.1.4 [4.0.9] -bootstrap -build -debug +nls -static 775 kB [ebuild U ] sys-apps/texinfo-4.8 [4.7-r1] -build -debug +nls -static 1,486 kB [ebuild U ] app-arch/bzip2-1.0.3 [1.0.2-r5] -build -debug -static 653 kB [ebuild U ] sys-libs/ncurses-5.4-r6 [5.4-r5] -bootstrap -build -debug -doc +gpm -minimal -nocxx -unicode 2,103 kB [ebuild U ] net-misc/rsync-2.6.0-r4 [2.6.0-r3] -acl -build -debug -static 458 kB [ebuild U ] sys-devel/automake-1.9.5 [1.9.4] 740 kB [ebuild U ] sys-fs/udev-056 [045] (-selinux) -static 468 kB [ebuild U ] app-arch/cpio-2.6-r3 [2.6-r1] +nls 437 kB [ebuild U ] sys-apps/coreutils-5.2.1-r5 [5.2.1-r4] -acl -build -debug -hardened +nls (-selinux) -static (-uclibc) 4,260 kB [ebuild U ] net-misc/openssh-3.9_p1-r2 [3.9_p1-r1] -X509 -chroot -debug +ipv6 -kerberos -ldap -nocxx +pam (-selinux) -sftplogging -skey -smartcard -static +tcpd 834 kB [ebuild U ] sys-devel/m4-1.4.2-r1 [1.4.1] +nls 337 kB [ebuild U ] app-arch/gzip-1.3.5-r6 [1.3.5-r5] -build -debug +nls -pic -static 323 kB [ebuild U ] net-misc/wget-1.9.1-r3 [1.9-r2] -build -debug +ipv6 +nls -socks5 +ssl -static 1,300 kB [ebuild N] sys-libs/gdbm-1.8.3-r1 +berkdb -debug 223 kB [ebuild U ] dev-lang/perl-5.8.5-r5 [5.8.5-r4] +berkdb -debug -doc +gdbm* -ithreads -perlsuid (-uclibc) 11,651 kB [ebuild U ] sys-apps/diffutils-2.8.7-r1 [2.8.7] -debug +nls -static 1,037 kB [ebuild U ] sys-apps/hdparm-5.9 [5.7-r1] 38 kB [ebuild U ] dev-lang/python-2.3.5 [2.3.4-r1] +X* +berkdb -bootstrap -build -debug -doc +gdbm* +ipv6 +ncurses +readline +ssl -tcltk -ucs2 7,060 kB [ebuild U ] sys-devel/gnuconfig-20050223 [20040214] 34 kB [ebuild U ] sys-devel/gcc-config-1.3.10-r2 [1.3.8-r4] 0 kB [ebuild U ] sys-devel/gcc-3.3.5.20050130-r1 [3.3.5-r1] (-altivec) -bootstrap -boundschecking -build -debug +fortran* -gcj +gtk* -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -objc -static (-uclibc) 23,639 kB Total size of downloads: 89,119 kB So, I would assume from this that the next step is to emerge grep, then emerge net-tools and all the rest in this order without any of the version stuff like '2.5.1-r7 [2.5.1-r6]'. With Thanks, Charles Krinke -- gentoo-user@gentoo.org mailing list
[gentoo-user] First Day with Gentoo
Gentlemen: I am working with the universal livecd. I untarred the stage3 tarball and had just gotten to section 6 where I chroot. After that, name resolution on the network ceased to work. I can ping by address. There is a valid /etc/resolv.conf. I rebooted from the cd, mounted the newly setup partition with its stage3 tarball as /mnt/gentoo. At that point, I can still ping by name. After the chroot, I only get an unknown host response from ping. Would someone be willing to give me a few clues what might be going on so I can understand? Charles -- gentoo-user@gentoo.org mailing list