Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: cast-fish on August 17, 2015, 09:09:01 AM
-
Hello TCL team,
Please can you tell me if there is a way to swtich betweeb Xorg and Xvesa.
The system here has
1) a raw virgin boot of TCL from cd disc (Xvesa is used)
2) some APP is installed and also loads Xorg
3) xserver is restarted and indeed TCL is now running Xorg
4) How to switch back to Xvesa? (easily?)
is there a way or does the module need disabling(xorg) before you can restart the Xserver
and get back to Xvesa?
thanks
V
-
What app loads Xorg?
Why do you think an app loads Xorg.
How do you know it switches to Xorg?
Why do you want to switch back on the fly?
-
1) dwb
2) it has dependency of Xorg (but it runs perfectly fine in Xvesa)
3) when i re-start the xserver you can't edit "xvesa" via its button. The xvesa app does not open.
4) i want to be able to re-start the xserver at will (to refresh TCL) but when i restart it loads"xorg" (i want xvesa loaded)
V
-
Hi cast-fish
It's possible the .dep file has a typo. Maybe the dependency was supposed to be Xorg-7.6-lib.tcz. A lot of apps depend on that.
-
Hi Rich
not sure what you mean.
When you load the "dwb" app it pulls down Xorg also.
Then when you restart Xserver....xorg is loaded up...and runs.
in other words, you can't restart the xserver if you have "dwb"
on your system, without the restart causing "xorg" to load up and run
V
-
It is my opinion that no program should have a dep on Xvesa, Xorg, or Xfbdev.
That program should have a note in the info file.
Installing such a program tramples the users X choice without warning.
-
If we're speaking of dwb in the tc-4.x x86 repo,
it has Xorg-7.6 as a dep, which is wrong.
-
Hi cast-fish
Open the dwb.tcz.dep file in your tce/optional directory and change Xorg-7.6.tcz to Xorg-7.6-lib.tcz
-
Hello
juanto that is correct.
Rich, i will try your idea
V
-
Hello Rich,
tried your idea but it won't run "dwb"
it says missing "libGL.so"............
hmmm
V
-
Hi cast-fish
it says missing "libGL.so"............
Well that's a problem, libGL.so is only in the Xorg-7.*.tcz extensions, so it looks like Xorg really is a dependency.
-
According to the Apps 'Provides' function, libGL.so is available in the libGL.tcz extension.
-
Yes, but only in tc-5.x and tc-6.x as I recall
-
hello
you are all correct...
I don't know if repo's 5.x and 6.x contain the "dwb" browser .....hmmm
thanks
V.
-
any way around this?
can you unload the module or something?
V
-
Try loading Xorg first, then Xvesa, then dwb.
-
will try that
-
ye
i actually have no idea how to do that. Gerald
The way i have TCL here.......i always BASE boot from a CD of tcl.
Ofcourse the base boot of tcl is always Xvesa
Then i load up my sound......the browser and flash...... from my pesistent store.
That is when Xorg is dragged in. If i ever restart the Xserver......sadly it then loads Xorg up permanently.....
Your saying i should make my first boot an "Xorg" boot.
but then i don't know how to load Xvesa while in Xorg.
i am looking for a more silver bullet solution to the whole issue....like unloadind a module or something
if anybody knows.
V
-
Install it onto a hard/flash drive instead of booting off CD all the time.
Then you can customize your onboot.lst.
-
Hi cast-fish
Then i load up my sound......the browser and flash...... from my pesistent store.
That is when Xorg is dragged in. If i ever restart the Xserver......sadly it then loads Xorg up permanently.....
After you load the browser, try:
sudo echo "Xvesa" > /etc/sysconfig/Xserver
-
Maybe something like this (untested):
echo "Xvesa" | sudo tee /etc/sysconfig/Xserver
xsetup.sh
-
Hello
misalf and Rich
i was going along those lines already.......yes....
thinking it MAY work..............
i will try what you say.
The bottom line is this ---restarting Xserver drags XOrg into operation....and i don't want it to..
At the first PASS of loading "dwb", on an xvesa platform, Xorg is not executed and the browser still runs fine in xvesa. Upon any "xserver" restart, Xorg gets executed.....and i didnt want Xorg because its a little too slow indeed on 256 ram......
i just wanted Xvesa with dwb (since it works fine)....
V
-
no
for rich's idea it gives an error
can't creat "etc/sysconfig/xserver permission denied
for Milsafs idea......well the file contents in question ARE changed to "xvesa" but this has no baring
on a restart of xserver ........which merrily goes along and loads Xorg again......... and executes Xorg
v
-
Check you .xsession.
If it does not start with "Xvesa", you need to make a backup copy of a working Xvesa .xsession, and copy it back after creating the
/etc/sysconfig./xserver file.
-
Hi cast-fish
Sounds like your best bet might be to grab the libGL.so files out of Xorg and package them into there own extension.
-
gerald_clark,
your idea has worked correctly.
having followed the instructions from Milsaf and then Gerald (look at your xsession)
the computer is now able to re-start the "xserver" back into Xvesa without forcing
it into Xorg.
this is pretty simple to do also.
The reasoning behind my whole rant is that "dwb" appears to be a very very stable web browser
for doing involved things like flash and sending web cam video and so forth.
Other browsers on TCL, while being nice, often have stability issues. "Surf" "QtWeb" "Xxxterm"
are lovely fast browsers indeed on 256 ram but they all suffer some sort of stability issues
ranging from occassional crashes to seg faulting galore. I presume that these browsers are never
properly tested upon compiling for TCL.
"Dwb" does not seem to suffer stability issues and is also fast on xvesa. There is a tiny gripe with
a black blotch on some menus in Xvesa Dwb...........but it is nothing much at all
many thanks indeed.
V