init 4 > cannot find xdm

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
vbsql7
Ronin
Ronin
Posts: 1
Joined: 13 Oct 2016, 00:22
Distribution: Porteus-v3.1-i486
Location: Atlanta, GA

init 4 > cannot find xdm

Post#1 by vbsql7 » 13 Oct 2016, 00:31

I have a brand new Porteus-v3.1-i486 install on an old PC.
Booting to text mode seems to go OK.

Now trying to launch the gui using 'init 4' and it spawns repeated errors of:

Code: Select all

No such file or directory: 
/usr/bin/xdm
... until the process is killed.

startx does nothing.
Neither does 'init 5'.

I tried 'apt-get install lxde-common' but I can't even run 'sudo' or 'apt-get' commands.

I'm using Porteus after failing with other small Linux distros because I have graphics issue and Porteus would allow me to configure the install to boot up in text mode.

Any guidance is greatly appreciated!

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: init 4 > cannot find xdm

Post#2 by Bogomips » 13 Oct 2016, 00:46

Welcome to Porteus. Please let us know which Desktop you are trying to launch.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: init 4 > cannot find xdm

Post#3 by Jack » 13 Oct 2016, 00:47

Why not boot in Graphics Mode that how I do it and to test it boot in Always Fresh?
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
francois
Contributor
Contributor
Posts: 4902
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: init 4 > cannot find xdm

Post#4 by francois » 13 Oct 2016, 14:17

1.0 login and passwords.
When you get into text mode, you have to enter login which is guest

Code: Select all

login: guest
passwd: guest
2.0 To boot into X environment.
2.1 Then once in guest account you can try:

Code: Select all

startx
2.2 If this does not work, this might mean that you do not have the desktop environment (How did you install porteus by the way?And on what media are you installed: hdd, usb, cd?). To get to know if the desktop environment module is there (kde, xfce, mate, etc.), you have to look in the file structure. I

To find your way in the file structure in text mode use mc (midnight commander)

Code: Select all

mc
And look into the /porteus/base folder and tell us what there is. The desktop environment should be there.

3.0 Verifying and installing DE.
You cannot install packages with apt-get, you are in a slackware derivative. This is no ubuntu or debian.

Code: Select all

apt-get install lxde-common
will not work

I would be surprised that you have downloaded porteus without the DE (Desktop Environment). If missing, the best thing would be to download the desktop environment (xfce for an old machine is a good choice) from here
And put it into the /porteus/base or /porteus/modules folder.

4.0 Packages installation under porteus.
The package manager will not install a DE (see above).

To install other type of packages you have to be in root mode and to do it the porteus way with porteus pacakage manage called usm:
su
toor # which is the password for root
usm -u usm
usm -u all
usm -h #to get the possible commands.

Don't hesitate to ask questions and even more important please describe in details what you have done, step by step, and the results. Outputs would be appreciated.
Voltaire: Le mieux est l'ennemi du bien.

Post Reply