SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-10-23 21:36:43

RanmaKei
New Member
Registered: 2012-10-23
Posts: 1

Need assistance having network and vnc server autostart on boot

Love the distro! smile

I got a computer setup as a minecraft server and would like to get the networking and vnc service starting on boot so that I can remote in. Can anyone tell me how to go about doing this?

Offline

Be excellent to each other!

#2 2012-10-23 21:59:57

schwim
#! Die Hard
From: Interweb's #1 Devotee
Registered: 2012-10-11
Posts: 603

Re: Need assistance having network and vnc server autostart on boot

Hi and welcome to the site!

Providing the computer is automatically logging into the desktop, you can edit ~/.config/openbox/autostart and add the commands to get your stuff running asap smile

Offline

#3 2012-11-20 14:31:44

The-1
New Member
From: Cape Town, South Africa
Registered: 2012-11-18
Posts: 2

Re: Need assistance having network and vnc server autostart on boot

schwim wrote:

Hi and welcome to the site!

Providing the computer is automatically logging into the desktop, you can edit ~/.config/openbox/autostart and add the commands to get your stuff running asap smile

You mind sharing what commands to use I'm a total 'noob' when it comes to linux.

Offline

#4 2012-11-20 14:51:47

hozza
Member
From: /dev/null
Registered: 2012-11-20
Posts: 45
Website

Re: Need assistance having network and vnc server autostart on boot

To make "vino" the VNC server to start on startup, just add:

##vnc
/usr/lib/vino/vino-server

To the bottom of your autostart file. (you can edit it by going to your right click Menu>Settings>Openbox>Edit autostart)

Edit: You may want to set the VNC server settings to:

  1. not require you to confirm each connection

  2. not require a VNC password as this requires the Default keyring to be unlocked on the computer, rendering the headless server pointless, as you would need to type in a password on the computer before you can login via. VNC. Obviously only remove the VNC password if your network is secure.

Last edited by hozza (2012-11-20 15:04:42)


facere aut mori conatur

Offline

#5 2012-11-20 14:54:52

hozza
Member
From: /dev/null
Registered: 2012-11-20
Posts: 45
Website

Re: Need assistance having network and vnc server autostart on boot

You can also make CrunchBang auto-login by going to "Menu>System>User Login Settings" then to the Security tab and change the settings as you wish!  smile


facere aut mori conatur

Offline

#6 2012-11-22 09:41:32

The-1
New Member
From: Cape Town, South Africa
Registered: 2012-11-18
Posts: 2

Re: Need assistance having network and vnc server autostart on boot

Awesome, thank you.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo