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: Select all
# rdesktop localhost
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: Select all
# ifconfig
Code: Select all
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)
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: Select all
# rdesktop -u root -p woofwoof "the_eth0_or_wlan_IP_address"
# 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 -
This patch fix it:GLib-GObject-WARNING **: invalid cast from `GtkComboBox' to `GtkOptionMenu'
Segmentation fault
Code: Select all
--- ./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);