FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-08-2008, 12:31 AM
Jim Pazarena
 
Default vncserver automation

I am having trouble getting vncserver to automatically start after a reboot.
It seems that setting a script in rc.5 doesn't work. signing on to the CLI after
a boot, and it starts up fine. (executing vncserver on the CLI as root).

I am not sure the reason. Is it because the script must be run by root?
Or perhaps even as the last item in rc.5, some other 'x' thing hasn't been set yet?

Suggestions would be much appreciated... I'm, struggling.

Jim


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 04-08-2008, 12:50 AM
Rich Healey
 
Default vncserver automation

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim Pazarena wrote:
> I am having trouble getting vncserver to automatically start after a
> reboot.
> It seems that setting a script in rc.5 doesn't work. signing on to the
> CLI after
> a boot, and it starts up fine. (executing vncserver on the CLI as root).
>
> I am not sure the reason. Is it because the script must be run by root?
> Or perhaps even as the last item in rc.5, some other 'x' thing hasn't
> been set yet?
>
> Suggestions would be much appreciated... I'm, struggling.
>
> Jim
>
>
have you changed your default runlevel to 5? debian defaults to 2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH+sFxLeTfO4yBSAcRAuayAKCdpLpLpOBa4+ySYfN5F7 OewhbW9ACfbp46
1ubp0T2lqvpb75bx801kQeQ=
=Vd/f
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 04-08-2008, 02:56 AM
Jim Pazarena
 
Default vncserver automation

Rich Healey wrote:

Jim Pazarena wrote:


I am having trouble getting vncserver to automatically start after a
reboot.
It seems that setting a script in rc.5 doesn't work. signing on to the
CLI after
a boot, and it starts up fine. (executing vncserver on the CLI as root).

I am not sure the reason. Is it because the script must be run by root?
Or perhaps even as the last item in rc.5, some other 'x' thing hasn't
been set yet?

Suggestions would be much appreciated... I'm, struggling.

Jim




have you changed your default runlevel to 5? debian defaults to 2


actually I had the same script in rc2 & rc5. That doesn't seem to be the
issue.

What I _think_ is that the script isn't being run as root.

Is there a way to specify which user runs a script in the rc?.d routines?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 12:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org