Sorry that I could not make this more brief.
I’m thinking that these issues are related, and I’m hoping it’s just my naivety that’s making the issue drag on a bit and not a corrupted install. Mostly my system is working very well and I much prefer the speed and simplicity.
I recently made the break from using live CDs of full desktop environments, to using the Debian netinstall iso and adding Fluxbox to this. I’m using PCManFM for a file manager and as far as possible the simplest option for programs, to minimise slowing things down. A few problems seem to have arisen from this which I’d like to resolve and learn from. I have had a few stabs at this with partial success.
(1) For example, when I used LightDm for a display manager there was no problem in running this in the terminal:
sudo leafpad /etc/default/grub
But with both xdm and Slim as display manager, the terminal responds:
No protocol specified
leafpad: Cannot open display
The same happens if I use root to attempt the same task (which is just an example here, I don’t need to change grub right now).
I can use nano in place of leafpad without issue.
It may have been a bad or dicey habit, but I used to use ‘gksu nautilus’ to do things like changing a line in a gtk theme in /sur/share/themes/ when I used a full DE. I see that gksu is discontinued. I can’t open PCManFM with sudo (though I used to with LXDE without any issue visible to me).
(2) This doesn’t happen with LightDM, but with xdm if I try to run Audacity the terminal says this:
‘ScreenToClient cannot work when toplevel window is shown.’
A smaller box comes up with the gtk theme headed ‘an assertion failed’, and then states what the terminal also does:
‘…/src/gtk/dcclient.cpp(2038): assert “m_window” failed in DoGetSize(): GetSize() doesn’t work without window’
There were three installs of Debian 10 on three machines and one of them used a second download of the same iso, so I’m thinking the install is okay and that something just needs to be corrected.
Has this gone how it was bound to go due to my current probably naivety since adopting the netinstall method or have I seemed to make a mistake somewhere?
Why will Leafpad not run in the example given where nano will?
Most applications work, like Fadein (screenwriting software) or Gimp. Why are some applications working but not others? Why is PCManFM working less well than it does within LXDE in terms of not automounting the SD card?
(3) So, are these issues related? And if I’d added Xfce (as opposed to using the Xfce iso) instead of Fluxbox, for example, would these issues not have occurred? (I would really rather not change DE, as netinstall + Fluxbox seems noticeably smoother than using even the LXDE iso.)
Would appreciate assistance in solving this once and for all after a few weeks of partial success and working round/ ignoring things.
Thanks.