Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: krytgames on June 27, 2019, 02:39:11 PM

Title: Trouble with xorg-server on MicroCore 10
Post by: krytgames on June 27, 2019, 02:39:11 PM
Hi. I am trying to set up Xorg for MicroCore, but Xorg 7.7 from repository doesnt work, so i decided to start with small - start xorg-server (black screen and cursor).

After some forums and sites serfing i installed drivers for my video, but when i try to type "Xorg" in console, i have this:
"xkbcomp:not found
 Keyboard initialization failed
 Failed to activate virtual core keyboard: 2(EE)".
I already downloaded xkeyboard-config from repository, so now i need a xkbcomp. I donwloaded it and now have a binary. How i can install it?
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: Juanito on June 28, 2019, 06:41:53 AM
Did you use the apps gui or "tce-load -wil" to ensure that you downloaded Xorg-7.7 and all of its recursive deps?

The xorg-server extension will not work without Xorg-7.7.

If you use the apps gui "privides" option, you will see that xkbcomp is provided by Xorg-7.7-bin, which is a recursive dep of Xorg-7.7.
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: krytgames on June 28, 2019, 03:39:12 PM
Ok, but when i starting Xorg7.7 i expecting to see black screen and a cursor, but i see only a black screen. On the Virtual box i had a cursor, but on a laptop - not.

I tried to config the Xorg by typing "sudo Xorg -configure" and that is what i get:
"modprobe:module fbcon not found in modules.dep
intel: waited 2020ms for i915.ko driver to load
Number of created screens does not match number of detected devices."

And this interesting things has in Xorg.0.log file:
"Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmouse' will be disabled.
Disabling Mouse0
Disabling Keyboard0"

And the top mentioned error about created screens. So, please, type, what can i do now?
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: Juanito on June 29, 2019, 02:58:25 AM
What graphics hardware do you have?

Since most hardware will work with Xorg-7.7 without the need for configuration, I suspect your download failed in some way and you do not have all of the extensions you need.
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: krytgames on June 29, 2019, 05:22:13 AM
I have "00:02.1 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)".

Should i reinstall MicroCore?
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: Juanito on June 29, 2019, 07:14:01 AM
There's no need to reinstall Core - if you get to a console prompt Core is working properly.

Do you get a gui with Xvesa?
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: krytgames on June 29, 2019, 07:52:11 AM
I want it because maybe i messed up with config files.

Yes, i can load a CorePlus with my flash-drive (which i think is using Xvesa).

Do you know, can Xvesa runs all Xorg applications (that are written to be used in GNOME or KDE, which as i know, is written for Xorg)?
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: Juanito on June 29, 2019, 08:00:29 AM
If you messed up your configuration files you can delete them.

No, Xvesa will not run all gtk/gnome programs.
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: krytgames on June 29, 2019, 08:10:11 AM
This is the problem. I dont know what files i should delete to reset Xorg to defaults.
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: Juanito on June 29, 2019, 08:22:32 AM
If you didn’t add the files to your backup, you can just reboot.
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: krytgames on June 29, 2019, 11:57:48 AM
No, i packaged files, so they are safe.
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: krytgames on July 02, 2019, 03:43:25 AM
So what file do i need to delete to reset Xorg to defaults. Or should i just reinstall MicroCore?
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: Juanito on July 02, 2019, 03:50:24 AM
The config file(s) for Xorg are not under /home/tc, so unless you added them specifically to your backup (in which case you will know their names) you can reboot and the files will be gone.
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: krytgames on July 03, 2019, 03:43:10 PM
Ok. As i see, i messed up with them, so i will reinstall the system and we will try to install Xorg again.
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: krytgames on July 03, 2019, 03:53:17 PM
Ok. I reinstalled is. So what do i need to do to correctly install Xorg?
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: Juanito on July 03, 2019, 04:27:15 PM
From the console prompt:
Code: [Select]
$ tce-load Xorg-7.7 flwm wbar aterm
$ startx
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: krytgames on July 06, 2019, 01:20:24 AM
But if i want later install a Xfce or Lxde?
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: Rich on July 06, 2019, 08:15:00 AM
Hi krytgames
Then use the  Apps  utility to:
1. Select the  Download Only  option
2. Select  Xfce  and click  Go
3. Click  Apps->Maintenance->OnBoot Maintenance
4. Remove  flwm  from  onboot
5. Add  Xfce  to  onboot
6. Close the  Apps  utility

Click on the  Exit  icon and select  Exit to Prompt. At the prompt, enter  startx.
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: krytgames on July 06, 2019, 08:47:48 AM
Hi. I am only with CLI interface.

So i downloaded Xorg.

In tce, i see many modules of xfce4. Running tce-load -wi xfce doesn't work, because it not finds the xfce. Which modules do i need to install?
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: Juanito on July 07, 2019, 04:06:28 AM
xfwm4 perhaps?
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: krytgames on July 08, 2019, 10:35:28 AM
Ok, thx. I will try all of that and type the result.
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: krytgames on July 09, 2019, 02:38:28 PM
"tce-load Xorg-7.7 flwm wbar aterm" is this command will allows to run all the gdk applications?
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: krytgames on July 10, 2019, 04:51:34 AM
So i manage to run flwm on Xorg, but xfwm doesn't start. :(

So if flwm on Xorg can run all applications, like Diskord, Visual studio and other, i will be happy with that.
Title: Trouble with xorg-server on MicroCore 10
Post by: coreplayer2 on July 10, 2019, 05:17:32 AM
Hello krytgames
There are many WM’s to choose from.  I prefer the lightweight “HackedBox” does exactly what I need


Sent from my iPhone using Tapatalk
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: Juanito on July 10, 2019, 06:50:14 AM
So if flwm on Xorg can run all applications, like Diskord, Visual studio and other, i will be happy with that.
I only use flwm with 32-bit tinycore and everything I use works - you might need Xorg-7.7-3d with some apps though.
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: krytgames on July 12, 2019, 01:09:08 AM
Ok. Thx. I will try. Now i will try to install audio codec and Discord and will write, if this successfull or not.
Title: Re: Trouble with xorg-server on MicroCore 10
Post by: coreplayer2 on July 12, 2019, 06:11:45 AM
I open DiscordApp In Firefox which works great




Sent from my iPhone using Tapatalk