LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-18-2006, 02:33 PM   #1
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Rep: Reputation: 63
vnc session is not exiting at logout


Dear fellows,

I setup a vnc server here, uncommented the lines SESSION_MANAGER and the exec of xinitrc at $USER/vnc/xstartup to allows a full desktop to the user.

The problem is, whem the user logouts from the system (FC5/Gnome), all windows/programs are finished, leaving only a empty background.

The vnc session never ends.

If we close the vnc client, and run it again, it gets the same empty background.

In the server side, the process Xvnc is still running for that user.

The only way to get a fresh session is restarting the whole vncserver.

Anyone knows how to finish a vnc session ? Why the logout button on gnome desktop is not working ?

thanks,
 
Old 07-18-2006, 02:40 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
I don't exit from the Window Manager on my VNC sessions - I just close the VNC client. There's a password for VNC access on my system, so I'm prompted for that password the next time the VNC client is opened, but I don't login to the GUI again.
 
Old 07-18-2006, 02:50 PM   #3
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Original Poster
Rep: Reputation: 63
Hey gilead,

If you try to logout, will you have success ? Or the session will hang, just like mine ?

The real proble is that session eats CPU and memory a lot ! With 7 hanged sessions my machine becomes unusable.

And we never use more than 2 sessions at the same time. We are just a buch of people who needs occasional remote graphical access to the server.
 
Old 07-18-2006, 02:53 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
Yes, once the window manager is closed, it stays closed until the VNC sever is restarted. I haven't tried restarting the window manager though.

Now I just leave the session running and don't try to close the window manager.

Last edited by gilead; 07-18-2006 at 05:20 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to logout of kde session arubin Slackware 8 05-12-2006 10:22 PM
logout of X session from a command line interface? pwc101 Linux - Software 10 05-02-2006 12:01 PM
Save session on logout in Fluxbox berraf Slackware 1 12-22-2005 03:57 AM
need VNC to allow 'logout/login' from Gnome (gnome & VNC runs fine) spudler Linux - Networking 3 11-14-2004 10:02 AM
logout gnome if the session is idle? yenonn Linux - Newbie 0 10-07-2004 12:35 AM


All times are GMT -5. The time now is 07:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration