make a lighter opt.sqfs

Started by DotCom, July 29, 2009, 05:43:30 AM

Previous topic - Next topic

DotCom

Hi Elmar,

As I said in a nother post I am trying to create a lighter version of opt.sqfs with minimal gnome working and the newest version of rdesktop.
this setup will help me to connect via thinclient to win-terminal-servers.
I have tryed to remove files from lib and share directory but it dosent work and the gnome dont open corectly.

can you give me a hint to how to do this corectly  ::) ::)

regards

DotCom

Elmar

hi,
what do you think about the following

edit the file /root/gnome
remove the line with
exec gnome-session

add the lines

exec tsclient &
exec fluxbox


this is only for testing. there is much more possible. if you want to remove the fluxbox menu then add before exec fluxbox

mkdir ~/.fluxbox
echo -n > ~/.fluxbox/menu


instead of tsclient you can use rdesktop.

use runme.sh to overwrite the original /root/gnome with yours. its also possible to edit /root/.xinitrc

however, a smaller opt.sqfs would be possibe too, but with the solution above you stay compatible with upcoming opt.sqfs

what do you think?

regards
elmar

DotCom

Hi,
again thx for your replay  :)

I am able to shrink the running os to mininum with things like
gconftool-2 and so on.
what I am trying to do with not much luck  :'(, is to make the opt.sqfs smaller
so it will take less time to load from the cifs share in the network.
now it's size is about 340M and I belive it can be smaller for what I am running.


with regards

DotCom

Elmar


DotCom

hi,

at this point as you said the script dous not work
I would like to work in this manner with very low resorces thin terminal as well, so I dont know for shure what will be the end configuration.

hope that answers the question  ??? ::) ???

DotCom

Elmar

if dont use copy2ram, then the opt.sqfs is not copied over the network and the size doesnt matter. it also needs less resources, you have a lot of free ram if you do not copy the opt.sqfs.

if you still want a smaller opt.sqfs, then use fluxbox as window manager. fluxbox does not need gnome and is fast and good. you can remove all gnome and gcc related programs and libs. i think without gnome and gcc you will get a opt.sqfs with maximum 100MB maybe less. to get a really small and clean opt.sqfs its better to compile xorg, fluxbox and rdesktop again. i dont know, maybe i create it.

regards
elmar

DotCom

OK, I understend. ::)

now it looks fine but I am worried that when I will connect more then 100 clients at once the share computer will have problems.

If you will have the time to compile it as you suggested It will help alot.

meny thanks for your quick and allways helpfull replays

DotCom

Elmar

hi,
here is a opt.sqfs and i think you will love it. its 80MB small
http://download.plop.at/files/tmp/opt.sqfs

please test it, if its ok, i put it to my download page of ploplinux

DotCom

Hi,

It looks wonderfull  :) :D ;D
the fluxbox is new to me and I figured it out in a few minuts  8)
I am now trying to ad the alsa support to it (as you mite remember I must have sound)
and I have no success yet .

regards

DotCom

Elmar


DotCom

Hi,

well it start with " no acceptable C compiler found"
and it allso looks for /usr/local wich is not present at all.

I must say that I am trying to ad this to a running plop with the tmp opt that you shared.

p.s. the fluxbox takes about 25 seconds to startX - is this normal ??

regards

DotCom

Elmar

#11
you have to replace the big opt.sqfs with this small one in pluspacks

fluxbox is faster than gnome

DotCom

maybe I didnt explane myself correctly,

I am working now with fluxbox, I changed the desk top and changed the menu and played a bit with the init file so it will work to my likings  ;D

nevertheless I am trying to get sound on my terminals (connecting with rdesktop) and cannot do that if no sound is avaliable in the plop machine.

still trying to compile it (now in the full opt.sqfs) with ro errors,
I am trying to get over it now.

regards

DotCom

Elmar

ahh, the alsa tools are missing, i add it

DotCom

Elmar,

you are the man !!!!!!

this is the fastest replay ever  :D

thanks

DotCom

Elmar


DotCom

thanks again...

I am now checking it against more hardware kinds so I will know it will work for everyone.

as I still have to load the sound card manualy, I am working on a script that will determine the sound card and then load the specific files.

it looks grate  :)


regards
DotCom

Pat

It is not possible to download the file

Elmar

yes, i removed it. it was only temporary available. its now available again. you can download it.

regards
elmar

Pat


Pat

Hi
What is included in this small opt.sqfs ?
Is it possible to include gparted ?
Thank's

Elmar

include is:
xorg 7.4
fluxbox
rdesktop
and libraries that are needed to run those programs

gparted would be possible, but gparted need libs that are not in this opt.sqfs. so they have to be added too. is the standard opt.sqfs with 340MB too big for you?

regards
elmar

Pat

I have installes plop linux in an old 256 Mo usb. So I can use it to make backup of my windows (excuse me for my english, I learned it in scool; I'm french)

Elmar

and you would like to have gparted too on you small drive?

Pat

If it is possible. But using partimage with my mouse is sufficient

Elmar

why do you need a mouse for partimage? for navigation you need only the keys tabulator, f5 and f6

i take a look how many libs are required for gparted

Pat

I use F5 and F6.
thank's for your attention

Elmar

#27
hi,
i made a opt.sqs with fluxbox and gparted for you. it has 118MB
http://download.plop.at/files/ploplinux/opt-X-mini2/opt.sqfs

in fluxbox you have to open xterm and run gparted from the shell

regards
elmar

Pat