Thank you both. There's no obvious error or traceback in the logs. I'd
still like to see Asvin's x-0-greeter.log, but at the moment it doesn't
look like Onboard crashes outright. Actually, there's little hint it is
being started at all, but this seems to be the normal case.

There is an undocumented (read awkward) way to get a log file from
Onboard, even when running in unity-greeter (which hard-codes Onboard's
command-line). That would be good to have.

Make /usr/lib/python3/dist-packages/Onboard/Config.py starting from line 290 
look like this:
         # optionally log to file; everything, including stack traces           
  
         if 1:                                                                  
  
             options.debug = "debug"                                            
  
             logfile = open("/tmp/onboard.log", "w")                            
  
             #sys.stdout = logfile                                              
  
             sys.stderr = logfile                                               
  

Edit it by hand or use this one-liner:
sudo vi /usr/lib/python3/dist-packages/Onboard/Config.py +"%s/if 0/if 1/" 
+"%s/sys.stdout = logfile/#sys.stdout = logfile/" +wq

Then reboot, make sure the black rectangle is still visible at the login
screen (i.e. the keyboard is still enabled), login and post the file
"/tmp/onboard.log" here. Note that Onboard will probably fail to start
in the user session now, until you delete /tmp/onboard.log.

When done, undo the changes with:
sudo apt-get install --reinstall onboard

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to onboard in Ubuntu.
https://bugs.launchpad.net/bugs/1562734

Title:
  Onboard keyboard shows black box on login

Status in onboard package in Ubuntu:
  Confirmed

Bug description:
  The onboard keyboard does not show properly on login. Only a black box
  is shown where the keyboard is supposed to appear, but the keys are
  not displayed. After login onboard works as expected.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-15-generic 4.4.0-15.31 [modified: 
boot/vmlinuz-4.4.0-15-generic]
  ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6
  Uname: Linux 4.4.0-15-generic x86_64
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  asvin      1814 F.... pulseaudio
   /dev/snd/controlC1:  asvin      1814 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Mon Mar 28 09:42:30 2016
  HibernationDevice: RESUME=UUID=f716048f-ce0e-4825-b3c4-563fa743242a
  InstallationDate: Installed on 2016-03-23 (4 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160323)
  MachineType: Dell Inc. Venue 11 Pro 7140
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic.efi.signed 
root=UUID=a9cb1c53-fcf1-4691-a246-24b90dd908c6 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-15-generic N/A
   linux-backports-modules-4.4.0-15-generic  N/A
   linux-firmware                            1.157
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/27/2015
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A09
  dmi.board.name: 0XMVMH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA09:bd10/27/2015:svnDellInc.:pnVenue11Pro7140:pvr:rvnDellInc.:rn0XMVMH:rvrA00:cvnDellInc.:ct8:cvr:
  dmi.product.name: Venue 11 Pro 7140
  dmi.sys.vendor: Dell Inc.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to