Re: [openthinclient-user] mount local disk [SOLVED]

2011-05-25 Thread Peus, Christoph
 -Original Message-

[..]

 There's in fact a script that is run at startup, you just have to place
 it on the server, at

 /opt/openthinclient/server/default/data/nfs/root/custom

 So I created a script named mount_local_partitions.sh:

 #!/bin/bash
 LOCALDISK=/dev/sda
 fdisk -l $LOCALDISK | grep ^/dev | cut -d  -f1  /etc/pmount.allow

This may be a solution, but patching the server is not necessary and probably 
not so smart, because this cannot be applied to only specific ThinClients and 
could be overwritten by future updates of the OTC server.

Try to create a new application of type command line with Autostart set to 
yes and the following command (untested):
sudo sh -c 'echo /dev/sda2  /etc/pmount.allow'

This should do the job as well. (Of course you have to configure your setup to 
make this application execute on your clients.)


Regards
Christoph




 Regards,
 Elio Coutinho



 On Tue, 2011-05-24 at 19:09 +0100, Elio Coutinho wrote:
  Hello,
 
   I've just started using OTC on a lab, and now I'd like to use the
 local
  disk, at each computer. The disk is formatted as FAT32, and shows up
 on
  File Browser, but when I try to access it, it fails with:
 
  Unable to mount the selected volume.
  error: device /dev/sad2 is not removable
  error: could not execute pmount
 
   With this information, it didn't take long to figure that if I login
 on
  the thinclient, and execute:
 
  echo /dev/sda2  /etc/pmount.allow
 
  I'm able to mount the disk, and use it on a remote desktop session
 (it
  shows up under 'media'). My problem is that when I reboot the
  ThinClient, that configuration is lost...
 
   So my question is: how can I automatically add the local disk
  partitions to /etc/pmount.allow, when the thinclient boots? Is there
 any
  script that is run at startup?
 
   Or is there a much simpler solution?
 
  Thanks in advance!
 
  Regards,
  Elio Coutinho
 



 ---
 ---
 vRanger cuts backup time in half-while increasing security.
 With the market-leading solution for virtual backup and recovery,
 you get blazing-fast, flexible, and affordable data protection.
 Download your free trial now.
 http://p.sf.net/sfu/quest-d2dcopy1
 ___
 The Open Source Thin Client Solution http://openthinclient.org
 openthinclient-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/openthinclient-user

Private Universität Witten/Herdecke gGmbH
Alfred-Herrhausen-Straße 50
D - 58448 Witten

Geschäftsführung: Dipl.-Ök. Michael Anders, Prof. Dr. med. Martin Butzlaff

Sitz der Gesellschaft: Witten
Handelsregister des Amtsgerichts Bochum Nr. HRB 8671
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
The Open Source Thin Client Solution http://openthinclient.org
openthinclient-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openthinclient-user


Re: [openthinclient-user] mount local disk [SOLVED]

2011-05-25 Thread Peus, Christoph
Hi Elio,

Thanks Christoph! I've used that approach on another situation, but I
don't like that a shortcut for the command appears on the desktop. Do
you know how to prevent the icon from showing up?

I never noticed that because my users never see a desktop. They get an 
automatically starting connection to a specific server and that's ist. ;-)  But 
meanwhile Thomas posted a solution for this.

As for the script, I've changed it to only list FAT partitions, as they
seem to be the only ones fully supported:

#!/bin/bash
LOCALDISK=/dev/sda
fdisk -l $LOCALDISK | grep -i ^/dev.*fat.* | cut -d  -f1 
/etc/pmount.allow

Ok, you can put this in a command line application as well.


On a side note, are there any plans for NTFS writing support? Many usb
devices are NTFS formatted and it would be nice to be able to write to
them. For now, they are mounted read-only:

# dmesg
NTFS driver 2.1.29 [Flags: R/O MODULE].

I'm not part of the development team, so I have no idea...

Regards
Christoph




Best regards,
Elio Coutinho



On Wed, 2011-05-25 at 08:22 +0200, Peus, Christoph wrote:

 This may be a solution, but patching the server is not necessary and
probably not so smart, because this cannot be applied to only specific
ThinClients and could be overwritten by future updates of the OTC
server.

 Try to create a new application of type command line with Autostart
set to yes and the following command (untested):
 sudo sh -c 'echo /dev/sda2  /etc/pmount.allow'

 This should do the job as well. (Of course you have to configure your
setup to make this application execute on your clients.)


 Regards
 Christoph





--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
___
The Open Source Thin Client Solution http://openthinclient.org
openthinclient-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openthinclient-user

Private Universität Witten/Herdecke gGmbH
Alfred-Herrhausen-Straße 50
D - 58448 Witten

Geschäftsführung: Dipl.-Ök. Michael Anders, Prof. Dr. med. Martin Butzlaff

Sitz der Gesellschaft: Witten
Handelsregister des Amtsgerichts Bochum Nr. HRB 8671
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
The Open Source Thin Client Solution http://openthinclient.org
openthinclient-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openthinclient-user


Re: [openthinclient-user] mount local disk [SOLVED]

2011-05-25 Thread Weigt, Thomas

Hi Elio,


I've the same problem, when i try to run two commandline-scripts  as 
autostart, only one is running. The second is ignored, i think this is a 
bug...!
My workaround is a masterscript, that is autostarting und runs all other 
slave scripts. In the gui, i have for every combination of 
slave-scripts an application, so its flexible for the client, if not 
every client needs all scripts.


My scripts are under .../custom/bin, but that is not so important, i think.


Best regards

Thomas


Am 25.05.2011 14:03, schrieb Elio Coutinho:

Nice going Thomas! I have a hidden taskbar, so I guess I can live with
the command on the menu. I tried to create a new command, in addition to
a command I already had:

sudo sh -c 'fdisk -l /dev/sda | grep -i ^/dev.*fat.* | cut -d  -f1  
/etc/pmount.allow'

but then I noticed that only one of the two commands is Autostarted. The
other appears on the menu, but is ignored. Is this a bug?



I ended up creating a directory named 'bin' on the server, at

/opt/openthinclient/server/default/data/nfs/root/bin/

and placed my script there. This folder is copied to the client, and
shows up at /var/tcos/bin/. Then I created an Autostart command on the
gui, that runs the script at /var/tcos/bin/.

This way, one can have much more complex scripts, then writing it all on
one command line.

Best regards,
Elio


On Wed, 2011-05-25 at 12:27 +0200, Weigt, Thomas wrote:

Hi,

you can prevent the icon from the desktop, if the name of your
application in the otc-manager begins with a dot like .test-sh.
I use it so and there is no icon on the desktop, but in the
application-list in the menu of the client the application appears.

Best regards

Thomas


Am 25.05.2011 12:14, schrieb Elio Coutinho:

Hi,

Thanks Christoph! I've used that approach on another situation, but I
don't like that a shortcut for the command appears on the desktop. Do
you know how to prevent the icon from showing up?

As for the script, I've changed it to only list FAT partitions, as they
seem to be the only ones fully supported:

#!/bin/bash
LOCALDISK=/dev/sda
fdisk -l $LOCALDISK | grep -i ^/dev.*fat.* | cut -d  -f1  
/etc/pmount.allow

On a side note, are there any plans for NTFS writing support? Many usb
devices are NTFS formatted and it would be nice to be able to write to
them. For now, they are mounted read-only:

# dmesg
NTFS driver 2.1.29 [Flags: R/O MODULE].


Best regards,
Elio Coutinho



On Wed, 2011-05-25 at 08:22 +0200, Peus, Christoph wrote:


This may be a solution, but patching the server is not necessary and probably 
not so smart, because this cannot be applied to only specific ThinClients and could be 
overwritten by future updates of the OTC server.

Try to create a new application of type command line with Autostart set to 
yes and the following command (untested):
sudo sh -c 'echo /dev/sda2  /etc/pmount.allow'

This should do the job as well. (Of course you have to configure your setup to 
make this application execute on your clients.)


Regards
Christoph



--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
___
The Open Source Thin Client Solution http://openthinclient.org
openthinclient-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openthinclient-user



Gesellschaft mit beschränkter Haftung mit Sitz in 55218 Ingelheim am
Rhein, eingetragen im Handelsregister des Amtsgerichts Mainz unter HRB
21166.
Geschäftsführer: PD. Dr. med. Markus Nauck und Dipl.-Vw. Johannes
Brill.
Vorsitzender des Aufsichtsrates: Prof. Dr. med. Bernd Heicke.
Diese E-Mail kann vertrauliche oder auf andere Weise geschützte
Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten
haben, löschen Sie diese bitte von Ihrem System und setzen Sie uns
unverzüglich von dem Vorfall in Kenntnis.
USt-ID-Nr. DE 811138229

___

Limited liability company with registered office in 55218 Ingelheim am
Rhein, registered with the commercial register of the local court of
Mainz under HRB 21166.
Managing directors: PD Dr. med. Markus Nauck and Dipl.-Vw. Johannes
Brill.
Chairman of the supervisory board: Prof. Dr. med. Bernd Heicke.
This e-mail may contain confidential or otherwise privileged
information. If you are not the intended recipient, please inform us
immediately and delete the e-mail from your system.
VAT-ID-Nr. DE 811138229


--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1

Re: [openthinclient-user] mount local disk [SOLVED]

2011-05-25 Thread Elio Coutinho
Thanks, .../custom/bin seems to be more appropriate.

Best regards,
Elio


On Wed, 2011-05-25 at 15:45 +0200, Weigt, Thomas wrote:
 Hi Elio,
 
 
 I've the same problem, when i try to run two commandline-scripts  as
 autostart, only one is running. The second is ignored, i think this is
 a bug...!
 My workaround is a masterscript, that is autostarting und runs all
 other slave scripts. In the gui, i have for every combination of
 slave-scripts an application, so its flexible for the client, if not
 every client needs all scripts. 
 
 My scripts are under .../custom/bin, but that is not so important, i
 think.
 
 
 Best regards
 
 Thomas
 
 
 Am 25.05.2011 14:03, schrieb Elio Coutinho: 
  Nice going Thomas! I have a hidden taskbar, so I guess I can live with
  the command on the menu. I tried to create a new command, in addition to
  a command I already had:
  
  sudo sh -c 'fdisk -l /dev/sda | grep -i ^/dev.*fat.* | cut -d  -f1  
  /etc/pmount.allow'
  
  but then I noticed that only one of the two commands is Autostarted. The
  other appears on the menu, but is ignored. Is this a bug?
 
  I ended up creating a directory named 'bin' on the server, at
  
  /opt/openthinclient/server/default/data/nfs/root/bin/
  
  and placed my script there. This folder is copied to the client, and
  shows up at /var/tcos/bin/. Then I created an Autostart command on the
  gui, that runs the script at /var/tcos/bin/.
  
  This way, one can have much more complex scripts, then writing it all on
  one command line.
  
  Best regards,
  Elio
  
  
  On Wed, 2011-05-25 at 12:27 +0200, Weigt, Thomas wrote:
   Hi,
   
   you can prevent the icon from the desktop, if the name of your
   application in the otc-manager begins with a dot like .test-sh. 
   I use it so and there is no icon on the desktop, but in the
   application-list in the menu of the client the application appears. 
   
   Best regards
   
   Thomas
   
   
   Am 25.05.2011 12:14, schrieb Elio Coutinho: 
Hi,

Thanks Christoph! I've used that approach on another situation, but I
don't like that a shortcut for the command appears on the desktop. Do
you know how to prevent the icon from showing up?

As for the script, I've changed it to only list FAT partitions, as they
seem to be the only ones fully supported:

#!/bin/bash
LOCALDISK=/dev/sda
fdisk -l $LOCALDISK | grep -i ^/dev.*fat.* | cut -d  -f1  
/etc/pmount.allow

On a side note, are there any plans for NTFS writing support? Many usb
devices are NTFS formatted and it would be nice to be able to write to
them. For now, they are mounted read-only:

# dmesg
NTFS driver 2.1.29 [Flags: R/O MODULE].


Best regards,
Elio Coutinho



On Wed, 2011-05-25 at 08:22 +0200, Peus, Christoph wrote:

 This may be a solution, but patching the server is not necessary 
 and probably not so smart, because this cannot be applied to only 
 specific ThinClients and could be overwritten by future updates of 
 the OTC server.
 
 Try to create a new application of type command line with Autostart 
 set to yes and the following command (untested):
 sudo sh -c 'echo /dev/sda2  /etc/pmount.allow'
 
 This should do the job as well. (Of course you have to configure your 
 setup to make this application execute on your clients.)
 
 
 Regards
 Christoph
 

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
The Open Source Thin Client Solution http://openthinclient.org
openthinclient-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openthinclient-user
   
   
   Gesellschaft mit beschränkter Haftung mit Sitz in 55218 Ingelheim am
   Rhein, eingetragen im Handelsregister des Amtsgerichts Mainz unter HRB
   21166.
   Geschäftsführer: PD. Dr. med. Markus Nauck und Dipl.-Vw. Johannes
   Brill.
   Vorsitzender des Aufsichtsrates: Prof. Dr. med. Bernd Heicke.
   Diese E-Mail kann vertrauliche oder auf andere Weise geschützte
   Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten
   haben, löschen Sie diese bitte von Ihrem System und setzen Sie uns
   unverzüglich von dem Vorfall in Kenntnis.
   USt-ID-Nr. DE 811138229
   
   ___
   
   Limited liability company with registered office in 55218 Ingelheim am
   Rhein, registered with the commercial register of the local court of
   Mainz under HRB 21166.
   Managing directors: PD Dr. med. Markus Nauck and Dipl.-Vw. Johannes
   Brill.
   Chairman of the supervisory board: Prof. Dr. med. Bernd Heicke.
   This e-mail 

Re: [openthinclient-user] rdesktop only passes first three characters of login to Virtual Desktop

2011-05-25 Thread Kevin Halstead
Hi,

I have installed the new fork RDP client into OTC which is supposed to support 
it, however it isn't the case unfortunately as it doesn't pass any credentials 
at all and fails.
Hopefully there is a solution soon as some of my colleagues are very frustrated 
with it.

Thanks

Kevin Halstead


-Original Message-
From: Häcker, Tobias A. [mailto:tobias.haec...@topalis.com]
Sent: 30 March 2011 08:47
To: openthinclient-user@lists.sourceforge.net
Subject: Re: [openthinclient-user] rdesktop only passes first three characters 
of login to Virtual Desktop

This behaviour seems to be a bug in the rdesktop-svn provided, since we 
experience the same here sometimes:
If the first login to a farm member of the 2008 R2 RD farm fails, the username 
ist displayed as

DOMAIN\use

instead of the originally provided

DOMAIN\username

And a logon fails because rdesktop tries to logon User use.

Regards,

T. Häcker

 openthinclient configured to autolaunch rdesktop, which works just
 fine.  The problem I am running into is that after I enter my
 credentials in the initial RDP screen, it only passes the first 3
 characters of my username to the remote desktop, which is an XP
 virtual desktop.  It works fine if I RDP from a regular

--
Enable your software for Intel(R) Active Management Technology to meet the 
growing manageability and security demands of your customers. Businesses are 
taking advantage of Intel(R) vPro (TM) technology - will your software be a 
part of the solution? Download the Intel(R) Manageability Checker today! 
http://p.sf.net/sfu/intel-dev2devmar
___
The Open Source Thin Client Solution http://openthinclient.org 
openthinclient-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openthinclient-user
--
Kevin Halstead
Team Leader - Desktop  Helpdesk Support, Zen Internet
T: 0845 058 9097
F: 0845 058 9005
W: www.zen.co.uk

Which? Recommended Broadband Provider - March 2011

Managed Cloud Hosting – Now available!

For more information please visit – www.zen.co.uk/cloudhosting

PC Pro Awards 2011 – have your say in the most comprehensive guide to customer 
support and product reliability in the UK, they need YOUR help to decide who 
wins: To vote please visit 
http://www.demographix.com/surveys/TWHI-SO67/SJQEF8FK/?zen








This message is private and confidential. If you have received this message in 
error, please notify us and remove it from your system.

Zen Internet Limited may monitor email traffic data and also the content of 
email for the purposes of security.

Zen Internet Limited is registered in England and Wales, Sandbrook Park, 
Sandbrook Way, Rochdale, OL11 1RY Company No. 03101568 VAT Reg No. 686 0495 01
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
The Open Source Thin Client Solution http://openthinclient.org
openthinclient-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openthinclient-user


Re: [openthinclient-user] rdesktop only passes first three characters of login to Virtual Desktop

2011-05-25 Thread Häcker , Tobias A .
Hey,

meanwhile rdesktop 1.70 is available which might fix this issue.
OTC should integrate it into the system.
freerdp ist the alternative, but frequently updated and not yet real stable.

I second that a RDP client (rdesktop/freerdp) is a vital parts of OTC and 
therefore they should be adjusted as frequently as possible to the most recent 
versions/patchlevels.

Regards,

Tobias

 I have installed the new fork RDP client into OTC which is supposed to 
 support 
 it, however it isn't the case unfortunately as it doesn't pass any 
 credentials 
 at all and fails.
 Hopefully there is a solution soon as some of my colleagues are very 
 frustrated 
 with it.

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
The Open Source Thin Client Solution http://openthinclient.org
openthinclient-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openthinclient-user