ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexei V. Mezin" <alexei.mezin@gmail.com>
To: community@lists.altlinux.org
Subject: Re: [Comm] GLX по ssh
Date: Sat, 4 Apr 2020 22:56:35 +0300
Message-ID: <r6aohg$3opl$1@ciao.gmane.io> (raw)
In-Reply-To: <202004042305.03483.a_s_y@sama.ru>

04.04.2020 22:05, Sergey пишет:
> Это p9, запущено вот так: xpra start :100 --start=xterm
> 


Вокруг этого всего есть какая-то магия непонятная. Слишком много питона :)

Имеем сервер на p9 и клиент на Сизифе

На сервере запущена сессия

$ xpra list
/usr/bin/Xorg is suid and not readable, Xdummy support unavailable
Found the following xpra sessions:
/run/user/500/xpra:
         LIVE session at :111
/run/xpra:
         LIVE session at :111

При попытке соединиться

$ xpra attach ssh://server:2022/111
Incompatible version of OpenGL_accelerate found, need at least (3, 1, 5) 
found (3, 1, 3)
Warning: version mismatch between PyOpenGL and PyOpenGL-accelerate
  3.1.5 vs 3.1.3b1
  this may cause crashes
2020-04-04 22:47:08,807 Xpra GTK3 X11 client version 3.0.7-r25629 64-bit
2020-04-04 22:47:08,824  running on Linux unknown unknown unknown
2020-04-04 22:47:08,825  window manager is 'KWin'
2020-04-04 22:47:09,252 GStreamer version 1.16.2 for Python 3.8.2 64-bit
2020-04-04 22:47:09,545 Connected (version 2.0, client OpenSSH_7.9)
2020-04-04 22:47:10,665 Authentication (publickey) successful!
2020-04-04 22:47:10,894  keyboard settings: rules=evdev, model=pc101, 
layout=us,ru
2020-04-04 22:47:11,100  desktop size is 1920x1080 with 1 screen:
2020-04-04 22:47:11,100   :0.0 (513x292 mm - DPI: 95x93) workarea: 1838x1080
2020-04-04 22:47:11,100     VSC DVI-I-1 (509x286 mm - DPI: 95x95)
2020-04-04 22:47:31,251 Error: failed to receive anything, not an xpra 
server?
2020-04-04 22:47:31,252   could also be the wrong protocol, username, 
password or port
2020-04-04 22:47:31,252   or the session was not found
2020-04-04 22:47:31,252 Connection lost

То есть нифига не работает. Однако! Если запустить xpra_launcher, то он 
вполне успешно устанавлиает соединение и все работает весьма достойно 
(за одно из лончера можно сохранить настроенное соединение в *.xpra 
файл, и запускать его как обычную иконку программы).


На сервере в /etc/xpra корфиг иксов "по умолчанию" для p9, там что-то 
про XDummy, и оно вроде бы работает как раз через него.





  reply	other threads:[~2020-04-04 19:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-04 10:34 Sergey
2020-04-04 14:16 ` Alexei Mezin
2020-04-04 16:54   ` Sergey
2020-04-04 17:24   ` Sergey
2020-04-04 17:58     ` Alexei V. Mezin
2020-04-04 19:05       ` Sergey
2020-04-04 19:56         ` Alexei V. Mezin [this message]
2020-04-04 21:09           ` [Comm] xpra (GLX по ssh) Sergey
2020-04-06 10:16             ` Sergey V Turchin
2020-04-05  6:36           ` Sergey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='r6aohg$3opl$1@ciao.gmane.io' \
    --to=alexei.mezin@gmail.com \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git