Em 21/12/2009, às 11:56, Horst Prote escreveu: > Everson Santos Araujo schrieb: >> I'm having problem with local device in Ubuntu 9.10 using Ltsp 4.2. >> >> I follow the Troubleshooting in >> http://sourceforge.net/apps/mediawiki/ltsp/index.php?title=Ltsp_LTSP-42-LocalDev >> none of the local drivers show in �/Drives. >> >> The error occurs in ltspfs, it says: >> No matches found, authority file "-" not written. >> >> When I try: /usr/sbin/lbus_event_handler.sh add block /tmp 1024 Temp >> or manually: ltspfs 192.168.1.102:/tmp/drives/cdrom ~/Drives/cdrom > That is: "Manually" it works, right?
Not really, it creates the directory (with the lbus_event_handler) but doesn't "connect" to the other side. > Then this reminds me of the problem I had two years ago: > Automatic mounting through lbussd didn't work but calling > /usr/sbin/lbus_event_handler.sh add block Removable_Device_931_Mb 931 > "Removable Device (931Mb)" > > This was caused by the getpwuid() call at the beginning of > /usr/sbin/lbussd or rather by a bug in nss_ldap-254 (see also Gentoo > Bug 169612 under http://bugs.gentoo.org/show_bug.cgi?id=169612) > making the system() calls of lbussd to fail. > > I then implemented this workaround: > diff lbussd.ltsorig lbussd > 30a31 >> use English; > 38,41c39,41 > < my @pwflds = getpwuid( $> ); > < my $uid = $pwflds[2]; > < my $username = $pwflds[0]; > < my $homedir = $pwflds[7]; > --- >> my $uid = $EUID; >> my $username = $ENV{USER}; >> my $homedir = $ENV{HOME}; > I will try this anyway, thanks. I'll get back with a response soon. > Sincerely, > Horst Prote Thanks, Everson Santos Araujo aka NoBIOS ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net
