Ben Ladd wrote:
Afternoon all,
Open Suse 10.2 is now installed. I have a question about VNC sessions onto the Suse Box using RealVNC viewer. I cannot connect to the same session after disconnecting it like using Windows RealVNC server.
This question has popped up a lot in my google searches and there are no answers for these guys! Is it because it is not possible? I use VNC for all my other boxes on my network and this is my first linux machine so it would be good if I could use the same stuff for RAS.
How do you set the VNC server in linux to accept reconnection to old sessions? I have tried IPAddress:SessionNo ie: 192.168.0.x:1 and that always starts a new session where you have to log in. Same with ComputerName:SessionNo or just the computername or IPAddress.
I'm guessing there are settings to change - but alas, my skills are poo. :)
I'm assuming the session that you're connecting to was created by something like: vncserver --geometry 1024x768 --depth 24 - standard output tells you the screen number that it's using (s >= 2) If you're not doing the above explicitly, what do you think is? Does ps aux | grep -i vnc show anything? If not, try netstat to see if ports 590x are open. Given that the service *is* running, and you still can't connect, it sounds like a firewall issue to me - assuming SuSEfirewall2, you need to open ports 5900:5909 (*) for TCP (use YaST -> Security -> Firewall -> advanced) (unfortunately VNC isn't in the selection menu, not sure why not, so you have to select the ports manually) I use VNC both into and out of my AMD64 box with no problems. (*) the last digit corresponds to the screen number as s in command vncviewer host:s - opening 0 to 9 allows all likely screens. As you saw, s=1 connects to xdm (IIUIC) and allows a new session. This session closes when you exit... -- HTH Richard. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-amd64+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-amd64+help@opensuse.org