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 libc6 2.22-5 > ii libcairo2 1.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-0 1.38.1-1 > ii libpangoxft-1.0-0 1.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 <none> > pn menu <none> > pn yelp <none> > > -- no debconf information
signature.asc
Description: OpenPGP digital signature