WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Please help with X  (Read 3431 times)

Offline t18

  • Newbie
  • *
  • Posts: 42
Please help with X
« on: May 29, 2024, 03:35:27 AM »
Hello,

Tiny Core is new to me. I think it gives old hardware a wonderful chance to come back to life. I want to say thank to all the TC staff.

I've successfully installed it on my Pentium II laptop with 160 Mb RAM, Xvesa works pretty fine. Only Xmms is noisy while I switch among windows while it's running.

But I'd like to install at least software like Abiword, Gnumeric and Gimp, and they need X.

So I installed Xorg but unsuccessfully. Other than xvesa I installed:


  • graphics
    Xorg
    Xorg-dev
    Xorg-3D
    Xorg-3D-dev
    flwm
    Xorg-jwm
    compiletc
    automake

and have built the latest siliconmotion driver, but it doesn't work.

Any way to get X working? Many thanks.


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Please help with X
« Reply #1 on: May 29, 2024, 03:48:12 AM »
Assuming you are using tc-15.x x86.

Boot without loading any extensions then:

Code: [Select]
tce-load -i Xorg-7.7 flwm aterm wbar
startx

..and x should work.

Offline t18

  • Newbie
  • *
  • Posts: 42
Re: Please help with X
« Reply #2 on: June 01, 2024, 12:36:17 PM »
Thank you so much for your reply, Juanito.

Had to reinstall from scratch and now TC is in /dev/sda3, bootable partition.

The network is up and I can ping any website but can't download+install anything.
Tce-load gives me the error "  wget: bad address ' '   ".

What did I forget, please?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Please help with X
« Reply #3 on: June 01, 2024, 12:46:59 PM »
After booting tinycore with a wired network connection does this work:
Code: [Select]
ping -c2 repo.tinycorelinux.net

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: Please help with X
« Reply #4 on: June 01, 2024, 05:03:02 PM »
Hi t18
I just checked, the repo is down. That's why you are getting that error.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: Please help with X
« Reply #5 on: June 01, 2024, 11:53:51 PM »
Hi t18
The repo is back up. tce-load should now work for you.

Offline t18

  • Newbie
  • *
  • Posts: 42
Re: Please help with X
« Reply #6 on: June 02, 2024, 03:18:01 AM »
Many thanks Rich, but just now (abt 07:00 GMT) it doesn't work.

"2 packets transmitted, 0 received, 100% loss".

Might it be down again?


Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Please help with X
« Reply #7 on: June 02, 2024, 04:14:03 AM »
The firewall blocks pings. Please ping google.com instead.
The only barriers that can stop you are the ones you create yourself.

Offline t18

  • Newbie
  • *
  • Posts: 42
Re: Please help with X
« Reply #8 on: June 02, 2024, 06:38:24 AM »
Pinging Google works, downloading from the Tc repo doesn't.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Please help with X
« Reply #9 on: June 02, 2024, 08:04:13 AM »
It's working for me:
Code: [Select]
tce-load -w 9vx
Downloading: 9vx.tcz
Connecting to repo.tinycorelinux.net (128.127.66.77:80)
saving to '9vx.tcz'
9vx.tcz              100% |*********************************************************************************************| 1780k  0:00:00 ETA
'9vx.tcz' saved
9vx.tcz: OK

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: Please help with X
« Reply #10 on: June 02, 2024, 08:21:47 AM »
Hi t18
Pinging the repo will temporarily lock you out:
... About the ping, that's part of the port scanning protection. You essentially blocked yourself for a short time.

Also, check that your  tcemirror  file is correct:
Code: [Select]
tc@E310:~$ cat /opt/tcemirror
http://repo.tinycorelinux.net/

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Please help with X
« Reply #11 on: June 02, 2024, 10:04:35 AM »
You can also set a mirror manually in the file Rich mentioned:
http://wiki.tinycorelinux.net/doku.php?id=wiki:mirrors
The only barriers that can stop you are the ones you create yourself.

Offline t18

  • Newbie
  • *
  • Posts: 42
Re: Please help with X
« Reply #12 on: June 02, 2024, 04:46:31 PM »
Also, check that your  tcemirror  file is correct:
Code: [Select]
tc@E310:~$ cat /opt/tcemirror
http://repo.tinycorelinux.net/

This was the problem. That file was blank. Fixed.  :D

And now...

Assuming you are using tc-15.x x86.

Boot without loading any extensions then:

Code: [Select]
tce-load -i Xorg-7.7 flwm aterm wbar
startx

..and x should work.

GRRREEEAT WORK!!! Congrats and thank you so much my gurus!!!

It works! Now I'd like to fine-tune it like in Xvesa.
At the moment the resolution is 800x600 while should be 1024x768 and the touchpad can't double click on its pad, I have to use buttons.

Are there any more extensions to install to do that?

Attached is the Xorg.0.log file, it has some errors.
« Last Edit: June 02, 2024, 05:07:06 PM by t18 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: Please help with X
« Reply #13 on: June 02, 2024, 11:26:29 PM »
Hi t18
... and have built the latest siliconmotion driver, but it doesn't work. ...
Your Xorg.log file shows it's looking for it but can't find it:
Code: [Select]
[   355.463] (==) Matched siliconmotion as autoconfigured driver 0
[   355.463] (==) Matched modesetting as autoconfigured driver 1
[   355.463] (==) Matched fbdev as autoconfigured driver 2
[   355.463] (==) Matched vesa as autoconfigured driver 3
[   355.463] (==) Assigned the driver to the xf86ConfigLayout
[   355.463] (II) LoadModule: "siliconmotion"
[   355.466] (WW) Warning, couldn't open module siliconmotion
[   355.466] (EE) Failed to load module "siliconmotion" (module does not exist, 0)

After you built the driver, what did you do with it?

Offline t18

  • Newbie
  • *
  • Posts: 42
Re: Please help with X
« Reply #14 on: June 03, 2024, 05:11:58 AM »
Hi t18
... and have built the latest siliconmotion driver, but it doesn't work. ...
Your Xorg.log file shows it's looking for it but can't find it:
Code: [Select]
[   355.463] (==) Matched siliconmotion as autoconfigured driver 0
[   355.463] (==) Matched modesetting as autoconfigured driver 1
[   355.463] (==) Matched fbdev as autoconfigured driver 2
[   355.463] (==) Matched vesa as autoconfigured driver 3
[   355.463] (==) Assigned the driver to the xf86ConfigLayout
[   355.463] (II) LoadModule: "siliconmotion"
[   355.466] (WW) Warning, couldn't open module siliconmotion
[   355.466] (EE) Failed to load module "siliconmotion" (module does not exist, 0)

After you built the driver, what did you do with it?

...
Had to reinstall from scratch and now TC is in /dev/sda3, bootable partition.
...

I've reinstalled TC from scratch and kept the basic system, as Juanito suggested.
I haven't rebuilt nor reinstalled anything.

The above matches are part of the Xorg process, I've seen them on other distros.
And I wonder why it looks for the correct module and doesn't have it.