[gentoo-user] Re: stow (was: Re: insert text onto a PDF)
On Mon, 30 Jul 2007 19:24:29 +0200, Alex Schuster wrote: you compiled on your own? ok. what happens if you want to uninstall it, though? There usually is a make uninstall, too. But I suggest to use stow, or better, xstow, to install software. I hadn't ever heard of such a thing! Wow, thanks! -Thufir -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: reiserfsprogs
Hello James, hold down Alt and SysReq/PrtScr and press S, U and B in turn to reboot (reasonably) cleanly Interesting idea however this laptop does not have this key SysReq/PrtScr. As Boyd said, it may be hidden (in which case it is very well hidden on this iBook, I haven't found it yet :( However, I've never seen an x86 system that doesn't have one somewhere. so everything is killed, and nothing trying to write to disk, when unmounting them. Hmm, I do not think you understand, when I exit X/kde the entire system is latched up tight. None of the keys work, nothing is echoed to the screen, the system is latched up tight. Magic SysReq works at the kernel level, so it usually works even when the system appears completely locked up. -- Neil Bothwick Zmodem has bigger bits, softer blocks, and tighter ASCII signature.asc Description: PGP signature
Re: [gentoo-user] Automatic package updates
Hello Rumen Yotov, Still doesn't work. The problem is that deps aren't updated unless they also require an update. Since enigmail doesn't require an update, it doesn't re-install. However, thunderbird can't see it unless enigmail is manually re-installed, no matter the USE flags or world ordering. Looking in the thunderbird ebuild: PDEPEND=crypt? (=x11-plugins/enigmail-0.95.1 ) So if PDEPEND DEPEND it should re-emerge enigmail after an update. enigmail just DEPENDs on TB. The ?DEPENDS don't affect this as they are satisfied, all DEPENDed packages are already installed. You should be able to do this by including the necessary commands in a pkg_postinst() function in /etc/portage/env/mail-client/mozilla-thunderbird. -- Neil Bothwick EASY TO INSTALL = Difficult to install, but instruction manual has pictures. signature.asc Description: PGP signature
Re: [gentoo-user] problem with ssh login
On Monday 30 July 2007 16:44, Marco Calviani wrote: Hi lists, i'm trying to remotely login to a Gentoo box via ssh. However (and the behaviour is the same from different machines) whenever i try to login the procedure hangs before recognizing the remote protocol version: [snip...] I assume that you are trying to login via public key authentication. If this is correct then the key file has some formatting error in it. How did you create it? A second possibility (but less likely) is that the access rights of the pub key file on the server and, or of the private key on the client, are wrong. HTH. -- Regards, Mick pgpqXk0YNsRoh.pgp Description: PGP signature
Re: [gentoo-user] Re: reiserfsprogs
On 7/31/07, James [EMAIL PROTECTED] wrote: Volker Armin Hemmann volker.armin.hemmann at tu-clausthal.de writes: I've never seen starting up X/kde cause a system to hang before... Is the whole system handing, or just X? The entire system latches up tight, even the ssh remote shells and console. Do you have a networked computer you can SSH in from, that would enable you to kill X. I start X(kde) with startx. I followed the guides in http://www.gentoo.org/doc/en/list.xml Code Listing 2.4: Configuring your local session $ echo exec startkde ~/.xinitrc X/kde runs fine, but when I exit it now, the system latches up, tight all ssh sessions, the console, everything. Try Disabling anything fancy ( ie: composite support ), or try disabling APIC. I had a glitch a while back where composite + apic = system lockup, and later, something in QT4 tripped it up. If all else fails, and provided you have enabled CONFIG_MAGIC_SYSRQ in your kernel, hold down Alt and SysReq/PrtScr and press S, U and B in turn to reboot (reasonably) cleanly. Pausing a couple of seconds between each key is probably a good idea. Interesting idea however this laptop does not have this key SysReq/PrtScr. E, I, S, U, B so everything is killed, and nothing trying to write to disk, when unmounting them. Hmm, I do not think you understand, when I exit X/kde the entire system is latched up tight. None of the keys work, nothing is echoed to the screen, the system is latched up tight. All I can do is power cycle the system. When I do that the screen fades and the mouse cursor is visible but slowly fades to a solid white screen. The system hangs at the very moment I use the logout button in kde, to exit the system. Very strange and very repeatable. maybe emerge --emptytree world? revdep-rebuild -p is fine. I am clueless how to fix this... ideas? James -- [EMAIL PROTECTED] mailing list -- Kent ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x| print enNOSPicAMreil [EMAIL PROTECTED][(2*x)..(2*x+1)]}' -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: program autostart from another user
Thanks all for suggestions -- best regards, Aleksey V. Kunitskiy my public GPG/PGP key: http://www.alexey-kv.org.ua/pubkey.asc pgpi6gQNCFXHi.pgp Description: PGP signature
Re: [gentoo-user] Re: problem with ssh login
Hi Mateus, yes, i've tried different target machines, and tried from different origin client to the same target but the results are the same. Have you tryid connecting to other machines as well?(not from, but to) m -- [EMAIL PROTECTED] mailing list
[gentoo-user] where to place command to be executed on X.org start
Hello, I want command xmodmap ~/.Xmodmap to be executed on my X.org start and even restart. Where is the best place to put it? -- Alex V. Fansky Minsk, BSU -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] where to place command to be executed on X.org start
On Tue, 31 Jul 2007 13:23:04 +0300 Alex V. Fansky [EMAIL PROTECTED] wrote: Hello, I want command xmodmap ~/.Xmodmap to be executed on my X.org start and even restart. Where is the best place to put it? How do you start X, XDM, GDM, KDM or maybe startx? -- Microsoft is not the answer. Microsoft is the question. And 'No' is the answer! Anders Trobäck http://www.troback.com -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Winbind...
On Tue, 31 Jul 2007 07:44:38 +0200 Anders Trobäck [EMAIL PROTECTED] wrote: On Mon, 30 Jul 2007 15:44:14 +0200 Anders Trobäck [EMAIL PROTECTED] wrote: On Mon, 30 Jul 2007 14:17:37 +0100 Stroller [EMAIL PROTECTED] wrote: On 30 Jul 2007, at 12:07, Anders Trobäck wrote: ... However, I did add the winbind to the system-auth like this: auth required pam_env.so auth sufficient /lib/security/pam_winbind.so auth sufficient pam_unix.so use_first_pass likeauth nullok accountrequired pam_unix.so password sufficient pam_winbind.so password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3 password sufficient pam_unix.so nullok md5 shadow use_authtok password required pam_deny.so sessionrequired pam_limits.so sessionrequired pam_unix.so Now I can ssh to the box but I as soon as I are logged on I'm kicked off! Do the winbind users have a shell homedir? I'm afraid I can't recall how the shell is defined for them, but I use pam_mkhomedir for the latter. I have always used courier-imap at home, but it doesn't use a pam session, required for pam_mkhomedir, so chose Dovecot IMAP for this office. I'm pretty sure that ssh works fine with pam_mkhomedir, tho'. Stroller. Yes the have home folders. I think that you set the shell with template shell in smb.conf!(?) Now it's working! It was file permissions, the home folder was set to 770 but if I chmod to 750 it worked! Thanks for your time!!! \\troback Hmmm...spoke to early:-] Well I can logon but if I enter a blank/wrong password I can logon anyway! Here are my /etc/pam.d/system-auth auth required pam_env.so auth sufficient pam_winbind.so auth sufficient pam_unix.so use_first_pass likeauth nullok accountrequired pam_unix.so accountsufficient pam_winbind.so password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 ret ry=3 password sufficient pam_winbind.so password sufficient pam_unix.so nullok md5 shadow use_authtok password required pam_deny.so sessionrequired pam_limits.so sessionrequired pam_unix.so -- Microsoft is not the answer. Microsoft is the question. And 'No' is the answer! Anders Trobäck http://www.troback.com -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] where to place command to be executed on X.org start
Peter Ruskin wrote: On Tuesday 31 July 2007, Alex V. Fansky wrote: Hello, I want command xmodmap ~/.Xmodmap to be executed on my X.org start and even restart. Where is the best place to put it? ~/.bashrc AFAIK .bashrc is sourced even when no X is running (e.g. when logging in via ssh). -- Dan Keder http://www.fi.muni.cz/~xkeder/ -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] where to place command to be executed on X.org start
On Tue, 31 Jul 2007 14:19:29 +0200, Dan Keder wrote: I want command xmodmap ~/.Xmodmap to be executed on my X.org start and even restart. Where is the best place to put it? ~/.bashrc AFAIK .bashrc is sourced even when no X is running (e.g. when logging in via ssh). More importantly, it is not sourced when X starts up. -- Neil Bothwick *Libra*: /(Sept 23--Oct 23)/ An unfortunate typo on your application results in your being accepted into the Legion Of Superherpes. signature.asc Description: PGP signature
Re: [gentoo-user] where to place command to be executed on X.org start
On Tue, 2007-07-31 at 13:23 +0300, Alex V. Fansky wrote: Hello, I want command xmodmap ~/.Xmodmap to be executed on my X.org start and even restart. Where is the best place to put it? -- Alex V. Fansky Minsk, BSU can't you use .xinitrc for this? signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] where to place command to be executed on X.org start
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Neil Bothwick wrote: More importantly, it is not sourced when X starts up. Try ~/.xinitrc - -- Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica SHOW DE FUTURABANDA - Sabado 18 de Agosto 2007 (Speed King, Capital Federal) Entradas anticipadas a traves de www.futurabanda.com.ar - Punk Rock Melodico -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGrzR7AlpOsGhXcE0RChmdAJ9OhtxZowOi0dpCBdzHy6E342bGcACeLiAU ClXy8Zjk3PM6nFrF5GTCCBk= =nRwL -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
[gentoo-user] Apache not compiling
Hi, when I try to compile Apache, I get this error. those are use flags, I try some configuratiosn but always get an error zombie ~ # grep apache /etc/portage/package.use www-servers/apache -doc -apache2 -ssl -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker -ssl -threads zombie ~ # emerge apache -D -pvt These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N] www-servers/apache-2.0.58-r2 USE=-apache2 -debug -doc -ldap -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker (-selinux) -ssl -static-modules -threads 0 kB ww-servers/apache-2.0.58-r2/work/httpd-2.0.58/modules/proxy -I/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/include -I/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/modules/generators -L/usr/lib -o libpcre.la maketables.lo get.lo study.lo pcre.lo pcreposix.lo make[3]: Leaving directory `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/srclib/pcre' make[2]: Leaving directory `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/srclib/pcre' make[1]: Leaving directory `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/srclib' Making all in os make[1]: Entering directory `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/os' make[1]: Leaving directory `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/os' Making all in server make[1]: Entering directory `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/server' Making all in mpm make[2]: Entering directory `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/server/mpm' make[2]: *** No rule to make target `all'. Stop. make[2]: Leaving directory `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/server/mpm' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/server' make: *** [all-recursive] Error 1 !!! ERROR: www-servers/apache-2.0.58-r2 failed. Call stack: ebuild.sh, line 1621: Called dyn_compile ebuild.sh, line 973: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile apache-2.0.58-r2.ebuild, line 181: Called die !!! problem compiling apache2 !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/www-servers/apache-2.0.58-r2/temp/build.log'. : ( Tanks -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] where to place command to be executed on X.org start
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Peter Ruskin wrote: Yes, but but when you log in to a non-X terminal you can still log in - all you get is a message like xmodmap: unable to open display ''. Then execute those commands with a conditional test of the $DISPLAY env var... test -n $DISPLAY some_command_to_run_if_$DISPLAY_has_content - -- Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica SHOW DE FUTURABANDA - Sabado 18 de Agosto 2007 (Speed King, Capital Federal) Entradas anticipadas a traves de www.futurabanda.com.ar - Punk Rock Melodico -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGrzsKAlpOsGhXcE0RCgYFAJ0cgUsOKM1OPqndRZyaHiaXBYabegCfURrF BB0+BtLtMTsKMepBZ5j/lEA= =ThOQ -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
[gentoo-user] Crap is being added to site-gentoo.el
Hi, I'm seeing crap being added to site-gentoo.el whenever it is being touched by an emerge. My current site-gentoo.el look like: snip ;;; cedet site-lisp configuration (load /usr/share/emacs/site-lisp/cedet/common/cedet) ;; If you wish to customize CEDET, you will need to follow the ;; directions in the INSTALL (installed in the documentation) file and ;; customize your ~/.emacs /before/ site-gentoo is loaded. ^_8b[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@^Cu90A 830^TD÷9Å908du91^À8d]t!tQ°^W^HIÔP9b/ÉÏýkÄ^V v9¼a^^8ch9a^F#?95%83ä٩٧^E86ÂàÇ^\5{ B9c´µ8a©0F593¶jÑA¶}÷¸ÞºþÞʺÔ2S¡¨öIåCr91!÷,^E /ÖBcMùå^Bo LN[^WÁ^D9e^\L8eqE^Xr0^E9f%¸þ?¯92ÛjG9a^O:ÔiþÑ-´[EMAIL PROTECTED]@ ;;; emacs-w3m site-lisp configuration (add-to-list 'load-path /usr/share/emacs/site-lisp/emacs-w3m) (setq w3m-icon-directory /usr/share/pixmaps/emacs-w3m) (require 'w3m-load) snip Do anyone has an idea of why this is happening? Thanks, jules # emerge --info ## omc-2 ~ # emerge --info Portage 2.1.2.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8 x86_64) = System uname: 2.6.20-gentoo-r8 x86_64 AMD Opteron(tm) Processor 252 Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 31 Jul 2007 09:20:01 + dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.3.5-r3, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/sandbox:1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS=amd64 AUTOCLEAN=yes CBUILD=x86_64-pc-linux-gnu CFLAGS=-march=k8 -O2 -pipe CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/X11/xkb CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c CXXFLAGS=-march=k8 -O2 -pipe DISTDIR=/usr/portage/distfiles FEATURES=distlocks metadata-transfer sandbox sfperms strict GENTOO_MIRRORS=http://mirror.muntinternet.net/pub/gentoo/ http://mirror.uni-c.dk/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/; LC_ALL=en_US.utf8 MAKEOPTS=-j3 PKGDIR=/usr/portage/packages PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-* PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage PORTDIR_OVERLAY=/usr/local/portage SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage USE=X aac aalib acl alsa amd64 berkdb bitmap-fonts browserplugin bzip2 cdr cli cracklib crypt cups dri dvd dvdr dvdread emacs fam fbcon firefox foomaticdb fortran gdbm gnome gpm gtk gzip-el hal iconv ipv6 isdnlog jpeg libg++ midi mmx mp3 mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl png portaudio pppd python readline reflection session spl sse sse2 ssl tcpd tetex theora toolkit-scroll-bars truetype-fonts type1-fonts unicode vorbis wma xine xorg xvid zlib ALSA_CARDS=emu10k1 ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol ELIBC=glibc INPUT_DEVICES=evdev keyboard mouse KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text USERLAND=GNU VIDEO_CARDS=nv nvidia vesa Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] where to place command to be executed on X.org start
On Tue, 31 Jul 2007 10:09:24 -0300, Arturo 'Buanzo' Busleiman wrote: More importantly, it is not sourced when X starts up. Try ~/.xinitrc That may work, it depends on how the OP is starting X, which he hasn't said, despite being asked. It could be .xinitrc, .Xsession or .kde/Autostart/ -- Neil Bothwick Top Oxymorons Number 24: New classic signature.asc Description: PGP signature
Re: [gentoo-user] Crap is being added to site-gentoo.el
On Tue, 2007-07-31 at 15:44 +0200, Jules Colding wrote: Hi, I'm seeing crap being added to site-gentoo.el whenever it is being touched by an emerge. I experimented a bit. I un-merged subversion and removed any lingering site-gentoo.el crap. I verified that everything was OK and did: USE=-emacs emerge subversion This went well. No site-gentoo.el pollution. Then I un-merged subversion again: USE=-emacs emerge -C subversion Everything was still OK. At last I did: emerge subversion This time the emerge was with the activated emacs USE flag. Lo and behold, the crap was back: snip (load /usr/share/emacs/site-lisp/cedet/common/cedet) ;; If you wish to customize CEDET, you will need to follow the ;; directions in the INSTALL (installed in the documentation) file and ;; customize your ~/.emacs /before/ site-gentoo is loaded. ^_8b[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@^Cu90A 830^TD÷9Å908du91^À8d]t!tQ°^W^HIÔP9b/ÉÏýkÄ^V v9¼a^^8ch9a^F#?95%83ä٩٧^E86ÂàÇ^\5{ B9c´µ8a©0F593¶jÑA¶}÷¸ÞºþÞʺÔ2S¡¨öIåCr91!÷,^E /ÖBcMùå^Bo LN[^WÁ^D9e^\L8eqE^Xr0^E9f%¸þ?¯92ÛjG9a^O:ÔiþÑ-´[EMAIL PROTECTED]@;;; svn site-lisp configuration (add-to-list 'load-path /usr/share/emacs/site-lisp/subversion) (and ( emacs-major-version 22) (add-to-list 'load-path /usr/share/emacs/site-lisp/subversion/compat)) (add-to-list 'vc-handled-backends 'SVN) (defalias 'svn-examine 'svn-status) (autoload 'svn-status psvn Examine the status of Subversion working copy in directory DIR. t) ;;; emacs-w3m site-lisp configuration snip I've key-worded subversion with ~amd64 so the version in question is subversion-1.4.4-r3. Any ideas? Thanks, jules -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] where to place command to be executed on X.org start
On Tue, 31 Jul 2007 14:58:28 +0100, Peter Ruskin wrote: More importantly, it is not sourced when X starts up. Works for me. Which proves nothing more than you are starting bash with X. .bashrc is for Bash, .xinitrc is for X. .bashrc running when X starts for you is a by-product of your setup, not the way it is intended to be used. -- Neil Bothwick Macro: (n.) a series of keystrokes used to simulate a missing but essential command. signature.asc Description: PGP signature
Re: [gentoo-user] where to place command to be executed on X.org start
On Tue, 2007-07-31 at 13:23 +0300, Alex V. Fansky wrote: Hello, I want command xmodmap ~/.Xmodmap to be executed on my X.org start and even restart. Where is the best place to put it? Kinda depends on how you start your X session. I'll talk about the ones I know about: * If you use startx or xinit to start your X session, then you probably already have an ~/.xinitrc. You can put it there. * If you use a xdm or similar then you can put it in ~/.xsession. By default, though GDM, for example, does not read your ~/.xsession, however... * GNOME automatically reads your ~/.Xmodmap on startup unless told otherwise. You could also put it in Control Center/Sessions/Startup Programs * I would *not* put it in ~/.bashrc for remote X stuff. the reason is that your local machine may, e.g. have a different keyboard layout than the remote machine and when you ssh into the remote machine it will use the local .Xmodmap. This is also a problem with GNOME's automatic reading of .Xmodmap too, unfortunately. If you are using xdm but not GNOME you can probably get around it by checking to see if the DISPLAY variable points to a remote (or ssh-forwarded) display. I don't know KDE or other DE's/DM's so cannot say. -- Albert W. Hopkins -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] where to place command to be executed on X.org start
В сообщении от Tuesday 31 July 2007 16:05:54 Tim Allingham написал(а): On Tue, 2007-07-31 at 13:23 +0300, Alex V. Fansky wrote: Hello, I want command xmodmap ~/.Xmodmap to be executed on my X.org start and even restart. Where is the best place to put it? -- Alex V. Fansky Minsk, BSU can't you use .xinitrc for this? Thanks for your reply. Adding my command to .xinitrc helped -- Alex V. Fansky Minsk, BSU -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] problem with ssh login
Hi lists, i'm trying to remotely login to a Gentoo box via ssh. However (and the behaviour is the same from different machines) whenever i try to login the procedure hangs before recognizing the remote protocol version: ssh -vvv [EMAIL PROTECTED] OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006 debug1: Reading configuration data /etc/ssh/ssh_config debug2: ssh_connect: needpriv 0 ... [snip] ... ebug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug2: key_type_from_name: unknown key type '-END' debug3: key_read: missing keytype debug1: identity file /home/pippo/.ssh/id_rsa type 1 debug1: identity file /home/pippo/.ssh/id_dsa type -1 [hangs here] i can only do a Crtl+C and abort the ssh login session. What can be the cause of this behaviour? Thanks in advance, Marco -- [EMAIL PROTECTED] mailing list Sounds like your local key can't be read. Check the permissions and regen the key if the file permissions are right. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] where to place command to be executed on X.org start
On Tue, 2007-07-31 at 14:58 +0100, Peter Ruskin wrote: On Tuesday 31 July 2007, Neil Bothwick wrote: AFAIK .bashrc is sourced even when no X is running (e.g. when logging in via ssh). More importantly, it is not sourced when X starts up. Works for me. -- Peter Gentoo Linux: Portage 2.1.3_rc9 kernel-2.6.22-gentoo-r1 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+gcc(GCC): 4.1.2 KDE: 3.5.7Qt: 3.3.8 but if you restart X with ctrl-alt-backspace does it continue working? signature.asc Description: This is a digitally signed message part
[gentoo-user] Re: reiserfsprogs
Boyd Stephen Smith Jr. bss03 at volumehost.net writes: and provided you have enabled CONFIG_MAGIC_SYSRQ in your kernel, hold down Alt and SysReq/PrtScr and press S, U and B in turn to reboot (reasonably) cleanly. Pausing a couple of seconds between each key is probably a good idea. Kernel Hacking: CONFIG_MAGIC_SYSRQ=y Interesting idea however this laptop does not have this key SysReq/PrtScr. Every keyboard has a SysRq button. On most, it is shared with PrtScrn. However, I've also seen it shared with either an F key or ScrollLock or by itself. Also, I've seen laptops where you had to hold the Fn key to get a key that acts like SysRq. I guarantee you've got one, although I suppose it might not be labeled SysRq at all. OK, sorry; between being very tired and aging eyes, I had to use a magnifying glass and found these 2 keys: home/prt sc and end/sys rq the bottom ones look like function key markings...(tiny font) So When X/kde freezes up everything I'm going to hold down these (3) keys: ALT+FUNCKEY+SYSRQ and then Sequentially press E I S U B with a 2 second delay between keystokes and the system will cleanly reboot? This failed to work for me. After it hung, I tried the above and many variations on this theme of keystroke to reboot. Nothing worked. However, upon powercycle reboot, the system came back clean with no fsck. Maybe this keystroke sequence clean up everything, but failed to initiate a reboot? Well, with no changes to the system or config files , this time X/kde failed to launch, or I guess I should say the screen went black (dark) and just latched up the system completely, all remote ssh session and the console LATCHED UP. Repeatable now so KDE now launches to a dark (latched up) screen now. When I boot to a console, the system is fine. When I launch X/kde via startx it latches up immediately I have no idea how to figure out this problem. To me it has to be the xorg.conf file? -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: reiserfsprogs
Kent Fredric kentfredric at gmail.com writes: X/kde runs fine, but when I exit it now, the system latches up, tight all ssh sessions, the console, everything. Now X/kde will not start. Everything latches up as soon as I enter 'startx' at the console. Try Disabling anything fancy ( ie: composite support ), or try disabling APIC. I had a glitch a while back where composite + apic = system lockup, and later, something in QT4 tripped it up. I have no ide how to diable 'composite support'. When the system was ordered it was specified 1680x1050 on the 17 inch screen resolution. The few times (sporadically) I did get X/kde to launch, it was is 1024x768 mode. I cold not build a working xorg.conf file, so I boot up the liveCD 2007.0 can copied over the default xorg.conf that at least worked with the liveCD. My suspicion is that xorg.conf file, particularly the Hortz and Vert ranges: HorizSync28.0 - 96.0 VertRefresh 50.0 - 75.0 Or maybe it the long list of fonts from the xorg.conf file on the livecd2007.0 and I have not installed all of those fonts? What I need a very simple xorg.conf for a HP Pavilion dv9000z. Googling I found a couple but they did not work and hacking xorg.conf files has always seem to be a moving target for me I eliminated acpid from the startup, it made no difference: rc-update del acpid default Right now I'm running 'emerge --emptytree world' It's on 29/862 for lack of any better ideas. James -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: reiserfsprogs
On Tuesday 31 July 2007 17:32, James wrote: I have no ide how to diable 'composite support'. Section Extensions Option Composite Disable (or False) When the system was ordered it was specified 1680x1050 on the 17 inch screen resolution. The few times (sporadically) I did get X/kde to launch, it was is 1024x768 mode. I cold not build a working xorg.conf file, so I boot up the liveCD 2007.0 can copied over the default xorg.conf that at least worked with the liveCD. My suspicion is that xorg.conf file, particularly the Hortz and Vert ranges: HorizSync28.0 - 96.0 VertRefresh 50.0 - 75.0 From a terminal within X while you have booted the LiveCD run xvidtune (emerge it if you have to). That will tell you what is the HorizSync and VertRefresh. Assuming all is looking right with the LiveCD use these settings into your xorg.conf. Another trick is to remove them completely (just comment them out) and xorg will try to guess them after it probes the hardware. It may just work. Final gotcha is the mouse. I assume that if it works with the LiveCD the same settings should do it for you, otherwise you may want to try playing with mine below and see what gives: == Section InputDevice Identifier Mouse0 Driver synaptics Option Protocol SynPS/2 Option InputFashion Mouse Option Device /dev/input/mice Option Name SynPS/2 Synaptics TouchPad Option SHMConfig on Option Vendor 0002 Option ZAxisMapping 4 5 Option Emulate3Buttons True Option Buttons 3 EndSection == HTH. -- Regards, Mick pgpovREO1eEe6.pgp Description: PGP signature
[gentoo-user] Re: reiserfsprogs
Mick michaelkintzios at gmail.com writes: From a terminal within X while you have booted the LiveCD run xvidtune (emerge OK I'll give this a whirl, after emerge --emptytree world completes. I'll try all of your suggestions and post to a new thread on the result. The laptop (hopefully) will be compiling all night. Right now I'm just a little fried and frustrated over this machine. thx, James -- [EMAIL PROTECTED] mailing list
[gentoo-user] IO scheduling
Hi, Is there any possibility to adjust IO scheduling priority ? I found that rtorrent eats a lot of IO resourses when calculating hash, and I can't ajust that by making its nice higher. Even on +19 it is blocker Thanks -- best regards, Aleksey V. Kunitskiy my public GPG/PGP key: http://www.alexey-kv.org.ua/pubkey.asc pgp9tv166UFgl.pgp Description: PGP signature
Re: [gentoo-user] IO scheduling
Aleksey V. Kunitskiy wrote: Hi, Is there any possibility to adjust IO scheduling priority ? There's ionice which is part of sys-process/schedutils. At least it's in v1.5.0. ionice -c2 -p `pidof rtorrent` will make IO very nice. ionice -c3 -p `pidof rtorrent` claims to wait until other IO is idle. Extremely nice, but probably not what you want for a network client like rtorrent. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] IO scheduling
Aleksey V. Kunitskiy schrieb: Hi, Is there any possibility to adjust IO scheduling priority ? I found that rtorrent eats a lot of IO resourses when calculating hash, and I can't ajust that by making its nice higher. Even on +19 it is blocker Thanks There is ionice. It is part of sys-process/schedutils which is in portage. There is a manpage here http://linux.die.net/man/1/ionice as it is not included in schedutils. You can also take alook at http://forums.gentoo.org/viewtopic-t-462230.html. It is a forum thread about ionice. Just for your information: Ionice is also part of the util-linux-ng-2.13 the replacement for util-linux which is in portage but currently without keywords. The stable version 2.12r-r7 is the old util linux where ionice is not included. So you have to use 2.13_rc2 which is util-linux-ng but there is always a reason why there are no keywords! Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] IO scheduling
I forgot to mention that I think you need to be using the CFQ scheduler. Change ionice class doesn't seem to affect the deadline and anticipatory schedulers' behaviour. Also I think I had an extra space in there after the -p. Try: ionice -c2 -p`pidof rtorrent` -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] IO scheduling
On Tuesday 31 July 2007 23:58, Steve Dommett wrote: ionice -c2 -p `pidof rtorrent` will make IO very nice. ionice -c3 -p `pidof rtorrent` claims to wait until other IO is idle. Extremely nice, but probably not what you want for a network client like rtorrent. Thanks Steve. I'll try it. But I can still accept other suggestions :) -- best regards, Aleksey V. Kunitskiy my public GPG/PGP key: http://www.alexey-kv.org.ua/pubkey.asc pgpuytDUd5XLJ.pgp Description: PGP signature
Re: [gentoo-user] IO scheduling
On Wednesday 01 August 2007 00:03, Daniel Pielmeier wrote: There is ionice. It is part of sys-process/schedutils which is in portage. There is a manpage here http://linux.die.net/man/1/ionice as it is not included in schedutils. You can also take alook at http://forums.gentoo.org/viewtopic-t-462230.html. It is a forum thread about ionice. Just for your information: Ionice is also part of the util-linux-ng-2.13 the replacement for util-linux which is in portage but currently without keywords. The stable version 2.12r-r7 is the old util linux where ionice is not included. So you have to use 2.13_rc2 which is util-linux-ng but there is always a reason why there are no keywords! Thank you all guys, I'll use it and see if cfq fully fits into my needs. -- best regards, Aleksey V. Kunitskiy my public GPG/PGP key: http://www.alexey-kv.org.ua/pubkey.asc pgp5TdJw6YGdz.pgp Description: PGP signature
[gentoo-user] Switching from Genkernel to manual build
Is there any specific process to or problems one might encounter as a result of switching from a Genkernel built kernel over to a manually built kernel? Thanks. -- -·=»Ðŧħ«=·- z���(��j)b� b�