LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux
User Name
Password
4MLinux This forum is for the discussion of 4MLinux.

Notices


Reply
  Search this Thread
Old 09-04-2015, 11:01 AM   #1
Cegar31
LQ Newbie
 
Registered: Sep 2015
Location: Costa Rica
Distribution: Linux Lite 2.6 LTS, 4MLinux 13.1 Stable, Ubuntu 15.04 LTS, Puppy Linux 5.2.8, Lubuntu 15.04 LTS.
Posts: 27

Rep: Reputation: Disabled
Unhappy How to start "X" automatically?


Please help me, recently I installed 4MLinux 13.0, but can't I start "X" automatically, only for root and password.
Somebody can help me please.

Last edited by Cegar31; 09-07-2015 at 07:55 PM. Reason: number less
 
Old 09-04-2015, 11:38 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
I've never used 4MLinux but the standard for many Linux distributions is to set the /etc/inittab file, the line below:

Code:
id:5:initdefault:
If you have the number 5 as shown in the line above or on some systems the number 4 will give you a GUI. If you have 3 or lower, change it. If that doesn't help, good luck. They seem to have a fairly adequate documentation site.
 
1 members found this post helpful.
Old 09-04-2015, 11:52 AM   #3
Cegar31
LQ Newbie
 
Registered: Sep 2015
Location: Costa Rica
Distribution: Linux Lite 2.6 LTS, 4MLinux 13.1 Stable, Ubuntu 15.04 LTS, Puppy Linux 5.2.8, Lubuntu 15.04 LTS.
Posts: 27

Original Poster
Rep: Reputation: Disabled
How to do it, I'm a newbie.
 
Old 09-04-2015, 12:42 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
According to the 4M directions, you use "startx". (http://4mlinux.blogspot.com/2013/01/...-your-hdd.html)
 
Old 09-04-2015, 12:42 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
well from reading the os's web page ( what little there is )
it is a mini / micro install

-- bare bones

did you by chance NOT install a video driver for your card ???????
http://sourceforge.net/projects/linu.../13.0/drivers/

the m4l download page points to this sf page

these are NOT included in the iso image
 
Old 09-04-2015, 01:16 PM   #6
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 might do better with Mint. It is more oriented to new users.
 
Old 09-04-2015, 01:22 PM   #7
Cegar31
LQ Newbie
 
Registered: Sep 2015
Location: Costa Rica
Distribution: Linux Lite 2.6 LTS, 4MLinux 13.1 Stable, Ubuntu 15.04 LTS, Puppy Linux 5.2.8, Lubuntu 15.04 LTS.
Posts: 27

Original Poster
Rep: Reputation: Disabled
Ok, thanks
 
Old 09-04-2015, 01:25 PM   #8
Cegar31
LQ Newbie
 
Registered: Sep 2015
Location: Costa Rica
Distribution: Linux Lite 2.6 LTS, 4MLinux 13.1 Stable, Ubuntu 15.04 LTS, Puppy Linux 5.2.8, Lubuntu 15.04 LTS.
Posts: 27

Original Poster
Rep: Reputation: Disabled
Linux mint is hard for old computers.
 
Old 09-04-2015, 02:26 PM   #9
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
To run `startx` automatically, create a file at ~/.bash_profile with the following content:
Code:
[[ $(fgconsole 2>/dev/null) == 1 ]] && exec startx -- vt1
http://linuxbbq.org/wiki/index.php/A...gin_in_console

Last edited by Head_on_a_Stick; 09-04-2015 at 02:29 PM. Reason: Removed nonsense
 
1 members found this post helpful.
Old 09-04-2015, 02:35 PM   #10
Cegar31
LQ Newbie
 
Registered: Sep 2015
Location: Costa Rica
Distribution: Linux Lite 2.6 LTS, 4MLinux 13.1 Stable, Ubuntu 15.04 LTS, Puppy Linux 5.2.8, Lubuntu 15.04 LTS.
Posts: 27

Original Poster
Rep: Reputation: Disabled
Ok, thanks

---------- Post added 09-04-15 at 01:35 PM ----------

Thank you Head_on_a_Stick
 
Old 09-06-2015, 12:52 PM   #11
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,254

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by Cegar31 View Post
Please help me, recently I installed 4MLinux 13.1, but can't I start "X" automatically, only for root and password.
Somebody can help me please.
Add the "startx" line at the very end of your /etc/init.d/autostart.sh script. Done !

PS.
4MLinux has its own forum here:
http://www.linuxquestions.org/questions/4mlinux-115/
 
1 members found this post helpful.
Old 09-06-2015, 12:58 PM   #12
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,254

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by yancek View Post
I've never used 4MLinux but the standard for many Linux distributions is to set the /etc/inittab file, the line below:

Code:
id:5:initdefault:
If you have the number 5 as shown in the line above or on some systems the number 4 will give you a GUI. If you have 3 or lower, change it. If that doesn't help, good luck. They seem to have a fairly adequate documentation site.
That will not work in 4MLinux. Try to guess why :-)

Last edited by zk1234; 09-06-2015 at 01:02 PM.
 
Old 09-06-2015, 01:05 PM   #13
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
*puts up hand eagerly*

It uses busybox as PID1
 
Old 09-06-2015, 01:09 PM   #14
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,254

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by John VV View Post
well from reading the os's web page ( what little there is )
it is a mini / micro install

-- bare bones

did you by chance NOT install a video driver for your card ???????
http://sourceforge.net/projects/linu.../13.0/drivers/

the m4l download page points to this sf page

these are NOT included in the iso image
He has no problem with his video card. He asks how to boot directly to X (skipping the tty login screen).
 
Old 09-06-2015, 01:19 PM   #15
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,254

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by Head_on_a_Stick View Post
*puts up hand eagerly*

It uses busybox as PID1
Don't whisper the answers to yancek
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] grep text from a line in between "start" and "end" word deepakdeore2004 Programming 7 08-07-2013 09:45 AM
[SOLVED] "/etc/init.d/apache2" start VS "apache2ctl start" with passenger module (ruby/rails) arond Linux - Server 1 12-13-2010 10:56 AM
fdisk reports odd "Start "and "End" sectors on single partition eponymous Linux - Software 3 10-01-2007 03:41 PM
sunbird 0.3 does not start, error: Segmentation fault : "$prog" ${1+"$@"} polemon Ubuntu 8 01-08-2007 04:22 AM
How to start KDE automaticlly without typing "startx" then "startkde" Jonescity Slackware 8 10-29-2004 09:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux

All times are GMT -5. The time now is 08:00 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