Hello again list!
I was not able to understand the local applications
mecanism ( I was stuck with ssh keys ), is not the
documentation fault is just that I don't get it,
anyway I wanted to see the remote sessions on the
workstations and I found out experimenting that you
don't even need to have local apps enable to do this,
the approach I reach is not very convenient because it
requires the user at the workstation to run the x11vnc
program from the local workstation shell, I have plans
to make a little bash script on the terminal that will
do this automatically based on requests, but this is
only a project. So for anyone out there with this
requirement here are the steps I took to get this to
work:
step 1.- first I set up the workstations to have
screen_01 = shell and screen_02 = startx in the global
settings of lts.conf, just to have something standard
across all my workstations...
step 2.- log into the system from the workstation you
want to remotely see as you normally would, this
graphical session will be the one we will "export"
then open a terminal and type xhost +
workstation_ip_address (the ip address of the
workstation itself, or the workstation name if
properly setup on hosts to match the apropriate ip
address).
step 3.- At the workstation you want to remotely see
enter the bash shell, if you have SCREEN_01=bash in
your lts.conf like I do in my configuration then you
must press ctrl+alt+f1 to enter the bash shell, once
there type /etc/x11vnc -display :1, previously you
must copy the x11vnc binary file to
/opt/ltsp/i386/etc, so that you can just type
/etc/x11vnc, the -display part in my configuration is
:1 because in lts.conf I have SCREEN_02=startx, change
the :1 accordingly... (the x11vnc binary in ltsp4.1 is
originally in /usr/X11R6/bin)
step 4.- Check to see that x11vnc displays the correct
message at the end it should say something like:
"The VNC desktop is ws001:1"
step 5.- We are done!. Then from any computer run
vncviewer ip_of_the_terminal and that's it you will
get the session from the terminal...
One problem I see with this is that the remote
sessions don't have a password... so there is a
security risk, it works tho without all the hassle of
local apps.
I am planning on making a little script to work on the
workstation and wait for requests from outside to
start x11vnc on the given workstation, this way I will
only open remote desktops when asked and close them
thereafter so to lessen the security risks involved
and also to not have to stand up and walk up to the
remote workstation and type the commands myself... Of
course my environment is secure enough because users
here have limited knowledge of linux... so...
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net