LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-21-2009, 02:52 PM   #1
nataloi
Member
 
Registered: Apr 2009
Distribution: Linux version 2.6.25-14.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) )
Posts: 30

Rep: Reputation: 15
General Question about source code


I am trying to get realvnc server working on my linux fedora 9 server- however I keep running into stumbling blocks...I think I have an issue with my xserver...

I found this package....Do I need to complile this? if so how do I go about doing it - I can't find anything that tells me how to go about compiling it...

[root@nagios pam.d]# yum install xorg-x11-server-source.i386
Loaded plugins: refresh-packagekit
updates-newkey | 2.3 kB 00:00
fedora | 2.4 kB 00:00
updates | 2.6 kB 00:00
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-server-source.i386 0:1.5.2-6.fc9 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
xorg-x11-server-source i386 1.5.2-6.fc9 updates-newkey 4.6 M

Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 4.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): xorg-x11-server-source-1.5.2-6.fc9.i386.rpm | 4.6 MB 00:01
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: xorg-x11-server-source ######################### [1/1]

Installed: xorg-x11-server-source.i386 0:1.5.2-6.fc9
Complete!
[naloi@nagios .vnc]$ vncserver -kill :1
Killing Xvnc process ID 9684
kill 9684: No such process
[naloi@nagios .vnc]$ cd /home/naloi/.vnc
[naloi@nagios .vnc]$ vncserver :1

New 'nagios.experis.com:1 (naloi)' desktop is nagios.experis.com:1

Starting applications specified in /home/naloi/.vnc/xstartup
Log file is /home/naloi/.vnc/nagios.experis.com:1.log

[naloi@nagios .vnc]$ telnet localhost 5901
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

[naloi@nagios .vnc]$ more nagios.experis.com:1.log
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'

Xvnc Free Edition 4.1.3 - built Oct 15 2008 12:55:42
Copyright (C) 2002-2008 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40201000, The XFree86 Project, Inc


Tue Apr 21 14:47:39 2009
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: created VNC server for screen 0
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from l
ist!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li
st!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from
list!

Fatal server error:
could not open default font 'fixed'
xrdb: Connection refused
xrdb: Can't open display 'nagios.experis.com:1'
xmodmap: unable to open display 'nagios.experis.com:1'

(imsettings-start:11266): IMSettings-WARNING **: Failed to invoke a method `Star
tIM':
Launch helper exited with unknown return code 1
Failed to start IM process `none'

(gnome-session:11275): Gtk-WARNING **: cannot open display: nagios.experis.com:1
[naloi@nagios .vnc]$
 
Old 04-21-2009, 03:41 PM   #2
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
Gosh!!! The last time I've compiled the X server, I just break my system... OK it was a long time ago, and I was I newby who play the cowboy but, I really don't think you need to compile X server by yourself to make VNC work...
By the way, you have a FEDORA repository to help you for VLC: poptop
 
Old 04-21-2009, 03:59 PM   #3
nataloi
Member
 
Registered: Apr 2009
Distribution: Linux version 2.6.25-14.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) )
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks jf.argentino....ok so I did manually start xfs and that is running...
[root@nagios .vnc]# ps -ef | grep xfs
xfs 11718 1 0 14:55 ? 00:00:00 xfs -droppriv -daemon
root 14596 12881 0 15:56 pts/0 00:00:00 grep xfs

[root@nagios .vnc]# ps -ef | grep xfs
xfs 11718 1 0 14:55 ? 00:00:00 xfs -droppriv -daemon
root 14596 12881 0 15:56 pts/0 00:00:00 grep xfs

[root@nagios .vnc]# ps -ef | grep vncserver
root 14624 12881 0 15:57 pts/0 00:00:00 grep vncserver

[root@nagios .vnc]# ps -ef | grep vnc
root 14630 12881 0 15:57 pts/0 00:00:00 grep vnc


but I don't understand these errors in my log file: I would hope I don't have to compile code...but I have been trying to get this to run for several days now and I am very frustrated...

error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from l
ist!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li
st!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from
list!

Fatal server error:
could not open default font 'fixed'
xrdb: Connection refused
xrdb: Can't open display 'nagios.experis.com:1'
xmodmap: unable to open display 'nagios.experis.com:1'

(imsettings-start:11266): IMSettings-WARNING **: Failed to invoke a method `Star
tIM':
Launch helper exited with unknown return code 1
Failed to start IM process `none'
 
Old 04-21-2009, 04:31 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Any particular reason you are not just running the VNC-server from the standard repos? It will work fine to connect with realvnc on the other end(probably from a windows machine).
 
Old 04-22-2009, 08:52 AM   #5
nataloi
Member
 
Registered: Apr 2009
Distribution: Linux version 2.6.25-14.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) )
Posts: 30

Original Poster
Rep: Reputation: 15
hey lazlow - thanks for the response...but I think I am running it from the standard distribution but at every turn I have been having problems. The thing is that I didn't install anything on this box and the person who did is not available to me as a resource, so in trying to get this to work I have found many packages to have not been loaded or updated. Do any of those error messages make any sense to you...

these are from the log file: (see first post for entire log file output)

error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from l
ist!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li
st!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from
list!

Fatal server error:
could not open default font 'fixed'
xrdb: Connection refused
xrdb: Can't open display 'nagios.experis.com:1'
xmodmap: unable to open display 'nagios.experis.com:1'

(imsettings-start:11266): IMSettings-WARNING **: Failed to invoke a method `Star
tIM':
Launch helper exited with unknown return code 1
Failed to start IM process `none'
Yesterday 03:41 PM

if so,what direction do you think I should go...right now I am fiddling around with tightvnc to see if I can get that to work instead...but would love to just figure out why this isn't working.
 
Old 04-22-2009, 11:00 AM   #6
nataloi
Member
 
Registered: Apr 2009
Distribution: Linux version 2.6.25-14.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) )
Posts: 30

Original Poster
Rep: Reputation: 15
it's working!

Its working! I am not sure what I did, but I can run the viewer on my windows machine and get my desktop...hmmm now if only I can figure out what I did to get it to work!

[root@nagios init.d]# service vncserver status
Xvnc (pid 15503) is running...
[root@nagios init.d]#
[naloi@nagios .vnc]$ telnet localhost 5901
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
RFB 003.008
q
exit
q!
Connection closed by foreign host.
[naloi@nagios .vnc]$
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where is source code in general? jdruin Linux - Software 9 11-05-2004 12:48 AM
Question about Source Code Pwcca Linux - General 3 03-12-2003 11:58 PM
Another source code question. JMC Linux - General 3 05-28-2002 02:58 AM
Question about source code locations hanzerik Linux From Scratch 4 02-06-2002 10:33 PM
source code and platform question iggymac Linux - Software 3 01-24-2002 06:43 PM


All times are GMT -5. The time now is 06:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration