Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: cast-fish on August 17, 2015, 09:09:01 AM

Title: xorg / xvesa
Post 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


Title: Re: xorg / xvesa
Post by: gerald_clark on August 17, 2015, 09:58:40 AM
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?
Title: Re: xorg / xvesa
Post by: cast-fish on August 17, 2015, 10:25:07 AM
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





Title: Re: xorg / xvesa
Post by: Rich on August 17, 2015, 10:32:41 AM
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.
Title: Re: xorg / xvesa
Post by: cast-fish on August 17, 2015, 10:55:14 AM
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
Title: Re: xorg / xvesa
Post by: gerald_clark on August 17, 2015, 11:02:09 AM
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.
Title: Re: xorg / xvesa
Post by: Juanito on August 17, 2015, 11:23:29 AM
If we're speaking of dwb in the tc-4.x x86 repo,
 it has Xorg-7.6 as a dep, which is wrong.
Title: Re: xorg / xvesa
Post by: Rich on August 17, 2015, 12:41:02 PM
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
Title: Re: xorg / xvesa
Post by: cast-fish on August 17, 2015, 12:55:12 PM
Hello

juanto that is correct.

Rich, i will try your idea

V
Title: Re: xorg / xvesa
Post by: cast-fish on August 17, 2015, 07:00:27 PM
Hello Rich,

tried your idea but it won't run "dwb"

it says missing "libGL.so"............

hmmm

V
Title: Re: xorg / xvesa
Post by: Rich on August 17, 2015, 08:26:21 PM
Hi cast-fish
Quote
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.
Title: Re: xorg / xvesa
Post by: thane on August 18, 2015, 03:05:23 AM
According to the Apps 'Provides' function, libGL.so is available in the libGL.tcz extension.
Title: Re: xorg / xvesa
Post by: Juanito on August 18, 2015, 03:37:36 AM
Yes, but only in tc-5.x and tc-6.x as I recall
Title: Re: xorg / xvesa
Post by: cast-fish on August 18, 2015, 06:57:57 AM
hello

you are all correct...


I don't know if repo's 5.x and 6.x contain the "dwb" browser .....hmmm


thanks

V.

 
Title: Re: xorg / xvesa
Post by: cast-fish on August 18, 2015, 08:36:29 AM
any way around this?


can you unload the module or something?


V
Title: Re: xorg / xvesa
Post by: gerald_clark on August 18, 2015, 08:39:32 AM
Try loading Xorg first, then Xvesa, then dwb.
Title: Re: xorg / xvesa
Post by: cast-fish on August 18, 2015, 08:43:52 AM
will try that
Title: Re: xorg / xvesa
Post by: cast-fish on August 18, 2015, 09:43:37 AM
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

Title: Re: xorg / xvesa
Post by: gerald_clark on August 18, 2015, 09:46:35 AM
Install it onto a hard/flash drive instead of booting off CD all the time.
Then you can customize your onboot.lst.
Title: Re: xorg / xvesa
Post by: Rich on August 18, 2015, 10:19:57 AM
Hi cast-fish
Quote
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:
Code: [Select]
sudo echo "Xvesa" > /etc/sysconfig/Xserver
Title: Re: xorg / xvesa
Post by: Misalf on August 18, 2015, 11:32:50 AM
Maybe something like this (untested):
Code: [Select]
echo "Xvesa" | sudo tee /etc/sysconfig/Xserver
xsetup.sh
Title: Re: xorg / xvesa
Post by: cast-fish on August 18, 2015, 02:21:05 PM
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

Title: Re: xorg / xvesa
Post by: cast-fish on August 18, 2015, 04:11:26 PM
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
Title: Re: xorg / xvesa
Post by: gerald_clark on August 18, 2015, 04:18:55 PM
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.
Title: Re: xorg / xvesa
Post by: Rich on August 18, 2015, 04:19:57 PM
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.
Title: Re: xorg / xvesa
Post by: cast-fish on August 19, 2015, 07:50:21 AM
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