Re: [gentoo-user] Custom rsync command for emerge --sync?
How do I tell emerge to use a custom rsync command? Hello, I hope you know about the script. Create some kind of directory, let's say /opt/mybin copy your rsync script to this directory and call it rsync. Then do this: PATH=/opt/mybin:$PATH emerge --sync Regards, Nico -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Custom rsync command for emerge --sync?
Sorry, but could you tell me where to find the corresponding code that is responsible for this behaviour, because I can just find the hard coded path in the variable mentioned earlier. :) OK, that doesn't work. But it's easier. Open /usr/bin/emerge with your favourite editor and search for /usr/bin/rsync. Replace this by your own script. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Core 2 duo: Building threaded program versions
Hi folks, I recently set up a Core 2 duo system. Following the AMD64 howto, the system now works. Kernel compilation took 1:40 minutes passing -j6 to make. Then I tried to bunzip a large file and found out that the machine was about 40 % in idle which is clear because bzip2 is only one process. So is there any way to build those utilities like bzip2 or gzip in a thread-using way? It's not that nice to see the machine in idle at all^^ Maybe there's any hidden use flag I haven't heard of or so :) Greets, Nico -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] GDM: No local X server
Thank you very mouch. I don't have souch a line though. But I found out that gdm --no-console does a real good jo -- just for those who have a similar problem. Anyway, thank you. 2006/12/11, YoYo Siska [EMAIL PROTECTED]: Nico Schümann wrote: Hi, I've set up a terminal server. Now, it actually works ([xdmcp] is enabled) and I can connect via X -broadcast, but GDM tries to start a local X server on the server machine. I don't want an X server to run on the terminal server. How do I configure GDM not to do this? Just commenting out the local server ( the line that looks something like '0=Standard') doesn't work? I used to set up gdm that way some time ago and I don't really remember now, but I think commenting it out was enough... I used gdm for xdmcp connections and kdm for the local server ;-) to have the ability to start/stop them independently yoyo -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] GDM: No local X server
Hi, I've set up a terminal server. Now, it actually works ([xdmcp] is enabled) and I can connect via X -broadcast, but GDM tries to start a local X server on the server machine. I don't want an X server to run on the terminal server. How do I configure GDM not to do this? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how can i put users quota
2006/10/22, Régis Décamps [EMAIL PROTECTED]: emerge -av quota will emerge http://sourceforge.net/projects/linuxquota/ You need kernel quota support, as well. Anyway, it's explained in our gentoo-wiki: http://gentoo-wiki.com/HOWTO_use_User_Quota's -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - Mouse going crazy in gnome
2006/10/22, Anielkis Herrera Gonzalez [EMAIL PROTECTED]: check the wire (near the mouse, where is going in), a broken wire maybe is the problem.. I don't think so. I had the same problem with my PS2 logitech mouse. But I didn't actually find any information to solve this problem. Then I bought a usb mouse and the problem didn't exist anymore. So I think, this could be a PS2 problem. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Can iptables recognize SSH traffic?
Hello folks, I have a web server running on port 80 and a SSH daemon running on port 22. I don't want to change these ports because it just works this way. Can I configure iptables that it just accepts port 80 and if I try to connect with a ssh client to port 80 to forward this ssh traffic to port 22? I know how all this accept and forwards stuff works, but I can't find out an option to recognize ssh traffic. Tanks a lot, Nico -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] rebuild /usr/lib
2006/10/19, Mark [EMAIL PROTECTED]: If not then you will need to acquire a binary gcc/etc to work around it. Then rebuild. emerge -e world I think, after having set up the tool chain, you'd do a emerge -e system and then emerge -e world, because the system packages aren't considered by the world file, are they? Anyway, good luck. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gentoo box hangs
2006/10/7, b.n. [EMAIL PROTECTED]: If you suspect the memory/mobo, try instead to compile some large package. Often this results in random segmentation faults for gcc. Faulty memory should result in crashes and segfaults and erratic behaviour, apart from freezes. I had had some trouble with my machine crashing in idle until I overclocked the CPU a bit. My machine has never crashed since then. I think that it's a hardware problem, but I got successfully rid of it so it doesn't matter anymore to me yet I think that there _MUST_ be something that just can't be right. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Power butten
2006/9/15, Mick [EMAIL PROTECTED]: On Friday 15 September 2006 11:58, Bo Ørsted Andresen wrote: Thanks! I hadn't spotted this article. I've tried adding the following two lines in /etc/acpid/event/default but nothing much happened (as per the log further down): event=button[ /]power.* action=/usr/sbin/hibernate-ram Well, my configuration slightly differs from your one. --- /etc/acpid/events/default event=.* action=/etc/acpi/default.sh %e --- /etc/acpid/default.sh set $* group=${1/\/*/} action=${1/*\//} case $group in button) case $action in power) echo disk /sys/power/state ;; sleep) echo disk /sys/power/state ;; *) logger ACPI action $action is not defined ;; esac ;; *) logger ACPI group $group / action $action is not defined ;; esac button/power and button/sleep are _not_ the same and as the log tells us, it's a button/sleep event. If I get this right, in your configuration, only a button/power is handeled. Regards, Nico -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: [OT: JOKE]virtual Windows solution...
2006/7/14, Daniel Iliev [EMAIL PROTECTED]: Linux can run trash even now. The funniest thing is that *trashers* don't know it and they think windows is irreplaceable for great many programs but that's not true...at least not any more. And so I don't use windows. The only thing I miss is the perfect ICQ client. GAIM is nice, but I'm a bit tired of the away message issue. They just don't get it work. Kopete, well, they have a broken file transfer thing. And file transfers are more important for me than just showing people a bit of text. And I like CenterICQ. I have a linux box (I have tree linux boxes - all my boxes run linux (you know, I can't stand windows) except my notebook, but the ACPI support just sucks. I know, Linus. The ACPI designers are monkeys on drugs. We all know.) which I want to connect to wherever I am. And I want to run ICQ wherever I am. And I can't install VNC clients or nx-clients wherever I am. So I just run ssh or PuTTY. And it works. I just miss things like file transfers. One of the most popular false beliefs is linux can't run games. I don't play computer games. But if someone sais this (and this happens from time to time), I run Nexuiz or Quake4-Demo or stuff. And everytime I show people: Hey, you don't need windows to play games. And you see, this is an old box (PIII, 550MHz; AMD, 800MHz) which just runs this games without any problems. And then they are a bit impressed. Another thing: My scanner is connected to my father's computer. I personally don't have a scanner and I don't need it. Well, I scanned a picture with highest quality, which resulted in a 20MiB JPEG. I tried twice to open it with Windows (2,6GHz, 1GB RAM) and both times the machine just crashed. Then I went to my linux box, ran GIMP and everything was fine. And actually, GIMP used 30% of my RAM. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] after upgrade to xorg-x11 version 7 key 'Alt Gr' doesn't work
2006/7/13, Andreas Schoelver [EMAIL PROTECTED]: Hi all ... I am not able to produce special intenational keys any more. (like @ | [] {} \ on my german keyboard) old option Option RightAlt ModeShift does not work any more. Thanks in advance Andreas Hi Andreas, looks like wrong configured. Could you post the InputDevice part of your xorg.conf? Section InputDevice Identifier Keyboard0 Driver kbd Option CoreKeyboard Option XkbRules xorg Option XkbModel pc105 Option XkbLayout de Option XkbVariant deadgraveacute EndSection Do you run gnome or kde? -- gentoo-user@gentoo.org mailing list
[gentoo-user] xorg-x11: Compile always fails.
I wanted to upgrade to X11R7 (following http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml) but it just doesn't work. Except all the digest errors, I just can't compile some packages I need, # emerge -av xorg-x11 --digest Emerging (1 of 57) x11-libs/libXt-1.0.2 to / checking for XT... configure: error: Package requirements (sm x11 xproto kbproto) were not met: No package 'sm' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. After --skipfirst the same: Emerging (1 of 56) x11-libs/libXmu-1.0.2 to / checking for XMU... configure: error: Package requirements (xt xext xextproto) were not met: No package 'xt' found And I just don't know what's going wrong. Greets, Nico -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11: Compile always fails.
2006/6/30, Richard Fish [EMAIL PROTECTED]: Ok, well, you *really* should be careful about re-digesting stuff. A digest failure means you do not have the files that the Gentoo devs expect you to have. The right thing to do in almost all cases of a digest failure is to: I know that it is dirty to do this, but I was a bit irritated. The digest-thing seems to be vanished now, I don't know why. If it is a failure in /usr/portage/category/pkg/files/: emerge --sync The first thing I did (three times today, I hope that I won't be banned), but it didn't help. or if it is a distfile that it is complaining about: rm /usr/portage/distfiles/offender.tbz2 Twice this day. As far as your current problem: emerge --oneshot xproto kbproto libSM emerge --oneshot libXt emerge xorg-x11 Uhm, it seems to work :) Thank you very much (except the libSM, everything has been emerged before, maybe a broken dependencie or stuff) Nico -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OpenOffice
2006/6/27, Alexander Skwar [EMAIL PROTECTED]: For OOo, you should have as much as about 6 GB available. And do I get this space back after the compiling process is finished? Yes, you do - if the process is *successfully* finished. So how about doing an emerge -av openoffice-bin? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What to do when you can't loggin
2006/6/21, Etaoin Shrdlu [EMAIL PROTECTED]: Well, no flame, but it's probably easier than with grub, where you have to explicitly press some key to modify the command line. I agree. I don't want to say anything like lilo is better (I personally prefer grub because I always forget to run lilo after I changed anything at the boot volume), but modifying the command line is way easier. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What to do when you can't loggin
2006/6/21, Neil Bothwick [EMAIL PROTECTED]: What happens if something is wrong with your initrd and you need to remove the initrd= option from the command line? I'd try things like initrd= for example. Maybe it's ignored. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Google Earth: Masked?
2006/6/15, Neil Bothwick [EMAIL PROTECTED]: A shame it's binary-only, so it won't run on everything that runs Linux. Yes, it is, of course. But I think, google will never open the source because of its policy. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Which TV card to take?
Hi folks, I don't know which (DVB-S) TV card to take. It shouldn't be too expensive and should work correctly with the 2.6 kernel (without patching, if possible). I just want to watch TV with TV time. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Google Earth: Masked?
Hi,yesterday I read that Google Earth had been released. I did an emerge and everything worked as expected - except the speed, but the graphic driver is to blame (missing OpenGL support). So why is Google Earth masked? Has anyone any problems with Google Earth?Nico Schümann
Re: [gentoo-user] Google Earth: Masked?
2006/6/15, 员旭鹏 [EMAIL PROTECTED]: try load glx module in /etc/X11/xorg.conf:Section Module Load glx Load extmod Load xtrap Load record Load dbe Load dri Load freetype Load type1EndSection glx is already loaded.Section Module Load vnc Load dbe Load extmod Load record Load xtrap Load glx Load dri Load freetype Load type1EndSectionBut I think it is indifferent, because I've just bought a new graphics card (because of my new flat screen). Hopefully, the nVidia driver supports it. My old one (Riva TNT2) is not longer supported (it actually was supported a few years ago, but nVidia only has these all-in-one drivers. I just can't find the old one). Nico Schümann
Re: [gentoo-user] Scrolling and redraw visibly slowed
2006/6/15, [EMAIL PROTECTED] [EMAIL PROTECTED]: What things might contribute to this or need configuration?Could you post the header of `top`, please?
Re: [gentoo-user] emerge --update: utempter/pam-login is blocking...
2006/6/15, Jarry [EMAIL PROTECTED]: Hi,I tried to update my gentoo-laptop but I got this message:emerge --update --deep --newuse world!!! Error: the sys-apps/utempter package conflicts with another package!!! the two packages cannot be insalled on the same system together. !!! Please use 'emerge --pretend' to determine blockers.emerge --pretend --update --deep --newuse world[blocks B ] sys-apps/utempter (is blocking sys-libs/libutempter-1.1.2.1) [blocks B ] sys-apps/pam-login (is blocking sys-apps/shadow-4.0.15-r2)[ebuild N ] sys-libs/libutempter-1.1.2.1[ebuild U ] x11-terms/xterm-212-r3 [207][ebuild U ] sys-apps/shadow-4.0.15-r2 [4.0.14-r1]What is the proper way of dealing with it? Should I simply unmerge(-C) utempter and pam-login? Is it not dangerous? I do not know whatutempter is good for, but if I unmerge pam-login and then from some reason I will not succeed in updating shadow, I will not be ableto log in at all...Jarry--gentoo-user@gentoo.org mailing list emerge --unmerge utempteremerge --unmerge pam-loginI think, they've changed something (login etc. is provided by shadow, now / utempter / libutempter seems to be a rename)You can log in again if the emerge -uDav is finished (everything works fine after I've done that way)
Re: [gentoo-user] emerge --update: utempter/pam-login is blocking ...
2006/6/15, Sieb, Glenn E (Glenn) [EMAIL PROTECTED]: I would probably do these in a slightly safer manner:emerge --unmerge pam-login emerge --update shadowemerge --unmerge utempter emerge --update libutempterYou are right, I didn't think about that (maybe because my machine has never crashed)
Re: [gentoo-user] detachable X proxy
2006/6/15, Etaoin Shrdlu [EMAIL PROTECTED]: If I understand correctly, you're probably looking for nx (it's in portage). Er, right. nxserver-freenx. It worked for me on a Ubuntu machine but I've never got it working on a Gentoo machine. There's always been trouble with the authentication. If you, Etaoin, have got it working, I'd be very appreciative if you told my how you've done it. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] detachable X proxy
2006/6/15, Richard Fish [EMAIL PROTECTED]: Are you *sure* you don't want to use VNC? Xvnc will allow you to connect to your standard X desktop from a remote VNC client, which sounds pretty close to what you want to do. I do. Have you ever used VNC over the internet? It's WAY too slow. nxserver for example doesn't lag that much. I'd use it, if it worked. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Which process is using port 5060 ?
2006/6/15, Dave S [EMAIL PROTECTED]: Hi all, Apparently my SIP port 5060 is in use. Is there a Linux command to tell me what process is using this port. I have a vague memory of seeing such a command but just cannot remember or find it. Many thanks in advance Dave Are you looking for something like netstat -a | grep 5060 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sound server recommedation
2006/6/15, Enrico Weigelt [EMAIL PROTECTED]: Hi folks, I'm looking for an sound server which is widely supported and can be easily instructed to bounce all audio traffic to a remote machine, so I can easily switch my speaker without touching the applications. Any recommendation ? I personally use ALSA and no sound server. It bounces its traffic this way: Server: arecord -f dat | nc -bu 255.255.255.255 19250 Client: nc -l -p 19250 | aplay -f dat Although a real sound server works certainly better. -- gentoo-user@gentoo.org mailing list