-   Linux - Software (
-   -   VNCserver - how to configure session (

sokar 01-30-2004 04:23 PM

VNCserver - how to configure session
When i had RH9 running vncserver, a remote vnc client would have access to a gnome desktop. Now, with Fedora, there is just the plain X desktop (the one where there isn't even a menu bar, and the only menu is accessible by left-clicking the mouse). Is there a way to configure vncserver so that clients can see a gnome desktop?

Or, is there a way to make my desktop controlable, meaning, running vncserver on display 0? (to have the same effect that vncserver has on Windows)


RolledOat 01-30-2004 04:47 PM

You need to look at ~/user in
Here is what mine looks like in redhat 8. Backup your old one and see if that still works to start the regular users desktop. You problably have twm or something like that as the X session.

On the :0 front. I know that VNC connects and grabs the first available, but thought the lowest one was 1. If you do this in a console...

init 3
it should kill X, you can start your VNC and see what desktop number it selects. I don't think it is possible though, to have X open locally, and then start a vnc server that also shares the same desktop number as the local one.


sokar 01-30-2004 05:16 PM

right under my nose
well the solution was in deed in the xstartup file, located in the .vnc directory. I just had to uncomment 2 lines, as explained in the file itself


RolledOat 01-30-2004 05:22 PM

Cool, happy trails.


patpawlowski 02-04-2004 09:10 AM

I'm having the same sort of problem. However, my xstartup file only has 2 lines:

# Mandrake Linux VNC session startup script
exec /etc/X11/xinit/xinitrc

I would like for it to use the xfce desktop. How can I set this?

RolledOat 02-04-2004 12:43 PM

Well, the xintrc is tied to the the user's choice of desktop. So if you use KDE normally, but want to use xfce as the VNC desktop, create a new user, log into the desktop as them, change to xfce, then when that user starts xfce, VNC will use it. Otherwise, you can simply comment out the exec line and the put the desired window manager in the xstartup file. Make sure it is in your path.


All times are GMT -5. The time now is 05:55 PM.