Half of what I wrote seems to not be connected to the mouse issue at all. I have fixed the log file problem by purging all snap packages off this system and replacing with debs. The only issue outstanding is the mouse so where I am up to.
Log in as normal and everything works for about 5 min. After that I lose the ability to click on anything outside the window I have open and also the ability to click on much within the current window. For example I am in firefox and can write and send this. I can click on the + to open a new tab, I can click on any tab and scroll up and down, (when scrolling the scroll freezes for about 2 seconds and when it comes back there is no longer an ability to click), I can't click on File, Edit, View, History, Bookmarks, Tools, Help. I can't click on the down arrow to get a list of open tabs.
If I move the mouse over any of the menu buttons on the left of the screen they highlight and remain highlighted when I move the mouse away, I can't click on any of them.
Alt Ctrl F6 get me to a TTY where I can log in, from here killing X or Xorg using kill PID or killall or pkill or running startx will all get me to a log in screen where the mouse works normally and where I can log in normally but having logged in the mouse fails in exactly the same way after about 25 seconds.
I have never seen this problem or anything like it any an all ideas most welcome.
Stripes