LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-16-2015, 06:08 AM   #1
mandrakeBren
Member
 
Registered: Jan 2009
Posts: 31

Rep: Reputation: 15
Slax bootable usb - startx: No such file or directory


Sorry if this is an old thread, but I can't find a thread relating to my problem.

I used Yumi 2.0.1.8 and created a bootable usb with Slax 7.0.8 32bit.

It boots up the slax, when I enter startx it gives me the following error:

sh: can't execute 'startx': No such file or directory.

I tried running startx from init 5 as well with no success.
 
Old 07-16-2015, 06:52 PM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
startx is a shell script usually installed in the /usr/bin directory of the root system.

All it is saying is that it isn't installed.

You don't run startx from init 5. Runlevel 5 is reserved for display manager startup, and the display manager has to be installed.

It sounds like you have a base installation, but none of the X tools installed (I'm not certain, as it IS possible to install X utilities/libraries without an X server, in which case you won't get startx or a display manager).
 
Old 07-18-2015, 12:12 PM   #3
mandrakeBren
Member
 
Registered: Jan 2009
Posts: 31

Original Poster
Rep: Reputation: 15
Hi jpollard,

I checked inside the iso image under /slax/ and found 3 files that "indicates" that there is a display manager:
* 02-xorg.sb 12MB
* 03-kdeps.sb 55MB
* 04-kde.sb 23MB

So I googled the 04-kde.sb file and it looks like it is a base kde desktop.

I'm at a loss, all the google searches I have done indicates that it has KDE.

I am going to burn the same iso that I used in YUMI and burn it to a DVD and see if it makes the same.
 
Old 07-18-2015, 02:58 PM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
You may have a display manager installed, and you wouldn't need to use startx.

If you go to runlevel 5 you should get a login window.

Different distributions package things a bit differently - fedora for instance, only installs the display manager IF you select a workstation install.

If you pick a server (no gui) and add a desktop, you still miss a display manager for login, as they are packaged separately - one for each of the desktops that have one.

Last edited by jpollard; 07-18-2015 at 03:00 PM.
 
Old 07-18-2015, 04:00 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,643

Rep: Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551
https://www.slax.org/bg/download.php

Get the usb file maybe and try it.

Pretty sure it ought to boot into a gui by default. Might it be in single user or recovery mode? I'll agree that it could be a video driver issue that maybe you need to use a boot time option. Slax options are kind of unique maybe similar to knoppix. I'm sure they are some place.

Last edited by jefro; 07-18-2015 at 04:02 PM.
 
Old 07-20-2015, 12:14 PM   #6
mandrakeBren
Member
 
Registered: Jan 2009
Posts: 31

Original Poster
Rep: Reputation: 15
Smile

I found the culprit.

It was YUMI-2.0.1.8 all along.

For some reason it is not able to load slax data from /multiboot/slax...

When I tried YUMI-2.0.1.2 and YUMI-2.0.0.5 it worked like a charm.

I guess the next step is to forward the issue to YUMI so they can patch it.

Thanx for all your advice.
 
Old 07-20-2015, 05:48 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,643

Rep: Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551Reputation: 3551
Thanks for the update and solution.
 
Old 11-13-2015, 10:50 PM   #8
The_Chris
LQ Newbie
 
Registered: Nov 2015
Location: Harvest, Al
Distribution: Kubuntu mainly
Posts: 1

Rep: Reputation: Disabled
Same Issue

Good thing I found your post. I was going crazy! Yumi worked with all the others, but Slax left me at a # prompt. Startx didn't work.

Wondering if you ever got anything going. You say it can't work with the MULTIBOOT folder. Any way around it?

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert bootable USB .img file to bootable CD .iso file Chris.Bristol Linux - Software 7 01-12-2013 01:00 PM
Make a usb file drive bootable. davholla Linux - Newbie 8 03-08-2011 02:51 AM
slax bootable USB flash drive error james2b Linux - General 1 04-13-2009 09:09 PM
bootable and emulated slax? OneShirtChris Linux - Newbie 3 09-20-2007 12:58 PM
Thinkpad T60 SD slot bootable? Plan to install Slax linux onto a 4 or 8 GB SDcard jang Linux - Laptop and Netbook 3 12-17-2006 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration