Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installs but fails to be of use #67

Open
DarylOliver opened this issue Jul 30, 2016 · 28 comments
Open

installs but fails to be of use #67

DarylOliver opened this issue Jul 30, 2016 · 28 comments

Comments

@DarylOliver
Copy link

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

@Tsaukpaetra
Copy link

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...

@DarylOliver
Copy link
Author

no i didn't i'll try it

@metalefty
Copy link
Collaborator

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

@DarylOliver
Copy link
Author

@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

@metalefty
Copy link
Collaborator

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

@DarylOliver
Copy link
Author

It says terminated session my username display :10.0, session_pod

Then after that it says shutting down sesman

@metalefty
Copy link
Collaborator

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

@DarylOliver
Copy link
Author

hang one I'll give the log file

@DarylOliver
Copy link
Author

[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...

@metalefty
Copy link
Collaborator

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.

@DarylOliver
Copy link
Author

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

@metalefty
Copy link
Collaborator

Output of terminal 2 xrdp-sesman is needed.

@DarylOliver
Copy link
Author

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

@metalefty
Copy link
Collaborator

[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.

@DarylOliver
Copy link
Author

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

@DarylOliver
Copy link
Author

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

@metalefty
Copy link
Collaborator

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

@metalefty
Copy link
Collaborator

also synaptic package manager shows it as installed

Show me this result before reinstall, too.

@DarylOliver
Copy link
Author

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
Copy link
Author

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

@Tsaukpaetra
Copy link

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
#67 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB5ZwBVlvfiU9tMBouzL-XmGGM7sedgCks5qeNiJgaJpZM4JY33O
.

@DarylOliver
Copy link
Author

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

@Tsaukpaetra
Copy link

/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
#67 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB5ZwJubSW9yWgA9G3GUXdnkYrDDQrZSks5qewIagaJpZM4JY33O
.

@DarylOliver
Copy link
Author

[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?

@Tsaukpaetra
Copy link

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
#67 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB5ZwNs66FYHMaiwVST8Bh6yXxLpBADJks5qfbT_gaJpZM4JY33O
.

@DarylOliver
Copy link
Author

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.

@Tsaukpaetra
Copy link

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
#67 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB5ZwJxDSd8Xr5httKnG0sCJkeIiswIIks5qku34gaJpZM4JY33O
.

@DarylOliver
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants