Bug 6074 - Local devices broken after shadowing + reconnect
Summary: Local devices broken after shadowing + reconnect
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Server (show other bugs)
Version: 4.6.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.7.0
Assignee: Henrik Andersson
URL:
Keywords: ossman_tester, relnotes
Depends on:
Blocks:
 
Reported: 2016-10-21 14:02 CEST by Karl Mikaelsson
Modified: 2016-10-31 13:57 CET (History)
2 users (show)

See Also:
Acceptance Criteria:


Attachments

Description Karl Mikaelsson cendio 2016-10-21 14:02:29 CEST
Steps to reproduce:

 1. Create a session for user A.
 2. As user A, play sound or use another local device.
 3. Start shadowing user A's session.
 4. As user A, disconnect and reconnect to the session.
 5. Local devices will no longer work inside the session.

Here's what's in tlclient.log from step 4.

> 2016-10-21T13:22:32: Calling XML-RPC method 'reconnect_session'
> 2016-10-21T13:22:32: Server did not specify audio ports. Audio will be disabled.
> 2016-10-21T13:22:32: Server did not specify smart card port. Smart card support will be disabled.
> 2016-10-21T13:22:32: Server did not specify nfs port. Local drives will be disabled.
> 2016-10-21T13:22:32: SSH command: /opt/thinlinc/lib/tlclient/ssh -N -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null -o PubkeyAuthentication=no -o CheckHostIP=no -o NumberOfPasswordPrompts=1 -o HostKeyAlgorithms=ssh-rsa,ecdsa-sha2-nistp256 user@server -p 22 -L 33513:127.0.0.1:5901 -R 1:127.0.0.1:42781 thinlinc-login dummy
[...]
> 2016-10-21T13:22:33: ssh[E]: Warning: remote port forwarding failed for listen port 1
Comment 2 Karl Mikaelsson cendio 2016-10-21 14:09:49 CEST
(In reply to comment #0)
>  5. Local devices will no longer work inside the session.

Perhaps a poor way of describing it. My test case was playing a YouTube video with sound, and on reconnect, no sound were heard while the video was playing just fine.
Comment 3 Karl Mikaelsson cendio 2016-10-21 14:13:05 CEST
Problem description from customer:

> - User A creates a session and listen music.
> - User B shadows user A and stops the shadowing after a while.
> - User A still listen to music.
> - User A disconnects and reconnects: no sound any more. Pulse Audio shows 'dummy device'.
Comment 9 Pierre Ossman cendio 2016-10-31 13:57:08 CET
Verified that local devices still work after shadowing. Also did some regression testing:

 - HTML client, new session and reconnecting
 - Shadowing when no sessions
 - Shadowing without privileges
 - Old client (2.0)

Note You need to log in before you can comment on or make changes to this bug.