我正在尝试xpra
。在calculon
计算机上(预计它将是服务器)我跑了
$ xpra start :100 --start=xterm
Entering daemon mode; any further errors will be reported to:
/run/user/1000/xpra/:100.log
日志显然没问题。在pterosuar
计算机上,预计是客户端,我跑了
$ xpra attach ssh/dims@calculon/100
2018-10-23 22:04:18,015 cannot use pycups for printing: No module named cups
2018-10-23 22:04:18,120 xpra gtk2 client version 0.15.8 (r11211)
2018-10-23 22:04:18,352 PyOpenGL warning: missing accelerate module
2018-10-23 22:04:18,352 PyOpenGL warning: missing array format handlers: numeric, vbo, vbooffset
2018-10-23 22:04:18,352 OpenGL Version: 4.5.0 NVIDIA 384.130
2018-10-23 22:04:18,355 OpenGL enabled with GeForce GT 650M/PCIe/SSE2
2018-10-23 22:04:18,484 detected keyboard: rules=evdev, model=pc105, layout=us
2018-10-23 22:04:18,486 desktop size is 1920x1080 with 1 screen(s):
2018-10-23 22:04:18,486 ':0.0' (508x286 mm - DPI: 96x95) workarea: 1920x993 at 0x24
2018-10-23 22:04:18,486 monitor 1 (382x215 mm - DPI: 127x127)
bash: /home/dims/.xpra/run-xpra: No such file or directory
2018-10-23 22:04:18,970 failed to receive anything, not an xpra server?
2018-10-23 22:04:18,970 could also be the wrong username, password or port
2018-10-23 22:04:18,970 or maybe this server does not support 'unknown' compression or 'bencode' packet encoding?
2018-10-23 22:04:18,971 Connection lost
为什么要写一些关于Nvidia
?不应该是内存屏幕吗?
两台计算机都运行 Ubuntu-16,我可以往返ssh
并且可以执行正常的远程 X11 和/或 VNC。pterosaur
calculon
答案1
这是因为xpra
客户端版本太旧。我遵循 winswitch 网站说明在“服务器”机器上,但只是从“客户端”上的纯 apt 安装。一旦我在客户端上做了同样的事情,它就开始工作了。