Desktop shring does not work in Ubuntu

69 views
Skip to first unread message

Kostiantyn Herasymenko

unread,
May 23, 2017, 11:04:59 AM5/23/17
to bigblueb...@googlegroups.com
Hello.

There is a problem with desktop sharing in Ubuntu.

I have tested in my own server and with demo.bigbluebutton. It does not work.

I have Ubuntu 14.04 64 bit, last Firefox and last Oracle Java installed. Bigbluebutton latest on demo.bigbluebutton.org.

When I press desktop sharing in bigbluebutton, I download jnlp file and open it with Oracle Java 8 Web Start.

Then I see downloading aplication and location https://demo.bigbluebutton.org. This message I can see few minutes and then it disappear.

Then I see message Application Error. MalformedURLException: unknown protocol: socket.

I press More information and see this message:

java.net.MalformedURLException: unknown protocol: socket
    at java.net.URL.<init>(URL.java:600)
    at java.net.URL.<init>(URL.java:490)
    at java.net.URL.<init>(URL.java:439)
    at java.net.URI.toURL(URI.java:1089)
    at com.sun.deploy.net.proxy.DeployProxySelector.connectFailed(Unknown Source)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:414)
    at java.net.Socket.connect(Socket.java:589)
    at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
    at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
    at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
    at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:200)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1157)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1022)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1020)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1019)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1546)
    at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91)
    at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1466)
    at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1464)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1463)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2982)
    at java.net.HttpURLConnection.getHeaderFieldDate(HttpURLConnection.java:552)
    at java.net.URLConnection.getLastModified(URLConnection.java:559)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getLastModified(HttpsURLConnectionImpl.java:422)
    at com.sun.deploy.util.SecurityBaseline.checkForUpdate(Unknown Source)
    at com.sun.deploy.util.SecurityBaseline.access$100(Unknown Source)
    at com.sun.deploy.util.SecurityBaseline$1.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:748)

Then message: Unable to launch the application.

Name: BigBlueButton Screen Share
Publisher: BigBlueButton
Location: https://demo.bigbluebutton.org

More Information: Error: Can't connect Socks proxy: Connection timed out

Lanch File tab:
<?xml version="1.0" encoding="UTF-8"?><jnlp spec="1.0+" codebase="https://demo.bigbluebutton.org/screenshare/lib" href=""><!--  Keep href empty. Otherwise this jnlp file will always be cached.  http://www.coderanch.com/t/284889/JSP/java/Caching-JNLP-->    <information>        <title>BigBlueButton Screen Share</title>        <vendor>BigBlueButton</vendor>    </information>    <resources>        <j2se version="1.7+" href="http://java.sun.com/products/autodl/j2se"/>        <jar href="javacv-screenshare-0.0.1.jar" main="true" />        <jar href="ffmpeg.jar" />    </resources>    <resources os="Windows" arch="amd64">        <nativelib href="ffmpeg-win-x86_64-svc2.jar"/>    </resources>    <resources os="Windows" arch="x86">        <nativelib href="ffmpeg-win-x86-svc2.jar"/>    </resources>    <resources os="Linux" arch="x86_64 amd64">        <nativelib href="ffmpeg-linux-x86_64-svc2.jar"/>    </resources>    <resources os="Linux" arch="x86 i386 i486 i586 i686">        <nativelib href="ffmpeg-linux-x86-svc2.jar"/>    </resources>        <resources os="Mac OS X">        <nativelib href="ffmpeg-macosx-x86_64-svc2.jar"/>    </resources>    <application-desc         name="Desktop Sharing Demo Application"         main-class="org.bigbluebutton.screenshare.client.DeskshareMain">        <argument>rtmp://demo.bigbluebutton.org/screenshare/9869299d47b5cae5de38f5a25c35cf14a34a3a70-1495547827939</argument>        <argument>https://demo.bigbluebutton.org/screenshare</argument>        <argument>9869299d47b5cae5de38f5a25c35cf14a34a3a70-1495547827939</argument>        <argument>9869299d47b5cae5de38f5a25c35cf14a34a3a70-1495547827939-1495548031782-3</argument>        <argument>false</argument>        <argument>crf=38&amp;preset=veryfast&amp;tune=zerolatency&amp;frameRate=5.0&amp;keyFrameInterval=5</argument>        <argument>9869299d47b5cae5de38f5a25c35cf14a34a3a70-1495547827939-1495548031782</argument>        <argument>false</argument>        <argument>NO_ERRORS</argument>     </application-desc>     <security><all-permissions/></security>     <update check="always" policy="always"/></jnlp>

Exception tab:
java.net.SocketException: Can't connect to SOCKS proxy:Connection timed out (Connection timed out)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
    at java.net.Socket.connect(Socket.java:589)
    at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
    at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
    at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
    at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:200)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1157)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1022)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1020)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1019)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1546)
    at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91)
    at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1466)
    at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1464)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1463)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.checkUpdateAvailable(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:748)

 Please help resolve this problem.

Regards, Kostiantyn.

Fred Dixon

unread,
May 23, 2017, 12:57:07 PM5/23/17
to BigBlueButton-dev
Hi Kostiantyn,

It looks like your computer uses a SOCKs proxy to access the internet.  Can you try setting up support for your Java Runtime Environment (JRE) to use a proxy, see



Try the above and let us know if that gets you going.

Regards,... Fred

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-dev+unsubscribe@googlegroups.com.
To post to this group, send email to bigbluebutton-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton

Kostiantyn Herasymenko

unread,
May 24, 2017, 9:15:56 AM5/24/17
to bigblueb...@googlegroups.com
Hello, Fred!

I don't use SOCKS proxy, my laptop had direct Internet connection. But version1.0 work fine.

Can any body check working of desktop sharing in desktop ubuntu 14.04 or 16.04?

Regards, Kostiantyn.

Reply all
Reply to author
Forward
0 new messages