Fedora Linux Support Community & Resources Center
  #1  
Old 7th July 2005, 08:52 PM
agenol Offline
Registered User
 
Join Date: Jun 2005
Location: Puerto Rico!!!
Age: 45
Posts: 120
how do I start the vncserver service

Hi all,

I think I finally got my vncserver running on Fedora. I'm trying to start my vncserver and I did the following,

[root@hpprdpr root]$ rpm -qa|grep vnc
vnc-4.0-1.beta4.11
vnc-server-4.0-1.beta4.11
[root@hpprdpr root]$
================================================== ===================
[root@hpprdpr root]$ /sbin/chkconfig --list | grep vnc
vncserver 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[root@hpprdpr root]# chkconfig --level 35 vncserver on
[root@hpprdpr root]#
[root@hpprdpr root]# /sbin/chkconfig --list | grep vnc
vncserver 0:off 1:off 2:off 3:on 4:off 5:on 6:off
================================================== ====================
as user, edit "xstartup," contents are:
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
================================================== ====================
set vncpasswd with:
[agenol@hpprdpr agenol]$ vncpasswd
Password:
Verify:
[agenol@hpprdpr agenol]$
================================================== =====================
[root@hpprdpr root]# /sbin/service --status-all|grep vnc
Server address not specified in /etc/sysconfig/netdump
squid: ERROR: No running copy
Xvnc is stopped
[root@hpprdpr root]#
================================================== =====================
[root@hpprdpr root]# /sbin/service vncserver restart
Shutting down VNC server: [ OK ]
Starting VNC server: [ OK ]
[root@hpprdpr root]#
================================================== =====================


OK, now I did this (just to see what indo does service provide)
[root@hpprdpr root]# /sbin/service vncserver restart
Shutting down VNC server: [ OK ]
Starting VNC server: [ OK ]
[root@hpprdpr root]# <<<<<<<<<<<<no problem here
[root@hpprdpr root]# /sbin/service vncserver status
Xvnc is stopped <<<<< why did I get this
[root@hpprdpr root]#

Is the vncserver running or not? and what does "Xvnc is stopped" mean?

Thanks!!!
Reply With Quote
  #2  
Old 7th July 2005, 08:58 PM
marcos Offline
Registered User
 
Join Date: Nov 2004
Location: São Paulo, Brazil
Age: 43
Posts: 112
Quote:
Originally Posted by agenol
Is the vncserver running or not? and what does "Xvnc is stopped" mean?
Gee! I've got the same problem and really don't know if it is working or not. I tried to start the Xvnc thing but it not seems to be a service.
Reply With Quote
  #3  
Old 7th July 2005, 09:19 PM
RatonGL Offline
Registered User
 
Join Date: Apr 2005
Location: Mexico City
Age: 32
Posts: 105
you can use ps -la | grep vnc and wait for your vncsever stills working.
Reply With Quote
  #4  
Old 7th July 2005, 09:33 PM
bytesniper Offline
Registered User
 
Join Date: May 2005
Location: Abq, NM
Age: 37
Posts: 1,158
wll..what happens when you actually try to make a VNC connection to it? does it not respond?

VNC is not my strongest area.. but i dont believe Xvnc starts until an VNC connection is actually made. vncserver is the module that actually listens for the connecton on 5800 (5801 for :1, 5802 for :2, etc)

i would do a netstat -an | grep tcp and see what is listening on what.. you should see something like 0.0.0.0:5800 or 0.0.0.0:5801 if vnc is listening. (might be 5900-5901... don't remember exactly)
__________________
I am root. If you see me laughing you better have a backup.
Reply With Quote
  #5  
Old 7th July 2005, 09:49 PM
agenol Offline
Registered User
 
Join Date: Jun 2005
Location: Puerto Rico!!!
Age: 45
Posts: 120
Hi all!

Vnc is running nicely now.

But I still see this:
[root@hpprdpr root]# /sbin/service vncserver status
Xvnc is stopped
[root@hpprdpr root]#

??

If i want to see my linux desktop on a XP box, what do I need to do?


Thanks guys!
Reply With Quote
  #6  
Old 8th July 2005, 02:20 AM
jcliburn Offline
Registered User
 
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180
Review this most excellent guide for configuring vnc services.
Reply With Quote
Reply

Tags
service, start, vncserver

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't start nmb service in F9 OralDeckard Servers & Networking 2 27th May 2008 05:19 PM
chkconfig wokrs but service start says unknow service gkk Servers & Networking 4 10th December 2007 02:45 AM
how to start service linoob Servers & Networking 7 23rd May 2006 07:15 PM
How to start VNCServer on FC4? cr4ck3r Servers & Networking 11 6th April 2006 01:54 PM
vncserver as service causes problems with desktop RobStead Using Fedora 5 18th April 2005 02:52 PM


Current GMT-time: 17:41 (Friday, 22-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat