I can't start Porteus KDE 5.0rc2 in X [SOLVED]

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
Post Reply
User avatar
wread
Module Guard
Module Guard
Posts: 1205
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v5.0-kde-64 bits
Location: Santo Domingo
Contact:

I can't start Porteus KDE 5.0rc2 in X [SOLVED]

Post#1 by wread » 10 May 2021, 19:59

Hi all!

To correct some minor bugs, I tried to run Porteus in X.
Started Porteus in text mode, Ok.
logged in as root, Ok
entered "xinit", but got no X screen...
entered "ctrl-alt-backspace" and got back to text mode with the error messages that some needed fonts were not present, so X aborted!

Please try to duplicate that test..

Where are the missing fonts? I guess they will be introduced later when you start the target desktop, in my case KDE.
In my opinion, this should be corrected, I don't know if that happens with other desktops. I leave that question to the devel team!
The devel team has made a wonderful work and with a little hacking we will make it almost perfect!

EDIT:
entered "xinit", but got no X screen...
FALSE!...Only the background of the terminal is black.
Now you can click whithin the area of the terminal to activate it and give any X command...


Saludos cordiales!
Last edited by wread on 26 May 2021, 20:47, edited 4 times in total.
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

burdi01
Samurai
Samurai
Posts: 151
Joined: 18 Aug 2013, 12:09
Distribution: Slackware PartedMagic Xubuntu
Location: The Netherlands

I can't start Porteus KDE 5.0rc2 in X

Post#2 by burdi01 » 11 May 2021, 08:44

Use "startx" instead of "xinit".
The font messages are "normal" and harmless.
:D

User avatar
wread
Module Guard
Module Guard
Posts: 1205
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v5.0-kde-64 bits
Location: Santo Domingo
Contact:

I can't start Porteus KDE 5.0rc2 in X

Post#3 by wread » 11 May 2021, 20:20

@burdi01
Negative on that!
I need to start the X server and for that you need to call "xinit".
If you call "startx" you call the KDE desktop (in my case) direct!

Of course, the font messages are normal, they say the truth, and are harmless for the KDE-Desktop, but are a bug for the X-server!

Thanks!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

beny
Full of knowledge
Full of knowledge
Posts: 970
Joined: 02 Jan 2011, 11:33
Location: italy

I can't start Porteus KDE 5.0rc2 in X

Post#4 by beny » 12 May 2021, 19:04

hi wread try in another terminal at boot time,but your xinit is like this?

Code: Select all

#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
  xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
  xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
  xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
  xmodmap $usermodmap
fi

# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
  ck-launch-session dbus-launch --sh-syntax --exit-with-session startplasma-x11
else
  dbus-launch --sh-syntax --exit-with-session startplasma-x11
fi
is unclear where you have to work on......
Last edited by Ed_P on 12 May 2021, 19:55, edited 1 time in total.
Reason: Added code tags

burdi01
Samurai
Samurai
Posts: 151
Joined: 18 Aug 2013, 12:09
Distribution: Slackware PartedMagic Xubuntu
Location: The Netherlands

I can't start Porteus KDE 5.0rc2 in X

Post#5 by burdi01 » 19 May 2021, 12:03

If you call "startx" you call the KDE desktop (in my case) direct!
To me that *is* "running Porteus in X", so you must mean something else. Please elaborate.

"startx" invokes /etc/X11/xinit/xinitrc, which in Porteus KDE 5.0rc2 is a symlink to xinitrc.plasma -- do an "ls -l /etc/X11/xinit/ to confirm.
"xinit" starts a giant xterm, which most of the times is unusable.
However "xinit /etc/X11/xinit/xinitrc.openbox" starts an almost normal openbox session -- rightclick to see the menu.

I hope this helps.
:D

Edit May 20, 2021: Corrected the above paths.
Last edited by burdi01 on 20 May 2021, 13:40, edited 3 times in total.

User avatar
wread
Module Guard
Module Guard
Posts: 1205
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v5.0-kde-64 bits
Location: Santo Domingo
Contact:

I can't start Porteus KDE 5.0rc2 in X

Post#6 by wread » 19 May 2021, 19:16

@burdi01

Sorry, but in my system, when I type "xinitrc /etc/xinit/xinitrc.openbox" the answer is "command not found"

:(
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

burdi01
Samurai
Samurai
Posts: 151
Joined: 18 Aug 2013, 12:09
Distribution: Slackware PartedMagic Xubuntu
Location: The Netherlands

I can't start Porteus KDE 5.0rc2 in X

Post#7 by burdi01 » 20 May 2021, 10:14

Aarch! That should have been /etc/X11/xinit/xinitrc.openbox ...
:oops:

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2962
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

I can't start Porteus KDE 5.0rc2 in X

Post#8 by ncmprhnsbl » 20 May 2021, 10:54

burdi01 wrote:
20 May 2021, 10:14
Aarch! That should have been /etc/X11/xinit/xinitrc.openbox
and i think xinit not xinitrc .. ie.

Code: Select all

xinit /etc/X11/xinit/xinitrc.openbox
though, i don't quite get what wread means by "the X server"
... are you maybe talking about twm ? which is xorg's own window manager .. if so, you'd need to install it first: $ getpkg twm
or if it is indeed the "giant xterm" .. there is/was some messages(generated by xterm) about missing fonts, but i don't think they were ever fatal..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

burdi01
Samurai
Samurai
Posts: 151
Joined: 18 Aug 2013, 12:09
Distribution: Slackware PartedMagic Xubuntu
Location: The Netherlands

I can't start Porteus KDE 5.0rc2 in X

Post#9 by burdi01 » 20 May 2021, 13:47

xinit /etc/X11/xinit/xinitrc.openbox
Yes, that is what it should have been.
I do not know what made me mess up things several times in a row.
Normally I do not make that kind of errors -- I hope.
And indeed wread did not elaborate as requested on what he wants to accomplish.
:oops:

Post Reply