Jump to content

Restarting a VNC session


Guest Stumbles
 Share

Recommended Posts

Guest Stumbles

I have vnc working nicely. What I'm trying to figure out is this.

 

I'm at machine A and run vncviewer and connect to machine B. That works fine, got the KDE destop and its just like I was setting at machne B. So now I'm done futzing with machine B and close that vnc session. Later on I decide to vnc back into machine B from machine A and nothing happens.

 

Looking at the processes on machine B the vncserver is still running but none of the kde stuff (like it was the first time).

 

The only way I have found to reconnect using vncviewer is to ssh into machine B and restart /etc/init.d/vncserver.

 

Is there some way to automaticlly restart a vnc session?

Link to comment
Share on other sites

  • 2 weeks later...

I know this isn't the answer you are looking for, but you shouldn't have to. I use vnc extensively and never have to do that. Something else is happening. Perhaps you should try to determine when the kde dies (llike maybe right after killing the connection to that vnc server) and read /var/log/syslog to see what happened on the server.

 

Also, are you using x0rfb (or whatever)? or are you just calling "vncserver" by the command line? The second is the way I do it and I'm just wondering because that is where most of my nix vnc experience lies.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...