Search found 12 matches

by acecombat2
Sun Jan 19, 2020 7:06 pm
Forum: MX Help
Topic: Anyone here using MX Linux as a server?
Replies: 21
Views: 9973

Re: Anyone here using MX Linux as a server?


I know of no reason MX couldn't be a server but if this is for a dedicated 24x7 server appliance you are better off with a bare bones OS without the "fluff" (IMHO). I have a server that runs pure Debian plus only the packages that are actually need (i.e. Samba). Very stable and very simple upkeep ...
by acecombat2
Sun Jan 19, 2020 6:48 pm
Forum: Software / Configuration
Topic: [SOLVED]How to execute script with sudo using session and startup?
Replies: 12
Views: 2524

Re: How to execute script with sudo using session and startup?



If I understood correctly, following dolphin_oracle instruction automatically the script will run as part of systemd boot sequence?


Actually you can just use systemctl to enable it.

I saved your script to /etc/init.d/vbox and made it executable then:
empty@mx:~
$ sudo systemctl enable --now ...
by acecombat2
Sun Jan 19, 2020 10:25 am
Forum: Software / Configuration
Topic: MX Linux and Windows 10 / dual boot from two drives [Solved]
Replies: 16
Views: 3974

Re: MX Linux and Windows 10 / dual boot from two drives [Solved]

I'm using my computer as server mainly. So I don't usually need dual boot.

What I'm using right now practically make use of virtual machine, mine using vm workstation with windows 10. using windows 10 for printing since the driver is the main issue for linux.

For backup using mx tools of snapshot ...
by acecombat2
Sun Jan 19, 2020 10:17 am
Forum: Software / Configuration
Topic: [SOLVED]How to execute script with sudo using session and startup?
Replies: 12
Views: 2524

Re: How to execute script with sudo using session and startup?


that looks like a sysVinit script.

have you tried enabling the init script at bootup?

sudo update-rc.d path_to_init_script defaults

by convention init scripts are usually kept in /etc/init.d





Less hacky solution: http://0pointer.de/blog/projects/systemd-for-admins-3.html ← convert the ...
by acecombat2
Sun Jan 19, 2020 2:44 am
Forum: Software / Configuration
Topic: [SOLVED]How to execute script with sudo using session and startup?
Replies: 12
Views: 2524

Re: [SOLVED]How to execute script with sudo using session and startup?

JayM Suggestion works except ended up follow the tutorial link create own sudoer.d file.

Don't want to mess with antixxers file.

Then proceed create start up command using session and startup normally without password

Code: Select all

sudo /path/to/script start
Thanks JayM & dolphin_oracle
by acecombat2
Sat Jan 18, 2020 11:42 pm
Forum: Software / Configuration
Topic: [SOLVED]How to execute script with sudo using session and startup?
Replies: 12
Views: 2524

Re: How to execute script with sudo using session and startup?


that looks like a sysVinit script.

have you tried enabling the init script at bootup?

sudo update-rc.d path_to_init_script defaults

by convention init scripts are usually kept in /etc/init.d


am using systemd as default init system. Due to installation of jellyfin. Thus, looking for ...
by acecombat2
Sat Jan 18, 2020 9:32 pm
Forum: MX Help
Topic: Anyone here using MX Linux as a server?
Replies: 21
Views: 9973

Re: Anyone here using MX Linux as a server?


I'm working on a data server using MX19.
Most of the test work I do in a VM (virtual machine).
I make and work with a clone of it as if I make a mistake I'm not sure to be able to repair... I trough away the cloned version, make a new clone and continue...

My current server is a Debian Jessie LTS ...
by acecombat2
Sat Jan 18, 2020 9:26 pm
Forum: MX Help
Topic: Anyone here using MX Linux as a server?
Replies: 21
Views: 9973

Re: Anyone here using MX Linux as a server?



...

Waiting for the day that ZFS can be install without issues in MX 19.



What issues are you having getting ZFS installed and working with MX-19?


I'm kinda forgotten, I think is the dependency (dkms? or zfs-spl) issue could not install even following debian buster guide. I'm currently ...
by acecombat2
Sat Jan 18, 2020 9:18 pm
Forum: Software / Configuration
Topic: [SOLVED]How to execute script with sudo using session and startup?
Replies: 12
Views: 2524

[SOLVED]How to execute script with sudo using session and startup?

Good Morning,

I need help regarding auto start vm workstation application with running a particular vm machine using script. on login.

#!/usr/bin/env bash

### BEGIN INIT INFO
# Provides: vmwareautostart
# Required-Start: $vmware $network $syslog
# Required-Stop: $vmware $network $syslog
# X ...
by acecombat2
Sat Dec 07, 2019 9:07 am
Forum: MX Help
Topic: Anyone here using MX Linux as a server?
Replies: 21
Views: 9973

Re: Anyone here using MX Linux as a server?

I do, am using Mx19 as server. currently I'm using the systemd due to script and ready made setup like jellyfin in repos, plex server, vm workstation, dockers, samba, printer server, and nomachine.

I am using mxlinux as my platform for server due to mxtools that made life easy like disk management ...

Go to advanced search