
Sidney, Windows vncserver's behaviour is slightly different from Linux/Unix. In Windows(workstation), there is only one desktop/session so this is the one that is shared. In Linux, each vncserver sponses its own desktop/session which lasts for the lifetime of the server process. Vncserver runs its own pseudo-X-server, Xvnc which is conflicting with the xserver sponsed by start. Have a read of the Xvnc man page. It sounds like you are running init level 3(non-X11). In which cases desktops are unmanaged. If you change the init level to 5, Xdm will be running and display numbers will be managed for you automagically. This will get around the display number problem if your happy with the fact that your local desktop will be seperate from your VNC desktop. But.. I think you are looking for something more along the lines of KDE Desktop Sharing. Haven't used it but have a look at: http://www.tjansen.de/krfb/ Hope this helps. --- Sidney Shapiro <sidney-3Kd7Tu4o6f/sBN0MCq728g at public.gmane.org> wrote: >
VNC is already using display 0, so you would have to do:
startx -- :1
Question, though. The whole point of VNC is that you have an X desktop open from the remote machine. Why start *another* X session on top of it?
Instead, on the remote machine, there should be a ~/.vnc dir, create a file called xstartup, make it executable, and then edit it to start whatever desktop or window manager you want to run on VNC.
Hmmm, I am trying to get my local VNC prog to display the RH X screen to show a client how to make some changes.
Sid
-- The Toronto Linux Users Group. Meetings: http://tlug.ss.org TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE:
http://tlug.ss.org/subscribe.shtml ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca -- The Toronto Linux Users Group. Meetings: http://tlug.ss.org TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml