LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-12-2021, 04:40 PM   #1
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Rep: Reputation: 51
ScreenTask (name of a program): how to make it a real *web* server of my desktop?


Hello,

trying to find an easy way to share my desktop view (not control!) to people in other machines or phones, around the internet, i have recently discovered ScreenTask:

https://github.com/EslaMx7/ScreenTask

-> linux version: https://github.com/ahmadomar/ScreenTask

So, we get a zip file with a .jar file inside, and some more things. I execute the jar file, but i do not understand how to make it run, so i can give someone in the internet (outside of my local network) something to see my desktop?

Do i need to do forwarding in the modem connected to the computer?

I am lost here...

I tried to share my desktop with Microsoft Teams, but it does not work with who i want. It is pretty slow, sometimes, and hard to understand in several details, but it works fairly with things in my university (i use it with browser, and with android too, sometimes). Teamviewer seems bad for what i want (i installed it here, but it would be too hard what i need the other people to do to see me). I did not find other things yet - and i accept suggestions. Debian here.

Edit: in my local network, my ip is 192,168,0,7 and i wrote http://192.168.0.12:8090 in the browser, and it worked! Desktop showed in the browser. So, what i need now is to make my computer remotely accessible. Now, this thread seems much easier... maybe i will discover how to do it...

Edit 2: maybe is this? https://lifehacker.com/geek-to-live-...-a-rout-127276

Edit 3: it seems i need to make something with ifconfig in the computer, and a few things in the modem. Can you tell me a few simple steps, even without explaining it clearly - but naming each step well enough, so i can try to do it? The page in edit 2 is not good for me.

Last edited by dedec0; 02-12-2021 at 06:02 PM.
 
Old 02-12-2021, 06:15 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Your home PC is connected to a NAT network. In order to send network traffic from the internet to your PC, you have to configure port forwarding on the router that attaches the home network to the internet. In your case, it looks like you have to forward port 8090 to 192.168.0.12. Consult your router's documentation for details.

Please be aware that there is a security risk, in particular since the software has not been under active development for over 2 years.
 
1 members found this post helpful.
Old 02-12-2021, 06:36 PM   #3
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
I solved it without 'ifconfig' anything in the computer.

I just made this, in the forwarding part of modem's settings:

* local IP = computer's IP

* local port = 8090 (since this is what ScreenTask uses)

* remote IP = modem's ip (i think)

* same port for remote port

Can i use a different IP for ScreenTask? Where should i put it?

Maybe i should have made this thread in the newbies' forum...
 
Old 02-12-2021, 07:28 PM   #4
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Correction: it is *not* working

So, right now, i have everything as i explained in the previous post. For me, opening WAN IP address with the right port, from computer's browser and phone's browser (with wifi only), it works too. But a friend in another country is only receiving 404 errors for the URL i gave her. Something like, with fake IP number:

http://186.206.183.13:8090

What can be wrong?

Last edited by dedec0; 02-13-2021 at 06:52 AM.
 
Old 02-13-2021, 12:41 AM   #5
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
What you did in your router looks OK to me. This is what I would have done. You ask whether a different IP can be used for ScreenTask - well, IP addresses are configured on network interfaces, not application, so that your question makes only sense if you ask "can I use a different IP address for the computer that runs ScreenTask". The answer is yes, but you need to configure that different IP address on that computer.

Quote:
Originally Posted by dedec0 View Post
So, right now, i have everything as i explained in the previous post. For me, opening WAN IP address with the right port, from computer's browser and phone's browser (with wifi only), it works too. But a friend in another country is only receiving 404 errors for the URL i gave her. Something like, with fake numbers:

http://186.206.183.13:8090

What can be wrong?
Now why your friend is unable to reach your ScreenTask computer, I can't tell. I would say that 404 is an answer from ScreenTask or the web server used by ScreenTask, which is very good news, because it shows that your friend's request actually reaches your computer. You could troubleshoot this by looking into ScreenTask or web server logs. To confirm that your friend's traffic arrives at the computer, you could trace network traffic, e.g. by running this command on your PC:
Code:
sudo tcpdump -vni any port 8090
This command looks at all network interfaces and reports packets with port numbers 8090. My expectation is that you see your friend's IP address.

Last edited by berndbausch; 02-13-2021 at 12:44 AM. Reason: Moved a paragraph to the beginning
 
1 members found this post helpful.
Old 02-16-2021, 11:15 PM   #6
Sefyir
Member
 
Registered: Mar 2015
Distribution: Linux Mint
Posts: 634

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
Alternatively, there is screego. All it does is share a screen to others
(Demo app) https://app.screego.net/
https://github.com/screego/server

It uses STUN, which is p2p if each user supports it
There is also jitsi-meet which shares desktop but also has audio / video.
https://meet.jit.si/

Some info about STUN
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant make web server run my local web page... Nik0s Linux - Newbie 22 10-08-2006 10:30 PM
LXer: 'Web 2.0, Real World Web' top trends - Gartner LXer Syndicated Linux News 0 08-12-2006 04:54 AM
real, real, real, basic computer for my Mom shengchieh General 3 12-18-2005 12:02 AM
Real Programmers Real People Real CS Students nakkaya General 5 07-04-2003 02:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration