fatal server error - server is already active for display 0+vnc
Hi. I am trying to install a vncserver on slackware 10.1 This was a breeze to do on redhat. However, it is not as easy to do on slackware.
I found a premade slackware package (for vnc). I installed it with the installpkg command. When I type vncserver, I get the standard looking output
new 'darkstar:4 (root)' desktop is darkstar:4
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/darkstar:4.log
In oreder to get a normal looking desktop going on vnc, you have to uncomment out two lines from your xstartup file.
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
However - THESE FILES ARE MISSING FROM MY XSTARTUP FILE. They are not there.
Upon further inspection of my xstartup file, i noticed that the last line of the file is
twm &
This is an old window manager that is pretty much useless. I have tried changing that line to start xfce4 & (I am using xvce as my window manager)
When i connect to my vncserver from my windows box, I can get the ugly looking screen with about 8 colors. I can see the bash shell. However - when i type startx from the bash shell within the vnc server, I get the following error.
fatal server error
server is already active for display 0
My question is two part. Why are these lines not in my xstartup file.
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
Second - how do i get the vncserver to start a new display on 1 (as it says that the server is already active for display 0)
Thanks in advance.
|