Comment 10 for bug 1815318

Revision history for this message
macdogdaddy (macdogdaddy) wrote (last edit ):

Me too on Ubuntu MATE 22.04

I've discovered a hackish workaround that may be helpful for someone to know about. If I use 'sudo caja' then it displays as expected. Running caja as non-root user still spawns a window on the remote machine, just like for everyone else.

    $ ssh -X user@IP
      Welcome to Ubuntu
    $ export XAUTHORITY=$HOME/.Xauthority (to use sudo)
    $ sudo caja

TERMINAL OUTPUT
(caja:4273): dbind-WARNING **: 20:17:39.773: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-DgQ4NgfGBw: Connection refused
Initializing caja-open-terminal extension
RuntimeError: object at 0x7fdfe93a75c0 of type FolderColorMenu is not initialized
RuntimeError: object at 0x7fdfe960d300 of type RenameMenu is not initialized

Then caja forwards as expected from file-server to local workstation over ssh. But now you are root:root and modifying other users files can result in undesired permission changes (use with care).

We can use Thunar or Dolphin or whatever alternate file-manager...but we shouldn't have to! I simply never had this problem when caja was nautilus, but it's been around since the introduction of MATE. So it's likely something simple introduced early in MATE development. My skill-set is quite limited, but if you think I can help you run this down, feel free to ask.