xboxscene.org forums
OG Xbox Forums => Software Forums => *nix OS on Xbox => Topic started by: ArcticWolf on January 15, 2004, 11:24:00 AM
-
I have Xebian 1.0.0.
I created/edited the file /etc/rc.local to contain the following two lines.
#!/bin/sh
vncserver
It's supposed to launch vnc upon boot, but it doesn't, so I have to manually launch it.
Any help would be appreciated.
Thanks. <
-
I figured out how to do it.
I thought that /etc/rc.local was in all Linux distributions, but it turns out that it's RedHat-specific. Debian doesn't have rc.local.
This is what you do to autolaunch vncserver upon boot in Debian.
Create the script vncserver.sh, which has the following two lines.
#!/bin/sh
su - someuser -c "vncserver -depth 16"
Place the script vncserver.sh into /etc/init.d/ directory.
Issue the following command.
update-rc.d vncserver.sh defaults 99
It was that easy! <
-
I tried this with no luck, does it not work in 1.1.1? <
-
C'mon guys, I know its possible to start vncserver on the current session, GentooX does it, now how do I do it in Xebian? <