New to Ogon -- Trying to get it to install and work

235 views
Skip to first unread message

Christopher Pitstick

unread,
Apr 24, 2020, 12:20:20 AM4/24/20
to Ogon Project
Hi All,

Just discovered ogon! I've used XRDP with FreeRDP for quite some time, and I decided to see what ogon had to offer as it's apparently the closest thing to a FreeRDP server? The support for advanced codecs intrigued me.

I'm running Ubuntu 18.04 with Gnome 3.32 installed using this process: https://askubuntu.com/questions/1072096/how-to-install-gnome-3-29-92-or-3-30-in-ubuntu-18-04

I've built and installed everything I can following these instructions: https://github.com/ogon-project/ogon/blob/master/doc/build-debian-ubuntu.md

However, when I try to sign in to ogon using this FreeRDP command (MacOS X 10.15.4):

/usr/local/bin/xfreerdp /ipv6 /bpp:32 /v:[FQDN]:3389 /w:2560 /h:1396 /codec-cache:rfx /rfx /rfx-mode:video +multitransport /compression-level:2 /codec-cache:rfx +glyph-cache +offscreen-cache +bitmap-cache /video +clipboard +compression /network:lan +gfx-thin-client /sec:rdp

 (I build regularly from HEAD), I see the login/greeter screen, but once I type my password, I get the following error:

The action Run Shell Script encountered an error: sh: xprop: command not found
sh
: xprop: command not found
[00:08:07:208] [30027:0e423000] [ERROR][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_LOGOFF_BY_USER [0x0001000C]
[00:08:07:208] [30027:0e423000] [ERROR][com.freerdp.core.rdp] - rdp_recv_tpkt_pdu: rdp_recv_deactivate_all() fail
[00:08:07:208] [30027:0e423000] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1


Are there any logs I could look at? I've checked /var/log, the normal X11 logs, and /opt/ogon/var/log doesn't exist.

Christopher Pitstick

unread,
Apr 24, 2020, 2:24:24 AM4/24/20
to Ogon Project
Make some progress. I found that the errors were in syslog:

Apr 24 01:58:35 ogon-rdp-server: immediate request initiation is not expecting to be called from state 1
Apr 24 01:58:35 ogon-rdp-server: creation failed for channel Microsoft::Windows::RDS::Input(id=2): 0xC0000001
Apr 24 01:58:52 ogon-launcher-12[26979]: ogon-backend-x, an X11 server for ogon
Apr 24 01:58:52 ogon-launcher-12[26979]: Version 1.0.0 (X.Org Version 1.17.4)
Apr 24 01:58:52 ogon-launcher-12[26979]: Copyright (C) 2013-2016 Thincast Technologies GmbH
Apr 24 01:58:52 ogon-launcher-12[26979]: ogon-backend-x limited max width to 1920 and max height to 1200
Apr 24 01:58:52 ogon-launcher-12[26979]: RdsServiceAccept()
Apr 24 01:58:52 ogon-rdp-server: creation failed for channel Microsoft::Windows::RDS::Input(id=3): 0xC0000001
Apr 24 01:58:52 ogon-launcher-12[26979]: [01:58:52:782] [26983:26983] [ERROR][com.freerdp.channels.rdpei.server] - WTSVirtualChannelOpenEx failed!
Apr 24 01:58:52 ogon-launcher-12[26979]: Thrift: Fri Apr 24 01:58:52 2020 SSL_shutdown: Broken pipe (SSL_error_code = 5)
Apr 24 01:59:42 ogon-launcher-12[26979]: Thrift: Fri Apr 24 01:59:42 2020 SSL_shutdown: Broken pipe (SSL_error_code = 5)
Apr 24 01:59:42 ogon-launcher-12[26979]: [01:58:52:488] [26979:26979] [INFO][ogon.launcher] - started
Apr 24 01:59:42 ogon-session-manager: write failed!
Apr 24 01:59:42 ogon-session-manager: message repeated 2 times: [ write failed!]
Apr 24 01:59:42 ogon-session-manager: Thread running, setting to detached state!
Apr 24 01:59:42 ogon-rdp-server: Thread running, setting to detached state!
Apr 24 01:59:52 ogon-rdp-server: immediate request initiation is not expecting to be called from state 1
Apr 24 01:59:52 ogon-rdp-server: creation failed for channel Microsoft::Windows::RDS::Input(id=2): 0xC0000001
Apr 24 02:00:03 ogon-rdp-server: BIO_read returned a system error 11: Resource temporarily unavailable
Apr 24 02:00:03 ogon-rdp-server: error during CheckFileDescriptor for 13
Apr 24 02:00:03 ogon-rdp-server: Thread running, setting to detached state!
Apr 24 02:00:03 ogon-session-manager: Thread running, setting to detached state!
Apr 24 02:10:12 ogon-rdp-server: immediate request initiation is not expecting to be called from state 1
Apr 24 02:10:12 ogon-rdp-server: creation failed for channel Microsoft::Windows::RDS::Input(id=2): 0xC0000001
Apr 24 02:10:17 ogon-launcher-14[31618]: ogon-backend-x, an X11 server for ogon
Apr 24 02:10:17 ogon-launcher-14[31618]: Version 1.0.0 (X.Org Version 1.17.4)
Apr 24 02:10:17 ogon-launcher-14[31618]: Copyright (C) 2013-2016 Thincast Technologies GmbH
Apr 24 02:10:17 ogon-launcher-14[31618]: ogon-backend-x limited max width to 1920 and max height to 1200
Apr 24 02:10:17 ogon-launcher-14[31618]: RdsServiceAccept()
Apr 24 02:10:18 ogon-rdp-server: creation failed for channel Microsoft::Windows::RDS::Input(id=3): 0xC0000001
Apr 24 02:10:18 ogon-launcher-14[31618]: [02:10:18:349] [31620:31620] [ERROR][com.freerdp.channels.rdpei.server] - WTSVirtualChannelOpenEx failed!
Apr 24 02:10:18 ogon-launcher-14[31618]: Thrift: Fri Apr 24 02:10:18 2020 SSL_shutdown: Broken pipe (SSL_error_code = 5)
Apr 24 02:10:21 ogon-launcher-14[31618]: Thrift: Fri Apr 24 02:10:21 2020 SSL_shutdown: Broken pipe (SSL_error_code = 5)
Apr 24 02:10:21 ogon-launcher-14[31618]: [02:10:17:045] [31618:31618] [INFO][ogon.launcher] - started
Apr 24 02:10:21 ogon-session-manager: write failed!
Apr 24 02:10:21 ogon-rdp-server: Thread running, setting to detached state!
Apr 24 02:10:21 ogon-session-manager: write failed!
Apr 24 02:10:21 ogon-session-manager: write failed!
Apr 24 02:10:21 ogon-session-manager: Thread running, setting to detached state!

And the logs from .xsession-errors:

Xsession: X session started for  at Fri 24 Apr 2020 02:21:47 AM EDT
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-eHrYLKAlVg,guid=9928f85d1f7e11ee07dbf0155ea2857b
dbus-update-activation-environment: setting DISPLAY=:100
dbus-update-activation-environment: setting XAUTHORITY=~/.Xauthority.ogon
dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.systemd1 was not provided by any .service files
Xsession: unable to launch "" X session --- "" not found; falling back to 
default session.
localuser:[username] being added to access control list
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.systemd1 was not provided by any .service files
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.systemd1 was not provided by any .service files
dbus-update-activation-environment: setting LANG=en_US.UTF-8
dbus-update-activation-environment: setting DISPLAY=:100
dbus-update-activation-environment: setting OGON_CONNECTION_BPP=32
dbus-update-activation-environment: setting GTK2_MODULES=overlay-scrollbar
dbus-update-activation-environment: setting OGON_SESSION_CLIENT_NAME=Christophers-Ma
dbus-update-activation-environment: setting USER=[username]
dbus-update-activation-environment: setting OGON_SID=15
dbus-update-activation-environment: setting DESKTOP_SESSION=
dbus-update-activation-environment: setting PWD=~
dbus-update-activation-environment: setting HOME=~
dbus-update-activation-environment: setting OGON_UID=0
dbus-update-activation-environment: setting UID=1001
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting WTSAPI_LIBRARY=/opt/ogon/lib/ogon1/libogon-otsapi.so
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=
dbus-update-activation-environment: setting OGON_COOKIE=gOfSdwgaWI1DVN9uUz9eLKZ4y1wyhFbObGqDAVnfloqE9z7dyG
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting IM_CONFIG_PHASE=1
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1001/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting SHLVL=1
dbus-update-activation-environment: setting OGON_SMAX=1920x1200
dbus-update-activation-environment: setting GDMSESSION=
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-eHrYLKAlVg,guid=9928f85d1f7e11ee07dbf0155ea2857b
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1001
dbus-update-activation-environment: setting XAUTHORITY=~/.Xauthority.ogon
dbus-update-activation-environment: setting PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
dbus-update-activation-environment: setting OGON_SESSION_CLIENT_ADDRESS=10.64.6.219
dbus-update-activation-environment: setting OGON_BACKEND_COOKIE=FJZmNVnITVV4r4JfHRA54vru8zuFcsVqA2aXXMn0pI5gLMLclU
dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment
dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.systemd1 was not provided by any .service files

Christopher Pitstick

unread,
May 4, 2020, 12:09:37 AM5/4/20
to Ogon Project
Partial progress. I was able to get MATE to load.

The command to run was to populate ~/.config/ogon/desktop with 'mate' (According to the documentation here, it needs to be from /usr/share/xsession sans the .desktop extension)

So: 
echo "mate" >~/.config/ogon/desktop

However, when I switch it to "ubuntu" it doesn't work... Going to debug that next.


On Friday, April 24, 2020 at 12:20:20 AM UTC-4, Christopher Pitstick wrote:
Reply all
Reply to author
Forward
0 new messages