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 Tue 30 Sep 2014, 10:12
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
RealVNC - remote desktop control
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
tempestuous

Joined: 10 Jun 2005
Posts: 5263
Location: Australia

PostPosted: Sat 18 Dec 2010, 00:57    Post subject:  RealVNC - remote desktop control  

Here is the well known remote desktop control application from RealVNC,
which I have repackaged as a dotpet from binary files available on the RealVNC website.
This dotpet package includes both the VNC viewer, and server. Please note I cannot test these applications, myself.
If you're using Puppy as the server, launch with this command -
Code:
vncserver

The server application requires perl, which Puppy 5.x already contains.

Or if you're using Puppy as the viewer, launch with this command -
Code:
vncviewer


For futher information, refer to /root/my-documents/vnc-README.txt

There are two different versions; one for Puppy 4.1/4.2/4.3 and one for Puppy 5.1/5.2. This is due to the different versions of Xorg involved, and the different configuration locations.
For Wary I think (??) that Puppy4 version will be compatible.

Both of these packages include an Xorg plugin, which is an alternative way of creating the vnc server, but this plugin is not compatible with any of the Puppy Xorg versions, so it can't be used.
vnc-4.1.3-Puppy4.pet
Description  for Puppy 4.1/4.2/4.3
pet

 Download 
Filename  vnc-4.1.3-Puppy4.pet 
Filesize  1.66 MB 
Downloaded  1833 Time(s) 
vnc-4.1.3-Puppy5.pet
Description  for Puppy 5.1/5.2
pet

 Download 
Filename  vnc-4.1.3-Puppy5.pet 
Filesize  1.67 MB 
Downloaded  4112 Time(s) 

Last edited by tempestuous on Mon 10 Jan 2011, 06:15; edited 2 times in total
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5263
Location: Australia

PostPosted: Sat 18 Dec 2010, 01:01    Post subject:  

If you want to do remote desktop control via VPN, there's a Cisco VPN client for Puppy 5.1/5.2 here -
http://www.murga-linux.com/puppy/viewtopic.php?t=63121

And I have added some notes there about Microsoft MPPT-MPPE VPN.
Back to top
View user's profile Send private message 
PupGeek

Joined: 06 Sep 2009
Posts: 388

PostPosted: Sun 19 Dec 2010, 13:16    Post subject:  

Tempestuous:

I tried the vnc package that I posted yesterday and after a bunch of figuring out, I did get it to work, but it doesn't display my full graphical desktop or icons..... instead it displays the underlying "crosshatch pattern" of X with the "X" cursor and a terminal. Is it possible that I need to start jwm from that terminal to view my full desktop? (That idea hit me on the way to work this morning -- nowhere near my home computer). Anyways, I'm going to try yours out and see if that issue still appears. I'm still sort of a noob at this remote access/vnc/wol thing.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5263
Location: Australia

PostPosted: Mon 20 Dec 2010, 00:59    Post subject:  

PupGeek wrote:
it doesn't display my full graphical desktop or icons..... instead it displays the underlying "crosshatch pattern" of X with the "X" cursor and a terminal. Is it possible that I need to start jwm from that terminal to view my full desktop?

Sorry, I don't know.
At the outset, is your network config 100% correct? Maybe the vncviewer is not receiving the server data?

Are you using Puppy as the vnc server, viewer, or both?
I must say that it sounds like a vnc server error ie. not sending the correct desktop information.
But if you're running a vnc server which is already known to work with other viewer clients, then clearly the viewer is at fault.

EDIT - vnc Xorg plugin comments removed. See next post.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5263
Location: Australia

PostPosted: Mon 20 Dec 2010, 08:09    Post subject:  

Update, regarding the vnc Xorg plugin: it's an alternative method of creating a vnc server.
In cases where you are using Puppy 5.1 as a VNC server, instead of running the vncserver application, you could do this instead - open /etc/X11/xorg.conf in Geany. In the "Module" section add this line
Code:
Load  "vnc"

Save. Restart X, or reboot.
Now look at /var/log/Xorg.0.log to see if the vnc server process was created.
Back to top
View user's profile Send private message 
PupGeek

Joined: 06 Sep 2009
Posts: 388

PostPosted: Thu 23 Dec 2010, 17:39    Post subject:  

When starting the vncserver on puppy, it would start using screen 1 instead of 0. I couldn't get Xvnc to start with :0, so I ended up using x11vnc and now it works fine both ways. I may try out the Load "vnc" tweak to the xorg.conf just to see if it works though.
Back to top
View user's profile Send private message 
sardineman

Joined: 07 Jan 2011
Posts: 1

PostPosted: Fri 07 Jan 2011, 16:34    Post subject:  

tempestuous wrote:
Update, regarding the vnc Xorg plugin: it's an alternative method of creating a vnc server.
In cases where you are using Puppy 5.1 as a VNC server, instead of running the vncserver application, you could do this instead - open /etc/X11/xorg.conf in Geany. In the "Module" section add this line
Code:
Load  "vnc"

Save. Restart X, or reboot.
Now look at /var/log/Xorg.0.log to see if the vnc server process was created.

When I try this on Puppy 5.2, it fails with the following log message:
Code:
(II) LoadModule: "vnc"
(II) Loading /usr/lib/xorg/modules/extensions/vnc.so
dlopen: /usr/lib/xorg/modules/extensions/vnc.so: undefined symbol: NumCurrentSelections
(EE) Failed to load /usr/lib/xorg/modules/extensions/vnc.so
(II) UnloadModule: "vnc"
(EE) Failed to load module "vnc" (loader failed, 7)
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5263
Location: Australia

PostPosted: Mon 10 Jan 2011, 06:16    Post subject:  

sardineman, I did some digging and I see that the Xorg plugin needs to be compiled under the relevant version of Xorg, and the Xorg binary, too, may need to be modified.
I then attempted to compile the Xorg plugin from vnc source code, and this failed with many errors.
So the Xorg plugin is a no-go, at least under Puppy 5.x.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5263
Location: Australia

PostPosted: Mon 10 Jan 2011, 06:17    Post subject:  

I just did some testing with this package on my own Puppy 5.1 installation. I discovered a number of errors, mainly relating to Xorg configuration files not being in the location expected by vnc.
Also, the "xauth" utility is needed under Puppy 5.1/5.2.
So I have fixed these problems, and repackaged vnc in the first post. There are now two different versions; one for Puppy 4.1/4.2/4.3 and one for Puppy 5.1/5.2.

Under Puppy 5.1 I can now run the "vncserver" command, and after creating a password, vncserver appears to launch successfully.
When I open /root/.vnc/puppypc:1.log I see this -
Code:
vncext:      created VNC server for screen 0
Back to top
View user's profile Send private message 
Stripe

Joined: 23 Jun 2010
Posts: 658
Location: In a field. England

PostPosted: Tue 11 Jan 2011, 11:51    Post subject:  

Hi tempestuous

Thanks again for the link

I am working in spup 055 at the moment, and all I need on the base machine which is working headless (no keyboard mouse or monitor) is for vnc server to start on boot up. so I have created the following as a text document with geany

#start script for vncserver
vncserver

saved it as vncserver and made it executable then placed it in the root/startup folder so it will automaticaly run at startup. (after setting the password)

will let you know how I get on

cheers
Back to top
View user's profile Send private message 
sean56a

Joined: 21 Jan 2011
Posts: 5
Location: East Bay, CA

PostPosted: Fri 21 Jan 2011, 15:25    Post subject:  

PupGeek wrote:
When starting the vncserver on puppy, it would start using screen 1 instead of 0. I couldn't get Xvnc to start with :0, so I ended up using x11vnc and now it works fine both ways. I may try out the Load "vnc" tweak to the xorg.conf just to see if it works though.



I'm having the same X's-and-console problem. I've come so far! Would you mind explaining this for a Linux newb? Thanks everyone!

Running the server on Lucid Puppy 5.2. Client on Vista, home network.

Sean
Back to top
View user's profile Send private message 
ricb

Joined: 25 Jan 2011
Posts: 1

PostPosted: Tue 25 Jan 2011, 16:09    Post subject:  

i have just installed the program on lucid 5.1 without any errors, started the server it asked me to make a password and i did...but i cannot connect to it from my ubuntu 10,4 pc. so i rebooted the puppy machine restated the server (this time it did not ask me to make a password) and i am still getting the same reaction when I try to connect ...an instant "connection closed".
I even open all the ports on my router to see if that was the issue to no avail.

i am not new to linux but i am new to puppy....so tell me guys what simple thing am i missing thats going to make me feel like a fool ? Smile
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
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.0874s ][ Queries: 13 (0.0134s) ][ GZIP on ]