Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 03 Dec 2016, 06:00
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
Access your Puppy PC from anywhere on your LAN
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Author Message
goingnuts

Joined: 07 Dec 2008
Posts: 851

PostPosted: Sat 09 Nov 2013, 05:33    Post subject:  Access your Puppy PC from anywhere on your LAN
Subject description: Remote desktop using X11vnc
 

This package - pup_xrdp_starter.pet - contains a cut down build of xrdp-0.7 (present git source).
It is configured to only give a shared desktop via x11vnc.
This PET contains the XRDP package and its package dependencies for remote desktop servicing.
Thus, x11vnc and rdesktop dependencies is included in the packaging, as well. The versions of rdesktop & x11vnc are old - upgrade to newer versions if you like.

Steps

1. Download the "pup_xrdp_starter.pet" from ===> here or here
2. Install the "pup_xrdp_starter" pet by clicking on it..
* If rebooted immediately after installation, then - xrdp & x11vnc should start automatic for you.
* Else, without rebooting, go to /etc/init.d and run "./xrdp_pup start". And, you must go to /root/Startup and run "./x11vnc_start".
3. Your Puppy is now ready to accept logins from another PC on your LAN (or even from this PC as a test).

You will be able to log into this running desktop from another PC. From that other PC, you can either use rdesktop (Linux) or the windows desktop sharing tools (Windows/MACs).

To run a local test from this computer, merely do the following
Code:
# rdesktop localhost

You should get the xrdp logon window then which verify that xrdp is running.
If you log in at this point you will get a lot of windows showing your desktop. Close the windows to disconnect.

You need to write down the IP address of this PC...BEFORE going to another LAN PC. You can find it by opening a terminal on this PC and typing
Code:
# ifconfig

Output would be like
Code:

eth0      Link encap:Ethernet  HWaddr 00:11:D8:98:A0:D0 
          inet addr:192.168.0.112  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:42183 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24321 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:61394954 (58.5 MiB)  TX bytes:1903776 (1.8 MiB)
          Interrupt:17

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2111 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2111 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6205179 (5.9 MiB)  TX bytes:6205179 (5.9 MiB)

The IP address in this case is "192.168.0.112".

You are NOW ready to use any other PC on your LAN to get a desktop on this PC.

At any other PC on your LAN
To try this from one of your LAN's Windows/MACS/Linux - remember, Windows and some MACs already have this built-in. With Linux, you need rdesktop installed; if not, open the package manager and add to that Linux.

RDesktop for Linux is what RDP is for Windows and MACs. And some/many distros have it built-in.

From any other LAN PC start the remote desktop software (Rdesktop/RDP) to the desktop. Enter the IP address that you recorded from your PUP. You will get a Login screen coming from Puppy Linux - view attached image. On the screen enter the username (root) and the password (woofwoof). This assumes you are using the defaults on the PUP.

Another way to do the same, is to open a terminal and type
Code:

# rdesktop -u root -p woofwoof "the_eth0_or_wlan_IP_address"

For example
# rdesktop -u root -p woofwoof 192.168.0.112

******************************
Compiled in P412, tested to work in P412, P431 & Wary - xrdp will NOT work in 64 bit Puppy versions (included x11vnc & rdesktop should work in most versions including 64 bit).
******************************
20151213: tsclient-0.150 has a bug - segfaults when profile are saved -
Quote:
GLib-GObject-WARNING **: invalid cast from `GtkComboBox' to `GtkOptionMenu'
Segmentation fault
This patch fix it:
Code:
--- ./src/connect.c.01   2015-12-13 08:36:46.000000000 +0000
+++ ./src/connect.c   2015-12-13 08:36:55.000000000 +0000
@@ -1372,10 +1372,11 @@
      if (lastdelim) {
         GtkWidget *opt = lookup_widget (main_window, "optProfileLauncher");
         lastdelim += strlen (home) + 1;
-         mi = gtk_menu_item_new_with_label (lastdelim);
+      /*   mi = gtk_menu_item_new_with_label (lastdelim);
         g_signal_connect (G_OBJECT(mi), "activate", G_CALLBACK(tsc_quick_pick_activate), g_strdup (lastdelim));
         gtk_container_add (GTK_CONTAINER(GTK_OPTION_MENU(opt)->menu), mi);
-        gtk_widget_show (mi);
+        gtk_widget_show (mi);*/
+        gtk_combo_box_append_text (GTK_COMBO_BOX(opt), lastdelim);
      }
      // Try to avoid *some* memory leaks
       g_free (filename);
xrpd_login.png
 Description   
 Filesize   26.19 KB
 Viewed   5043 Time(s)

xrpd_login.png


Last edited by goingnuts on Sun 13 Dec 2015, 06:08; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
goingnuts

Joined: 07 Dec 2008
Posts: 851

PostPosted: Sat 09 Nov 2013, 05:36    Post subject:  

Reserved
Back to top
View user's profile Send private message Visit poster's website 
gcmartin

Joined: 14 Oct 2005
Posts: 6731
Location: Earth

PostPosted: Sat 09 Nov 2013, 17:27    Post subject: Allows us to administer&access Puppy from any other in home  

This is an excellent tool. Adding this to my PUP, I don't have to walk downstairs to access my running PUP PC anymore, with this tool

And, I DONT HAVE TO INSTALL ANYTHING ON ANY OF MY OTHER COMPUTERS to get to my PUPpies! ("Well, there are a couple of PUP PCs which required a client to be gotten from PPM. All other OSes work right OOTB.)

Thanks

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
KentC


Joined: 16 Sep 2012
Posts: 60

PostPosted: Wed 27 Nov 2013, 23:47    Post subject:  

Thank you, I tested this on 4.3.1 and it works very well!

Very nice tool for sure.


Kent C. Cool
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6731
Location: Earth

PostPosted: Fri 06 Jun 2014, 05:24    Post subject: This allows U2 Connect 2 your Puppy using a TV/Tablet/Phone  

You can access your Puppy Linux using another PC, smartTablet, smartTV, and smartPhone with the PET shown in this thread's opening post. Just start in on your PUP and from any one of your home devices, get to the PUppy machine.

Hope this is helpful

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
Moose On The Loose


Joined: 24 Feb 2011
Posts: 659

PostPosted: Sun 08 Jun 2014, 11:11    Post subject: Re: Access your Puppy PC from anywhere on your LAN
Subject description: Remote desktop using X11vnc
 

[quote="goingnuts"]This package - pup_xrdp_starter.pet - contains a cut down build of xrdp-0.7
[quote]

I found that the machine sharing its desktop would sometimes hang. It was rare but annoying.

I moved the starting of the sharing into a script in the /root/startup this helped with the lockup at startup but not the "random" ones.

I am running puppy 528
Back to top
View user's profile Send private message 
sketchman


Joined: 01 Jun 2006
Posts: 287
Location: West Virginia, USA

PostPosted: Mon 02 Mar 2015, 19:01    Post subject:  

Won't work in Tahr 6.0.2 for me. DL the latest xrdp and x11vnc from the package manager, and it starts up and tries to work until you actually try to connect to it. Then you get a buffer overflow related to ipv6.

Found http://mispdev.blogspot.com/2014/04/x11vnc-avoiding-buffer-overflow-when.html to fix the issue. Trying it now. Will update when I DL the devx.sfs and build and install it. And I'll link a tgz too if it works.

EDIT: As usual I can't compile. Something isn't working, and I have no idea what it is. There is so much stuff flying by while the compiling is happening I have no idea even what to check.

Anybody have any ideas, I'm ready to listen. Getting ticked off.

EDIT: Disregard. Had tried a manual config of both packages before, and some things got messed up causing all the issues.

Backtracking through the deps and deleting everything package by package fixed it.

Working now. Thanks for the UP.

_________________
"In a world that exists without walls and fences, who needs Windows and Gates?"
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 1701
Location: UK

PostPosted: Sun 11 Oct 2015, 07:14    Post subject: Re: This allows U2 Connect 2 your Puppy using a TV/Tablet/Phone  

gcmartin wrote:
You can access your Puppy Linux using another PC, smartTablet, smartTV, and smartPhone with the PET shown in this thread's opening post. Just start in on your PUP and from any one of your home devices, get to the PUppy machine.

Hope this is helpful

gcmartin, how do you access using a smartTV? My TV has a browser etc is it just a matter of using that to access the puppy PC's IP address as the URL? Or do you need to plug in a USB with some app installed on that USB?

TIA
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6731
Location: Earth

PostPosted: Sun 11 Oct 2015, 12:35    Post subject:  

In SmartTV, I have 2 LG's. One is a LG SmartTV while the other is a LG Google TV. Their differences is that the GoogleTV allows one to add apps to it via the Android PlayStore. One of those apps I had added was the RDP app. Since the initial testing, my GoogleTV has upgraded (from LG via the web) from its original version of Android to either 4.3 or 4.4 (dont remember which) and I need to look to see it the RDP app is still there.

If so, just as we do with a Window PC or Linux PC, open the RDP client, direct it the RDP server (this PET for example running on a PC on your LAN), and sign in for a desktop.

This is the same thing you would do using a smartPhone/smartTablet,too.

The idea is that if you have this PET running, any LAN PC which has their RDP client will get a desktop after logon thru their client. Just your IP connection on the same LAN as the RDP server (this PET) is all that is needed. No USB/HDMI wires involved.

Hope this is helpful

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 1701
Location: UK

PostPosted: Sun 11 Oct 2015, 13:24    Post subject:  

Great help thanks gcmartin. My Smart TV has a apps store access as well so I'll hunt down a RDP app for the TV.

I've already tried out the server side of things locally (PET) and all seemed OK from that aspect.

Thanks again.
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6731
Location: Earth

PostPosted: Sun 11 Oct 2015, 13:45    Post subject:  

Just checked by GoogleTV. The old app is no longer there. I just downloaded Microsoft's Remote Desktop App. Click the "+" button (upper right) to add which PC on your LAN/WAN to target. Works to the PUP! Also, tested and it works to other RDP servers on the home LAN.

I use a wireless keyboard-mouse with my TVs.

This subsystem that is provided us by @GoingNuts is useful to reach the PUP PC from inside or out of the home from anything which has its RDP client. Most PCs, Windows/Linux/Apple have it built in. Apple-smartPhones/Androids need to add the app from the store to allow those to login to your PUP.

I know you know this. Others may not be aware that they can run a PUP desktop from across the LAN using this protocol.

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 1701
Location: UK

PostPosted: Mon 12 Oct 2015, 07:17    Post subject:  

gcmartin wrote:
Just checked by GoogleTV. The old app is no longer there. I just downloaded Microsoft's Remote Desktop App. Click the "+" button (upper right) to add which PC on your LAN/WAN to target. Works to the PUP! Also, tested and it works to other RDP servers on the home LAN.

I use a wireless keyboard-mouse with my TVs.

This subsystem that is provided us by @GoingNuts is useful to reach the PUP PC from inside or out of the home from anything which has its RDP client. Most PCs, Windows/Linux/Apple have it built in. Apple-smartPhones/Androids need to add the app from the store to allow those to login to your PUP.

I know you know this. Others may not be aware that they can run a PUP desktop from across the LAN using this protocol.

Thanks gcmartin.

Hunted around but to no avail for the TV apps. Looks like not even Skype is available. It is a very inexpensive smart TV however. Has a VGA input option so plugging in a puppy PC is the easier choice. I keep meaning to try out a Raspberry Pi type choice but never actually get around to doing so. I also use a wireless keyboard with integral roller mouse ball with TV's. The low power, quiet nature of a Raspberry Pi would be a good choice to also act as a always on/accessible web server IMO. Maybe even as a gateway into other PC's on the LAN via a wake-on-LAN trigger via the Pi.
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6731
Location: Earth

PostPosted: Mon 12 Oct 2015, 08:54    Post subject:  

+1, @Rufwoof

The work of @ETP for home assisting and entertainment matches your logic precisely. He has developed an armchair living-room based framework to manage aspects of TV's ability to display anything the armchair user desires.

It is one of the first PUPs to explore providing use of a home system for personal selection of information and entertainment in this way. One of its mission, in my view, is a personalized assistant to its user. Further, I can see how his system could be used to remote into a PUP running this server and be seen on the TV. I haven't tested this LAN arrangement, but, I can see this working without any installation on his system to make this happen.

Might be worth investigating.

Another option is one that I am looking at; the Intel Stick. That turns a TV into a full CPU such that you can easily switch between the TV's channel entertainments or to run as a full PC.

I am choosing the stick instead of the Pi because of the support and todays distro provisions on x86's 4 decades of applications available for my use. Further, it bypasses the TV manufacturers who do not make an Android Play Store or MAC store available to the TV owners like one gets from a Google TV allowing me to load/side-load apps into the TV experience; like the "Remote Desktop".

This PET from the PUP author is important for LAN PUPs in the home reachable without having to get up and walk over to make something happen.

Questions
    Does your TV have Miracast ability built in?
    Do you have any Chromecast device?

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6731
Location: Earth

PostPosted: Mon 30 Nov 2015, 12:14    Post subject: Rdesktop has a companion for Linux users which is identical  

Many a user in the world has used their PC to access another PC on their LAN, both at work and at home.

The screen to do so, has traditionally been different for Linux users versus the utilty that MAC and Windows users enjoy (since their screen is the same no matter which PC is used).

Using TahrPUP64, yesterday, I discovered a REPO utility that looks IDENTICAL to that utility understood and enjoyed by MAC/Windows users. It is "Grdesktop". It installs in Menu>Network>RemoteDesktop Client and uses the same protocol needed to remotely access Windows/MACs and @GoingNUTs implementaion for Linux. Thus using any remote Linux PC that client can be used to access the subsystem that @GoingNUTs gives us for our Puppy provide to a login user.

Here what the screen looks like: Notice its similarity to what anyone uses on the other PCs, mentioned. Notice too, the IP address is my PUP with @GoingNUTs subsystem shown in this thread's opening post.


Here to help

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 1701
Location: UK

PostPosted: Mon 30 Nov 2015, 12:56    Post subject:  

pdesktop pet is another choice if (like me) you can't locate a 32 bit grdesktop. Not as feature rich as grdesktop by the looks of it, but gets the job done.
pd.jpg
 Description   
 Filesize   86.94 KB
 Viewed   1262 Time(s)

pd.jpg

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0618s ][ Queries: 13 (0.0044s) ][ GZIP on ]