Failed to open the X11 display!

2011-03-15 Thread Bernard Fay
Hello everyone,

From my workstation (Ubuntu 10.04.2), I try to start an application running
on my server but this application requires X Window System.  My server does
not have a GUI. So I did  ssh -X ip_address_of_server.   The server is
Debian 6.0 (Squeeze).  When I start the application and then I have Failed
to open the X11 display! .

I use to do it on other system without problem.  What is missing here?

Any cue will be appreciated.

Thanks,
Bernard


Re: Failed to open the X11 display!

2011-03-15 Thread Bernard Fay
I compared the sshd_config files from two servers, one from which I can
start an application requiring a GUI and the one from my problematic
server.  Both are identical.

I am even more puzzled now as I would expect at least one diffirence.

Thanks,


On Tue, Mar 15, 2011 at 8:47 PM, Bernard Fay bernard@gmail.com wrote:

 Hello everyone,

 From my workstation (Ubuntu 10.04.2), I try to start an application running
 on my server but this application requires X Window System.  My server does
 not have a GUI. So I did  ssh -X ip_address_of_server.   The server is
 Debian 6.0 (Squeeze).  When I start the application and then I have Failed
 to open the X11 display! .

 I use to do it on other system without problem.  What is missing here?

 Any cue will be appreciated.

 Thanks,
 Bernard



parsing problem

2010-12-09 Thread Bernard Fay
Hi,

I have long strings to parse which have permanent and variable information.
 Somewhere in the strings we have something like   Handle: 0x12a7
.  Handle is permanent and 0x12a7 is variable.  I wish to be able to
extract the variable part (0x12a7) and assign it to a variable.

Does anyone have an idea how to extract this information?

I think awk might be the tool to use but I not too good at it yet.

Thanks,
Bernard


Re: parsing problem

2010-12-09 Thread Bernard Fay
Wonderful  Works like a charm.

A few year ago I used Perl a lot but I lost my hand at it.
Your idea of Perl helped me to fix another problem with the same file:
non-breaking space.
Perl and \xA0 fixed it for me.

Thanks a lot Joao,
Bernard


On Thu, Dec 9, 2010 at 12:00 PM, Joao Ferreira gmail 
joao.miguel.c.ferre...@gmail.com wrote:

 On Thu, 2010-12-09 at 11:33 -0500, Bernard Fay wrote:
  Hi,
 
 
  I have long strings to parse which have permanent and variable
  information.  Somewhere in the strings we have something like  
  Handle: 0x12a7 .  Handle is permanent and 0x12a7 is variable.  I
  wish to be able to extract the variable part (0x12a7) and assign it to
  a variable.
 

 I'dd use Perl I love Perl and I don't know any other language
 appropriate for this :)

 j...@squeeje:~$ cat string.txt
 foo bar abc 123 Handle: 0x12a7 some more things
 zoo zar Handle: 0x12a7 and more stuff

 j...@squeeje:~$ cat string.txt  | perl -e 'while () {if (/Handle:\s+(\S
 +)/){$line++; $your_variable = $1; print $line $your_variable\n; }};'

 1 0x12a7
 2 0x12a7


 
  Does anyone have an idea how to extract this information?
 
 
  I think awk might be the tool to use but I not too good at it yet.
 
 
  Thanks,
  Bernard
 
 





amd64 does net detect my wired and wireless nic at installation

2010-07-19 Thread Bernard Fay
Hello everyone,

When I try to install amd64 (Debian 5.05) on my new laptop, a Lenovo x201
tablet. I wish to use amd64 because I have 8GB for RAM and I think 64-bit is
now the way to go.  The installer does not detect neither my wired or
wireless NIC.  The installer gives me a list of network adapter drivers, I
select the the appropriate drivers but it keeps saying it cannot find the
network hardware.

I tried Ubuntu amd64 and it was succesful but I would prefer to go with
Debian.

Someone has a clue on this problem?

thanks,
Bernard


Re: amd64 does net detect my wired and wireless nic at installation

2010-07-19 Thread Bernard Fay
Thanks Wolodja for pointing to this site.  The installer from Kenshi Muto
worked for me. Now the final test it to make it work with VMware Server.

Here is the output of lspci -knn:

lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:0044] (rev 02)
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp
00:02.0 VGA compatible controller [0300]: Intel Corporation Device
[8086:0046] (rev 02)
Kernel modules: i915
00:16.0 Communication controller [0780]: Intel Corporation Ibex Peak HECI
Controller [8086:3b64] (rev 06)
00:16.3 Serial controller [0700]: Intel Corporation Ibex Peak KT Controller
[8086:3b67] (rev 06)
Kernel driver in use: serial
00:19.0 Ethernet controller [0200]: Intel Corporation Device [8086:10ea]
(rev 06)
Kernel driver in use: e1000e
Kernel modules: e1000e
00:1a.0 USB Controller [0c03]: Intel Corporation Ibex Peak USB2 Enhanced
Host Controller [8086:3b3c] (rev 06)
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
00:1b.0 Audio device [0403]: Intel Corporation Ibex Peak High Definition
Audio [8086:3b56] (rev 06)
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
00:1c.0 PCI bridge [0604]: Intel Corporation Ibex Peak PCI Express Root Port
1 [8086:3b42] (rev 06)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.3 PCI bridge [0604]: Intel Corporation Ibex Peak PCI Express Root Port
4 [8086:3b48] (rev 06)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.4 PCI bridge [0604]: Intel Corporation Ibex Peak PCI Express Root Port
5 [8086:3b4a] (rev 06)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB Controller [0c03]: Intel Corporation Ibex Peak USB2 Enhanced
Host Controller [8086:3b34] (rev 06)
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge
[8086:2448] (rev a6)
00:1f.0 ISA bridge [0601]: Intel Corporation Ibex Peak LPC Interface
Controller [8086:3b07] (rev 06)
00:1f.2 SATA controller [0106]: Intel Corporation Ibex Peak 6 port SATA AHCI
Controller [8086:3b2f] (rev 06)
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus [0c05]: Intel Corporation Ibex Peak SMBus Controller
[8086:3b30] (rev 06)
Kernel driver in use: i801_smbus
Kernel modules: i2c-i801
00:1f.6 Signal processing controller [1180]: Intel Corporation Ibex Peak
Thermal Subsystem [8086:3b32] (rev 06)
02:00.0 Network controller [0280]: Intel Corporation Device [8086:4239] (rev
35)
Kernel driver in use: iwlagn
Kernel modules: iwlagn
ff:00.0 Host bridge [0600]: Intel Corporation Device [8086:2c62] (rev 02)
ff:00.1 Host bridge [0600]: Intel Corporation Device [8086:2d01] (rev 02)
ff:02.0 Host bridge [0600]: Intel Corporation Device [8086:2d10] (rev 02)
ff:02.1 Host bridge [0600]: Intel Corporation Device [8086:2d11] (rev 02)
ff:02.2 Host bridge [0600]: Intel Corporation Device [8086:2d12] (rev 02)
ff:02.3 Host bridge [0600]: Intel Corporation Device [8086:2d13] (rev 02)



On Mon, Jul 19, 2010 at 10:22 AM, Wolodja Wentland 
wentl...@cl.uni-heidelberg.de wrote:

 On Mon, Jul 19, 2010 at 09:32 -0400, Bernard Fay wrote:
  When I try to install amd64 (Debian 5.05) on my new laptop, a Lenovo x201
  tablet. I wish to use amd64 because I have 8GB for RAM and I think 64-bit
 is
  now the way to go.  The installer does not detect neither my wired or
 wireless
  NIC.  The installer gives me a list of network adapter drivers, I select
 the
  the appropriate drivers but it keeps saying it cannot find the network
  hardware.

  I tried Ubuntu amd64 and it was succesful but I would prefer to go with
 Debian.

 I guess that you need a newer kernel that supports your NIC. It would
 help if you could paste the output of lspci -knn from your Ubuntu
 installation or from within a live cd like grml. You could also check
 the hardware support situation at:

 http://kmuto.jp/debian/hcl/

 Debian provides stable installers with newer kernels at:

 http://kmuto.jp/debian/d-i/

 which you might want to use in order to solve your problem. I would
 strongly discourage installing testing just because your NIC is not
 supported by Lenny's kernel.

 have fun

Wolodja
 --
  .''`. Wolodja Wentlandwentl...@cl.uni-heidelberg.de
  : :'  :
  `. `'` 4096R/CAF14EFC
   `-   081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)

 iQIcBAEBCAAGBQJMRF+ZAAoJEIt/fTDK8U78ag8P/is3mIN1LFMno2+A1/67dMKp
 ht8PdlcEDWWJl27vpoYpU6+seEba7FISJ4+/tStzy5NtjTlljFna0k//DnP1OZJl
 NCtjsMoCRMAoaMSLrHS6HU+kgmX23WleuBi8Pc2hMyt7S44vbuNaLOX8ve98q9d7
 EBr9zYqYr/YRUIULcKa5OBJorMcZ4fszSJu3UA1Eew1vAoHRO6hCDRZVyQiao58S
 Fj+FG1xlKZtVJ718ud8nWI6+GEVHLMmX2JD7Mv7GVVvuxqgqTLGz0pewheRfLFtJ
 0AhBHCauTnsq6pKyxBHjSydSKlkWhx2G6wnQcyMVHXIRcrzDVeYbqtfV13NHohKU
 PvOgURm1TkSCsjUVC5VQ8M15vsJvQE3OQ22s/LNWdnjkqaPK154EAJZv7YcUIN6h
 ld8SnPM7Cu8O18zKgM/E3JmeG8zMwXp6GFMtIizS3Y19cSu3zjGOncmi3l/hP5C9

Re: SSL received a record that exceeded the maximum permissible length

2010-02-22 Thread Bernard Fay
Yes, I imported the CA certificate in my browser.

At this point, I don't know if there is a problem with the certificate or
the setup of Apache.

thanks,

On Sat, Feb 20, 2010 at 10:13 PM, Stephen Powell zlinux...@wowway.comwrote:

 On Sat, 20 Feb 2010 21:14:36 -0500 (EST), Bernard Fay wrote:
  I create a CA certificate and site certificate according to
  http://www.debian-administration.org/articles/618.
 
  I set it up in Apache under Debian Lenny.
 
  When I try to access the site, I receive the following message:
 
  Secure Connection Failed
  An error occurred during a connection to www.kingstongrant.com.
  SSL received a record that exceeded the maximum permissible length.
  (Error code: ssl_error_rx_record_too_long)
 
  What could be wrong?  Am I missing a module?  I have the following
 modules
  loaded in Apache.
 
  apache2ctl -M
  Loaded Modules:
  core_module (static)
  log_config_module (static)
  logio_module (static)
  mpm_prefork_module (static)
  http_module (static)
  so_module (static)
  alias_module (shared)
  auth_basic_module (shared)
  authn_file_module (shared)
  authz_default_module (shared)
  authz_groupfile_module (shared)
  authz_host_module (shared)
  authz_user_module (shared)
  autoindex_module (shared)
  cgi_module (shared)
  deflate_module (shared)
  dir_module (shared)
  env_module (shared)
  mime_module (shared)
  negotiation_module (shared)
  perl_module (shared)
  php5_module (shared)
  proxy_module (shared)
  proxy_http_module (shared)
  setenvif_module (shared)
  ssl_module (shared)
  status_module (shared)
  Syntax OK
 

 You say you created a CA certificate and a site certificate on your site.
 Let's call that site A.  So the web server on site A is using a site
 certificate signed by a homemade CA certificate.  Now you try to do
 a secure SSL connection to site A from site B.  But ...

 Does site B have that homemade CA certificate installed in its
 repository of trusted CAs?  If not, then it won't work.  I'm not sure
 about a record length exceeded error; but I do know that if site
 B does not have the CA certificate that signed the site certificate
 that site A's web server is using installed in its database of trusted
 CAs that TLS negotiation will certainly fail.


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 http://lists.debian.org/1018608095.13923661266721987968.javamail.r...@md01.wow.synacor.com




SSL received a record that exceeded the maximum permissible length

2010-02-20 Thread Bernard Fay
Hi,

I create a CA certificate and site certificate according to
http://www.debian-administration.org/articles/618.

I set it up in Apache under Debian Lenny.

When I try to access the site, I receive the following message:

Secure Connection Failed
An error occurred during a connection to www.kingstongrant.com.
SSL received a record that exceeded the maximum permissible length.
(Error code: ssl_error_rx_record_too_long)

What could be wrong?  Am I missing a module?  I have the following modules
loaded in Apache.

apache2ctl -M
Loaded Modules:
 core_module (static)
 log_config_module (static)
 logio_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 alias_module (shared)
 auth_basic_module (shared)
 authn_file_module (shared)
 authz_default_module (shared)
 authz_groupfile_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 cgi_module (shared)
 deflate_module (shared)
 dir_module (shared)
 env_module (shared)
 mime_module (shared)
 negotiation_module (shared)
 perl_module (shared)
 php5_module (shared)
 proxy_module (shared)
 proxy_http_module (shared)
 setenvif_module (shared)
 ssl_module (shared)
 status_module (shared)
Syntax OK

Thanks,
Bernard


Re: Can't retrieve online quotes with gnucash

2009-07-28 Thread Bernard Fay
Thanks Andrew for you reply.

That is exactly the first thing I did and unfortunately no one have a
solution so far.
Maybe the next thing is to try on development list.

Bernard

On Tue, Jul 28, 2009 at 12:13 PM, Andrew Sackville-West 
and...@farwestbilliards.com wrote:

 On Mon, Jul 27, 2009 at 05:14:01PM -0400, Bernard Fay wrote:
  Hi,
 
  Using GNUcash version 2.2.6 with Debian 5.0, I have the following message
  when I try to get online quotes for US stock exchanges:
 
  Unable to retrieve quotes for these items:
NYSE:C
NYSE:BAC
NYSE:F
NYSE:AIG
NYSE:HAR
NASDAQ:NOVL
  Continue using only the good quotes?
 
 
  So far, when I try to download quotes for the TSX, I don't have any
  problems.
 
  Does someone has a fix for this problem?

 this could be any number of problems. I recommend you move this
 question to gnucash-user (subscribe gnucash-u...@lists.gnucash.org) or
 to #gnucash on irc.gnome.org. Note that #gnucash is pretty low volume,
 just ask your question and be prepared to wait. someone will come
 along eventually.

 Either way, those guys can probably pinpoint the problem very
 quickly.

 A

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)

 iEYEARECAAYFAkpvI8UACgkQaIeIEqwil4amGgCffqhFvr09EmDxV8LuGYMQDaax
 6voAnA/jPP4C9Zxtw+WE3HTS2YY56xzO
 =aXYY
 -END PGP SIGNATURE-




Can't retrieve online quotes with gnucash

2009-07-27 Thread Bernard Fay
Hi,

Using GNUcash version 2.2.6 with Debian 5.0, I have the following message
when I try to get online quotes for US stock exchanges:

Unable to retrieve quotes for these items:
  NYSE:C
  NYSE:BAC
  NYSE:F
  NYSE:AIG
  NYSE:HAR
  NASDAQ:NOVL
Continue using only the good quotes?


So far, when I try to download quotes for the TSX, I don't have any
problems.

Does someone has a fix for this problem?

Thanks
Bernard


Re: grub won't but XP

2009-07-12 Thread Bernard Fay
On Sun, Jul 12, 2009 at 1:01 AM, Masood masood...@gmail.com wrote:

 On Sun, Jul 12, 2009 at 8:46 AM, Steve Reilly sfrei...@roadrunner.comwrote:

 Bernard Fay wrote:

  title   Windows XP
  rootnoverify(hd2,0)
  chainloader +1
  makeactive


 if im not mistaken the rootnoverify line should be (hd0.1)  not (hd2,0),
 at least thats what mine is that works fine.


 As Steve pointed out, (hd2,0) seems unusual unless you have 3 hard drives
 of which the third has Windows XP on it. If you can boot into Lenny try
 running the following as root to find out where your XP installation is
 located:

 # fdisk -l

 Regrads,
 Masood



Oh sorry!  I should have told you.  Yes, I have 3 disks: 2 SATA for Linux
and 1 EIDE for Windows.  This is why I have (hd2,0).  This is correct, yes?
I use to have ubuntu which use lilo and that was working fine.  Maybe, I
should go back to lilo but I rather stay with grub being more powerful
usually!

Thanks again


strontium:~# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00042142

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *   1  20  160618+  83  Linux
/dev/sda2  21972977987542+  8e  Linux LVM

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4bcf667c

   Device Boot  Start End  Blocks   Id  System
/dev/sdb1   1   60801   488384001   8e  Linux LVM

Disk /dev/hdc: 61.4 GB, 61492838400 bytes
255 heads, 63 sectors/track, 7476 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000cf2ea

   Device Boot  Start End  Blocks   Id  System
/dev/hdc1   *   17475600429067  HPFS/NTFS


Re: grub won't but XP

2009-07-12 Thread Bernard Fay
On Sun, Jul 12, 2009 at 11:42 AM, thveillon.debian 
thveillon.deb...@googlemail.com wrote:

 Bernard Fay wrote:
 
 
  On Sun, Jul 12, 2009 at 1:01 AM, Masood masood...@gmail.com
  mailto:masood...@gmail.com wrote:
 
  On Sun, Jul 12, 2009 at 8:46 AM, Steve Reilly
  sfrei...@roadrunner.com mailto:sfrei...@roadrunner.com wrote:
 
  Bernard Fay wrote:
 
   title   Windows XP
   rootnoverify(hd2,0)
   chainloader +1
   makeactive
 
 
  if im not mistaken the rootnoverify line should be (hd0.1)  not
  (hd2,0),
  at least thats what mine is that works fine.
 
 
  As Steve pointed out, (hd2,0) seems unusual unless you have 3 hard
  drives of which the third has Windows XP on it. If you can boot into
  Lenny try running the following as root to find out where your XP
  installation is located:
 
  # fdisk -l
 
  Regrads,
  Masood
 
 
 
  Oh sorry!  I should have told you.  Yes, I have 3 disks: 2 SATA for
  Linux and 1 EIDE for Windows.  This is why I have (hd2,0).  This is
  correct, yes?
  I use to have ubuntu which use lilo and that was working fine.  Maybe, I
  should go back to lilo but I rather stay with grub being more
  powerful usually!
 
  Thanks again
 
 
  strontium:~# fdisk -l
 
  Disk /dev/sda: 80.0 GB, 80026361856 bytes
  255 heads, 63 sectors/track, 9729 cylinders
  Units = cylinders of 16065 * 512 = 8225280 bytes
  Disk identifier: 0x00042142
 
 Device Boot  Start End  Blocks   Id  System
  /dev/sda1   *   1  20  160618+  83  Linux
  /dev/sda2  21972977987542+  8e  Linux LVM
 
  Disk /dev/sdb: 500.1 GB, 500107862016 bytes
  255 heads, 63 sectors/track, 60801 cylinders
  Units = cylinders of 16065 * 512 = 8225280 bytes
  Disk identifier: 0x4bcf667c
 
 Device Boot  Start End  Blocks   Id  System
  /dev/sdb1   1   60801   488384001   8e  Linux LVM
 
  Disk /dev/hdc: 61.4 GB, 61492838400 bytes
  255 heads, 63 sectors/track, 7476 cylinders
  Units = cylinders of 16065 * 512 = 8225280 bytes
  Disk identifier: 0x000cf2ea
 
 Device Boot  Start End  Blocks   Id  System
  /dev/hdc1   *   17475600429067  HPFS/NTFS
 
 
 

 Hi, you could try to use the grup map command to make winxp happy by
 thinking is on the first partition of the first disk :

 title   Windows XP
 map (hd0,0) (hd2,0)
 map (hd2,0) (hd0,0)
 rootnoverify(hd2,0)
 chainloader +1


 If it doesn't work, double check in your bios the disks boot order, as I
 have seen strange behaviors when sata and (p)ata disks are mixed on the
 same motherboard.

 Tom



Bingo!  You got it right Tom!

Thanks a lot


grub won't but XP

2009-07-11 Thread Bernard Fay
Hi,

I have a dual boot system divided between Windows XP and Lenny.

Lenny is the king of my computer.  But sometimes I still need to use
Windows.

Since I setup Lenny on my box, grub does not boot Windows XP.
I have a hard time to find out why.

Here is what we can find in menu.lst regarding Windows :

titleWindows XP
rootnoverify(hd2,0)
chainloader+1
makeactive


When I try to load Windows, I have the following on screen:

  Booting 'Windows XP'

rootnoverify(hd2,0)
chainloader+1
makeactive


It hangs there and do nothing.  Does someone can tell if something is wrong
in my configuration of grub.
I provided below my full grub configuration.

### menu.lst ###
default 0

timeout 5

color cyan/blue white/blue

title   Debian GNU/Linux, kernel 2.6.26-2-686
root(hd0,0)
kernel  /vmlinuz-2.6.26-2-686 root=/dev/mapper/lnxvg-rootlv ro
initrd  /initrd.img-2.6.26-2-686

title   Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
root(hd0,0)
kernel  /vmlinuz-2.6.26-2-686 root=/dev/mapper/lnxvg-rootlv ro
single
initrd  /initrd.img-2.6.26-2-686

title   Windows XP
rootnoverify(hd2,0)
chainloader +1
makeactive

### end menu.lst ###


Thanks a lot,
Bernard


Access denied for user 'root'@'localhost' in mysql

2009-06-03 Thread Bernard Fay
Hi,

I installed MySQL in Lenny.
When I try to login in with mysql -u root -p, I receive :

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: YES)

I tried to reset the password of root by adding skip-grant-tables in my.cnf
then restart mysql.
I could login in with mysql -u root then I ran the following commands:

mysql update user set password=password('password') where user='root';
mysql flush privileges;


I removed skip-grant-tables from my.cnf and restarted mysqld.  I still have:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: YES)

Any idea or clues about how to solve this issue?

Thanks,
Bernard


Fwd: Access denied for user 'root'@'localhost' in mysql

2009-06-03 Thread Bernard Fay
-- Forwarded message --
From: Bernard Fay x...@videotron.ca
Date: Wed, Jun 3, 2009 at 5:00 PM
Subject: Re: Access denied for user 'root'@'localhost' in mysql
To: paul.le...@quadensemble.co.uk


Thanks for your reply, Paul.

Yes, I tried without the -p switch and it didn't work.

Also, I just found that in mysql.user there is no host:localhost and
user:root but I have host:beryllium and user:root; beryllium being my
hostname.

Maybe we have something here.

Bern


On Wed, Jun 3, 2009 at 4:45 PM, Paul Lewis paul.le...@quadensemble.co.ukwrote:

 On 03/06/09 20:58:45, Bernard Fay wrote:

 Hi,

 I installed MySQL in Lenny.
 When I try to login in with mysql -u root -p, I receive :

 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
 password: YES)


 I wonder if there is a password defined before you set the root password in
 mysql yourself? I think not. Try connecting without th -p switch.


 Any idea or clues about how to solve this issue?

 Thanks,
 Bernard


 Otherwise, have a look here.

 http://dev.mysql.com/doc/refman/5.1/en/connection-access.html



 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.orgwith a
 subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Fwd: Access denied for user 'root'@'localhost' in mysql

2009-06-03 Thread Bernard Fay
`

As fas as I understand it, there is no need to say update mysql.user set
...  because we have to say use mysql first.
So the update command should know the table user is part of mysql.  Right?

I really believe the problem comes from the fact there is know
r...@localhost in mysql.user.  I have only r...@beryllium and
debian-sys-ma...@localhost.

I update the password of r...@beryllium and I can login with mysql -u
r...@beryllium -p .

Is it a normal situation or I should have r...@localhost?

Thanks for the help
Bern



On Wed, Jun 3, 2009 at 5:13 PM, Stackpole, Chris cstackp...@barbnet.comwrote:

  *From:* Bernard Fay [mailto:bernard@gmail.com]
 *Sent:* Wednesday, June 03, 2009 2:59 PM
 *Subject:* Access denied for user 'root'@'localhost' in mysql

 

 Hi,
 
 I installed MySQL in Lenny.
 When I try to login in with mysql -u root -p, I receive :
 
 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
 password: YES)
 
 I tried to reset the password of root by adding skip-grant-tables in
 my.cnf then restart mysql.
 I could login in with mysql -u root then I ran the following commands:
 
 mysql update user set password=password('password') where user='root';
 mysql flush privileges;
 
 I removed skip-grant-tables from my.cnf and restarted mysqld.  I still
 have:
 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
 password: YES)
 
 Any idea or clues about how to solve this issue?
 
 Thanks,
 Bernard

 Two methods on the same topic.

 1) What database are you using when you login? If I remember correctly (it
 has been a while)

 you need to declare the user table like “update mysql.user set….” And not
 just “update user set…”
 That may be the problem if it is trying to update the wrong table/database.



 2) Maybe this is one of those multiple-ways-of-completing-the-same-task
 kind of scenarios but I reset passwords like so:
 SET PASSWORD FOR r...@localhost=password('MyNewPassword');

 I don’t seem to have problems with it.



 Other then the password reset, your methods seem right to me as long as you
 are on the localhost.



 Hope this helps.



 Have fun!

 ~Stack~



Fwd: Access denied for user 'root'@'localhost' in mysql

2009-06-03 Thread Bernard Fay
False alarm!!!

I forgot to remove the skip-grant-tables and restart mysql.

When I try to login with mysql -u r...@beryllium -p, I receive the
following:
ERROR 1045 (28000): Access denied for user 'r...@beryllium'@'localhost'
(using password: YES)

I guess I should add r...@localhost in mysql.user...

Bern


On Wed, Jun 3, 2009 at 7:48 PM, Bernard Fay x...@videotron.ca wrote:

 As fas as I understand it, there is no need to say update mysql.user set
 ...  because we have to say use mysql first.
 So the update command should know the table user is part of mysql.  Right?

 I really believe the problem comes from the fact there is know
 r...@localhost in mysql.user.  I have only r...@beryllium and
 debian-sys-ma...@localhost.

 I update the password of r...@beryllium and I can login with mysql -u
 r...@beryllium -p .

 Is it a normal situation or I should have r...@localhost?

 Thanks for the help
 Bern



 On Wed, Jun 3, 2009 at 5:13 PM, Stackpole, Chris 
 cstackp...@barbnet.comwrote:

  *From:* Bernard Fay [mailto:bernard@gmail.com]
 *Sent:* Wednesday, June 03, 2009 2:59 PM
 *Subject:* Access denied for user 'root'@'localhost' in mysql

 

 Hi,
 
 I installed MySQL in Lenny.
 When I try to login in with mysql -u root -p, I receive :
 
 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
 password: YES)
 
 I tried to reset the password of root by adding skip-grant-tables in
 my.cnf then restart mysql.
 I could login in with mysql -u root then I ran the following commands:
 
 mysql update user set password=password('password') where user='root';
 mysql flush privileges;
 
 I removed skip-grant-tables from my.cnf and restarted mysqld.  I still
 have:
 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
 password: YES)
 
 Any idea or clues about how to solve this issue?
 
 Thanks,
 Bernard

 Two methods on the same topic.

 1) What database are you using when you login? If I remember correctly (it
 has been a while)

 you need to declare the user table like “update mysql.user set….” And not
 just “update user set…”
 That may be the problem if it is trying to update the wrong
 table/database.



 2) Maybe this is one of those multiple-ways-of-completing-the-same-task
 kind of scenarios but I reset passwords like so:
 SET PASSWORD FOR r...@localhost=password('MyNewPassword');

 I don’t seem to have problems with it.



 Other then the password reset, your methods seem right to me as long as
 you are on the localhost.



 Hope this helps.



 Have fun!

 ~Stack~





how to change /media/disk to /media/usbdisk

2008-01-14 Thread Bernard Fay
Hello,

I use Ubuntu Gutsy Gibbon with Gnome.

When I insert a USB stick it is automatically mounted on /media/disk. I need
to have it mounted as /media/usbdisk. How can I change this behavior?
As far as I know gnome-volume-manager is responsible to mount it but I can't
find a relation to /media/disk.

Thanks in advance for your help,
Bernard

-- 
Bernard


Re: how to change /media/disk to /media/usbdisk

2008-01-14 Thread Bernard Fay
Thanks Brian for your reply,

But my next question now is :  Right click in what?

Bernard

On Jan 14, 2008 1:57 PM, Brian McKee [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 On 14-Jan-08, at 12:56 PM, Bernard Fay wrote:
  When I insert a USB stick it is automatically mounted on /media/
  disk. I need to have it mounted as /media/usbdisk. How can I change
  this behavior?
  As far as I know gnome-volume-manager is responsible to mount it
  but I can't find a relation to /media/disk.

 Right click - Properties - poke around in there...  If you change the
 name of the device it should remount it as that name.
 Sorry I don't have an Ubuntu box in front of me at the second but
 hopefully that's enough to get you going.

 Brian
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (Darwin)
 Comment: Verify this email or encrypt your email for free - see gnupg.org

 iD8DBQFHi7CnGnOmb9xIQHQRAm33AKDLpw3bHTsSSCDVB9V1d8dcPzocMACfS87U
 qb9bHaUsL5V3cOsEaRXjSas=
 =2meg
 -END PGP SIGNATURE-




-- 
Bernard Fay

Il est bien agréable d'être important, mais il plus important d'être
agréable.


Lost menu

2007-04-02 Thread Bernard Fay

Hi,

A while ago, I installed CrossOver from Codeweavers which appeared in my
menu Applications of Gnome.  Since an updated those menu for CrossOver are
gone.  In Alacarte Menu Editor, I can see those menu as visible but I don't
actually see them.  What might be wrong?

Thanks


--
Bernard

It is our responsibilities, not ourselves, that we should take
seriously.  -  Peter Ustinov,  English actor  author (1921 - 2004)


exim4 and mail queue

2006-11-04 Thread Bernard Fay
Hello,

How can I remove a message in the mail queue of exim4?

Thanks,
Bernard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



keyboard preference freezing gnome

2006-06-28 Thread Bernard Fay
Hello,

Since an upgrade a little while ago, everytime I try to make a
modification in the keyboard preferences, gnome freezes.  So far, I have
no clue why and I have to constantly change my keyboard layout to switch
between English and French for my work.

There is only one thing I have found and is probably not a big
discovery.  Before I could log back with my user, I have to go remove
the file %gconf.xml in ~/.gconf/desktop/gnome/peripherals/keyboard/kbd.

My system is Debian Etch.

Does someone know why and how to fix it? 

Thanks in advance,
Bernard




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: phpGroupWare and MySQL

2006-03-09 Thread Bernard Fay
On Wed, 2006-03-08 at 22:35 -0500, Matthias Julius wrote:
 Bernard Fay [EMAIL PROTECTED] writes:
 
  I tried to reconfigure phpgroupware and YET to give a password to the
  root MySQL user but I got the same result so I created the DB by hand
  and without password. I guess there is a problem with this part of the
  configuration.
 
 Did you assign a password to root?  Did you try it without?
 
 
  But I got another problem...
 
  According to the messages received while creating the DB it should be
  ok.  Now, I am  back to the phpgroupware setup and yet it tells me
  Your Database is not working!
  Make sure that your database is created and the account permissions are
  set.
 
 If you setup the database manually you also have to setup a user with
 the right permissions for phpGroupWare.
 
 But, the Debian configuration should work.  You must be doing
 something wrong.
 
 Matthias
 
 PS: You don't need to copy myself on your emails.  I am subscribed to
 the list and I don't need them twice.  On the Debian lists senders of
 mails should only get a direct copy if they explicitely request that.
 
 

Well, I tried many things and nothing works.  I have even change the
database to postgresql where I have other problems.  I have even tried
egroupware where I got other problems.

This stuff is taking way too much time to get working and time is a
resource I don't have in excess.

Sending all that stuff to /dev/null


thanks anyway,
Bernard





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: phpGroupWare and MySQL

2006-03-08 Thread Bernard Fay
On Tue, 2006-03-07 at 23:06 -0500, Matthias Julius wrote:
 Bernard Fay [EMAIL PROTECTED] writes:
 
  I tried to create the DB either with the script of manually. When trying
  the manual method it keeps telling the following:
 
  # mysql -u root -p
  Enter password:
  ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
  password: YES)
 
 Did you setup a password for [EMAIL PROTECTED] I believe the default MySQL
 installation does not do that. If not, try to login as root without
 the '-p' option.
 
 Matthias
 
 

You got it Matthias. Thanks.

But is this root user the MySQL db admin name defined at the
installation of phpGroupWare?  If yes then something went wrong at the
installation because I gave a password to this user.

Thanks again

Bernard




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: phpGroupWare and MySQL

2006-03-08 Thread Bernard Fay
On Wed, 2006-03-08 at 09:41 -0500, Matthias Julius wrote:
 Bernard Fay [EMAIL PROTECTED] writes:
 
  But is this root user the MySQL db admin name defined at the
  installation of phpGroupWare?  If yes then something went wrong at the
  installation because I gave a password to this user.
 
 Try to run 'dpkg-reconifigure phpgroupware'.  That should ask you for
 database admin login information.  And it will ask you what you want
 for the phpGroupWare database user name and password.
 
 Matthias
 
 

I tried to reconfigure phpgroupware and YET to give a password to the
root MySQL user but I got the same result so I created the DB by hand
and without password. I guess there is a problem with this part of the
configuration.

But I got another problem...

According to the messages received while creating the DB it should be
ok.  Now, I am  back to the phpgroupware setup and yet it tells me
Your Database is not working!
Make sure that your database is created and the account permissions are
set.

What is wrong and how can I find out what is wrong?  Is there a log
somewhere?

Thanks,
Bernard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: LVM problem

2006-03-07 Thread Bernard Fay
On Tue, 2006-03-07 at 15:21 -0500, Andrew Cady wrote:
 On Sun, Mar 05, 2006 at 06:24:34PM -0500, Bernard Fay wrote:
  For any LVM commands I run I receive the following message:
  
  Incorrect metadata area header checksum
  
  and/or 
  
  Volume group mapper doesn't exist
 
 Either your metadata has gotten messed up or you're using the wrong
 device.
 
 If the metadata is corrupt, and you have backups of it (you probably do
 -- in /etc/lvm/backup), then vgcfgrestore can restore it.
 
 

I gave it a try and that did not fix it.

vgcfgrestore lnxvg
  Incorrect metadata area header checksum
  Restored volume group lnxvg


and I tried:

vgcfgrestore -l lnxvg
  No archives found in /etc/lvm/archive.

  File: /etc/lvm/backup/lnxvg
  Incorrect metadata area header checksum
  VG name:  lnxvg
  Description:  Created *after* executing '/sbin/vgcfgbackup'
  Backup Time:  Sat Feb 25 21:02:37 2006


I think it does not sound too good.  :(

Something else we could try.

TIA,
Bern




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



phpGroupWare and MySQL

2006-03-07 Thread Bernard Fay
Hello group,

I can't get the db working. 

I am at Step 1 - Simple Application Management. This step keeps telling
me  Your Database is not working! Make sure that your database is
created and the account permissions are set.

I tried to create the DB either with the script of manually. When trying
the manual method it keeps telling the following:

# mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: YES)

When asking phpgroupware to create the database for me, the status line
says If you did not receive any errors, your applications have been
created. Then I click on Re-Check My Installation, and yet Your
Database is not working!

Nothing tell me what is wrong, just like of everything was ok.

Being new to phpGroupWare, I even deinstalled it and reinstalled
everything thinking I might have done something wrong.

phpGroupWare version 0.9.16.010 and mysql 5.0.18 is setup on a Debian
Etch server.

Now I am stuck.

Someone can help me with it?

Thanks,
Bernard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ERP accounting software

2006-03-07 Thread Bernard Fay
I want to give a try to sql-ledger but ... where is the documentation?

thanks,
Bernard


On Thu, 2006-03-02 at 18:57 -0500, Roberto C. Sanchez wrote:
 Bernard Fay wrote:
  Hello group,
  
  I need suggestion for ERP and accounting softwares running on Linux and
  if it could be package for Debian it would be a plus.  It would be for a
  small to medium business.
  
  TIA,
  
  Bernard
  
  
 
 I've begin experimenting with sql-ledger.  It is very flexible and
 powerul.  Consqeuntly, it will probably take a good bit of tweaking and
 configuring to get it how you like.  One big advantage is that
 everything is done through a web interface and the permission system is
 very fine grained.  So, for example, you can have users that can only
 view certain accounts, others who can view all accounts, and yet others
 that can view all and only modify some accounts.
 
 On the down side, the documentation is not free, and if you want it you
 must be prepared to pay the author for it.
 
 As far as ERP, I have experimented briefly with crm-ctt (not packaged
 for Debian).  The interface is very nice and looks very professional.
 However, it only works with MySQL.  I started working to port it to
 PostgreSQL (since I refuse to deploy MySQL), but I won't have the time
 to finish it for a few more months.
 
 Regards,
 
 -Roberto
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



LVM problem

2006-03-05 Thread Bernard Fay
For any LVM commands I run I receive the following message:

Incorrect metadata area header checksum

and/or 

Volume group mapper doesn't exist


Someone knows why and how it could be fixed?  I run Debian etch with
kernel 2.6.12-1-386 and lvm2 version 2.01.04-5.

TIA,
Bernard




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



ERP accounting software

2006-03-02 Thread Bernard Fay
Hello group,

I need suggestion for ERP and accounting softwares running on Linux and
if it could be package for Debian it would be a plus.  It would be for a
small to medium business.

TIA,

Bernard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Can't access archive

2006-02-21 Thread Bernard Fay
Hello group,

Does someone know why I can't access snapshot.debian.net today?  I
receive the following error while trying to access it:

Forbidden
You don't have permission to
access /archive/2005/11/30/debian/pool/main/x/xorg-x11/ on this server.

Additionally, a 403 Forbidden error was encountered while trying to use
an ErrorDocument to handle the request.


I had access to it this weekend. 

Thanks,
Bernard




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Old packages

2006-02-14 Thread Bernard Fay
Hello group,

Where can I find old version of packages?  

I use a Matrox P750 video card and the oldest xorg version supported is
6.8.2.  The upgrade installed 6.9.0 which is to recent for the Matrox
driver therefore I need to downgrade xserver-xorg.


Thanks,
Bernard




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



[RESOLVED] Re: Can't ?find device with cdrecord on Etch

2006-02-04 Thread Bernard Fay
On Sat, 2006-02-04 at 17:08 +0300, Vitaliy Ischenko wrote:
 В Сбт, 04/02/2006 в 09:31 +0200, Simo Kauppi пишет:
  On Fri, Feb 03, 2006 at 09:45:47PM -0500, Chinook wrote:
   Bernard Fay wrote:
   Hello group,
   
   I seems to have a problem to identify my devices (a DVD writer and a CD
   writer) when using cdrecord -scanbus.
   
   Some help or hints would be appreciated.
   
   Thanks,
   Bernard
 
   Don't know that this will be much help, but where I outlined my Mondo 
   use in the thread mondo 1.67 you'll note how I referred to my DVD unit 
   as:
   
   cdrecord-wrapper.sh -v -dao dev=/dev/hdd:1,2,0 fs=16m speed=1 
   /home/mondo/images/each iso in turn
   
   I don't remember exactly how I came up with the :1,2,0 bit at the 
   moment and she who must be obeyed is busy playing cards on the P4 box 
   right now, so maybe someone can fill that in.
   
   Lee C
  
  Hi,
  
  I found the target numbers by issuing
  $ sudo cdrecord dev=ATA -scanbus
  
 
 With dev=ATA there could be a problems with IDE HDD's
 if you know your ATAPI cdrom device name (i.e. /dev/hdc) try 
 $ sudo cdrecord dev=/dev/hdc -scanbus
 
 
  Then I just use
  $ cdrecord dev=ATA:1,1,0 myimage.iso
  
 
 just put a line in /etc/default/cdrecord
 
 echo cdrom= ATA:1,0,0 -1 -1 burnfree  /etc/default/cdrecord
 cdrom -- any unique name for your device (You can set it a default
 device via CDR_DEVICE variable in /etc/default/cdrecord)
 then device (ATA:1,0,0)
 -1 -1 means default settings for speed and fifosize
 burnfree -- driver options -- you can leave it empty if you wish :)
 
  Simo


Thanks people, I got it working. It was as simple as shown in those
email.  The dev=ATA trick fixed my problem.

Thanks again
Bernard





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Can't find device with cdrecord on Etch

2006-02-03 Thread Bernard Fay
Hello group,

I seems to have a problem to identify my devices (a DVD writer and a CD
writer) when using cdrecord -scanbus.

Do I have to load specific modules or do something to find my devices? I
tried to load ide-scsi.o and sg.o without good succes to identify my
devcies

The actual output is the following:

cdrecord -scanbus
Cdrecord-Clone 2.01.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2005
Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of
cdrecord and thus may have bugs that are not present in the original
version. 
  Please send bug reports and support requests to
[EMAIL PROTECTED].
  The original author should not be bothered with problems of this
version.

cdrecord: Warning: Running on Linux-2.6.12-1-386
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or
Solaris.
Linux sg driver version: 3.5.33
Using libscg version 'debian-0.8debian2'.
cdrecord: Warning: using inofficial version of libscg (debian-0.8debian2
'@(#)scsitransp.c  1.91 04/06/17 Copyright 1988,1995,2000-2004 J.
Schilling').
scsibus2:
2,0,0   200) 'ATA ' 'ST380013AS  ' '3.18' Disk
2,1,0   201) *
2,2,0   202) *
2,3,0   203) *
2,4,0   204) *
2,5,0   205) *
2,6,0   206) *
2,7,0   207) *
scsibus3:
3,0,0   300) 'ATA ' 'ST380013AS  ' '3.18' Disk
3,1,0   301) *
3,2,0   302) *
3,3,0   303) *
3,4,0   304) *
3,5,0   305) *
3,6,0   306) *
3,7,0   307) *


Some help or hints would be appreciated.

Thanks,
Bernard




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Debian on Toshiba Satellite Pro M70

2005-11-25 Thread Bernard Fay
Hello Group,

My office provided me with a M70 laptop. I plan to install Debian on it.
I would like to know if anyone had a chance to installed Debian or other
Linux distros on this laptop and how succesful the installation went.
Are there any particularities for the installation?

Thanks,
Bernard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



No contacts in Evolution

2005-10-25 Thread Bernard Fay
Hello,

I just reinstalled Debian Sarge without erasing my home partition. Once
every thing was installed, I logged in and started Evolution.  Every
thing in Evolution is ok except the contacts region is greyed out and I
cannot see any of my contacts.  I tried to create a new contact thinking
that maybe I lost all my contacts.  But this new contact didn't show
up.  

Does someone know what could be done to diagnose this problem or maybe
even better know the problem and a solution?

thanks,
Bernard




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Debian and webcams

2005-10-12 Thread Bernard Fay
I will need a webcam in a near future. 

I would like to know about successes and failures with different
webcams.
Are there models with official Linux drivers available?
Does someone can give me some suggestions?

Thanks,
Bernard




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Can't start OpenOffice anymore

2005-09-26 Thread Bernard Fay
Hello group,

When I try to start OOo, I have the following error:

The program 'soffice.bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 83 error_code 1 request_code 143 minor_code 21)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error()
function.)


Does someone has a cure to this problem?

Thanks in advance,

Bernard




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Can't start OpenOffice

2005-07-24 Thread Bernard Fay

Hello all,

When I try to start openoffice, I can see on the panel Starting
OpenOffice but it eventually close after a few seconds.  If I try to
start it through a terminal, it shows the following message: Xlib:
sequence lost (0x1  0x69) in reply type 0x0!.  The message appears
repeatedly in OOo does not start. 

Does someone know what it this problem?

Thanks,

Bernard




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



LVM error

2005-07-20 Thread Bernard Fay
Hello,

I have installed Debian Sarge on a system with 2 sata drives and LVM.

For every LVM command I run, I have the error:

Incorrect metadata area header checksum

Does someone know the meaning of this error and how to fix it?


Thanks,
Bern


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



undesired modules

2005-05-21 Thread Bernard Fay
Hello group,

I just installed Sarge on my Thinkpad 600E and almost everything works
fine but some undesired modules are loaded.

As far as I understand it, if we want to load a specific module it has
to be in /etc/modules.  Those undesired modules are not found
in /etc/modules.  

Why are those modules loaded if they are not in /etc/modules?

Maybe there is something I don't understand about modules.


-- 
Bernard Fay [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Wrong block device when trying to mount a usb flash drive

2005-05-14 Thread Bernard Fay
Hello,

When I try to mount my flash drive I got the following message:

mount: /dev/sda1 is not a valid block device


Then I asked myself if I had the right device.  While trying to find
what could be the right device, I found that maybe my system got the
wrong usb driver by taking a look at /proc/bus/usb/devices:


T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor= ProdID= Rev= 2.06
S:  Manufacturer=Linux 2.6.11+4 uhci_hcd
S:  Product=Intel Corp. 82371AB/EB/MB PIIX4 USB
S:  SerialNumber=:00:07.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0781 ProdID=5150 Rev= 0.20
S:  Manufacturer=SanDisk Corporation
S:  Product=Cruzer Mini
S:  SerialNumber=200443175205401167e7
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=ub
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms


If my system got the wrong driver how can I point to the right one which
I think should be usb-storage?

If I have the right driver then how can I find on which device to mount
it?

Any advice would be appreciated.

Thanks,
Bernard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Sound problem: Sorry, no mixer ...

2004-10-28 Thread Bernard Fay
I was able to load the driver snd_cs4236 for my sound card on my
Thinkpad 600E laptop but when I tried to open the Volume Control under
Gnome it poped an error saying:

Sorry, no mixer elements and/or devices found

I use Sarge with a custom 2.6.8.1 kernel with the following sound
options:

# CONFIG_CHR_DEV_OSST is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y

CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m
CONFIG_SND_CS4231=m
CONFIG_SND_CS4232=m
CONFIG_SND_CS4236=m
CONFIG_SND_OPL3SA2=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_NM256=m


Does somone has an idea of what is wrong with my setup?

Thanks,
Bern


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Thinkpad 600E and usb mouse

2004-10-19 Thread Bernard Fay
On Tue, 2004-10-19 at 07:25, Richard Lyons wrote:
 On Tuesday 19 October 2004 02:33, Mike M wrote:
  On Mon, Oct 18, 2004 at 09:10:53PM -0400, Bernard Fay wrote:
   Hello everyone,
   
   I have a Logitech MX700 usb mouse attached to my thinkpad but I 
 can't
   get it to work.  
   
   I thought that the module usbhid and usbmouse would have been enough 
 but
   no that doesn't make it work.
 [...]
  I did the following on Toshiba laptop with Logitech Marble Trackball:
 [...]
 
 I have a 660E (but not currently in the same country as me).  I had no 
 problem with the usb mouse, using gpm and setting mouse to /dev/gpmdata 
 and IntelliMouse -- as set out in Derrick (d'man) Hudson's advice 
 (search google or archives here for that).  Sorry, I don't have the 
 details here.  I can look next week if you don't solve it by then.
 
 -- 
 richard
 

It's working now.  It was as simple as loading the module uhci_hcd.
Now the next challenge will be to configure the 7 buttons and the wheel.

Thanks,
Bernard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Thinkpad 600E and usb mouse

2004-10-18 Thread Bernard Fay
Hello everyone,

I have a Logitech MX700 usb mouse attached to my thinkpad but I can't
get it to work.  

I thought that the module usbhid and usbmouse would have been enough but
no that doesn't make it work.

Do I need a cheese.ko to get it to work or what?

Any advise?

Thanks,
Bernard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]