X and Fluxbox :: startx with vncserver



Do you mind sharing how you got it running at boot time? I tried putting the two commands in .xinitrc put it gets a permission denied and tried in bootlocal but it's not running when I check ps ax. I would appreciate a little guidance. Thanks

Chris

Putting it in .xinitrc will not work because it starts its own x session.
Putting it in bootlocal won't work because you have not yet logged in when the script runs.

Replace "startx" with "vncserver" in /home/dsl/.bash_profile and it should start automatically when you log in.

Thanks, Mik. I get permission denied errors from home/dsl/.vnc and X doesn't start. Does it need to be sudo vncserver?

Chris

Shouldn't need to be, since it is running a server for your personal desktop.  Also, /home/dsl/.vnc should be owned by dsl, so you shouldn't get a permission error for it.
Quote (mikshaw @ Aug. 08 2005,20:00)
You shouldn't need to bother with xinitrc, since you're not starting x as normal.  VNCserver is a wrapper that starts X for you.  As long as you've got it configured properly, the command "vncserver" or "vncserver :0" should start up vncserver with a useable X session.

You might need to create or edit ~/.vnc/xstartup and add fluxbox to that, or you could just get a blank screen and an xterm.

I did this and in xstartup there already was a fluxbox. When I want to connect to the vncserver it asks for a password. I search the forum but nobody has this error.
I already created a password for dsl and root, because with ftp it also asks for a password but this hadn't any succes.

Next Page...
original here.