LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   VNCserver - how to configure session (http://www.linuxquestions.org/questions/linux-software-2/vncserver-how-to-configure-session-140470/)

sokar 01-30-2004 03: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)

Thanks

RolledOat 01-30-2004 03:47 PM

You need to look at ~/user in
.vnc
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.

R.O.

sokar 01-30-2004 04: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

thanks

RolledOat 01-30-2004 04:22 PM

Cool, happy trails.

R.O.

patpawlowski 02-04-2004 08: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 11:43 AM

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.

hlrguy


All times are GMT -5. The time now is 04:18 AM.