Question about running minetest server

User avatar
DMGrier
Member
 
Posts: 23
Joined: Sat Jan 18, 2014 19:32

Question about running minetest server

by DMGrier » Fri Feb 28, 2014 16:00

hello everyone,
I just set up my first Ubuntu server and I wanted one of the things it to do is to run a dedicated minetest server, I used this guide to get started....

http://wiki.minetest.com/wiki/Setting_up_a_server/Ubuntu

I had to reboot the server and I was wondering how to start the minetest server service again? In a Ubuntu gui I would just type in
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest
but when I do this is tries to start it via the GUI which "X" is not installed and I am doing this through PuTTy anyway.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 1976 devon     20   0 17344 1300  972 R    0  0.0   0:00.04 top
    1 root      20   0 24340 2264 1344 S    0  0.1   0:00.79 init
    2 root      20   0     0    0    0 S    0  0.0   0:00.00 kthreadd
    3 root      20   0     0    0    0 S    0  0.0   0:00.00 ksoftirqd/0
    5 root       0 -20     0    0    0 S    0  0.0   0:00.00 kworker/0:0H
    7 root      RT   0     0    0    0 S    0  0.0   0:00.02 migration/0
    8 root      20   0     0    0    0 S    0  0.0   0:00.00 rcu_bh
    9 root      20   0     0    0    0 S    0  0.0   0:00.00 rcuob/0
   10 root      20   0     0    0    0 S    0  0.0   0:00.00 rcuob/1
   11 root      20   0     0    0    0 S    0  0.0   0:00.00 rcuob/2
   12 root      20   0     0    0    0 S    0  0.0   0:00.00 rcuob/3
   13 root      20   0     0    0    0 S    0  0.0   0:00.00 rcuob/4
   14 root      20   0     0    0    0 S    0  0.0   0:00.00 rcuob/5
   15 root      20   0     0    0    0 S    0  0.0   0:00.00 rcuob/6
   16 root      20   0     0    0    0 S    0  0.0   0:00.00 rcuob/7
   17 root      20   0     0    0    0 S    0  0.0   0:00.17 rcu_sched
   18 root      20   0     0    0    0 S    0  0.0   0:00.07 rcuos/0


Plus I don't see the service running anyway, so if someone could tell me how to start the server service through the command line so those in the house could connect.

My next question is should I set a password for those in the house or as long as I stay of the public list it should be fine? If I should set up a password how do I go about doing that in the command line?

Thanks to everyone who reads this and helps me out, I do appreciate it as this is really a learning experience.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Feb 28, 2014 16:28

It is usually a better idea to start Minetest from a screen session.
Please note that wiki.minetest.com is not the official Minetest wiki.
Also running minetestserver(or any other outward facing service) as root is not a good idea, because if someone manages to exploit a vunerability it's directly game over for you as the person already has superuser rights and can control your whole VPS/dedicated server.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
DMGrier
Member
 
Posts: 23
Joined: Sat Jan 18, 2014 19:32

by DMGrier » Fri Feb 28, 2014 17:26

Thanks for the quick reply, I do not believe I followed the part of running it with root as I understand the issues that can cause. Does the guide I follow look like I did everything or will I need to remove those packages and then find the official wiki and start over? Screen is already installed, how would I run minetest from screen>
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Feb 28, 2014 17:49

DMGrier wrote:I do not believe I followed the part of running it with root

If you followed step 4 you are running minetest as root.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
DMGrier
Member
 
Posts: 23
Joined: Sat Jan 18, 2014 19:32

by DMGrier » Fri Feb 28, 2014 18:20

I did not follow step four, plus end of step three says how to set it up without root.
Last edited by DMGrier on Fri Feb 28, 2014 18:21, edited 1 time in total.
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 12 guests

cron