[Pkg-xfce-devel] Bug#792298: xfce4-session: Very long command-lines get truncated, causing session restore to fail

Torbjörn Andersson eriknospam at telia.com
Mon Jul 13 17:21:06 UTC 2015

Package: xfce4-session
Version: 4.12.1-3
Severity: minor

Dear Maintainer,

I often find myself having lots of xfce4-terminal windows open at a 
time, using them as a kind of bookmarks for what I was doing at the 
moment. Apparently these all share one process, with a command line 
specifying the working path, the tabs, the geometry, etc. There are a 
lot of options and, as a result, the command line grows quickly.

A few dozen windows (I know it's silly, but it happens) is often enough 
for the command-line to grow to the point that it gets truncated in the 
session file. At this point, logging out and logging back in causes the 
session to not be properly saved and restored.

This isn't as bad as it may first sound, because all that happens is 
that the terminal windows aren't restored, but it is a bit annoying.

I don't know if increasing the buffer size will help. I imagine that at 
some point, the command-line grows too large for the system to handle. 
But if so, perhaps that limit is much greater?


Torbjörn Andersson

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

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

Versions of packages xfce4-session depends on:
ii  libatk1.0-0            2.16.0-2
ii  libc6                  2.19-19
ii  libcairo2              1.14.2-2
ii  libdbus-1-3            1.8.18-1
ii  libdbus-glib-1-2       0.102-1
ii  libfontconfig1         2.11.0-6.3
ii  libfreetype6           2.5.2-4
ii  libgdk-pixbuf2.0-0     2.31.4-2
ii  libglib2.0-0           2.44.1-1.1
ii  libgtk2.0-0            2.24.28-1
ii  libice6                2:1.0.9-1+b1
ii  libpango-1.0-0         1.36.8-3
ii  libpangocairo-1.0-0    1.36.8-3
ii  libpangoft2-1.0-0      1.36.8-3
ii  libpolkit-gobject-1-0  0.105-11
ii  libsm6                 2:1.2.2-1+b1
ii  libwnck22              2.30.7-2
ii  libx11-6               2:1.6.3-1
ii  libxfce4ui-1-0         4.12.1-2
ii  libxfce4util7          4.12.1-2
ii  libxfconf-0-2          4.12.0-2+b1
ii  multiarch-support      2.19-19
ii  xfce4-settings         4.12.0-2
ii  xfconf                 4.12.0-2+b1

Versions of packages xfce4-session recommends:
ii  dbus-x11           1.8.18-1
ii  libpam-systemd     222-1
ii  systemd-sysv       222-1
ii  upower             0.99.3-1+b2
ii  x11-xserver-utils  7.7+4
ii  xfdesktop4         4.12.2-1
ii  xfwm4              4.12.3-1
ii  xscreensaver       5.30-1+b1

Versions of packages xfce4-session suggests:
pn  fortunes-mod  <none>
ii  pm-utils      1.4.1-15
ii  sudo          1.8.12-1

-- no debconf information

More information about the Pkg-xfce-devel mailing list