WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] Installing JWM  (Read 8640 times)

Offline vltcl

  • Newbie
  • *
  • Posts: 25
[Solved] Installing JWM
« on: December 21, 2020, 06:14:03 AM »
Hi,
 
what do you need to run JWM after a fresh installation of tc?

I did
Code: [Select]
tce-ab and installed jwm. After doing
Code: [Select]
exec /usr/local/bin/jwm I get error: display not found
« Last Edit: December 25, 2020, 02:07:18 PM by Rich »

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 801
Re: Installing JWM
« Reply #1 on: December 21, 2020, 06:25:47 AM »
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

Offline vltcl

  • Newbie
  • *
  • Posts: 25
Re: Installing JWM
« Reply #2 on: December 21, 2020, 06:32:07 AM »
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.


Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: Installing JWM
« Reply #3 on: December 21, 2020, 07:11:49 AM »
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
Code: [Select]
cat /etc/sysconfig/desktop
If everything ok, You wil see
Code: [Select]
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.

Offline polikuo

  • Hero Member
  • *****
  • Posts: 723
Re: Installing JWM
« Reply #4 on: December 21, 2020, 10:29:21 AM »
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
Code: [Select]
tc@box:~$ cat /etc/sysconfig/desktop
jwm
In case it's not jwm
Code: [Select]
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:
Code: [Select]
tce-load -w Xorg jwm graphics-KERNEL wbar aterm
tce-load -i Xorg jwm graphics-KERNEL wbar aterm

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 801
Re: Installing JWM
« Reply #5 on: December 21, 2020, 12:08:04 PM »
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

Offline vltcl

  • Newbie
  • *
  • Posts: 25
Re: Installing JWM
« Reply #6 on: December 21, 2020, 06:18:05 PM »
Thank you for your answers.

I tried
Quote
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?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: Installing JWM
« Reply #7 on: December 21, 2020, 07:52:21 PM »
Hi vltcl
What happens if you try it this way:
Code: [Select]
tce-load -wi Xorg-7.7 jwm wbar aterm

Offline CNK

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 281
Re: Installing JWM
« Reply #8 on: December 22, 2020, 01:55:38 AM »
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):

Code: [Select]
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.
« Last Edit: December 22, 2020, 01:57:45 AM by CNK »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: Installing JWM
« Reply #9 on: December 22, 2020, 02:05:26 AM »
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.


Offline vltcl

  • Newbie
  • *
  • Posts: 25
Re: Installing JWM
« Reply #10 on: December 22, 2020, 03:32:36 AM »
Quote
[...]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
Quote
tce-load -wi Xorg-7.7 jwm
Then checked
Quote
cat /etc/sysconfig/destkop
which returned jwm
Then I ran
Code: [Select]
exec /usr/local/bin/jwmwhich brought me to a prompt:
Code: [Select]
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.

Offline polikuo

  • Hero Member
  • *****
  • Posts: 723
Re: Installing JWM
« Reply #11 on: December 22, 2020, 06:36:52 AM »
Which port of TC are you using ?
Example:
Code: [Select]
tc@box:~$ uname -r
5.4.51-piCore-v8

What hardware do you have ?

Offline vltcl

  • Newbie
  • *
  • Posts: 25
Re: Installing JWM
« Reply #12 on: December 22, 2020, 08:39:24 AM »
Code: [Select]
tc@box:~$ uname -r
5.4.3-tinycore

Quote
What hardware do you have ?
Lenovo Thinkpad L450
What exactly do you (and I) need to know?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Installing JWM
« Reply #13 on: December 22, 2020, 09:25:36 AM »
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.

Offline vltcl

  • Newbie
  • *
  • Posts: 25
Re: Installing JWM
« Reply #14 on: December 22, 2020, 09:37:30 AM »
Can you specify what that means?
I only see a shell with
Code: [Select]
tc@box:~$If I exit from that, I am prompted with
Code: [Select]
Core Linux
box login:
so from there I can only login to tc again. Within the shell startx is not found.