# VNCSERVER logout behavior

**URL:** <https://forums.suse.com/t/vncserver-logout-behavior/27262>\
**Category:** SLES Configure-Administer\
**Created:** [July 21, 2015, 11:50pm UTC](https://forums.suse.com/t/vncserver-logout-behavior/27262 "2015-07-21T23:50:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikenash](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mikenash](https://forums.suse.com/u/mikenash)\
**Post date:** [July 21, 2015, 11:50pm UTC](https://forums.suse.com/t/vncserver-logout-behavior/27262/1 "2015-07-21T23:50:17Z")

</div>

I am starting the VNC server with YAST and have configured Network Sevices → Network Services (xinetd) → xvnc1. I set Wait = yes and added alwayshared to the server arguements. With this configuration I am able to start a session and log out completely. I can also start two sharing sessions. However , there iare two behaviors that I want to understand and change. The first is that when I start the second session it automatically goes to the session with out logging in. I would like to log on with a password. I changed -securitytypes VncAuth and added -rfbauth /root/.vnc/passwd but it states that no password has been configured for VNC Auth! I used vncpasswd to create one. The second behavior is when I log out. Logout closes both sessions.  
I would have expected the seesion to close where logout was performed. Why both and can this be changed?

---

<div class="post-metadata">

**Author:** ![mikenash](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mikenash](https://forums.suse.com/u/mikenash)\
**Post date:** [July 22, 2015, 5:27pm UTC](https://forums.suse.com/t/vncserver-logout-behavior/27262/2 "2015-07-22T17:27:03Z")

</div>

I have made some progress with the log in behavior. In addition to the changes made to xvnc1 I needed to change the user from nobody to root. I do not know if it is possible to change the log out behavior. A log out from either session will cause both sessions to change. Is it possible to log out only the current session?

---

<div class="post-metadata">

**Author:** ![mikenash](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mikenash](https://forums.suse.com/u/mikenash)\
**Post date:** [July 23, 2015, 10:25pm UTC](https://forums.suse.com/t/vncserver-logout-behavior/27262/3 "2015-07-23T22:25:31Z")

</div>

How do you define the view-only sessions for the vncserver?
