Hi again Martin,

>the linux flash player is known to be quite slow in fullscreen even with
decent
>hardware. maybe v10 (http://labs.adobe.com/downloads/flashplayer10.html)
has
>some speed improvements.
I heard about from word-of-mouth but didnt know the exact details, just
upgraded to player 10 and will be doing some test. Actually the real concern
was about the FLV files built-in to the intranet webpages (like the youtube)
which runs on 320x240 windows. The second concern was the performance of
Flash in video conferencing (audio, video) within our intranet system.


>>> open a xterm (<CTRL><ALT><SHIFT><x>) and use gconf-editor to set
>>> /apps/metacity/general/reduced_resources.
>> 

>from version 0.3.0 on there is a special home directory called
>"_USER_OVERWRITE_". anything put in there will be copied over to any thin
>client home dir. so you just have to create this directory on server side:

><INSTALLPATH>\server\default\data\nfs\home\_USER_OVERWRITE_

>and put any default settings files (like gconf created files or firefox
>settings files) into this directory.

When i disable the reduced_resources under gconf-editor and save-close, i
cant locate any file within the home directory of the user. I run a diff on
folder+file level between two user accounts where one reduced-resources
enabled whereas the other user didnt. the diff result didnt show anything
related to gconf files (they were literally same).
So i am wondering if this config setting is saved elsewhere? or if am going
blind and cant notice, would you be kind and tell me which file this setting
will be saved under the user's home directory?

Rest assured, i am able to copy the firefox default settings with the help
of _USER_OVERWRITE_ folder. Many Thanks.


>have a look at the artwork package:
>http://archive.openthinclient.org/openthinclient/os/artwork-tcos_0.1-2.tar.gz

I downloaded the artwork-tcos_0.1.-2.tar.gz , extracted and browse through
the content and made some modifications on the .png files.

However i cant find any documentation or note on how to include the new
artwork-tcos_0.1-2.tar.gz to my openthinclient server. Would you be able to
show me the commands and procedure that i need to use in order to embed this
package to the server?

Basically, I dont know how to work with the packages under OS folder
(artwork-tcos-0.1-2.tar.gz and usplash_0.2-5tcos3.tar.gz being the primary
ones)

If you can shed some light on this, a simple article or a set of commands to
recompile, it will be very much appreciated.

>> Is it also possible to change the splash-screen image upon logging-in
>> (where

>this is possible but not trivial. you have to build a new initrd including
your
>new usplash file. have a look at the usplash package:
>http://archive.openthinclient.org/openthinclient/os/usplash_0.2-5tcos3.tar.gz

Thanks for the pointer. I have downloaded the usplash_0.2-5tcos3.tar.gz and
i can locate the splash file in it.
Again, i couldnt find any documentation on how to go about embedding the
updated package and especially build the updated,new initrd.
I tried googling and located some articles about gunzip and mounting the
initrd package and changing individual files from it but my gut feeling says
its not the right way.
First thing first, i dont know how to re-compile the usplash package to
create new usplash file and later adding it and re-building the initrd...

Would you be able to show me the steps and commands involved which i can
follow, alternatively a brief article under Developers section of the
openthinclient website will be beneficial to other people looking for
embedding such packages and how to build the initrd. Any guidance on these
will be highly appreciated!


>> Related on this note, i read on the package description of SSO that it
>> keeps
>> the username:password pair in environment variable which can be passed to

>that's right the SSO package holds an encrypted user password in the
TCOS_TOKEN
>variable. have a look at the rdesktop package on how to work with it.
> that shouldn't be to hard to implement.

I have downloaded the rdesktop package and firefox packages (tar.gz) from
openthinclient/manager site.
As there is no documentation and i lack the expert linux knowledge, couldnt
compile the new package.
What i have done so far can be summarized as the following;
- Copy the SSO schema section from
server\default\nfs\root\schema\application\rdesktop.xml
                <choice name="ActivateSSO" value="No">
                        <label lang="en" value="Activate Single-Sign-On"/>
                        <label lang="de" value="Single-Sign-On aktivieren"/>
                        <option name="Yes" value="Yes">
                                <label lang="en" value="Yes"/>
                                <label lang="de" value="Ja"/>
                        </option>
                        <option name="No" value="No">
                                <label lang="en" value="No"/>
                                <label lang="de" value="Nein"/>
                        </option>
                </choice>
- And paste it under firefox-en-us.xml application schema, just after the
Fullscreen choice

- Now at this stage, if i restart the openthinclient, rightclick to firefox
application, i can see the SSO selection YES/NO allright.

- Next locate the launcher script from the extracted rdesktop package under
tcos folder, append the following lines from it to the firefox launcher
script file;

1) u = tcos.Util()  --> firefox launcher

2) sso_type = l.ENTRY.get('General.ActivateSSO', 'No')
if sso_type == 'Yes':
        username = os.getenv('USER')
        tcostoken = os.getenv('TCOS_TOKEN')
        if username != None and tcostoken != None:
                parameter2 = 'username=' + username
                try:
                        if os.path.isfile('/opt/sso-tcos/bin/sso-tcos-auth'):
                                auth = 
os.popen('/opt/sso-tcos/bin/sso-tcos-auth')
                                password = auth.read()
                                auth.close()
                                if password != "":
                                        parameter2 += '&password=' + 
u.shellQuote(password)
                except:
                        pass
else:
        username = l.ENTRY.get('Application.Account.User', '')
        if username != '':
                parameter2 = 'user=' + username

        password = l.ENTRY.get('Application.Account.Password', '')
        if password != '':
                parameter2 += '&password=' + u.shellQuote(password)

3) copy and amended the cmdline to launch the firefox bin with the url and
parameter2 concatenated:
cmdline = ['/opt/firefox-en-us/firefox',
           parameter.strip(),
           l.ENTRY.get('Application.StartURL' + '?' + parameter2, '')]
   
4) Now if all is good, parameter2 will concatenate a string line
username=admin&password=secret and append it to the launching URL of the
Firefox ; http://intranet/login.asp?username=admin&password=secret 

I then follow the guidelines under development article and created a package
develop folder under the development ubuntu machine, run tcos_genpackage
firefox-en-us which created the folder sctructure.
I then copied the modified scripts and bin folder from the original firefox
package to the relevant folders of the tcos_genpackage created folder (tcos
folder, firefox-en-us folder ..)

just to identify this package from the default firefox-en-us in package
manager, i run dch and edited the control file to append a few string before
the description and description for the new version.

Then run the build via 
[EMAIL PROTECTED]:~/packagedevelop/firefox-en-us/firefox-en-us-0.0.1#
tcos_buildpackage
dpkg-buildpackage: source package is firefox-en-us
dpkg-buildpackage: source version is 0.3.0-2.0.0.16-2
dpkg-buildpackage: source changed by Martin Kreiner <[EMAIL PROTECTED]>
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
/usr/bin/fakeroot: line 150: debian/rules: Permission denied

and got the above error which i couldnt figure what might be causing it.

As i am very new with linux and openthinclient concept, it took me a bit of
time to create development environment and attempt to the above hacking. the
dev. environment runs fine as i can compile and add skype successfully.

The article page "Working with existing packages" is empty and i have no
other reference to see what im attempting is the right way.

Would appreciate your help on creating the sub/alternate version of the
firefox with SSO option that will pass the username and password to the URL
launch page.

>>i would at least use some kind of hash in your intranet application to not
have
>>the password shown in plain text.

I actually run the sso-auth from command line but it doesnt give the decoded
password, guess it works a bit differently.
The reason for checking the encoding script is partly to understand if i can
just append the encoded password to the URL and decode it back in the
...asp? page where its send to.
The hex_encode () function in sso-auth looks simple but not sure if i can
reproduce that in .asp page with vbscript built-in functions...


The last point is related to the updated openchrome drivers, which i can
find the change .so file under the issue tracking site. Again, i cant find
any documentation on how to go about adding the new driver and replacing
with the old one.
I assume, if i want to add new drivers (like printer drivers or webcam
drivers) i can follow the same steps with updating the openchrome driver .so
? Or is there a different trick for that stuff?

I spent the last two days losing some hair with openthinclient and added the
openoffice-de packages along with the new firefox package. Comparing your
openoffice package with mine, i noticed the first time you create a user and
launch desktop -> download a .doc file from the net  firefox actually
defaults to /opt/openoffice..../soffice  in yours but that wasnt the case
for my package build...
Is it possible to document the steps involved in creating such package like
OpenOffice (even copy/pasting the bash history commands should be a great
help to better understand how it should be done right).

Thank you in advance for your time and attention, and such an exciting and
promising project.

All the best!

-- 
View this message in context: 
http://www.nabble.com/Lame-Openchrome-driver-tp18905980p19377353.html
Sent from the openthinclient.org users' mailing list mailing list archive at 
Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
The Open Source Thin Client Solution http://openthinclient.org
[email protected]
https://lists.sourceforge.net/lists/listinfo/openthinclient-user

Reply via email to