xRDP на Помощнике Ubuntu 16.04 - ошибочное соединение

Новая установка и обновление Помощника Ubuntu 16.04 на Dell OptiPlex 780.

Соединение от клиента Windows 10.

Установленный xRDP непосредственно после и попробованный для соединения из Windows.

Вошедший сессия RDP и вводимые учетные данные. Затем...

Получил эту ошибку.

Connecting to sesman IP 127.0.0.1 port 3350
sesman connect ok
sending login info to session manager, please wait...
srdp_mm_process_login_response:login successful for display
started connecting
connecting to 127.0.0.1 5910
error-problem connecting

Выполнил эту команду

:~$ sudo netstat -peant | grep "127.0.0.1"

И добрался:

tcp        0      0 127.0.0.1:3350          0.0.0.0:*              LISTEN      0          39396       8082/xrdp-sesman
tcp        0      0 127.0.0.1:6010          0.0.0.0:*            LISTEN      1000       93529       19428/2 

Попробованный то же захватом "5910" andit ничего не возвратил.

Испытанное удаление xrdp затем устанавливающий tightvncserver сначала, создавая vnc настольное соединение, затем устанавливая xRDP, так как это - то, как у меня был настроенный прежде на других компьютерах;

Я использовал VNC на других компьютерах, затем обнаружил xRDP, затем установил xDRP, уничтожил этот:1 рабочий стол и смог использовать xRDP без малейшей помехи.

На этом рабочем столе, xRDP сервис работал очень хорошо результатом проверки systemctl.

Испытанное соединение затем просмотрело мой/var/log/syslog, и это было результатом:

Mar 14 09:20:18 IP-LINSRV3 systemd[1]: Started Session c10 of user admin.
Mar 14 09:20:18 IP-LINSRV3 org.a11y.Bus[19492]: ** (process:19503): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
Mar 14 09:20:18 IP-LINSRV3 mate-session[19501]: GLib-GIO-CRITICAL: g_settings_schema_source_lookup: assertion 'source != NULL' failed
Mar 14 09:20:18 IP-LINSRV3 org.a11y.Bus[19492]: Activating service name='org.a11y.atspi.Registry'
Mar 14 09:20:18 IP-LINSRV3 mate-session[19501]: GLib-GIO-ERROR: No GSettings schemas are installed on the system#012aborting...
Mar 14 09:20:18 IP-LINSRV3 kernel: [ 2536.493204] traps: mate-session[19501] trap int3 ip:7fb46a4309eb sp:7fffcadee2c0 error:0
Mar 14 09:20:18 IP-LINSRV3 org.a11y.Bus[19492]: Successfully activated service 'org.a11y.atspi.Registry'
Mar 14 09:20:18 IP-LINSRV3 org.a11y.atspi.Registry[19508]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Mar 14 09:20:19 IP-LINSRV3 org.a11y.atspi.Registry[19508]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":11.0"
Mar 14 09:20:19 IP-LINSRV3 org.a11y.atspi.Registry[19508]:       after 11 requests (9 known processed) with 0 events remaining.

Первый бит кошки /etc/xrdp/xrdp.ini читает следующим образом:

[globals]
bitmap_cache=yes
bitmap_compression=yes
port=3389
crypt_level=low
channel_code=1
max_bpp=24
#black=000000
#grey=d6d3ce
#dark_grey=808080
#blue=08246b
#dark_blue=08246b
#white=ffffff
#red=ff0000
#green=00ff00
#background=626c72

[xrdp1]
name=sesman-Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1

Получивший некоторое представление от этого потока,

Соединение ошибки/проблемы (Windows 10 RDP в XRDP)

Какие ссылки этот...

https://ubuntuforums.org/showthread.php? t=1314336

Но, провал.

Я должен делать что-то по-другому в Помощнике?

Я должен отправлять это в другом потоке?

Выручите меня, Помощников Ubuntu!


ОБНОВЛЕНИЕ!

Не изменился почти перезагруженный. Получил ту же ошибку в первый раз, но затем...

Теперь я могу войти в систему от xRDP приглашения ко входу в систему полностью без предыдущих ошибок, но вывести этот greyed, пикселизированный экран.

Connection into an RDP Session

И/var/log/syslog похож...

Mar 14 10:10:23 IP-LINSRV3 systemd[1]: Started Session c6 of user admin.
Mar 14 10:10:24 IP-LINSRV3 mate-session[2455]: GLib-GIO-CRITICAL: g_settings_schema_source_lookup: assertion 'source != NULL' failed
Mar 14 10:10:24 IP-LINSRV3 org.a11y.Bus[2446]: Activating service name='org.a11y.atspi.Registry'
Mar 14 10:10:24 IP-LINSRV3 org.a11y.Bus[2446]: ** (process:2457): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
Mar 14 10:10:24 IP-LINSRV3 mate-session[2455]: GLib-GIO-ERROR: No GSettings schemas are installed on the system#012aborting...
Mar 14 10:10:24 IP-LINSRV3 kernel: [  403.818015] traps: mate-session[2455] trap int3 ip:7f92f62ec9eb sp:7fff11338830 error:0
Mar 14 10:10:24 IP-LINSRV3 org.a11y.Bus[2446]: Successfully activated service 'org.a11y.atspi.Registry'
Mar 14 10:10:24 IP-LINSRV3 org.a11y.atspi.Registry[2461]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry

cattedout .xsession-ошибки и получил это;

openConnection: connect: No such file or directory
cannot connect to brltty at :0
mate-session[1371]: WARNING: Unable to find provider '' of required component 'dock'
grep: /home/admin/.xinputrc: No such file or directory
** (process:1690): WARNING **: Warning: show_on_monitor_number is no longer a valid config option for the current version ofTilda.
** (process:1690): WARNING **: Warning: scroll_background is no longer a valid config option for the current version of Tilda.
** (process:1690): WARNING **: Warning: use_image is no longer a valid config option for the current version of Tilda.
/usr/lib/mate-optimus/mate-optimus-applet:7: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.from gi.repository import Gtk, Gdk
(nm-applet:1646): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:50: RuntimeWarning: You have imported the Gtk 2.0 module.  Because Gtk 2.0 was not designed for use with introspection some of the interfaces and API will fail.  As such this is not supported by the pygobject development team and we encourage you to port your app to Gtk 3 or greater. PyGTK is the recomended python mod
ule to use with Gtk 2.
  warnings.warn(warn_msg, RuntimeWarning)
sys:1: PyGIWarning: Caja was imported without specifying a version first. Use gi.require_version('Caja', '2.0') before import to ensure that the right version gets loaded.
** Message: Initializing gksu extension...
(nm-applet:1646): GLib-CRITICAL **: g_hash_table_remove_all: assertion 'hash_table != NULL' failed
(nm-applet:1646): nm-applet-CRITICAL **: nma_icons_free: assertion 'NM_IS_APPLET (applet)' failed
(blueman-applet:1634): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
/usr/lib/python3/dist-packages/blueman/plugins/applet/AppIndicator.py:8: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
from gi.repository import AppIndicator3 as girAppIndicato
ERROR:dbus.proxies:Introspect error on org.bluez:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did n
ot receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy bl
ocked the reply, the reply timeout expired, or the network connection was broken.
ERROR:dbus.proxies:Introspect error on org.bluez:/org/bluez: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Timed
Out: Failed to activate service 'org.bluez': timed out
ERROR:dbus.proxies:Introspect error on org.bluez:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.TimedOut: Fail
ed to activate service 'org.bluez': timed out
Xsession: X session started for  at Wed Mar 14 10:06:10 EDT 2018
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  109 (X_ChangeHosts)
  Value in failed request:  0x5
  Serial number of failed request:  6
  Current serial number in output stream:  8
localuser:admin being added to access control list
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  109 (X_ChangeHosts)
  Value in failed request:  0x5
  Serial number of failed request:  6
  Current serial number in output stream:  8
openConnection: connect: No such file or directory
cannot connect to brltty at :0
/etc/xrdp/startwm.sh: 3: [: x: unexpected operator
Xlib:  extension "RANDR" missing on display ":11.0".
mate-session[2180]: GLib-GIO-CRITICAL: g_settings_schema_source_lookup: assertion 'source != NULL' failed
mate-session[2180]: GLib-GIO-ERROR: No GSettings schemas are installed on the system
aborting...
/home/admin/.xsession: line 1:  2180 Trace/breakpoint trap   (core dumped) mate-session
Xsession: X session started for  at Wed Mar 14 10:07:09 EDT 2018
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  109 (X_ChangeHosts)
  Value in failed request:  0x5
  Serial number of failed request:  6
  Current serial number in output stream:  8
localuser:admin being added to access control list
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  109 (X_ChangeHosts)
  Value in failed request:  0x5
  Serial number of failed request:  6
  Current serial number in output stream:  8
openConnection: connect: No such file or directory
cannot connect to brltty at :0
/etc/xrdp/startwm.sh: 3: [: x: unexpected operator
Xlib:  extension "RANDR" missing on display ":11.0".
mate-session[2291]: GLib-GIO-CRITICAL: g_settings_schema_source_lookup: assertion 'source != NULL' failed
mate-session[2291]: GLib-GIO-ERROR: No GSettings schemas are installed on the system
aborting...
/home/admin/.xsession: line 1:  2291 Trace/breakpoint trap   (core dumped) mate-session
Xsession: X session started for  at Wed Mar 14 10:10:24 EDT 2018
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  109 (X_ChangeHosts)
  Value in failed request:  0x5
  Serial number of failed request:  6
  Current serial number in output stream:  8
localuser:admin being added to access control list
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  109 (X_ChangeHosts)
  Value in failed request:  0x5
  Serial number of failed request:  6
  Current serial number in output stream:  8
openConnection: connect: No such file or directory
cannot connect to brltty at :0
/etc/xrdp/startwm.sh: 3: [: x: unexpected operator
Xlib:  extension "RANDR" missing on display ":11.0".
mate-session[2455]: GLib-GIO-CRITICAL: g_settings_schema_source_lookup: assertion 'source != NULL' failed
mate-session[2455]: GLib-GIO-ERROR: No GSettings schemas are installed on the system
aborting...
/home/admin/.xsession: line 1:  2455 Trace/breakpoint trap   (core dumped) mate-session
0
задан 11 April 2018 в 09:26

1 ответ

wowsers! намного легче, чем я думал. Я просто использовал эту простую xstartup директиву и бум, низкое использование CPU и большое соединение.

#!/bin/bash
xrdb $HOME/.Xresources
startmate &

Я, очевидно, сверхдумал это и не пошел об установке правильно.

Теперь я знаю к:

  1. установка tightvnc
  2. запустите:1 рабочий стол, затем уничтожают для создания ~/.vnc каталог и конфигурации
  3. удостоверьтесь, что xstartup директива является супер основными 3 лайнерами выше, и перезапись при необходимости.
  4. установка xrdp
  5. запустите:1 рабочий стол снова
  6. подключение с помощью моего любимого клиента RDP, Remmina!
  7. испытайте новый материал, сделайте ошибки, спросите Вас guyziz об этом, поиск и устранение неисправностей, и так или иначе заставьте его работающий узнавать больше, как 'Отклоняют работы!

Спасибо, помощники Ubuntu!

1
ответ дан 30 October 2019 в 06:28

Другие вопросы по тегам:

Похожие вопросы: