← Back to team overview

touch-packages team mailing list archive

[Bug 1429185] [NEW] Restart button in Additional Drivers does not restart Xubuntu

 

Public bug reported:

After changing a driver in Additonal Drivers tab of Software & Updates,
a message tells me a restart ('You need to restart the computer to
complete the driver changes.') is needed and introduces a button to
restart the system. This button does not seem to do anything in Xubuntu
14.04.2.

Upon running software-properties-gtk through terminal and then clicking
the restart button, these lines are printed:


Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1091, in on_driver_restart_clicked
    subprocess.call(['gnome-session-quit', '--reboot'])
  File "/usr/lib/python3.4/subprocess.py", line 533, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.4/subprocess.py", line 848, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.4/subprocess.py", line 1446, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'gnome-session-quit'


'gnome-session-quit' does not work on Xubuntu with a fresh install.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: software-properties-gtk 0.92.37.3
ProcVersionSignature: Ubuntu 3.16.0-30.40~14.04.1-generic 3.16.7-ckt3
Uname: Linux 3.16.0-30-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.7
Architecture: amd64
CasperVersion: 1.340
CurrentDesktop: XFCE
Date: Fri Mar  6 15:45:48 2015
LiveMediaBuild: Xubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to software-properties in
Ubuntu.
https://bugs.launchpad.net/bugs/1429185

Title:
  Restart button in Additional Drivers does not restart Xubuntu

Status in software-properties package in Ubuntu:
  New

Bug description:
  After changing a driver in Additonal Drivers tab of Software &
  Updates, a message tells me a restart ('You need to restart the
  computer to complete the driver changes.') is needed and introduces a
  button to restart the system. This button does not seem to do anything
  in Xubuntu 14.04.2.

  Upon running software-properties-gtk through terminal and then
  clicking the restart button, these lines are printed:

  
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1091, in on_driver_restart_clicked
      subprocess.call(['gnome-session-quit', '--reboot'])
    File "/usr/lib/python3.4/subprocess.py", line 533, in call
      with Popen(*popenargs, **kwargs) as p:
    File "/usr/lib/python3.4/subprocess.py", line 848, in __init__
      restore_signals, start_new_session)
    File "/usr/lib/python3.4/subprocess.py", line 1446, in _execute_child
      raise child_exception_type(errno_num, err_msg)
  FileNotFoundError: [Errno 2] No such file or directory: 'gnome-session-quit'

  
  'gnome-session-quit' does not work on Xubuntu with a fresh install.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: software-properties-gtk 0.92.37.3
  ProcVersionSignature: Ubuntu 3.16.0-30.40~14.04.1-generic 3.16.7-ckt3
  Uname: Linux 3.16.0-30-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.7
  Architecture: amd64
  CasperVersion: 1.340
  CurrentDesktop: XFCE
  Date: Fri Mar  6 15:45:48 2015
  LiveMediaBuild: Xubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: software-properties
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1429185/+subscriptions


Follow ups

References