Re: [gentoo-user] Resetting the root passwd

2012-01-10 Thread Aljosha Papsch
On Tue, Jan 10, 2012 at 08:12:53PM +0100, Hinnerk van Bruinehsen wrote:
 On 10.01.2012 19:46, Tanstaafl wrote:
  Ok, I did something really dumb...
  
  I changed the root passwd for a system I manage last week, but
  neglected to write it down, and now what I *thought* I had changed
  it to isn't working... I know, I know, really *really* dumb, but
  that's where I am...
  
  I know I can boot into Single User mode, remount the root
  partition read/write, and edit /etc/shadow (removing the encrypted
  passwd), then rest it using passwd, but...
  
  Some of the accounts in /etc/shadow have a '*' where the encrypted 
  passwd would be, and some have a '!'... (ie, one is sshd:!:... and 
  another is halt:*:...)
  
  Does it matter what I change it to? Should I use a *, !, or nothing
  at all (so that there is *nothing* between the two :: that would
  normally contain the encrypted passwd)?
  
  Thanks...
  
 
 The simpelest solution should be to copy the password-hash of a user
 whose password is know to you.
 Afterwards you can log in an change the password again. And for the
 future: http://xkcd.com/936/ ;)

Or boot from a Live CD, chroot and set the password from there.



Re: [gentoo-user] Kernel 3.1.6 and loss of sound

2011-12-30 Thread Aljosha Papsch
On Fri, Dec 30, 2011 at 12:00:11PM -0500, Michael Mol wrote:
 Peter Humphrey wrote:
  On Friday 30 December 2011 14:34:16 Mark Knecht wrote:
 
I guess you're going to need to provide some debug info. Maybe try a
 
complete power down and not just a warm boot. Not finding the device
 
at all is problematic. What's in lspci, etc.?
 
  Power cycle complete - no difference. Switching back to kernel 3.0.6 I
  now have no sound there either!
 
  Lspci shows the device ok. Output of alsa-info attached.
 
 Your ALSA stuff looks fine, by my eye. What happens when you run 
 alsamixer? alsamixer -c0?

Peter, according to your amixer output 'Master Front' is set to 0%. Maybe this 
is your problem?

-- 



Re: [gentoo-user] Audio Problem

2011-12-28 Thread Aljosha Papsch
Am Mittwoch, den 28.12.2011, 11:12 + schrieb Vishnupradeep:
 unmerged pulseaudio. Now the sound works when system is restarted. but
 after some time it stops working. juk player is unable to output any
 audio. VLC works


What do the logs say? What gets printed on the console when you start
juk or vlc? Just seeing the message doesn't help. There are numerous
reasons for a device to not work.

Regards,



signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Audio Problem

2011-12-28 Thread Aljosha Papsch
Am Mittwoch, den 28.12.2011, 18:27 + schrieb Vishnupradeep:
 output of emerge -vpe world
 http://pastebin.com/wG3fSYLr
 
 
 I hope this will be useful.
 
 
 On Wed, Dec 28, 2011 at 5:56 PM, Vishnupradeep
 intermedia.vis...@gmail.com wrote:
 The video plays but the first few seconds of audio is looping.
 The Flash player in browser has also problems. The
 Youtube video plays only 3 seconds and stops. Then if used the
 slider. then plays 3 seconds from new position and stops. The
 video was fully buffered. still have this problem.
 
 
 
 
 On Wed, Dec 28, 2011 at 5:45 PM, Vishnupradeep
 intermedia.vis...@gmail.com wrote:
 
 
 On Wed, Dec 28, 2011 at 5:12 PM, Aljosha Papsch
 papsch...@googlemail.com wrote:
 What gets printed on the console when you
 start
 juk or vlc?
 vishnu@localhost ~ $ vlc
 VLC media player 1.1.13 The Luggage (revision
 exported)
 Blocked: call to unsetenv(DBUS_ACTIVATION_ADDRESS)
 Blocked: call to unsetenv(DBUS_ACTIVATION_BUS_TYPE)
 [0x604150] main libvlc: Running vlc with the default
 interface. Use 'cvlc' to use vlc without interface.
 Blocked: call to setlocale(6, )
 Blocked: call to setlocale(6, )
 [0x6d9de0] qt4 interface error: Unable to load
 extensions module
 

You said in your second message that VLC works fine. Maybe your problem
is related to Xine (KDE applications use that usually)? What happens if
you switch the sound backend in KDE's configuration to VLC (that should
be the other there IIRC)? In either case, what do the logs
like /var/log/messages say?



signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Audio Problem

2011-12-27 Thread Aljosha Papsch
Am Dienstag, den 27.12.2011, 23:37 +0100 schrieb Stéphane Guedon:
 On Tuesday 27 December 2011 20:41:12 Vishnupradeep wrote:
  I have M2A-MX motherboard with AMD Phenom II X4 prcessor. Installed gentoo
  11.2 with kde and now the audio is not working. Installed pulseaudio and
  ALSA. i am little confused, fo audio to work both ALSA and pulseaudio
  needed ? I would like to play some music. How to correct the audio.
  
  
  Linux Blog: http://xtreme-linux.blogspot.com/
  Fedora Blog: http://xtreme-fedora.blogspot.com/
  My Blog: http://sharedonweb.blogspot.com/
 
 First, pulseaudio is not needed. It is not recommanded if you don't know what 
 to do with it.
 
 Did you check you turn on your audio system ? (quite often, it's basically 
 set 
 to mute).
 Does your kernel recognize your audio system ?
 Does kde recognize your audio system (there is a config panel about it) ?
 
 Check that, and get back, you will help us to help you.
 I am not the guy who will help you, I am not skilled in audio and alsa. But I 
 know what others will ask for.

Additionally, have you added yourself to the audio group? The ALSA guide
is a good source for how to do these things:
http://www.gentoo.org/doc/en/alsa-guide.xml


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Where to set language with lightdm

2011-12-23 Thread Aljosha Papsch
Am Freitag, den 23.12.2011, 18:17 +0100 schrieb Michael Hampicke:
 Hey there,
   I've been having some problems with GDM recently (freeze after reboot,
 freeze after suspend) so I thought I'd give lightdm a shot.
 So far everything works great, but I cannot set a language for a lightdm
 session.
 
 My system locale is set to en_US.utf8 because when working with command
 line tools I prefere if they talk english to me.
 But I like my Desktop (everything running under X) to be in german. With
 GDM that was no problem: just set the system locale to english and
 create a .dmrc file in the home directory where you set
 'Language=de_DE.UTF-8'
 
 Lightdm ignores that file. After some google foo I found that if you
 edit /etc/lightdm/lightdm-gtk-greeter.conf and set
 'show-language-selector=true' you can choose a language before logging
 in (like with GDM) - however, I can choose what i wan't, my Desktop is
 still in english.
 
 So far it seems that nothing works, except setting the system's default
 locale to german in /etc/env.d/02locale - but that's not what I want.
 
 Do you have any thoughts?
 

As a temporary solution you may set your locale to de_DE.UTF-8 but
export LC_ALL=en_US in the shell's rc file.

Regards,




Re: [gentoo-user] Anyone using libreoffice 3.5.0.0 yet?

2011-12-21 Thread Aljosha Papsch
Am Mittwoch, den 21.12.2011, 21:57 +0200 schrieb v...@ukr.net:
 Hello!
   So how can I install LibreOffice 3.5 to test it? 
 Portage does not suggest me an update to 3.5 version any more.
 
   Thanks.
 Vladimir   
 

If you want to go deeper into testing, you may be interested to join the
bughunting session on 28th and 29th December. See http://wp.me/p1byPE-cX
for the details.

Regards,


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Lynx, Links, or Elinks?

2011-12-12 Thread Aljosha Papsch
Am Sonntag, den 11.12.2011, 00:13 +0100 schrieb Frank Steinmetzger:
 On Sat, Dec 10, 2011 at 10:36:32AM -0200, luis jure wrote:
 
  As the subject says: Which text browser do you recommend?
  
  i haven't used text browsers for some time now, but i definitely
 prefered
  links over lynx. if i were you, i would try both. for me the links
  interface was much better, although lynx seems to be better known or
 more
  widely used. 
  
 I like elinks for its tabs capability and easy configurability through
 its GUI
 (the latter isn’t a killer feature in console land, but it makes it
 easy for
 example to find every keyboard-assignable feature it has).

I like elinks and lynx for their proxy support. lynx simply uses *_proxy
environment variables, elinks must be configured in it's menu. links
doesn't support https over proxy.


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Pulseaudio shuts off

2011-12-11 Thread Aljosha Papsch
Am Samstag, den 10.12.2011, 17:25 +0100 schrieb meino.cra...@gmx.de:
 Hi,
 
 sorry for the nebelous subject...
 
 The following happened to me.
 I have installed/configured pulseaudio according to this
 for a one-person desktop gentoo-system:
 http://en.gentoo-wiki.com/wiki/PulseAudio
 
 When starting gwc (which is not in portage) and playing
 sounds, it works...once...
 
 After a while I here the same clicking sound, which happens
 while booting the system and alsa takes over...and thats it.
 I have to kill gwc.
 
 On the console gwc prints:
 
 Current stack limit: 8388608 bytes
 libsndfile Version: libsndfile-1.0.25 1 0 25
 socket(): Address family not supported by protocol
 Closing the Pulse audio device
 
 The last line appears when I press stop audio playback, the clicking
 happes a few seconds later.
 
 After that...no go.
 
 I have appended /etc/pulse/default.pa at the end of this posting.
 
 Interestingly it is possible to successfully restart gwc.
 
 What can I do to fix this?
 
 Best regards,
 mcc

Guessing wildly from your message in the other thread, I suggest you try
compiling with alsa disabled. Maybe the alsa and pulseaudio interfaces
don't work well together in gwc on modern systems (you said gwc is quite
old)? I'm not familiar with gwc though.

Regards


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] zeitgeist in Gnome 3

2011-12-06 Thread Aljosha Papsch
Am Dienstag, den 06.12.2011, 17:16 +0100 schrieb Stefan G. Weichinger:
 Anyone using that?
 
 I see three pkgs in portage:
 
 dev-libs/libzeitgeist
 gnome-extra/zeitgeist
 gnome-extra/zeitgeist-datahub
 
 This allows me to use this extension:
 
 https://extensions.gnome.org/extension/33/jump-lists/
 
 but afai see it only works with libreoffice right now, but not with
 other applications like thunderbird.
 
 I wonder if I need gnome-activity-journal for that (not in portage or
 the gnome-overlay)?
 
 Or is that so far not yet available in gnome-3.2?
 
 Stefan
 
 

Applications need to support zeitgeist. If an application do not support
it (Thunderbird most certainly doesn't), files and activities simply
don't get recorded. For example, opening files in Nautilus will track
opened files but doing something on the shell will not.

Regards


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] zeitgeist in Gnome 3

2011-12-06 Thread Aljosha Papsch
Am Dienstag, den 06.12.2011, 19:22 +0100 schrieb Stefan G. Weichinger:
 Am 2011-12-06 17:59, schrieb Aljosha Papsch:
 
  Applications need to support zeitgeist. If an application do not
  support it (Thunderbird most certainly doesn't), files and
  activities simply don't get recorded. For example, opening files in
  Nautilus will track opened files but doing something on the shell
  will not.
 
 That's where zeitgeist-datasources come in?
 
 https://launchpad.net/zeitgeist-datasources
 
 for example for firefox etc
 
 S
 
 

I wasn't aware of that project, thanks for the hint! :) Yes, they seem
to provide data providers for certain applications. A look in the trunk
reveals which applications:
http://bazaar.launchpad.net/~zeitgeist-dataproviders/zeitgeist-datasources/trunk/files


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Re: no keyboard activity in gnome

2011-11-30 Thread Aljosha Papsch
Am Dienstag, den 29.11.2011, 21:03 -0500 schrieb cov...@ccs.covici.com:
 I can't get startx to work at all, here is what I get when I try it.
 xauth:  file /home/covici/.serverauth.21638 does not exist
 
 
 X.Org X Server 1.11.2
 Release Date: 2011-11-04
 X Protocol Version 11, Revision 0
 Build Operating System: Linux 2.6.32-gentoo-r2 x86_64 Gentoo
 Current Operating System: Linux ccs.covici.com 2.6.32-gentoo-r2 #3 SMP
 Sat Apr 9 23:17:27 EDT 2011 x86_64
 Kernel command line: BOOT_IMAGE=2.6.32-gentoo ro root=100 init=/linuxrc
 ramdisk=8192 real_root=/dev/mapper/linux--files-64--root udev
 video=uvesafb:1280x1024 speakup.synth=spkout vmalloc=256M dolvm
 Build Date: 27 November 2011  05:14:42PM
 
 Current version of pixman: 0.24.0
 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
 Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (==) Log file: /var/log/Xorg.0.log, Time: Tue Nov 29 21:00:16 2011
 (==) Using config file: /etc/X11/xorg.conf
 (==) Using system config directory /usr/share/X11/xorg.conf.d
 (EE) Failed to load module dri (module does not exist, 0)
 (EE) Failed to load module dri2 (module does not exist, 0)
 (EE) NVIDIA: Failed to load module dri2 (module does not exist, 0)
 [dix] Could not init font path element unix/:7100, removing from list!
 which: no keychain in
 
 (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3:/usr/local/freeswitch/bin:/usr/sbin:/sbin:/home/covici/bin)
 /etc/X11/xinit/xinitrc: line 59: twm: command not found
 /etc/X11/xinit/xinitrc: line 63: exec: xterm: not found
 xinit: connection to X server lost
 
 waiting for X server to shut down Server terminated successfully
 (0). Closing log file.
 
 I am not sure why this is happening.

You don't have twm and xterm installed. But that's just the default to
start for X11. Edit ~/.xinitrc and put only the following in it:
exec gnome-session
Make sure that you have dbus started.




Re: [gentoo-user] Re: Full disk encryption

2011-11-30 Thread Aljosha Papsch
Am Mittwoch, den 30.11.2011, 19:32 +0100 schrieb czernitko:
 Yup, establishing encrypted partition for /home was easy as a pie
 using cryptsetup. I was considering using truecrypt as it offers
 multiplatform support, so I could access encrypted partition even from
 my dualbooted windoze, but I didn't want to put effort into something
 not as well documented (how-toed) as dmcrypt.

You can use FreeOTFE[0] for that. I don't use Windows, so I can't tell
whether you need to install the filesystem driver for Windows.

[0] http://www.freeotfe.org/




Re: [gentoo-user] kde overlay is missing manifests

2011-11-09 Thread Aljosha Papsch
2011/11/9 Nikos Chantziaras rea...@arcor.de:
 What's happening with the kde overlay?  All Manifest files are gone and I
 can't emerge anything because of that.


The overlay uses new Manifest format. Read the blog entry:
http://dilfridge.blogspot.com/2011/11/gentoo-kde-stabilization-and-kde.html



Re: [gentoo-user] TUSB3410 on 3.0.6 kernel

2011-11-06 Thread Aljosha Papsch
2011/11/6 Érico Porto ericoporto2...@gmail.com:
 Hello,
 I would like to ask about the kernel 3.0.6. I can't load
 the ti_usb_3410_5052.ko. I mean, when I select it in the kernel menu, it
 makes fine, but when I type make modules_install, I get an error:
 make[1]: *** No rule to make target `/lib/firmware/./', needed by
 `/lib/firmware/ti_3410.fw'.  Stop.
 make: *** [_modinst_post] Error 2
 Has anyone tried it in the 3.0.6 kernel? My uname -a output is:
 Linux localhost 3.0.6-gentoo #13 SMP Wed Nov 2 21:05:47 BRST 2011 i686
 Intel(R) Celeron(R) M processor 900MHz GenuineIntel GNU/Linux
 My kernel was loaded using emerge.
 Regards
 Érico V. Porto


I solved this by not building firmware into kernel. It's somewhere in
Linux config General Options.



Re: [gentoo-user] TUSB3410 on 3.0.6 kernel

2011-11-06 Thread Aljosha Papsch
2011/11/6 Érico Porto ericoporto2...@gmail.com:
 Ok I will try it.
 I used:
 make  make modules_install  make install
 Doesn't the modules get made in the make part?
 Érico V. Porto


 On Sun, Nov 6, 2011 at 8:16 PM, Aljosha Papsch papsch...@googlemail.com
 wrote:

 2011/11/6 Érico Porto ericoporto2...@gmail.com:
  Hello,
  I would like to ask about the kernel 3.0.6. I can't load
  the ti_usb_3410_5052.ko. I mean, when I select it in the kernel menu, it
  makes fine, but when I type make modules_install, I get an error:
  make[1]: *** No rule to make target `/lib/firmware/./', needed by
  `/lib/firmware/ti_3410.fw'.  Stop.
  make: *** [_modinst_post] Error 2
  Has anyone tried it in the 3.0.6 kernel? My uname -a output is:
  Linux localhost 3.0.6-gentoo #13 SMP Wed Nov 2 21:05:47 BRST 2011 i686
  Intel(R) Celeron(R) M processor 900MHz GenuineIntel GNU/Linux
  My kernel was loaded using emerge.
  Regards
  Érico V. Porto
 

 I solved this by not building firmware into kernel. It's somewhere in
 Linux config General Options.




Yes it's just make. Then I tried compiling the kernel, I got the same
error with installing firmware. But I lied in the other message ;) The
location of the option is:
Symbol: FIRMWARE_IN_KERNEL [=n]
  |  Type  : boolean
  │ Prompt: Include in-kernel firmware blobs in kernel binary
  │   Defined at drivers/base/Kconfig:80
  │   Depends on: FW_LOADER [=y]
  │   Location:
  │ - Device Drivers
  │   - Generic Driver Options
  │ - Userspace firmware loading support (FW_LOADER [=y])



Re: [gentoo-user] TUSB3410 on 3.0.6 kernel

2011-11-06 Thread Aljosha Papsch
2011/11/7 Érico Porto ericoporto2...@gmail.com:
 Yeah, seem udev is the problem.
 I'm reading http://hackaday.com/2009/09/18/how-to-write-udev-rules/
 It seems once this is done right, thing will work
 Thanks!
 (right now, it sees it as generic usb something...)
 Érico V. Porto


 On Sun, Nov 6, 2011 at 9:20 PM, Dale rdalek1...@gmail.com wrote:

 Érico Porto wrote:

 so now the module is loadable through modprobe, it all makes with no
 errors.

 It's probably out of this topic, but shouldn't I see a ttyUSB or
 something like that in my /dev/ ?

 I tried using

 modprobe ti_usb_3410_5052 product=0451 vendor f432

 I just wanted to read the virtual usb serial out of a Texas launchpad
 board. This board uses the TUSB3410 chip. I'm asking about this in the texas
 forums too, just was surprised to see so many fast answers.

 Érico V. Porto


 I would think udev would create the device when it is connected or you
 boot up, whichever comes first.  I have no knowledge on the device you are
 using but do on the kernel part.  If you load the module, udev should then
 see the device and create the file in /dev.  That's the theory anyway.  You
 can use udevadm monitor to see if udev sees it as it should.  You can also
 tail -f /var/log/messages to see what happens when you connect it or look in
 dmesg.  One or more of those should tell you what is not working.

 Dale

 :-)  :-)




I'm also not familiar with your device, but some devices need to be
mode switched manually if they show up as something different. You can
use usb-modeswitch for that or some more convenient tool like sakis3g:
http://www.sakis3g.org/

Btw: I'll report a bug in Gentoo's Bugzilla regarding your (and mine)
problem. Maybe others are affected too and this option can be switched
off at least for genkernel users.



Re: [gentoo-user] TUSB3410 on 3.0.6 kernel

2011-11-06 Thread Aljosha Papsch
2011/11/7 Érico Porto ericoporto2...@gmail.com:
 oh no, I don't think it is a bug.
 I mean, this is suposed to be open using some tool named mspdebug of some
 sorta: http://hackaday.com/2010/08/11/how-to-launchpad-programming-with-linux/
 But I know this chip is a usb to serial adapter, only the product Id is
 exchanged to be a Development Tool. To change the vendor and product id, I
 found a how-to here
 : http://www.brimson.com/downloads/ti_usb_multitech_release_notes-1.1.txt
 It doesn't seem to do nothing, but maybe I have to write some code on the
 msp before. I haven't used this board much, but it is the only thing I have
 to test now - I need to interface with   a gps chip, but I have no serials
 available, so later I plan to use this chip. I know I have loaded this as a
 serial long before...
 Érico V. Porto


 On Sun, Nov 6, 2011 at 9:58 PM, Aljosha Papsch papsch...@googlemail.com
 wrote:

 2011/11/7 Érico Porto ericoporto2...@gmail.com:
  Yeah, seem udev is the problem.
  I'm reading http://hackaday.com/2009/09/18/how-to-write-udev-rules/
  It seems once this is done right, thing will work
  Thanks!
  (right now, it sees it as generic usb something...)
  Érico V. Porto
 
 
  On Sun, Nov 6, 2011 at 9:20 PM, Dale rdalek1...@gmail.com wrote:
 
  Érico Porto wrote:
 
  so now the module is loadable through modprobe, it all makes with no
  errors.
 
  It's probably out of this topic, but shouldn't I see a ttyUSB or
  something like that in my /dev/ ?
 
  I tried using
 
  modprobe ti_usb_3410_5052 product=0451 vendor f432
 
  I just wanted to read the virtual usb serial out of a Texas launchpad
  board. This board uses the TUSB3410 chip. I'm asking about this in the
  texas
  forums too, just was surprised to see so many fast answers.
 
  Érico V. Porto
 
 
  I would think udev would create the device when it is connected or you
  boot up, whichever comes first.  I have no knowledge on the device you
  are
  using but do on the kernel part.  If you load the module, udev should
  then
  see the device and create the file in /dev.  That's the theory anyway.
   You
  can use udevadm monitor to see if udev sees it as it should.  You can
  also
  tail -f /var/log/messages to see what happens when you connect it or
  look in
  dmesg.  One or more of those should tell you what is not working.
 
  Dale
 
  :-)  :-)
 
 
 

 I'm also not familiar with your device, but some devices need to be
 mode switched manually if they show up as something different. You can
 use usb-modeswitch for that or some more convenient tool like sakis3g:
 http://www.sakis3g.org/

 Btw: I'll report a bug in Gentoo's Bugzilla regarding your (and mine)
 problem. Maybe others are affected too and this option can be switched
 off at least for genkernel users.




Sorry, I wasn't clear enough: I reported the bug, that installation of
the kernel will fail if FIRMWARE_IN_KERNEL is enabled. You can add you
to the list, if you want:
https://bugs.gentoo.org/show_bug.cgi?id=389775