Bug 235598

Summary: vncserver not running at startup
Product: [Fedora] Fedora Reporter: Richard Steck <sirius56>
Component: vncAssignee: Adam Tkac <atkac>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-08 14:49:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard Steck 2007-04-07 18:09:16 UTC
Description of problem:
vncserver not running at startup

Version-Release number of selected component (if applicable):
FC7 Test 3

How reproducible:
Please see steps below.

Steps to Reproduce:
1.In Services, checkmark and start vncserver.  Save. 
2. Restart computer.  Look at vncserver in Services.  It is not running.
3. vncserver can be started manually from Terminal with: service vncserver start
  
Actual results:
vncserver not running if started with  System > Administration > Services

Expected results:
Once checkmarked,  vncserver should always run at startup.

Additional info:

Comment 1 Richard Steck 2007-04-08 14:49:24 UTC
In order to make vncserver work, it was necessary to do some setup steps as per 
Tom Chung's  VNC 101 Tutorial.

Not sure of how Fedora can do this, but some warning might be given that 
vncserver does not work "straight out of the box" by putting a checkmark in 
front of it in Services.   Additional setup needs to be done.


Comment 2 Adam Tkac 2007-04-10 08:39:41 UTC
(In reply to comment #1)
Could you tell me what exactly you have to do, please? I will improve this bit
in future release (starts without any additional setup)

Regards, -A-

Comment 3 Richard Steck 2007-04-10 13:36:19 UTC
Adam, I'm not sure you can improve this, but here is what I did.

When you install a new system, typically you go to Admin > Services and check 
the services you want running.  For example,  ssh,  http,  sendmail, etc. These 
start when you press their Start button.   But vncserver does not start in that 
way.  It does not start until you do a few more steps.  These are best 
described in the following tutorial:  http://fedoranews.org/tchung/vnc/  

The key additions to make vncserver run are the addition of
  VNCSERVERS="1:username"    to the file  /etc/sysconfig/vncservers
  The uncommenting of   
unset SESSION_MANAGER
exec  /etc/X11/xinit/xinitrc
 in xstartup

I don't see how all of this can be done by waving a magic wand.  But if you 
have a way, that would be good.

Thank you for your interest in my problem.   I believe I am OK for now.
FC7t3 is an amazing OS.

And then   service vncserver start