X11RDP-o-Matic icon indicating copy to clipboard operation
X11RDP-o-Matic copied to clipboard

installs but fails to be of use

Open DarylOliver opened this issue 8 years ago • 28 comments

I use rdp client on my window 7 after runing the script as root everything installed then when I go on the sesman x11rdp option in the windows on rdp client on windows 7 it just disconnects.

on ubuntu 16.04 xfce4 desktop

DarylOliver avatar Jul 30 '16 19:07 DarylOliver

Did you try sesman-Xvnc ? I'm not sure, but I think there's some kind of incompatibility with recent Xorg that it's building against...

Tsaukpaetra avatar Aug 06 '16 18:08 Tsaukpaetra

no i didn't i'll try it

DarylOliver avatar Aug 07 '16 14:08 DarylOliver

It is not correct. o-Matic is a tool to enable sesman-X11rdp. Using sesman-Xvnc is out of point of view.

metalefty avatar Aug 08 '16 01:08 metalefty

@metalefty do you think you may be able to fix this issue somehow? Its really anoyying also I don't see any errors in the window rdp generates it just gets disconnected

DarylOliver avatar Aug 08 '16 08:08 DarylOliver

Can you see any errors in xrdp.log, xrdp-sesman.log in /var/log?

metalefty avatar Aug 08 '16 08:08 metalefty

It says terminated session my username display :10.0, session_pod

Then after that it says shutting down sesman

DarylOliver avatar Aug 08 '16 08:08 DarylOliver

That's close but too short. Helpful information is dumped around there.

metalefty avatar Aug 08 '16 08:08 metalefty

hang one I'll give the log file

DarylOliver avatar Aug 08 '16 08:08 DarylOliver

[20160730-17:55:01] [CORE ] starting sesman with pid 11884 [20160730-17:55:01] [INFO ] listening... [20160730-19:07:56] [INFO ] shutting down sesman 1 [20160730-20:00:21] [CORE ] starting sesman with pid 3092 [20160730-20:00:21] [INFO ] listening... [20160730-20:06:10] [INFO ] scp thread on sck 7 started successfully [20160730-20:06:10] [INFO ] ++ created session (access granted): username aireagoir, ip myip:18485 - socket: 7 [20160730-20:06:10] [INFO ] starting X11rdp session... [20160730-20:06:12] [INFO ] starting xrdp-sessvc - xpid=4853 - wmpid=4852 [20160731-12:12:22] [INFO ] scp thread on sck 7 started successfully [20160731-12:35:07] [INFO ] scp thread on sck 7 started successfully [20160731-12:58:45] [INFO ] scp thread on sck 7 started successfully [20160731-13:11:38] [INFO ] scp thread on sck 7 started successfully [20160731-13:24:16] [INFO ] scp thread on sck 7 started successfully [20160731-13:36:33] [INFO ] scp thread on sck 7 started successfully [20160731-13:48:59] [INFO ] scp thread on sck 7 started successfully [20160731-15:13:45] [INFO ] scp thread on sck 7 started successfully [20160731-16:15:30] [INFO ] scp thread on sck 7 started successfully [20160731-17:15:09] [INFO ] scp thread on sck 7 started successfully [20160731-18:15:27] [INFO ] scp thread on sck 7 started successfully [20160731-19:12:58] [INFO ] scp thread on sck 7 started successfully [20160731-20:04:00] [INFO ] scp thread on sck 7 started successfully [20160731-20:11:57] [INFO ] scp thread on sck 7 started successfully [20160731-21:10:09] [INFO ] scp thread on sck 7 started successfully [20160731-22:07:29] [INFO ] scp thread on sck 7 started successfully [20160805-15:34:11] [INFO ] ++ terminated session: username aireagoir, display :10.0, session_pid 4849, myip:18485 - socket: 7 [20160805-15:34:20] [INFO ] shutting down sesman 1 [20160805-15:36:09] [CORE ] starting sesman with pid 3068 [20160805-15:36:09] [INFO ] listening... [20160805-17:15:06] [INFO ] shutting down sesman 1 [20160805-17:16:07] [CORE ] starting sesman with pid 3060 [20160805-17:16:07] [INFO ] listening...

DarylOliver avatar Aug 08 '16 09:08 DarylOliver

Prepare two terminal and try to run xrdp and sesman in foreground and connect to know why the session is terminated.

(Terminal 1)

# service xrdp stop
# xrdp -ns

(Terminal 2)

# xrdp-sesman -ns

Show me the output of terminal 2.

metalefty avatar Aug 08 '16 09:08 metalefty

aireagoir@Aireagoir-PC:~$ sudo xrdp -ns local keymap file for 0x0809 found and dosen't match built in keymap, using local keymap file loaded module 'libvnc.so' ok, interface size 4016, version 2 local keymap file for 0x0809 found and dosen't match built in keymap, using local keymap file loaded module 'libxup.so' ok, interface size 2696, version 2 got SIGPIPE(13) got SIGPIPE(13) got SIGPIPE(13) xrdp_mm_process_login_response: connect failed trying again... xrdp_mm_process_login_response: connect failed trying again... xrdp_mm_process_login_response: connect failed trying again... xrdp_mm_process_login_response: connect failed trying again... xrdp_mm_process_login_response: error in trans_connect chan

DarylOliver avatar Aug 08 '16 09:08 DarylOliver

Output of terminal 2 xrdp-sesman is needed.

metalefty avatar Aug 08 '16 10:08 metalefty

starting sesman in foregroud... [20160808-10:32:38] [CORE ] starting sesman with pid 5261 [20160808-10:32:38] [INFO ] listening... [20160808-10:37:25] [INFO ] scp thread on sck 7 started successfully [20160808-10:37:25] [INFO ] ++ created session (access granted): username aireagoir, ip windows-machine:49546 - socket: 7 [20160808-10:37:25] [INFO ] starting Xvnc session...

Xvnc Free Edition 4.1.1 - built Feb 25 2015 23:02:21 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. Underlying X server release 40300000, The XFree86 Project, Inc

Mon Aug 8 10:37:25 2016 vncext: VNC extension running! vncext: Listening for VNC connections on port 5910 vncext: created VNC server for screen 0 error opening security policy file /etc/X11/xserver/SecurityPolicy [20160808-10:37:25] [INFO ] starting xrdp-sessvc - xpid=5497 - wmpid=5496 Could not init font path element /usr/share/fonts/X11/Speedo/, removing from list! Could not init font path element /usr/share/fonts/X11/CID/, removing from list! Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list! Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!

Mon Aug 8 10:37:26 2016 Connections: accepted: 127.0.0.1::56504 xrdp-sessvc: waiting for X (pid 5497) and WM (pid 5496) xrdp-chansrv [1770230950]: main: app started pid 5513(0x00001589) xrdp-chansrv [1770230950]: main: DISPLAY env var set to :10.0 xrdp-chansrv [1770230950]: main: using DISPLAY 10 xrdp-chansrv [1770230951]: channel_thread_loop: thread start SConnection: Client needs protocol version 3.3 VNCSConnST: Server default pixel format depth 24 (32bpp) little-endian bgr888

Mon Aug 8 10:37:27 2016 VNCSConnST: Client pixel format depth 24 (32bpp) little-endian rgb888 xrdp-chansrv [1770232203]: send_init_response_message: xrdp-chansrv [1770232353]: clipboard_init: no xfixes xrdp-chansrv [1770232353]: xrdp-chansrv: clipboard_init: error on exit xrdp-chansrv [1770271066]: channel_thread_loop: trans_check_wait_objs error resetting

Mon Aug 8 10:38:06 2016 Connections: closed: 127.0.0.1::56504 (Clean disconnection) SMsgWriter: framebuffer updates 59 SMsgWriter: raw rects 488, bytes 38046720 SMsgWriter: raw bytes equivalent 38046720, compression ratio 1.000000 [20160808-10:38:34] [INFO ] scp thread on sck 7 started successfully [20160808-10:38:34] [INFO ] ++ created session (access granted): username aireagoir, ip windows-machine:49554 - socket: 7 [20160808-10:38:34] [INFO ] starting X11rdp session... [20160808-10:38:35] [CORE ] error starting X server - user aireagoir - pid 5809 [20160808-10:38:35] [DEBUG] errno: 2, description: No such file or directory [20160808-10:38:35] [DEBUG] execve parameter list: 11 [20160808-10:38:35] [DEBUG] argv[0] = X11rdp [20160808-10:38:35] [DEBUG] argv[1] = :11 [20160808-10:38:35] [DEBUG] argv[2] = -geometry [20160808-10:38:35] [DEBUG] argv[3] = 1920x1080 [20160808-10:38:35] [DEBUG] argv[4] = -depth [20160808-10:38:35] [DEBUG] argv[5] = 24 [20160808-10:38:35] [DEBUG] argv[6] = -bs [20160808-10:38:35] [DEBUG] argv[7] = -ac [20160808-10:38:35] [DEBUG] argv[8] = -nolisten [20160808-10:38:35] [DEBUG] argv[9] = tcp [20160808-10:38:35] [DEBUG] argv[10] = (null) [20160808-10:38:44] [ERROR] X server for display 11 startup timeout [20160808-10:38:44] [INFO ] starting xrdp-sessvc - xpid=5809 - wmpid=5808 [20160808-10:38:45] [ERROR] X server for display 11 startup timeout [20160808-10:38:45] [ERROR] another Xserver is already active on display 11 xrdp-sessvc: waiting for X (pid 5809) and WM (pid 5808) [20160808-10:38:45] [DEBUG] aborting connection... xrdp-chansrv [1770309899]: main: app started pid 5812(0x000016b4) xrdp-chansrv [1770309899]: main: DISPLAY env var set to :11.0 xrdp-chansrv [1770309899]: main: using DISPLAY 11 xrdp-chansrv [1770309900]: channel_thread_loop: thread start xrdp-sessvc: WM is dead (waitpid said 5808, errno is 0) exiting... xrdp-sessvc: stopping channel server xrdp-chansrv [1770309928]: term_signal_handler: got signal 15 xrdp-chansrv [1770309928]: channel_thread_loop: g_term_event set xrdp-chansrv [1770309928]: channel_thread_loop: thread stop xrdp-chansrv [1770309929]: main: app exiting pid 5812(0x000016b4) xrdp-sessvc: stopping X server xrdp-sessvc: clean exit [20160808-10:38:45] [INFO ] ++ terminated session: username aireagoir, display :11.0, session_pid 5807, ip windows-machine:49554 - socket: 7

DarylOliver avatar Aug 08 '16 11:08 DarylOliver

[20160808-10:38:35] [DEBUG] errno: 2, description: No such file or directory
[20160808-10:38:35] [DEBUG] execve parameter list: 11

This is. It looks X11rdp is not installed in your system. Installation didn't succeed.

metalefty avatar Aug 08 '16 12:08 metalefty

well why is it then an option in the drop down menu? also synaptic package manager shows it as installed

DarylOliver avatar Aug 08 '16 23:08 DarylOliver

also if I attempt to reinstall you think thi would fix things?

DarylOliver avatar Aug 08 '16 23:08 DarylOliver

Anyway, try reinstall and carefully see the log during the installation. Show me how it fails.

metalefty avatar Aug 09 '16 01:08 metalefty

also synaptic package manager shows it as installed

Show me this result before reinstall, too.

metalefty avatar Aug 09 '16 01:08 metalefty

install took a while and I had to reinstall xrdp and now my windows system cn connect to my linux one however all it shows is a black screen

[20160730-17:55:01] [CORE ] starting sesman with pid 11884 [20160730-17:55:01] [INFO ] listening... [20160730-19:07:56] [INFO ] shutting down sesman 1 [20160730-20:00:21] [CORE ] starting sesman with pid 3092 [20160730-20:00:21] [INFO ] listening... [20160730-20:06:10] [INFO ] scp thread on sck 7 started successfully [20160730-20:06:10] [INFO ] ++ created session (access granted): username aireagoir, ip windowsip:18485 - socket: 7 [20160730-20:06:10] [INFO ] starting X11rdp session... [20160730-20:06:12] [INFO ] starting xrdp-sessvc - xpid=4853 - wmpid=4852 [20160731-12:12:22] [INFO ] scp thread on sck 7 started successfully [20160731-12:35:07] [INFO ] scp thread on sck 7 started successfully [20160731-12:58:45] [INFO ] scp thread on sck 7 started successfully [20160731-13:11:38] [INFO ] scp thread on sck 7 started successfully [20160731-13:24:16] [INFO ] scp thread on sck 7 started successfully [20160731-13:36:33] [INFO ] scp thread on sck 7 started successfully [20160731-13:48:59] [INFO ] scp thread on sck 7 started successfully [20160731-15:13:45] [INFO ] scp thread on sck 7 started successfully [20160731-16:15:30] [INFO ] scp thread on sck 7 started successfully [20160731-17:15:09] [INFO ] scp thread on sck 7 started successfully [20160731-18:15:27] [INFO ] scp thread on sck 7 started successfully [20160731-19:12:58] [INFO ] scp thread on sck 7 started successfully [20160731-20:04:00] [INFO ] scp thread on sck 7 started successfully [20160731-20:11:57] [INFO ] scp thread on sck 7 started successfully [20160731-21:10:09] [INFO ] scp thread on sck 7 started successfully [20160731-22:07:29] [INFO ] scp thread on sck 7 started successfully [20160805-15:34:11] [INFO ] ++ terminated session: username aireagoir, display :10.0, session_pid 4849, ip windowsip:18485 - socket: 7 [20160805-15:34:20] [INFO ] shutting down sesman 1 [20160805-15:36:09] [CORE ] starting sesman with pid 3068 [20160805-15:36:09] [INFO ] listening... [20160805-17:15:06] [INFO ] shutting down sesman 1 [20160805-17:16:07] [CORE ] starting sesman with pid 3060 [20160805-17:16:07] [INFO ] listening... [20160808-10:12:51] [INFO ] shutting down sesman 1 [20160808-10:15:15] [CORE ] starting sesman with pid 3021 [20160808-10:15:15] [INFO ] listening... [20160808-10:31:52] [INFO ] shutting down sesman 1 [20160808-10:32:38] [CORE ] starting sesman with pid 5261 [20160808-10:32:38] [INFO ] listening... [20160808-10:37:25] [INFO ] scp thread on sck 7 started successfully [20160808-10:37:25] [INFO ] ++ created session (access granted): username aireagoir, ip windowsip:49546 - socket: 7 [20160808-10:37:25] [INFO ] starting Xvnc session... [20160808-10:37:25] [INFO ] starting xrdp-sessvc - xpid=5497 - wmpid=5496 [20160808-10:38:34] [INFO ] scp thread on sck 7 started successfully [20160808-10:38:34] [INFO ] ++ created session (access granted): username aireagoir, ip windowsip:49554 - socket: 7 I think this is the latest log not sure I got it out of the var/logs folder so I assume it to be also kept and eye on the install but at end couldn't view all of it

and x11rdp is definitly installed

image

DarylOliver avatar Aug 09 '16 19:08 DarylOliver

also these where my options when installing --withjpeg --withdebug --withsound --withxrdpvr

DarylOliver avatar Aug 09 '16 19:08 DarylOliver

Recommend leaving the bit depth blank in the config, I think it it doesn't match this happens.

On Aug 9, 2016 12:44 PM, "DarylOliver" [email protected] wrote:

also these where my options when installing --withjpeg --withdebug --withsound --withxrdpvr

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scarygliders/X11RDP-o-Matic/issues/67#issuecomment-238668360, or mute the thread https://github.com/notifications/unsubscribe-auth/AB5ZwBVlvfiU9tMBouzL-XmGGM7sedgCks5qeNiJgaJpZM4JY33O .

Tsaukpaetra avatar Aug 09 '16 19:08 Tsaukpaetra

dumb question the config in /etc ? or in X11rdp in /opt ?

DarylOliver avatar Aug 11 '16 11:08 DarylOliver

/etc/xrdp/xrdp.ini you're looking for sesman that uses libxup.so

On Aug 11, 2016 4:06 AM, "DarylOliver" [email protected] wrote:

dumb question the config in /etc ? or in X11rdp in /opt ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scarygliders/X11RDP-o-Matic/issues/67#issuecomment-239131655, or mute the thread https://github.com/notifications/unsubscribe-auth/AB5ZwJubSW9yWgA9G3GUXdnkYrDDQrZSks5qewIagaJpZM4JY33O .

Tsaukpaetra avatar Aug 11 '16 16:08 Tsaukpaetra

[xrdp7] name=sesman-X11rdp lib=libxup.so username=ask password=ask ip=127.0.0.1 port=-1 xserverbpp=24

xserverbpp do I blank that?

DarylOliver avatar Aug 13 '16 12:08 DarylOliver

Yes, blank that or make sure the client is using the same setting.

On Aug 13, 2016 5:13 AM, "DarylOliver" [email protected] wrote:

[xrdp7] name=sesman-X11rdp lib=libxup.so username=ask password=ask ip=127.0.0.1 port=-1 xserverbpp=24

xserverbpp do I blank that?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scarygliders/X11RDP-o-Matic/issues/67#issuecomment-239617899, or mute the thread https://github.com/notifications/unsubscribe-auth/AB5ZwNs66FYHMaiwVST8Bh6yXxLpBADJks5qfbT_gaJpZM4JY33O .

Tsaukpaetra avatar Aug 13 '16 16:08 Tsaukpaetra

I did as you suggested i blanked it but when i connect using display setting 24 on windows rdp client it connects and the connection log comes up just ending in connection ok shows just log window and black screen.

DarylOliver avatar Aug 29 '16 14:08 DarylOliver

I'm not sure what the means. You're saying you see the connection log (on the client) but it just sticks there? Or turns into a black screen?

On Aug 29, 2016 7:34 AM, "DarylOliver" [email protected] wrote:

I did as you suggested i blanked it but when i connect using display setting 24 on windows rdp client it connects and the connection log comes up just ending in connection ok shows just log window and black screen.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scarygliders/X11RDP-o-Matic/issues/67#issuecomment-243142331, or mute the thread https://github.com/notifications/unsubscribe-auth/AB5ZwJxDSd8Xr5httKnG0sCJkeIiswIIks5qku34gaJpZM4JY33O .

Tsaukpaetra avatar Aug 29 '16 15:08 Tsaukpaetra

I see connection log on client sticks there but if i minimise the screen and maximise i get a black screen on the client either way my desktop is not shown on the client

DarylOliver avatar Sep 04 '16 10:09 DarylOliver