Bug 146726 - vncserver on boot will not allow running of config / admin tools
Summary: vncserver on boot will not allow running of config / admin tools
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: vnc
Version: 3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-01 01:24 UTC by Carlos
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-02-02 13:44:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
/etc/init.d/vncserver (1.98 KB, text/plain)
2005-02-01 11:19 UTC, Tim Waugh
no flags Details

Description Carlos 2005-02-01 01:24:54 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET 
CLR 1.1.4322)

Description of problem:
Created user called Homer. Disabled iptables and prevented it from 
starting. Edited /etc/sysconfig/vncservers to create a session for 
Homer on :1. Set vncserver to start on Runlevel 5. Everything seems 
to work properly. Reboot server. Can connect to myserver:1 and can 
see Homers desktop. When trying to run any admin/configuration tool 
such as services they will not launch at all. I have tried killing as 
many process as possible but they just will not run. I can do 
anything else and even su in a terminal window, but cannot run any 
gui applet *that requires root password*. The only way will work is 
to kill the vnc session manually and then ssh in to recreate the vnc 
session. Now I just ssh in and start the session manually. I have 
tried creating an rc.vnc script and putting a link to it in rc5.d but 
it does the same thing.

Version-Release number of selected component (if applicable):
vnc-server-4.0.8

How reproducible:
Always

Steps to Reproduce:
1.Install FC3
2.Create user other than root
3.Edit /etc/sysconfig/vncservers to create session :1 for user
4.Temporarily disable or allow access to tcp 5901 in iptables
5.Set vncserver to start automatically on Runlevel 5
6.Reboot
7.Connect to vnc session :1 and try to run any config / admin utility


Actual Results:  Get prompted for root password and pam keys show up 
in tray, but application does not start.

Expected Results:  Get prompted for root password and have 
application start

Additional info:

Comment 1 Tim Waugh 2005-02-01 11:19:50 UTC
Created attachment 110495 [details]
/etc/init.d/vncserver

Please try this replacement for /etc/init.d/vncserver.

Comment 2 Carlos 2005-02-02 13:44:39 UTC
Downloaded attachment and replaced /etc/init.d/vncserver. vncserver now 
behaving as expected.  *note* this fix only works by 
using /etc/sysconfig/vncservers and setting vncserver service runlevels.  if 
other means are used to start a vnc session it still doesn't seem to work.  
otherwise it now works perfectly. - thank you


Note You need to log in before you can comment on or make changes to this bug.