简体   繁体   English

如何禁用libreoffice通过SSH进行自动恢复

[英]How to disable libreoffice impress autorecovery over ssh

Is there a way to tell libreoffice impress to skip autorecovery of files when you have no access to the machine it runs on despite ssh? 当您无法访问运行ssh的计算机时,是否有一种方法可以告诉libreoffice印象跳过文件的自动恢复?

Another way of asking would be: Is it possible to completely control X or an application running in it via ssh? 另一种询问的方式是:是否可以完全控制X或通过ssh在其中运行的应用程序?

This is about an RPi running in Kiosk mode without any input devices connected. 这与在未连接任何输入设备的情况下在信息亭模式下运行的RPi有关。 Thank you so much for any advice on this. 非常感谢您对此的任何建议。

You can disable autorecovery by starting LibreOffice with the command line option 您可以通过使用命令行选项启动LibreOffice来禁用自动恢复

--norestore

For example: 例如:

libreoffice --norestore --impress

Disabling saving of autorestore information ( Tools -> Options -> Load/Save -> General -> Save AutoRecovery Information every ... Minutes ) won't disable the Autorecovery mechanism. 禁用Save AutoRecovery Information every ... Minutes Load/SaveTools -> Options -> Load/Save -> General -> Save AutoRecovery Information every ... Minutes )不会禁用Save AutoRecovery Information every ... Minutes机制。

You could use VNC to control the desktop even if you would sit in front of it. 您可以使用VNC控制桌面,即使您坐在桌面前也可以。 The simplest setup would be: 最简单的设置是:

user@raspy apt-get install tightvncserver
user@raspy tightvncserver # start it

Then connect using a vnc viewer to port 5901 然后使用vnc查看器连接到端口5901


You could also connect via ssh -X to redirect x traffic to the local x server. 您也可以通过ssh -X连接以将x流量重定向到本地x服务器。 Try: 尝试:

ssh -X raspbian_machine
gnome-text-editor

It will open the text editor on your local machine. 它将在本地计算机上打开文本编辑器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM