Community discussions

MUM Europe 2020
 
iam8up
Member
Member
Topic Author
Posts: 312
Joined: Sun Oct 28, 2007 10:58 pm
Location: Troy, OH
Contact:

Starting Dude on Linux upon boot

Fri Aug 08, 2008 5:45 am

Has anyone come up with a solution to start the Dude server so all you have to do is reboot the server? I would like to put my Dude server (that is running CentOS and Gnome) in a rack and not have to get some sort of head to it just to start Dude.

I tried using an init script and /etc/rc.local but when invoked by root from the init stage $DISPLAY is empty so wine doesn't know where to put the window for Dude.

If the command is executed from the GUI terminal it works perfectly fine, but I don't know how to automate anything like that. Has anyone figured this one out?
 
Torin
just joined
Posts: 4
Joined: Fri Jun 01, 2007 6:17 pm

Re: Starting Dude on Linux upon boot

Tue Aug 12, 2008 4:08 pm

Hi

Little faq:

edit /etc/inittab:
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

edit /etc/X11/xdm/Xsetup_0:

# run dude
/usr/bin/wine /root/.wine/drive_c/Program\ Files/Dude/dude.exe --server &

Work fine ;)

Torin
 
iam8up
Member
Member
Topic Author
Posts: 312
Joined: Sun Oct 28, 2007 10:58 pm
Location: Troy, OH
Contact:

Re: Starting Dude on Linux upon boot

Tue Aug 19, 2008 8:13 pm

I found a solution already. The above post won't work, I don't believe.

Dude requires to run from wine. Wine requires X. While root is going though init.d it has no X interface to output what is necessary for Dude =/
 
digicomtech
Frequent Visitor
Frequent Visitor
Posts: 75
Joined: Fri Apr 20, 2007 5:03 pm
Location: Alma, Qc, Canada
Contact:

Re: Starting Dude on Linux upon boot

Thu Aug 28, 2008 6:00 pm

And what is the solution you have found and does it work ... ?
 
iam8up
Member
Member
Topic Author
Posts: 312
Joined: Sun Oct 28, 2007 10:58 pm
Location: Troy, OH
Contact:

Re: Starting Dude on Linux upon boot

Fri Aug 29, 2008 4:00 am

Half way at this point.

It will automatically login with my custom user, and will start The Dude. However, it is unable to ping anything (local problem). I used the GUI in the System menu on CentOS 5.

The user itself can ping from the shell (probably a GUI app, if there is one) so I know it isn't a permissions issue. I haven't had any time to work on this, but I will post when I get it figured out.
 
iam8up
Member
Member
Topic Author
Posts: 312
Joined: Sun Oct 28, 2007 10:58 pm
Location: Troy, OH
Contact:

Re: Starting Dude on Linux upon boot

Thu Oct 23, 2008 5:50 am

Solved by using RouterOS instead of a Linux distro.
 
idzole32
just joined
Posts: 1
Joined: Fri Jun 04, 2010 9:37 am

Re: Starting Dude on Linux upon boot

Fri Jun 04, 2010 9:44 am

thx, solved by running under administrator previledged :)
 
HellMind
Member Candidate
Member Candidate
Posts: 146
Joined: Mon Jun 26, 2006 11:58 pm

Re: Starting Dude on Linux upon boot

Sat Nov 20, 2010 5:37 pm

The best way is using xvfb-run
 
celestius
just joined
Posts: 19
Joined: Fri Jun 08, 2007 8:02 pm

Re: Starting Dude on Linux upon boot

Tue Nov 23, 2010 1:07 pm

I run it in an nx session. Installed nomachine on my server which is a secure remote access management software. Log into it and run the dude on that session, then disconnect from the session and it stays running.
 
User avatar
EMOziko
Member Candidate
Member Candidate
Posts: 129
Joined: Mon Aug 23, 2010 9:42 pm
Location: Georgia

Re: Starting Dude on Linux upon boot

Thu Nov 25, 2010 9:30 am

I have centOS and I installed RouterOS on XEN. Then installed the dude on routeros. and it works fine.
The Dude on wine is not stable and it's requiring X server.
We want new versions of The Dude!!!!!!!

Who is online

Users browsing this forum: No registered users and 9 guests