[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vncserver not sourcing .xinitrc



On Fri, Aug 15, 2003 at 08:45:04 -0400, Johann Koenig wrote:
> However, now when I start vncserver with:
> vncserver :1 -geometry 800x600 -alwaysshared
> it does not source my .xinitrc
> 
> All I get is a blank X desktop, not even an xterm. Is there a way to
> specify commands to run when I start it? I've read the vncserver and
> Xvnc man pages. I tried tacking it onto the end of the command line, but
> then it just died instantly with no error messages.

You can try to add the following line to your .vncrc:

$vncStartup = "$ENV{HOME}/.xinitrc";

In my case, I want a different startup script from the normal one,
so I have:

$vncStartup = "$ENV{HOME}/.vnc/xstartup";

HTH,

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Reply to: