4MLinuxThis forum is for the discussion of 4MLinux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Now on 4MLinux v4.14.25-smp on i686 there are "Poweroff" and "Reboot" entries in the startmenu. Clicking them brings up a dialog:
"Poweroff? [yes] [no]"
...and then nothing happens.
Entering into terminal "poweroff" or "reboot" does not have any effect either. (just goes to new line, no error messages or such)
/etc/acpi/acpid.cfg looks like this:
Quote:
#Default action when PowerOff button is pressed:
BUTTON=poweroff
#Default action when laptop lid is closed:
LID=poweroff
Not sure
I think with a previous install I did that.
Following the instruction of this post: https://www.linuxquestions.org/quest...4/#post5416695
But now when installing the newer version, I do not remember doing that. But maybe I did it?
Anyway, the etc/init.d/autostart.sh looks this:
Quote:
cupsd 2>/dev/null
modprobe loop 2>/dev/null
mount -a 2>/dev/null &
/usr/share/server/autostart.sh 2>/dev/null &
startx
Either remove the startx command from the autostart script (to restore the default 4MLinux settings), or you have to use the following two-step poweroff (or reboot):
Hm, that works but is there no other way?
I have set up the laptops of my mother (and some other people) with 4M because it works good on those old machines and is easy to use for them. But having to click two things or 'type cryptic things' just to turn the computer on or off is makes it more complicated.
Hm, that works but is there no other way?
I have set up the laptops of my mother (and some other people) with 4M because it works good on those old machines and is easy to use for them. But having to click two things or 'type cryptic things' just to turn the computer on or off is makes it more complicated.
Try to replace "startx" with "startx &" in the /etc/init.d/autostart.sh file.
You're not the first person who dislikes the necessity to execute the startx command, so...
Starting from June 2018, all new 4MLinux releases will include the following /etc/startx.conf file:
Code:
# Start X during the boot:
STARTX=yes
# Require password:
PASSWD=yes
STARTX=yes --> JWM started automatically by 4MLinux
STARTX=no --> JWM not started automatically (you must execute "startx")
PASSWD=yes --> password required by 4MLinux (login screen enabled)
PASSWD=no --> password not required by 4MLinux (login screen disabled)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.