ktsuss in testing -- does it work for anybody?

1 post / 0 new
#1 Thu, 2015-06-04 14:05
ktb
  • ktb's picture
  • Offline
  • Last seen: 2 years 10 months ago
  • Joined: 2015-06-01

I've tried out the ktsuss package ( http://pkgs.alpinelinux.org/package/testing/armhf/ktsuss ) in testing (I also tried rebuilding the package from aports) on Raspberry Pi 2 B (armhf) and it doesn't seem to work. It pops up a graphical authentication window, but doesn't seem to actually work to launch a root terminal or root window from SpaceFM. It also doesn't seem to work for simply launching leafpad or gparted as root.

The following four commands all work fine for me from a terminal emulator (xfce4-terminal in my case):
sudo -u root leafpad
sudo -u root gparted
sudo -u root -k -S -E leafpad
su root -p -c leafpad

However, ktsuss -u root leafpad returns:
leafpad: Cannot open display:

Uncommenting the Defaults settings such as the following in /etc/sudoers doesn't seem to have any affect:

## Locale settings                                                              
Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"                
##                                                                              
## Run X applications through sudo; HOME is used to find the                    
## .Xauthority file.  Note that other programs use HOME to find                 
## configuration files and this may lead to privilege escalation!               
Defaults env_keep += "HOME"                                                   
##                                                                              
## X11 resource path settings                                                   
Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"        
##                                                                      
## Desktop path settings                                                
Defaults env_keep += "QTDIR KDEDIR"                                   
##                                                                      
## Allow sudo-run commands to inherit the callers' ConsoleKit session   
Defaults env_keep += "XDG_SESSION_COOKIE"                             
##                                                                      
## Uncomment to enable special input methods.  Care should be taken as  
## this may allow users to subvert the command being run via sudo.      
# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"

I even tried adding:
Defaults env_keep += "DISPLAY XAUTHORITY"

I'm curious. Does ktsuss work at all for anybody on x86, x86_64 or armhf?

Thank you for taking a look.

- KTB