From: Dag S. S. <ds...@fr...> - 2004-11-30 10:32:35
|
> i am not sure that a rc script could work since the vnc needs X to be up > and running ( it needs a $DISPLAY ). so i am looking for a way to start > it with gdm or user session. On the client, $DISPLAY is always ":0" (short for localhost:0). So you do, on the shell screen: DISPLAY=:0 some-vnc-command ...and some-vnc-command will pop up whatever needs X on the graphical screen. You might need to do "xhost +" from within the X session before this (while figuring it out, it is possible to work around that, but for now we're just hackign). // Dag Sverre |