Bug#819859: sawfish: Sawfish quits immediately after shown up

2016-04-09 Thread Anne C. Hanna
I'm seeing a similar error, although the manifestation was slightly different.
 As with others, the problem cropped up the first time I started X after
upgrading to 1:1.11-2.  I normally start X from console using startx, but
after the upgrade X never even seemed to start at all, and I found the
following in my .xsession-errors:

-

Lisp backtrace:
#6   open-structures ((rep rep.regexp rep.system rep.io.files rep.io.processes
sawfish.wm sawfish.wm.util.groups sawfish.wm.util.display-window
sawfish.wm.util.compat sawfish.wm.ext.error-handler sawfish.wm.ext.apps-menu
sawfish.wm.edge.conf sawfish.wm.edge.actions sawfish.wm.frames
sawfish.wm.menus sawfish.wm.commands.launcher sawfish.wm.ext.wallpaper
sawfish.wm.prg.compton sawfish.wm.prg.conky sawfish.wm.prg.diodon
sawfish.wm.prg.fehlstart sawfish.wm.prg.idesk sawfish.wm.prg.nm-applet
sawfish.wm.prg.pancake sawfish.wm.prg.trayer sawfish.wm.prg.xgamma
sawfish.wm.prg.xmobar sawfish.wm.prg.xmodmap sawfish.wm.prg.xsettingsd))
#4   make-structure (() # # user)
#2   load ...
#1   run-byte-code ...

error--> (file-error "No such file or directory" "sawfish/wm/ext/wallpaper")

-

Installing sawfish-lisp-source at least allowed X to start for me, although
there were still a few things wrong.  Downgrading sawfish and sawfish-data to
1:1.5.3-2.4, without changing any other packages, made the problem go away.
This fix held even with sawfish-lisp-source purged.

My system information is below.

 - Anne

-

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sawfish depends on:
ii  libatk1.0-0  2.20.0-1
ii  libaudiofile10.3.6-2+b1
ii  libc62.22-5
ii  libcairo21.14.6-1+b1
ii  libesd0  0.2.41-11
ii  libfontconfig1   2.11.0-6.4
ii  libfreetype6 2.6.3-3+b1
ii  libgdk-pixbuf2.0-0   2.32.3-1.2+b1
ii  libglib2.0-0 2.48.0-1
ii  libgmp10 2:6.1.0+dfsg-2
ii  libgtk2.0-0  2.24.30-1.1
ii  libice6  2:1.0.9-1+b1
ii  libpango-1.0-0   1.38.1-1
ii  libpangocairo-1.0-0  1.38.1-1
ii  libpangoft2-1.0-01.38.1-1
ii  libpangoxft-1.0-01.38.1-1
ii  librep9  0.90.2-1.5
ii  libsm6   2:1.2.2-1+b1
ii  libx11-6 2:1.6.3-1
ii  libxext6 2:1.3.3-1
ii  libxft2  2.3.2-1
ii  libxinerama1 2:1.1.3-1+b1
ii  libxrandr2   2:1.5.0-1
ii  libxrender1  1:0.9.9-2
ii  rep  0.92.5-3
ii  rep-gtk  1:0.90.8.2-3
ii  sawfish-data 1:1.11-2
ii  xterm [x-terminal-emulator]  324-1

sawfish recommends no packages.

Versions of packages sawfish suggests:
ii  gnome-control-center  1:3.18.2-1
ii  menu  2.1.47
ii  yelp  3.16.1-1

-- no debconf information



signature.asc
Description: OpenPGP digital signature


Bug#819859: sawfish: Sawfish quits immediately after shown up

2016-04-05 Thread 王晓林
Great, installing sawfish-lisp-source does work, though with some errors.
In the center of the root window, there is a message box popped up
immediately after sawfish started up, saying "No such file or directory,
gnome". I don't have gnome installed, this shouldn't be treated as an
error, right?

And in the .xsession-errors file, I found the following lines. Hope these
can help finding the bug.

>
dbus-update-activation-environment: warning: error sending to systemd:
org.freedesktop.DBus.Error.Spawn.ChildExited: Process
org.freedesktop.systemd1 exited with status 1
Sawfish error:
File error: No such file or directory, gnome
--
Sawfish error:
Unbound variable: expert
--
Sawfish error:
Unbound variable: uglicon-reset
--
Sawfish error:
Unbound variable: uglicon-reset
[1750:1750:0406/083845:ERROR:background_mode_manager_aura.cc(13)] Not
implemented reached in virtual void
BackgroundModeManager::EnableLaunchOnStartup(bool)
[1750:1750:0406/083845:ERROR:logging.h(813)] Failed to call method:
org.freedesktop.DBus.ObjectManager.GetManagedObjects: object_path= /:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not
provided by any .service files
[1750:1750:0406/083846:ERROR:logging.h(813)] Failed to call method:
org.freedesktop.DBus.ObjectManager.GetManagedObjects: object_path= /:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not
provided by any .service files
[1750:1863:0406/083851:ERROR:connection_factory_impl.cc(367)] Failed to
connect to MCS endpoint with error -130
[1750:1863:0406/083913:ERROR:connection_factory_impl.cc(367)] Failed to
connect to MCS endpoint with error -130
[1750:1750:0406/083921:ERROR:account_tracker.cc(357)] OnGetTokenFailure:
Connection failed (-130).
[1750:1750:0406/083921:ERROR:account_tracker.cc(357)] OnGetTokenFailure:
Connection failed (-130).
[1750:1863:0406/083951:ERROR:connection_factory_impl.cc(367)] Failed to
connect to MCS endpoint with error -130
[1750:1863:0406/084002:ERROR:connection_factory_impl.cc(367)] Failed to
connect to MCS endpoint with error -130
[1750:1863:0406/085337:ERROR:socket_stream.cc(210)] Closing stream with
result -100
>>

On Wed, Apr 6, 2016 at 12:38 AM Jose M Calhariz  wrote:

> On 05/04/16 12:53, David Riley wrote:
> > I tried copying the wallpaper.jl from
> > https://github.com/SawfishWM/sawfish/tree/master/lisp/sawfish/wm/ext
> > into /usr/share/sawfish/lisp/sawfish/wm/ext/ and with that it starts up.
> >
> > I don't know if anything else is missing but it looks ok from a very
> > quick test.
> Xiaolin, the best workaround is to install the package sawfish-lisp-source.
>
> I will work on a fix.
>
> Kind regards
> Jose M Calhariz
>
>
> --

王晓林


Bug#819859: sawfish: Sawfish quits immediately after shown up

2016-04-05 Thread Jose M Calhariz
On 05/04/16 12:53, David Riley wrote:
> I tried copying the wallpaper.jl from
> https://github.com/SawfishWM/sawfish/tree/master/lisp/sawfish/wm/ext
> into /usr/share/sawfish/lisp/sawfish/wm/ext/ and with that it starts up.
>
> I don't know if anything else is missing but it looks ok from a very
> quick test.
Xiaolin, the best workaround is to install the package sawfish-lisp-source.

I will work on a fix.

Kind regards
Jose M Calhariz




signature.asc
Description: OpenPGP digital signature


Bug#819859: sawfish: Sawfish quits immediately after shown up

2016-04-05 Thread Jose M Calhariz
On 05/04/16 15:44, 王晓林 wrote:
> Systemd seems hard to be purged cleanly. I followed this guide
> 
> step
> by step, but finally I can't start X. I see the following error in my
> Xorg.0.log.
>
>-
>- (EE) systemd-logind: failed to get session: The name
>org.freedesktop.login1 was not provided by any .service files
>
>

That page worked for me.  I am working as fast as I can to found a
solution. 

Kind regards
Jose M Calhariz




signature.asc
Description: OpenPGP digital signature


Bug#819859: sawfish: Sawfish quits immediately after shown up

2016-04-05 Thread 王晓林
Systemd seems hard to be purged cleanly. I followed this guide

step
by step, but finally I can't start X. I see the following error in my
Xorg.0.log.

   -
   - (EE) systemd-logind: failed to get session: The name
   org.freedesktop.login1 was not provided by any .service files


-- 

王晓林


Bug#819859: sawfish: Sawfish quits immediately after shown up

2016-04-05 Thread David Riley
I tried copying the wallpaper.jl from
https://github.com/SawfishWM/sawfish/tree/master/lisp/sawfish/wm/ext
into /usr/share/sawfish/lisp/sawfish/wm/ext/ and with that it starts up.

I don't know if anything else is missing but it looks ok from a very
quick test.



Bug#819859: sawfish: Sawfish quits immediately after shown up

2016-04-04 Thread Jose M Calhariz
I am not certain, but on my virtual machine I removed the systemd and
now sawfish works.
So as a workaround until I found a solution, removing systemd may help.

Kind regards
Jose M Calhariz





signature.asc
Description: OpenPGP digital signature


Bug#819859: sawfish: Sawfish quits immediately after shown up

2016-04-04 Thread David Riley
On Mon, Apr 04, 2016 at 07:24:46PM +0100, Jose M Calhariz wrote:
> It is possible to run the sawfish standalone in a terminal window for
> collecting the error messages?

It didn't let me do that, but I was able to redirect the output to a file:

Lisp backtrace:
#6   open-structures ((rep rep.regexp rep.system rep.io.files rep.io.processes 
sawfish.wm sawfish.wm.util.groups sawfish.wm.util.display-window 
sawfish.wm.util.compat sawfish.wm.ext.error-handler sawfish.wm.ext.apps-menu 
sawfish.wm.edge.conf sawfish.wm.edge.actions sawfish.wm.frames sawfish.wm.menus 
sawfish.wm.commands.launcher sawfish.wm.ext.wallpaper sawfish.wm.prg.compton 
sawfish.wm.prg.conky sawfish.wm.prg.diodon sawfish.wm.prg.fehlstart 
sawfish.wm.prg.idesk sawfish.wm.prg.nm-applet sawfish.wm.prg.pancake 
sawfish.wm.prg.trayer sawfish.wm.prg.xgamma sawfish.wm.prg.xmobar 
sawfish.wm.prg.xmodmap sawfish.wm.prg.xsettingsd))
#4   make-structure (() # # user)
#2   load ...
#1   run-byte-code ...

error--> (file-error "No such file or directory" "sawfish/wm/ext/wallpaper")


signature.asc
Description: PGP signature


Bug#819859: sawfish: Sawfish quits immediately after shown up

2016-04-04 Thread Jose M Calhariz
It is possible to run the sawfish standalone in a terminal window for
collecting the error messages?

Kind regards
Jose M Calhariz

On 04/04/16 10:58, David Riley wrote:
> I have the same issue, but I don't have the systemd error message.
> I'm using xdm to log in and starting sawfish from the .xsession file.
>
> As well as using my usual configuration that has worked for several years,
> I can reproduce it simply like this:
>
> 1) create a new user
> 2) log in to the console with new user
> 3) echo sawfish > .xsession
> 4) log in to xdm with the new user
>
> result:
>
> 1) user is logged in
> 2) session immediately exits
> 3) xdm login screen is shown again
>
> I'm using the testing distribution. The issue showed up after the last
> update.
>
> The issue does not exist with other window managers
> (tried xfce, fluxbox, enlightenment).




signature.asc
Description: OpenPGP digital signature


Bug#819859: sawfish: Sawfish quits immediately after shown up

2016-04-04 Thread David Riley
I've just tested this in unstable and it's the same, i.e. the issue
exists both with my existing configuration and with a new user with
no sawfish configuration.



Bug#819859: sawfish: Sawfish quits immediately after shown up

2016-04-04 Thread David Riley
I have the same issue, but I don't have the systemd error message.
I'm using xdm to log in and starting sawfish from the .xsession file.

As well as using my usual configuration that has worked for several years,
I can reproduce it simply like this:

1) create a new user
2) log in to the console with new user
3) echo sawfish > .xsession
4) log in to xdm with the new user

result:

1) user is logged in
2) session immediately exits
3) xdm login screen is shown again

I'm using the testing distribution. The issue showed up after the last
update.

The issue does not exist with other window managers
(tried xfce, fluxbox, enlightenment).



Bug#819859: sawfish: Sawfish quits immediately after shown up

2016-04-03 Thread Jose M Calhariz
Hi,

I don't understand very well your setup.  I think it is a problem with
systemd, but will try to reproduce it any way.

Kind regards
Jose M Calhariz

On 03/04/16 08:25, Xiaolin Wang wrote:
> Package: sawfish
> Version: 1:1.11-2
> Severity: important
>
> Dear Maintainer,
>
> In my .bash_profile file, the last line is:
>
>   [[ -z $DISPLAY && $XDG_VTNR -eq 6 ]] && exec startx -- vt6 -keeptty
>   
> In my .xsession file, the last line is:
>
>   [[ $XDG_VTNR -eq 6 ]] && exec /etc/alternatives/x-window-manager
>   
> And my x-window-manager points to sawfish.
>
> In /etc/systemd/system/getty.target.wants/ I've set up auto login for
> all my tty1-6.
>
> The above configuration works great for years until a few weeks ago I
> did an usual 'sudo aptitude upgrade'.
>
> In these days, after startx brings up X display, I can see the mouse pointer 
> shows up at the center of the screen. 
> This means sawfish has been working. But immediately after the mouse cursor 
> shown up, sawfish quits, the screen
> goes back to console tty1. Because I have auto login on tty1-6, startx
> works again to bring up X. And immediately after seeing the mouse
> cursor, sawfish quits again. And the screen goes back to tty1. This loop
> continues until I comments out the last line in my .bash_profile file.
>
> grep EE ~/.local/share/xorg/Xorg.0.log shows me the following lines:
>
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
>   [   156.708] (EE) Error systemd-logind returned paused fd for 
> drm node
>   [   157.188] (EE) Error systemd-logind returned paused fd for 
> drm node
>
> If I 'startx' manually at any tty, I got the following errors:
>
> (EE) Fatal server error:
> (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
> (EE)
> Please consult the The X.Org Foundation support
>  at http://wiki.x.org
> for help.
> (EE) Please also check the log file at
> "/home/wx672/.local/share/xorg/Xorg.0.log" for additional
> information.
> (EE)
> (EE) Server terminated with error (1). Closing log file.
> xinit: giving up
> xinit: unable to connect to X server: Connection refused
> xinit: server error
>
>
> Then, I switched to i3 window manager, it works fine. So I guess it
> could be a sawfish bug.
>
>
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 4.4.0-1-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages sawfish depends on:
> ii  libatk1.0-0  2.18.0-1
> ii  libc62.22-5
> ii  libcairo21.14.6-1
> ii  libfontconfig1   2.11.0-6.4
> ii  libfreetype6 2.6.3-3
> ii  libgdk-pixbuf2.0-0   2.32.3-1.2
> ii  libglib2.0-0 2.48.0-1
> ii  libgmp10 2:6.1.0+dfsg-2
> ii  libgtk2.0-0  2.24.30-1.1
> ii  libice6  2:1.0.9-1+b1
> ii  libpango-1.0-0   1.38.1-1
> ii  libpangocairo-1.0-0  1.38.1-1
> ii  libpangoft2-1.0-01.38.1-1
> ii  libpangoxft-1.0-01.38.1-1
> ii  librep16 0.92.5-3
> ii  libsm6   2:1.2.2-1+b1
> ii  libx11-6 2:1.6.3-1
> ii  libxext6 2:1.3.3-1
> ii  libxft2  2.3.2-1
> ii  libxinerama1 2:1.1.3-1+b1
> ii  libxrandr2   2:1.5.0-1
> ii  libxrender1  1:0.9.9-2
> ii  libxtst6 2:1.2.2-1+b1
> ii  rep  0.92.5-3
> ii  rep-gtk  1:0.90.8.2-3
> ii  sawfish-data 1:1.11-2
> ii  xterm [x-terminal-emulator]  324-1
>
> sawfish recommends no packages.
>
> Versions of packages sawfish suggests:
> pn  gnome-control-center  
> pn  menu  
> pn  yelp  
>
> -- no debconf information




signature.asc
Description: OpenPGP digital signature


Bug#819859: sawfish: Sawfish quits immediately after shown up

2016-04-03 Thread Xiaolin Wang
Package: sawfish
Version: 1:1.11-2
Severity: important

Dear Maintainer,

In my .bash_profile file, the last line is:

[[ -z $DISPLAY && $XDG_VTNR -eq 6 ]] && exec startx -- vt6 -keeptty

In my .xsession file, the last line is:

[[ $XDG_VTNR -eq 6 ]] && exec /etc/alternatives/x-window-manager

And my x-window-manager points to sawfish.

In /etc/systemd/system/getty.target.wants/ I've set up auto login for
all my tty1-6.

The above configuration works great for years until a few weeks ago I
did an usual 'sudo aptitude upgrade'.

In these days, after startx brings up X display, I can see the mouse pointer 
shows up at the center of the screen. 
This means sawfish has been working. But immediately after the mouse cursor 
shown up, sawfish quits, the screen
goes back to console tty1. Because I have auto login on tty1-6, startx
works again to bring up X. And immediately after seeing the mouse
cursor, sawfish quits again. And the screen goes back to tty1. This loop
continues until I comments out the last line in my .bash_profile file.

grep EE ~/.local/share/xorg/Xorg.0.log shows me the following lines:

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   156.708] (EE) Error systemd-logind returned paused fd for 
drm node
[   157.188] (EE) Error systemd-logind returned paused fd for 
drm node

If I 'startx' manually at any tty, I got the following errors:

(EE) Fatal server error:
(EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
(EE)
Please consult the The X.Org Foundation support
 at http://wiki.x.org
  for help.
  (EE) Please also check the log file at
  "/home/wx672/.local/share/xorg/Xorg.0.log" for additional
  information.
  (EE)
  (EE) Server terminated with error (1). Closing log file.
  xinit: giving up
  xinit: unable to connect to X server: Connection refused
  xinit: server error


Then, I switched to i3 window manager, it works fine. So I guess it
could be a sawfish bug.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sawfish depends on:
ii  libatk1.0-0  2.18.0-1
ii  libc62.22-5
ii  libcairo21.14.6-1
ii  libfontconfig1   2.11.0-6.4
ii  libfreetype6 2.6.3-3
ii  libgdk-pixbuf2.0-0   2.32.3-1.2
ii  libglib2.0-0 2.48.0-1
ii  libgmp10 2:6.1.0+dfsg-2
ii  libgtk2.0-0  2.24.30-1.1
ii  libice6  2:1.0.9-1+b1
ii  libpango-1.0-0   1.38.1-1
ii  libpangocairo-1.0-0  1.38.1-1
ii  libpangoft2-1.0-01.38.1-1
ii  libpangoxft-1.0-01.38.1-1
ii  librep16 0.92.5-3
ii  libsm6   2:1.2.2-1+b1
ii  libx11-6 2:1.6.3-1
ii  libxext6 2:1.3.3-1
ii  libxft2  2.3.2-1
ii  libxinerama1 2:1.1.3-1+b1
ii  libxrandr2   2:1.5.0-1
ii  libxrender1  1:0.9.9-2
ii  libxtst6 2:1.2.2-1+b1
ii  rep  0.92.5-3
ii  rep-gtk  1:0.90.8.2-3
ii  sawfish-data 1:1.11-2
ii  xterm [x-terminal-emulator]  324-1

sawfish recommends no packages.

Versions of packages sawfish suggests:
pn  gnome-control-center  
pn  menu  
pn  yelp  

-- no debconf information