Fedora Linux Support Community & Resources Center
  #1  
Old 19th April 2005, 02:32 AM
paken Offline
Registered User
 
Join Date: Jan 2005
Posts: 25
RealVNC Headache

Hi,

I've downloaded and installed (successfully ???) RealVNC server/viewer.
The viewer works perfectly and the Server is installed :
[root@paken .vnc]# which vncserver
/usr/local/bin/vncserver

But for some reason I just can't initiate the server process.

[root@paken .vnc]# vncserver

Warning: paken:1 is taken because of /tmp/.X1-lock
Remove this file if there is no X server paken:1
Warning: paken:2 is taken because of /tmp/.X2-lock
Remove this file if there is no X server paken:2
Warning: paken:3 is taken because of /tmp/.X3-lock
Remove this file if there is no X server paken:3
New 'paken:5 (root)' desktop is paken:5

Starting applications specified in /root/.vnc/xstartup
==============================
Log file is /root/.vnc/paken:5.log
[root@paken .vnc]# tail -f paken\:5.log
Underlying X server release 40201000, The XFree86 Project, Inc


Tue Apr 19 01:20:06 2005
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5905
vncext: Listening for HTTP connections on port 5805
vncext: created VNC server for screen 0
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
gnome-session: you're already running a session manager

==========================
Thanks a bunch
Now when I do :
[root@paken .vnc]# chkconfig --list | grep vnc
[root@paken .vnc]#

Nothing !!

Here's my xstartup file:
---------------------------------------
[root@paken .vnc]# cat xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER <-- this will do what?
# exec /etc/X11/xinit/xinitrc <--- also?

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
exec gnome-session &
[root@paken .vnc]#
-------------------------------------------

From the log file:
--------------------------
Reply With Quote
  #2  
Old 23rd April 2005, 01:03 AM
paken Offline
Registered User
 
Join Date: Jan 2005
Posts: 25
I'm getting the following error message from the log file.
I'm also running shorewall firewall. I wonder if that is blocking VNC .

[root@paken .vnc]# tail -f paken.localdomain\:3.log
looking for type: got text/plain
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:90: GtkDeprecationWarning: gtk.mainloop is deprecated, use gtk.main instead
self.warn(message, DeprecationWarning)
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:90: GtkDeprecationWarning: gtk.mainiteration is deprecated, use gtk.main_iteration instead
self.warn(message, DeprecationWarning)
Xlib: extension "XFree86-Misc" missing on display ":3.0".
X Error: BadAccess (attempt to access private resource denied) 10
Major opcode: 2
Minor opcode: 0
Resource id: 0x220000b
Reply With Quote
  #3  
Old 26th April 2005, 06:40 PM
seph's Avatar
seph Offline
Registered User
 
Join Date: Aug 2004
Location: Somewhere in Maine...
Age: 34
Posts: 52
paken, I can't answer all of yr questions, but the two lines that you asked about in the ".xstartup" file... They give you a regular (Gnome) X desktop not the TWM desktop. By un commenting those you alow vncserver to start a normal X session. I did this in my xstartup file and it works great, I can VNC from my windows machine right into my Gnome desktop.

Now I have some questions of my own... I want to know how to start the VNCserver when the pc boots, so I can log right in from my windows machine. Right now I have to log in w/ a keyboard that I have on the system. I'd like to make it totally remote, so I can put it in the basement and leave it.

Any help would be great, TIA.

seph
__________________
__________________________________________________
Fedora Core 3
Kernel 2.6.9-SMP
Toshiba Satellite P15-S409
2.8 GHz P4
512MB DDR RAM
60GB HD
GeForce FX Go5100 32MB DDR
2X DVD-RW-RAM Drive
Intigrated Atheros a/b/g wlan card
Resolution: 1280X800X24
Reply With Quote
  #4  
Old 2nd May 2005, 10:21 AM
phantomprof Offline
Registered User
 
Join Date: Apr 2005
Posts: 6
after a lot of headaches too vnc is working

replace exec gnome session &
with
gnome-session

next step:
add or edit netxt lines in /etc/sysconfig/vncservers

VNCSERVERS="1:usernam"
VNCSERVERARGS[1]="-geometry 800x600"
Reply With Quote
  #5  
Old 6th May 2005, 12:07 AM
paken Offline
Registered User
 
Join Date: Jan 2005
Posts: 25
Starting VNC at starup:
You set up the "vnc init service" by editing /etc/sysconfig/vncservers
Reply With Quote
Reply

Tags
headache, realvnc

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
Installing RealVNC ernest.bola Using Fedora 5 7th September 2006 07:09 AM
Realvnc Linux ikkubus Using Fedora 3 12th July 2006 03:37 PM
Install RealVNC 4.1 on FC4 rocky2889 Using Fedora 7 7th August 2005 08:34 PM
RealVNC and QueryConnect Savannah_Alan Using Fedora 1 13th July 2005 07:57 PM


Current GMT-time: 00:20 (Thursday, 23-05-2013)

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