Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: vltcl on December 21, 2020, 03:14:03 AM
-
Hi,
what do you need to run JWM after a fresh installation of tc?
I did tce-ab
and installed jwm. After doing exec /usr/local/bin/jwm
I get error: display not found
-
hELLO FORUM,
with some window managers, after it is installed, then
0) press CTRL ALT BACKSPACE together
(or use "exit to terminal" from TCL exit menu)
1) at the black command screen....... type...... "startx JWM"
sometimes works with window manager(s)
hope for your success.
v
-
Oh I have to add I have the terminal (core 11MB) version (11.1) of tcl, so there is no GUI preinstalled. Therefore ctrl-alt-backspace doesn't work and exit brings me to core login.
-
Hi, vltcl!
Various X servers may use various window managers If You've already installed jwm.tcz, then desktop file in Your /etc/sysconfig directory must be indicating this. try
cat /etc/sysconfig/desktop
If everything ok, You wil see
jwm
responce.
Now You are to load any of the Xvesa, Xfbdev or Xorg-7.7 X servers. Now "startx" command will start the server and window manager selected.
-
type...... "startx JWM"
Hi, I'm pretty sure that startx don't take any arguments.
To specify which window manager (WM), you'll need to modify /etc/sysconfig/desktop
tc@box:~$ cat /etc/sysconfig/desktop
jwm
In case it's not jwm
echo jwm > /etc/sysconfig/desktop
For a WM to be functioning, you'll need a X server. (Xvesa, Xfbdev, Xorg)
Sometimes you'll also need graphics-KERNEL extension and possibly some firmware
Since you mentioned "fresh installation", you may also need wbar and aterm
Let me sum it up:
tce-load -w Xorg jwm graphics-KERNEL wbar aterm
tce-load -i Xorg jwm graphics-KERNEL wbar aterm
-
hello forum,
There is good help on the forum on these topics.
"Openbox" window manager was recommended. It allows users
to have usage of the whole screen real-estate of their vdu (visual display unit)
That. is another free window manager.
There are many window managers. (available in tcl)
thx
v
-
Thank you for your answers.
I tried
tce-load -wi Xorg jwm graphics-KERNEL wbar aterm
But the problem is desktop.sh not found from line 147 of tce-load. Any idea what that means?
-
Hi vltcl
What happens if you try it this way:
tce-load -wi Xorg-7.7 jwm wbar aterm
-
I'm using the following command to load Xorg and JWM in TCL Core Pure64 11.1, I found a needed to specify a few extra extensions so that everything I want functions properly. This is for a Thinkpad R60 with Intel graphics, so replace xf86-video-intel.tcz with something appropriate for your hardware (or xf86-video-vesa.tcz):
tce-load -i xf86-video-intel.tcz xf86-input-evdev.tcz xkeyboard-config.tcz Xorg-7.7-bin.tcz xorg-server.tcz Xlibs.tcz Xprogs.tcz jwm.tcz aterm.tcz
Then you'll need to set up the .jwmrc file to customise it.
-
Hi CNK
The error message:
... But the problem is desktop.sh not found from line 147 of tce-load. Any idea what that means?
suggests that Xorg-7.7 is not getting loaded. It depends on Xprogs.tcz which depends on Xlibs.tcz which
provides desktop.sh.
-
[...]suggests that Xorg-7.7 is not getting loaded. It depends on Xprogs.tcz which depends on Xlibs.tcz which
provides desktop.sh.
How am I supposed to know that, is there any basic knowledge I am missing?
I did tce-load -wi Xorg-7.7 jwm
Then checked cat /etc/sysconfig/destkop
which returned jwm
Then I ran exec /usr/local/bin/jwm
which brought me to a prompt:
error: could not open display
Core Linux
box login:
when I type tc there, the screen shows some weird distortion/noise for a splitsecond and then turns black (the backlights are still on and the pc aswell). I can't do anything then and it takes unusually long to power off the laptop with the button.
-
Which port of TC are you using ?
Example:
tc@box:~$ uname -r
5.4.51-piCore-v8
What hardware do you have ?
-
tc@box:~$ uname -r
5.4.3-tinycore
What hardware do you have ?
Lenovo Thinkpad L450
What exactly do you (and I) need to know?
-
If you load a window manager extension after you have already started a gui, you need to exit to a console prompt and then "startx" in order to be able to start that window manager.
-
Can you specify what that means?
I only see a shell with tc@box:~$
If I exit from that, I am prompted with
Core Linux
box login:
so from there I can only login to tc again. Within the shell startx is not found.
-
tc@box:~$ uname -r
5.4.3-tinycore
You're running 32-bit tinycore
using this repo: http://tinycorelinux.net/11.x/x86/tcz/ (http://tinycorelinux.net/11.x/x86/tcz/)
What hardware do you have ?
Lenovo Thinkpad L450
You (most likely) have Intel CPU, and (probably) AMD GPU
What exactly do you (and I) need to know?
Hardware specs, so we can find out the most suitable drivers for you.
Does your machine have more than 4G of RAM ?
If that's the case, I suggest you switch to 64-bit.
(Since 32-bit operating systems generally don't support RAM more than that, you'll be limit to 4G even if you have more.)
If you're sticking with 32-bit platform
I suggest
tce-load -i Xorg-7.7 jwm wbar aterm
IIRC, graphics-KERNEL is needed for Xorg now
So you'll also need graphics-5.4.3-tinycore
tce-load -i graphics-KERNEL
How does your onboot.lst look like ?
cat /etc/sysconfig/tcedir/onboot.lst
-
Can you specify what that means?
I only see a shell with tc@box:~$
If I exit from that, I am prompted with
Core Linux
box login:
so from there I can only login to tc again. Within the shell startx is not found.
You're already in what we called "console prompt"
[startx not found] --> you haven't loaded Xprog-7.7
How did you install your system ?
Did you use the official tc-install ?
-
I probably messed something up.
tce-load -wi graphics-KERNEL Xorg-7.7 jwm
and then
exec /usr/local/bin/jwm
worked.
BUT:
tce-load -i graphics-KERNEL Xorg-7.7 jwm
would not work because Xorg-7.7 is not found. Is there a known reason for that?
Hardware specs:
4GB RAM
Intel i3 2GHz
I don't know the GPU, how do I find that out on fresh tinycore install?
Also I will switch to 64bit eventually.
Thank you all.
-
You run this the first time to download the extensions as well as install them:
tce-load -wi graphics-KERNEL Xorg-7.7 jwm
Then later you can use:
tce-load -i graphics-KERNEL Xorg-7.7 jwm
As the extensions are already downloaded, the latter command should now work.
"startx" should work in both cases, or at least it does when I load the extensions that I listed earlier.
If you can't check the specs for your laptop to find the GPU, use the "lspci" command and the model will probably be on the line that says "VGA compatible controller:". Sometimes the model info reported there can be a bit cryptic, though hopefully it'll say something to at least indicate Intel/AMD/Nvidea etc.
-
@CNK you are correct.
lspci | grep VGA gives
Intel Corporation HD Graphics 5500 (rev 09)
I believe this can be marked as solved then.
-
Hi vltcl
... I believe this can be marked as solved then.
Done. :)