[Bug 1973292] [NEW] tigervnc server can't generate SSL certificate

2022-05-13 Thread Michael Bode
Public bug reported:

Kubuntu 22.04, tigervnc-common 1.12.0+dfsg-4 amd64

What happens:
When I start tigervncserver with option -SecurityTypes X509Plain it reports the 
following error:

vncserver -geometry 1920x1080 -localhost no -autokill -SecurityTypes
X509Plain

You will require a certificate to use X509None, X509Vnc, or X509Plain.
I will generate a self signed certificate for you in 
/home/mb/.vnc/demk-wks-400-SrvCert.pem.

-
Cannot write random bytes:
4057E14E287F:error:127A:random number generator:RAND_write_file:Not a 
regular file:../crypto/rand/randfile.c:190:Filename=/dev/urandom
The openssl command /usr/bin/openssl req -newkey 
ec:/etc/tigervnc/openssl-ecparams.pem -x509 -days 2190 -nodes -config - -out 
/home/mb/.vnc/demk-wks-400-SrvCert.pem -keyout 
/home/mb/.vnc/demk-wks-400-SrvKey.pem failed: 256

which seems plausible since it can't write to /dev/urandmon.

What should happen:

vncserver creates a self signed certifiate and starts.


Workaround (fix?) is to comment out the following line in 
/etc/tigervnc/openssl.cnf:

#RANDFILE= /dev/urandom

** Affects: tigervnc (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1973292

Title:
  tigervnc server can't generate SSL certificate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tigervnc/+bug/1973292/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1468788] Re: Kernel panic on suspend/shutdown

2015-07-26 Thread michael bode
I seem to have the same problem also on a Dell XPS 13 (2015) but with
A03 BIOS. Currently running Kubuntu 15.04, Kernel 3.19.0-24-generic.
Only I have the kernel panic 100% of the time when suspending from KDE
either by closing the lid or from the KDE menu.

But I've found a tempory workaround. I've made a program starter with
the following command line:

qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock ; sudo pm-suspend

and put the following file into /etc/sudoers.d:
mb@rhea:~$ cat /etc/sudoers.d/pm-suspend 
Cmnd_Alias SUSPEND = /usr/sbin/pm-suspend

%sudo   ALL = NOPASSWD: SUSPEND

This locks the screen and goes into suspend flawlessly. So it must be
something about the way KDE does suspend.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1468788

Title:
  Kernel panic on suspend/shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1468788/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1390709] [NEW] Wifi doesn'r reconnect after waking from sleep

2014-11-08 Thread michael bode
Public bug reported:

Upgraded from 14.04 to 14.10. Before Wifi would reconnect after waking
up from sleep mode. After Update reconnect fails with wlan0: aborting
authentication with 1c:c6:3c:95:e7:74 by local choice (Reason:
3=DEAUTH_LEAVING).

I worked around this by killing wpa_supplicant with a script in
/etc/pm/sleep.d


#!/bin/sh

case "$1" in
thaw|resume) 
{ killall wpa_supplicant ; } 2>/dev/null
;;
*)
;;
esac

exit $?

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: network-manager 0.9.8.8-0ubuntu28
ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4
Uname: Linux 3.16.0-24-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: KDE
Date: Sat Nov  8 11:43:15 2014
EcryptfsInUse: Yes
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2013-04-19 (567 days ago)
InstallationMedia: Kubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130402.1)
IpRoute:
 default via 192.168.138.251 dev wlan0  proto static 
 192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1 
 192.168.138.0/24 dev wlan0  proto kernel  scope link  src 192.168.138.143  
metric 9
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
SourcePackage: network-manager
UpgradeStatus: Upgraded to utopic on 2014-11-07 (0 days ago)
nmcli-nm:
 RUNNING VERSIONSTATE   NET-ENABLED   WIFI-HARDWARE   WIFI  
 WWAN-HARDWARE   WWAN  
 running 0.9.8.8connected   enabled   enabled 
enabledenabled enabled

** Affects: network-manager (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug utopic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1390709

Title:
  Wifi doesn'r reconnect after waking from sleep

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1390709/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 886610] [NEW] opensc does not work with etoken pro

2011-12-05 Thread michael bode
Just a keep-alive message. Maybe someone finds the time to think about
my suggestion to make second opensc binary package that supports openct.

-- 
PGP fingerprint: A391 4109 F8D0 F67B C504  1EF6 0158 E3BB 3687 53CF

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/886610

Title:
  opensc does not work with etoken pro

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opensc/+bug/886610/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 886610] [NEW] opensc does not work with etoken pro

2011-11-05 Thread michael bode
Public bug reported:

Opensc is compiled with configuration option --enable-pcsc. This
prevents openvpn from working correctly with /usr/lib/opensc-pkcs11.so
and an eToken Pro. Openvpn hangs or doesn't recognize the eToken. I
recompiled opensc with --disable-pcsc and --enable-openct and now it
works fine with my eToken. Since you have to decide at compile time
which card reader software you want to use and Aladdin eToken are
probably quite common, how about making an alternative binary package
with openct support instead of pcsc?

lsb_release -rd
Description:Ubuntu 11.10
Release:11.10
apt-cache policy opensc
opensc:
  Installiert: 0.12.1-1ubuntu1
  Kandidat:0.12.1-1ubuntu1
  Versionstabelle:
 0.12.1-1ubuntu1 0
500 http://de.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages
 *** 0.12.1-1ubuntu1 0
100 /var/lib/dpkg/status

** Affects: opensc (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/886610

Title:
  opensc does not work with etoken pro

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opensc/+bug/886610/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 799448] Re: openvpn hangs system with etoken

2011-11-05 Thread michael bode
Am 19.07.2011 17:17, schrieb Arnaud:
> I have exactly the same bug on my side, is there any way to avoid it?
> 

I've found the reason. Since 0.12 opensc can only have one card reader
driver enabled at any time, The default is pcsc. It seems pcsc does not
work correctly with the eToken Pro. I did recompile opensc with pcsc
disabled and openct enabled for Kubuntu 11.10 and now it works ok.

Hope that helps.

-- 
PGP fingerprint: A391 4109 F8D0 F67B C504  1EF6 0158 E3BB 3687 53CF

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/799448

Title:
  openvpn hangs system with etoken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/799448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 799448] Re: openvpn hangs system with etoken

2011-07-19 Thread michael bode
Am 19.07.2011 17:17, schrieb Arnaud:
> I have exactly the same bug on my side, is there any way to avoid
> it?

Not that I know. I've now found that the freezing of the whole system
comes from over 900 openvpn processes that I can see in top before the
system becomes unresponsive.

-- 
PGP fingerprint: A391 4109 F8D0 F67B C504  1EF6 0158 E3BB 3687 53CF

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/799448

Title:
  openvpn hangs system with etoken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/799448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 799448] Re: openvpn hangs system with etoken

2011-06-21 Thread michael bode
Am 21.06.2011 15:20, schrieb Chuck Short:
> Hi,
> 
> Thanks for the bug report, I was wondering how I can reproduce this?

Another data point I forgot to mention: openvpn in Debian Squeeze works
just fine. This is the exact same version as in 11.04:

Debian
mb@eris:~$ /usr/sbin/openvpn --version
OpenVPN 2.1.3 x86_64-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH]
[PF_INET6] [eurephia] built on Oct 22 2010
Originally developed by James Yonan
Copyright (C) 2002-2010 OpenVPN Technologies, Inc. 

-- 
PGP fingerprint: A391 4109 F8D0 F67B C504  1EF6 0158 E3BB 3687 53CF

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/799448

Title:
  openvpn hangs system with etoken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/799448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 799448] Re: openvpn hangs system with etoken

2011-06-21 Thread michael bode
Am 21.06.2011 15:20, schrieb Chuck Short:
> Hi,
> 
> Thanks for the bug report, I was wondering how I can reproduce this?

Do you have an eToken? You need to put a private key and cert on the
token. This is now described here:

http://openvpn.net/index.php/open-source/documentation/howto.html#pkcs11

When I originally prepared my eToken, I created the PKCS12 file with
easy-rsa, initialized the token with pkcs15-init and put the PKCS12 file
on the token with pkcs15-init.

I'm not sure if the hang is also reproducable with a token without
PKCS15 structure on it.

It should also be possible to use Aladdins proprietary PKCS11 provider
under linux, but I never tried that. I can try some other eTokens with
Aladdins file structure and see what happens with opevpn
--show-pkcs11-ids in Ubuntu 10.10 and 11.04. (Openvpn worked for me in
10.10)

Tell me how I can assist in fixing this bug.

Greetings, Michael

-- 
PGP fingerprint: A391 4109 F8D0 F67B C504  1EF6 0158 E3BB 3687 53CF

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/799448

Title:
  openvpn hangs system with etoken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/799448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 799448] Re: openvpn hangs system with etoken

2011-06-19 Thread michael bode
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/799448

Title:
  openvpn hangs system with etoken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/799448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 799448] [NEW] openvpn hangs system with etoken

2011-06-19 Thread michael bode
Public bug reported:

Binary package hint: openvpn

When using openvpn with an Aladdin eToken then whole system hangs. I can 
reproduce this by simply entering
openvpn --show-pkcs11-ids /usr/lib/opensc-pkcs11.so as root. This works 
flawlessly on Ubuntu 10.10 and before. Opensc seems to read the eToken quite 
fine:
root@mb-VirtualBox:/usr/share/doc/openvpn# opensc-tool -l
[opensc-tool] reader-pcsc.c:906:pcsc_detect_readers: SCardEstablishContext 
failed: 0x8010001d
[opensc-tool] reader-pcsc.c:1015:pcsc_detect_readers: returning with: No 
readers found
Readers known about:
Nr.Driver Name
0  openct Aladdin eToken PRO
1  openct OpenCT reader (detached)

root@mb-VirtualBox:/usr/share/doc/openvpn# opensc-tool -n
[opensc-tool] reader-pcsc.c:906:pcsc_detect_readers: SCardEstablishContext 
failed: 0x8010001d
[opensc-tool] reader-pcsc.c:1015:pcsc_detect_readers: returning with: No 
readers found
Using reader with a card: Aladdin eToken PRO
CardOS M4

And pkcs11-tool can see the certs on the eToken:

root@mb-VirtualBox:/usr/share/doc/openvpn# pkcs11-tool -O
[opensc-pkcs11] reader-pcsc.c:906:pcsc_detect_readers: SCardEstablishContext 
failed: 0x8010001d
[opensc-pkcs11] reader-pcsc.c:1015:pcsc_detect_readers: returning with: No 
readers found
[opensc-pkcs11] reader-pcsc.c:906:pcsc_detect_readers: SCardEstablishContext 
failed: 0x8010001d
[opensc-pkcs11] reader-pcsc.c:1015:pcsc_detect_readers: returning with: No 
readers found
Certificate Object, type = X.509 cert
  label:  /C=DE/ST=NA/O=Company/CN=mb/emailAddress=michael.b...@domain.de
  ID: 45
Public Key Object; RSA 1024 bits
  label:  /C=DE/ST=NA/O=Company/CN=mb/emailAddress=michael.b...@domain.de
  ID: 45
  Usage:  encrypt, verify
Certificate Object, type = X.509 cert
  label:  
/C=DE/ST=NA/L=MUEHLHEIM-KAERLICH/O=Company/CN=VPN-CA/emailAddress=michael.b...@domain.de
  ID: 00
Public Key Object; RSA 1024 bits
  label:  
/C=DE/ST=NA/L=MUEHLHEIM-KAERLICH/O=Company/CN=VPN-CA/emailAddress=michael.b...@domain.de
  ID: 46
  Usage:  encrypt, verify

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: openvpn 2.1.3-2ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Sun Jun 19 17:22:11 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
 LANGUAGE=de_DE:en
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: openvpn
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: openvpn (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug natty unity-2d

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/799448

Title:
  openvpn hangs system with etoken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/799448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 246392] Re: openct doesn't recognize etoken

2008-07-10 Thread michael bode
Confirmed. The asterisk fixes it for me too. Thanks for your help guys.

-- 
openct doesn't recognize etoken
https://bugs.launchpad.net/bugs/246392
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 246392] [NEW] openct doesn't recognize etoken

2008-07-07 Thread michael bode
Public bug reported:

Binary package hint: openct

In Ubuntu 8.04 openct does not recognize an etoken when it is plugged
in. This does work with 7.10. To use the etoken in 8.04 I have to
/etc/init.d/openct restart after it is plugged in.

openct 0.6.14-2

This looks like bug 125054

** Affects: openct (Ubuntu)
 Importance: Undecided
 Status: New

-- 
openct doesn't recognize etoken
https://bugs.launchpad.net/bugs/246392
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 195768] Re: Bad battery runtime in Ubuntu

2008-04-20 Thread michael bode
I was quite happy with battery life on my Thinkpad X60 with Gutsy.
Powertop gave me a minimum of 10.9W on an idle desktop. I've just
upgraded to Hardy and can't get below 12.9W now.

-- 
Bad battery runtime in Ubuntu
https://bugs.launchpad.net/bugs/195768
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs