VNCserver




Hi,

I tried to setup VNC server.

If I log in under the user x1,
I can start the vncserver with vncserver:1

Now, I wish to start into a script, vncserver :1 (into Rc.d/rc.local)

Seems to work. but how does the script know, under which username, I
wich to start ???
Last time, It start vncserver, under Root !!!?!?!?!?! (Not what I want..)

In my rc.local, I just added :
vncserver :1

Thanks
.



Relevant Pages

  • Re: vncserver autostart on knoppix
    ... >> I quite new to Linux and I would like to try to set the vncserver ... > the other hand, boots to runlevel 2, and Knoppix is debian-based. ... I log in via server keyboard as root, into KDE, and do a ps -ef |grep dcop, ... How do I modify the script (or create a new ...
    (alt.os.linux)
  • Re: vncserver at startup
    ... I'm not familiar with the vncserver, ... setuid bit on the script to run it as hansa. ... > Why doesn't the run-hansa.sh script execute at boot. ...
    (alt.os.linux)
  • Strange behaviour of my script within /etc/rc.d
    ... While trying to get my script within the /etc/rc.d tree operational I ... I intended to start a vncserver as part of the boot process. ... FreeBSD system. ...
    (freebsd-questions)
  • 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. ... (executing vncserver on the CLI as root). ...
    (Debian-User)
  • RE: VNCserver - gnome programs crashing.
    ... manually I also used the -name gnome and I tried the kde option. ... When you start the vncserver do you use any Xnc settings in the ... My command looks like this: ... simple script to fire it up for me; with starting it from the script, ...
    (RedHat)