Phillip,
thanks so much for the help and pointer to the script. A couple questions:
I see the /opt/x2gothinclient/etc/init.d/ramdrive script, however I don't see S*ramdrive anywhere in my /opt/x2gothinclient/etc/rc*.d directories - does this mean it isn't running at startup? If it is running at startup, how is it being executed? If not, does that mean my /ramdrive isn't even being created and mounted?
I also see in your script these lines:
chroot /opt/x2gothinclient rm -f /etc/rcS.d/S05bootlogd /etc/rcS.d/S08pcmciautils /etc/rcS.d/S09checkroot.sh /etc/rcS.d/S11checkfs.sh /etc/rcS.d/S12resize_lvm /etc/rcS.d/S16readahead-desktop /etc/rcS.d/S19portmap /etc/rcS.d/S20nfs-common /etc/rcS.d/S26cryptdisks-early /etc/rcS.d/S28cryptdisks /etc/rcS.d/S30checkfs.sh /etc/rcS.d/S45mountnfs.sh /etc/rcS.d/S46mountnfs-bootclean.sh /etc/rcS.d/S99stop-bootlogd-single /etc/rc2.d/S99stop-bootlogd
chroot /opt/x2gothinclient mv /etc/rc2.d/S20x2gothinclient /etc/rc2.d/S90x2gothinclient
It looks like you are doing some shifting of sorts on the process boot order. Can you offer any insight into what you were doing there?
-----Original Message----- From: x2go-dev-bounces@lists.berlios.de on behalf of Philipp Huebner Sent: Fri 1/21/2011 3:49 AM To: x2go-dev@lists.berlios.de Subject: Re: [X2go-dev] x2go thin client session configuration
Hi,
it's been a while since I did this, but I saved my work here: http://blog.debalance.de/?p=125
In my case, the sessions file is stored on the server as /opt/x2gothinclient/usr/share/x2goclient/sessions where /opt/x2gothinclient is my chroot.
During startup, there is a cp /usr/share/x2goclient/sessions /ramdrive/x2goclient/.x2goclient/sessions in the startup script /opt/x2gothinclient/etc/init.d/ramdrive .
The whole thinclient works on a read only nfs-root, so obviously changes cannot be saved. However, I can do temporary ones due to the ramdrive.
In my case I set x2goclient up to automatically connect to a server specified by me.
The details can be found in the script linked in my blogpost mentioned above.
Hope that helps!
.''. Philipp Huebner <debalance@debian.org> : :' : pgp fp: 6719 25C5 B8CD E74A 5225 3DF9 E5CA 8C49 25E4 205F
. '
HP: http://www.debalance.de, Skype: philipp-huebner
`- ICQ: 235-524-440, Jabber: der_schakal@jabber.org
This e-mail and any attachments are for the intended recipient(s) only and may contain proprietary, confidential material. If you are not the intended recipient, (even if the email address above is yours) do not use, retain, copy or disclose any part of this communication or any attachment as it is strictly prohibited and may be unlawful. If you believe that you have received this e-mail in error, please notify the sender immediately and permanently delete. This email may be a personal communication from the sender and as such does not represent the views of the company.