Tiny Core Linux

Tiny Core Base => TCB Tips & Tricks => Topic started by: marky on August 09, 2017, 10:17:12 AM

Title: Xvesa fix and/or resolution choice on boot
Post by: marky on August 09, 2017, 10:17:12 AM
Hi,

I started to use TC Plus a week ago and I love it.
I use it on two different computers with the pretty decent hardware.
Somehow I've lost ability to open Xvesa window in the ControlPanel. It shows up for a split of second with nothing visible and disappears. On both machines.

Actually the only reason I need it is that on laptop I'd need to change the resolution to fit the screen and I'm not able to do it now since the Xvesa set up is not accessible.

Any clue, please?
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: gerald_clark on August 09, 2017, 10:33:41 AM
Exit to the shell and run xsetup.sh.
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: curaga on August 09, 2017, 01:02:00 PM
If you've installed Xorg or Xfbdev, the script will not show resolutions, as those two are configured differently.
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: marky on August 09, 2017, 01:56:58 PM
First of all, I'm not that good to know what exactly to do by:
Quote
Exit to the shell and run xsetup.sh
.
By Ctrl+Alt+F1 went to the console and tried to run that xsetup.sh command with no success, since I couldn't get to the /user/bin folder. I've tried to run sh ./xsetup.sh in several ways, with no success since I still consider myself as a newbie in linux.

Secondly, here it is my end list of installed apps copied from TC Sytem Stats window:
Code: [Select]
wpa_supplicant
xbitmaps
xcursor-themes
xdg-utils
xf86-input-evdev
xf86-video-vesa
xfe-common
xfi
xkeyboard-config
Xlibs
Xorg-7.7
Xorg-7.7-3d
Xorg-7.7-3d-dev
Xorg-7.7-bin
Xorg-7.7-dev
Xorg-7.7-lib
Xorg-fonts
xorg-proto
xorg-server
xorg-server-dev
Xprogs
xtrans
Xvesa
xzgv

and it seems that xorg is there.

So, what now?
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: Juanito on August 10, 2017, 03:18:38 AM
If you have loaded the Xorg-7.7 extension after you loaded Xvesa, tinycore will run Xorg and not Xvesa.

You will need to ensure that Xorg-7.7 is not listed "onboot", reboot and then Xvesa and xsetup.sh should run without problems.
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: marky on August 10, 2017, 04:16:24 AM
Actually, that list I've posted before was from System Stats.

onboot.lst differs from it:

Code: [Select]
Xlibs.tcz
Xprogs.tcz
aterm.tcz
flwm_topside.tcz
wbar.tcz
flwm_topside.tcz
wifi.tcz
wl-modules-4.8.17-tinycore.tcz
iw.tcz
pci-utils.tcz
firmware-atheros.tcz
firmware-atheros.tcz.md5.txt
firmware-broadcom_bnx2.tcz
firmware-broadcom_bnx2.tcz.md5.txt
firmware-broadcom_bcm43xx.tcz
firmware-broadcom_bcm43xx.tcz.md5.txt
firmware-ipw2100.tcz
firmware-ipw2100.tcz.md5.txt
firmware-ipw2200.tcz
firmware-ipw2200.tcz.md5.txt
firmware-iwlwifi.tcz
firmware-iwlwifi.tcz.md5.txt
firmware_iwlwifi-7260.tcz
firmware_iwlwifi-7260.tcz.md5.txt
firmware-libertas.tcz
firmware-libertas.tcz.md5.txt
firmware-myri10ge.tcz
firmware-myri10ge.tcz.md5.txt
firmware-netxen.tcz
firmware-netxen.tcz.md5.txt
firmware-openfwwf.tcz
firmware-openfwwf.tcz.md5.txt
firmware-radeon.tcz
firmware-radeon.tcz.md5.txt
firmware-ti-connectivity.tcz
firmware-ti-connectivity.tcz.md5.txt
firmware-ueagle-atm.tcz
firmware-ueagle-atm.tcz.md5.txt
firmware-vxge.tcz
firmware-vxge.tcz.md5.txt
firmware-iwimax.tcz
firmware-iwimax.tcz.md5.txt
firmware-zd1211.tcz
firmware-zd1211.tcz.dep
firmware-zd1211.tcz.md5.txt
firmware.tcz
firmware.tcz.md5.txt
tc-install.tcz
kmaps.tcz
gparted.tcz
firefox_getLatest.tcz
firefox.tcz
spacefm-doc.tcz
spacefm.tcz
ImageMagick-dev.tcz
ImageMagick-doc.tcz
conky.tcz
xzgv.tcz
xfi.tcz
Xvesa.tcz

and doesn't include either one since I didn't load them as you can see.
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: Juanito on August 10, 2017, 04:50:00 AM
Your onboot.lst seems messed up, it should not contain any file names ending in *md5.txt.

The command to use to see which extensions are loaded is "tce-status -i", the following command will show which X server extensions are loaded:
Code: [Select]
$ tce-status -i | grep X
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: curaga on August 10, 2017, 05:23:20 AM
If you are using Xorg, google xorg.conf, arch wiki tends to have good explanations.
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: marky on August 10, 2017, 05:48:37 AM
Your onboot.lst seems messed up, it should not contain any file names ending in *md5.txt.

The command to use to see which extensions are loaded is "tce-status -i", the following command will show which X server extensions are loaded:
Code: [Select]
$ tce-status -i | grep X

I'd love to do it but I'm not able to copy the result from the Terminal.
Sending along phone pictures then:
https://drive.google.com/open?id=0B4YHneheJg-vMzVnaVhJSjRYQkk (https://drive.google.com/open?id=0B4YHneheJg-vMzVnaVhJSjRYQkk)
https://drive.google.com/open?id=0B4YHneheJg-vTTNOb01MNFBnNms (https://drive.google.com/open?id=0B4YHneheJg-vTTNOb01MNFBnNms)
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: Juanito on August 10, 2017, 06:01:22 AM
That confirms that you have both Xorg-7.7 and Xvesa loaded - in this case tinycore will use the one that was loaded last, presumeably Xorg-7.7, but you can confirm with this command:
Code: [Select]
$ cat /etc/sysconfig/Xserver
As mentioned previously, you need to reboot and only load one of Xfbdev, Xorg-7.7, Xvesa
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: marky on August 10, 2017, 06:26:47 AM
Xvesa came out after that command, but the others are not included in onboot.lst, so how to exclude them from boot?
Quote
You will need to ensure that Xorg-7.7 is not listed "onboot",

And in what way please?
I didn't load anything deliberately, just installed TC and several basic apps.
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: Juanito on August 10, 2017, 06:33:44 AM
The easiest way to edit onboot.lst is to use the apps gui - apps/maintenance/onboot maintenance

It would also probably be a good idea to read this: http://tinycorelinux.net/book.html
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: marky on August 10, 2017, 06:47:01 AM
The easiest way to edit onboot.lst is to use the apps gui - apps/maintenance/onboot maintenance

My onboot.lst posted above is taken just from apps/maintenance/onboot maintenance thing.
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: Juanito on August 10, 2017, 07:04:42 AM
To fix things, you will either need to reboot or, if /etc/sysconfig/Xserver=Xvesa, exit to the prompt using the exit icon and "startx"
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: polikuo on August 10, 2017, 07:06:43 AM
If I were you, I'd re-configure the onboot.lst

How did you generate it in the first place ?
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: marky on August 10, 2017, 07:42:10 AM
To fix things, you will either need to reboot or, if /etc/sysconfig/Xserver=Xvesa, exit to the prompt using the exit icon and "startx"
Done that, it didn't change a thing.

How did you generate it in the first place ?
Just copied and pasted from onboot.lst

Quote
If I were you, I'd re-configure the onboot.lst
How?
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: polikuo on August 10, 2017, 08:26:33 AM
How did you generate it in the first place ?
Just copied and pasted from onboot.lst

I mean where ? Which ISO ?

Quote
Quote
If I were you, I'd re-configure the onboot.lst
How?

Replace the content inside with default xbase.lst
Code: [Select]
Xvesa.tcz
aterm.tcz
flwm_topside.tcz
wbar.tcz
Title: [SOLVED] Re: Xvesa fix and/or resolution choice on boot
Post by: marky on August 10, 2017, 10:24:20 AM
Xlibs in onboot.lst turned out to be a problem.
After deleting it from there all runs smooth now.
On first reboot the resolution choice has appeared and now I can change it any time i want it from the ControlPanel on both computers.
How Xlibs got in there is a little mysterious for me as I've never messed up with the system settings except installing some apps.

Anyway, thanks for your help guys.
Title: Re: [SOLVED] Re: Xvesa fix and/or resolution choice on boot
Post by: polikuo on August 10, 2017, 10:43:17 AM
Xlibs in onboot.lst turned out to be a problem.
After deleting it from there all runs smooth now.
On first reboot the resolution choice has appeared and now I can change it any time i want it from the ControlPanel on both computers.
How Xlibs got in there is a little mysterious for me as I've never messed up with the system settings except installing some apps.

Anyway, thanks for your help guys.

I don't think so.
Xlibs is required to start a X server.
Is it redundant to be listed in onbllt.lst? Yes.
Is it the cause to your misery? No.
The other files are more likely to bring about the trouble.
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: marky on August 10, 2017, 11:00:15 AM
Well, Xlibs is not now in onboot.lst and all is fine.
But it is still listed as present after that ...| grep X command along with: Xorg-7.7-lib, Xprogs and Xvesa and a long list of others as well.
Startx from prompt is working, BTW.
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: Juanito on August 10, 2017, 11:02:41 AM
That's because an extensions dependencies are loaded recursively - see:

http://tinycorelinux.net/8.x/x86/tcz/Xvesa.tcz.tree
Title: Re: Xvesa fix and/or resolution choice on boot
Post by: coreplayer2 on August 10, 2017, 11:53:31 AM
It's strange that this is not the first time recently a forum OP has inadvertently messed up their onboot.lst so badly that systems no longer boot as desired..   Becoming a trend?  There must be a good reason why this is happening, right?