FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 12-12-2007, 10:31 PM
John Summerfield
 
Default Setting up VNC

Daniel B. Thurman wrote:

I guess I am really having a hard time setting up VNC on
F8 as I had successfully done on FC4.

I had followed the notes contained in this link:
_http://www.realvnc.com/pipermail/vnc-list/2005-March/049889.html

Seems that I am was able to connect to the vnc-server sockets
but then after a time, I started getting a Tight-Vnc error:

ReadExact: Socket error while reading.

The reason I liked this specific setup was that I was able to choose
the specific screen sizes I'd like and that this Vnc server was always
available as sockets.

I did try to use the VncServer setup 'out of the box' but I was having
problems figuring how to make it work so I went back to the way I
did it on FC4.

Does anyone have any recommendations as to the proper way
to set up VNC servers for F8?
1. stick to realvnc. tightvnc collapses when switching to/from
fullscreen (several distros) (I forget which direction).
2. Edit /etc/sysconfig/vncservers to taste. The 2 in VNCSERVERARGS[2] is
the screen number (2) in VNCSERVERS="2:myusername"


More generally, to find configuration files
rpm -qc <package>
and documentation
rpm -qd <package>
and for more rpm magic
rpm -qd rpm

--

Cheers
John

-- spambait
1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-12-2007, 11:38 PM
"Daniel B. Thurman"
 
Default Setting up VNC

John Summerfield wrote
>Daniel B. Thurman wrote:
>> [snip!]
>> Does anyone have any recommendations as to the proper way
>> to set up VNC servers for F8?
>1. stick to realvnc. tightvnc collapses when switching to/from
>fullscreen (several distros) (I forget which direction).
>2. Edit /etc/sysconfig/vncservers to taste. The 2 in
>VNCSERVERARGS[2] is
>the screen number (2) in VNCSERVERS="2:myusername"
>
>More generally, to find configuration files
> rpm -qc <package>
>and documentation
> rpm -qd <package>
>and for more rpm magic
> rpm -qd rpm
>

Gah!

My /etc/sysconfig/vncserver file:

VNCSERVERS="2:dant"
VNCSERVERARGS[2]="-geometry 1024x768 -depth 24"


This is the errors I am seeing in my log file:
==============================================

Xvnc Free Edition 4.1.2
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 10300000, The X.Org Foundation


Wed Dec 12 16:32:28 2007
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5902
vncext: Listening for HTTP connections on port 5802
vncext: created VNC server for screen 0
Could not init font path element unix/:7100, removing from list!
No profile for user 'dant' found
===== BEGIN MILESTONES (/usr/sbin/sabayon-apply) =====
MainThread 2007/12/12 16:32:37.5745 (sabayon-apply): Fatal exception! Exiting abnormally.
MainThread 2007/12/12 16:32:37.5761 (sabayon-apply): Traceback (most recent call last):
File "/usr/sbin/sabayon-apply", line 99, in <module>
sys.exit (util.EXIT_CODE_FATAL)
SystemExit: 1

===== END MILESTONES (/usr/sbin/sabayon-apply) =====
===== BEGIN RING BUFFER (/usr/sbin/sabayon-apply) =====
MainThread 2007/12/12 16:32:37.5745 (sabayon-apply): Fatal exception! Exiting abnormally.
MainThread 2007/12/12 16:32:37.5761 (sabayon-apply): Traceback (most recent call last):
File "/usr/sbin/sabayon-apply", line 99, in <module>
sys.exit (util.EXIT_CODE_FATAL)
SystemExit: 1

===== END RING BUFFER (/usr/sbin/sabayon-apply) =====


This configuration for the debug log can be re-created
by putting the following in ~/sabayon-debug-log.conf
(use ';' to separate domain names):

[debug log]
max lines = 1000
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/4471,unix/unix:/tmp/.ICE-unix/4471


Tracker version 0.6.3 Copyright (c) 2005-2007 by Jamie McCracken (jamiemcc@gnome.org)

This program is free software and comes without any warranty.
It is licensed under version 2 or later of the General Public License which can be viewed at http://www.gnu.org/licenses/gpl.txt

Initialising tracker...

** (trackerd:4515): WARNING **: Tracker daemon is already running - exiting
Failure: Module initalization failed
GSynaptics couldn't initialize.
You have to set 'SHMConfig' 'true' in Xorg.conf or XFree86.conf to use GSynaptics
mail-notification-Message: Mail Notification is already running
Initializing nautilus-open-terminal extension
Initializing nautilus-image-converter extension
Initializing nautilus-flac-converter extension
seahorse nautilus module initialized

** (nm-applet:4529): WARNING **: <WARN> applet_dbus_manager_start_service(): Could not acquire the NetworkManagerUserSettings service as it is already taken. Return: 3


(nm-applet:4529): GLib-CRITICAL **: g_hash_table_destroy: assertion `hash_table != NULL' failed

(nm-applet:4529): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(nm-applet:4529): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Initializing nautilus-search-tool extension

Gdk-ERROR **: The program 'xulrunner-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 34 error_code 3 request_code 20 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
aborting...

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.17.1/1181 - Release Date: 12/11/2007 5:05 PM


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-13-2007, 01:33 AM
John Summerfield
 
Default Setting up VNC

Daniel B. Thurman wrote:

John Summerfield wrote

Daniel B. Thurman wrote:

[snip!]
Does anyone have any recommendations as to the proper way
to set up VNC servers for F8?
1. stick to realvnc. tightvnc collapses when switching to/from
fullscreen (several distros) (I forget which direction).
2. Edit /etc/sysconfig/vncservers to taste. The 2 in
VNCSERVERARGS[2] is
the screen number (2) in VNCSERVERS="2:myusername"


More generally, to find configuration files
rpm -qc <package>
and documentation
rpm -qd <package>
and for more rpm magic
rpm -qd rpm



Gah!

My /etc/sysconfig/vncserver file:

VNCSERVERS="2:dant"
VNCSERVERARGS[2]="-geometry 1024x768 -depth 24"


This is the errors I am seeing in my log file:
==============================================

Xvnc Free Edition 4.1.2
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 10300000, The X.Org Foundation


Wed Dec 12 16:32:28 2007
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5902
vncext: Listening for HTTP connections on port 5802
vncext: created VNC server for screen 0
Could not init font path element unix/:7100, removing from list!
No profile for user 'dant' found
===== BEGIN MILESTONES (/usr/sbin/sabayon-apply) =====
MainThread 2007/12/12 16:32:37.5745 (sabayon-apply): Fatal exception! Exiting abnormally.
MainThread 2007/12/12 16:32:37.5761 (sabayon-apply): Traceback (most recent call last):
File "/usr/sbin/sabayon-apply", line 99, in <module>
sys.exit (util.EXIT_CODE_FATAL)
SystemExit: 1

===== END MILESTONES (/usr/sbin/sabayon-apply) =====
===== BEGIN RING BUFFER (/usr/sbin/sabayon-apply) =====
MainThread 2007/12/12 16:32:37.5745 (sabayon-apply): Fatal exception! Exiting abnormally.
MainThread 2007/12/12 16:32:37.5761 (sabayon-apply): Traceback (most recent call last):
File "/usr/sbin/sabayon-apply", line 99, in <module>
sys.exit (util.EXIT_CODE_FATAL)
SystemExit: 1

===== END RING BUFFER (/usr/sbin/sabayon-apply) =====


This configuration for the debug log can be re-created
by putting the following in ~/sabayon-debug-log.conf
(use ';' to separate domain names):

[debug log]
max lines = 1000
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/4471,unix/unix:/tmp/.ICE-unix/4471


Tracker version 0.6.3 Copyright (c) 2005-2007 by Jamie McCracken (jamiemcc@gnome.org)

This program is free software and comes without any warranty.
It is licensed under version 2 or later of the General Public License which can be viewed at http://www.gnu.org/licenses/gpl.txt

Initialising tracker...

** (trackerd:4515): WARNING **: Tracker daemon is already running - exiting
Failure: Module initalization failed
GSynaptics couldn't initialize.
You have to set 'SHMConfig' 'true' in Xorg.conf or XFree86.conf to use GSynaptics
mail-notification-Message: Mail Notification is already running
Initializing nautilus-open-terminal extension
Initializing nautilus-image-converter extension
Initializing nautilus-flac-converter extension
seahorse nautilus module initialized

** (nm-applet:4529): WARNING **: <WARN> applet_dbus_manager_start_service(): Could not acquire the NetworkManagerUserSettings service as it is already taken. Return: 3


(nm-applet:4529): GLib-CRITICAL **: g_hash_table_destroy: assertion `hash_table != NULL' failed

(nm-applet:4529): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(nm-applet:4529): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Initializing nautilus-search-tool extension

Gdk-ERROR **: The program 'xulrunner-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 34 error_code 3 request_code 20 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
aborting...

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.17.1/1181 - Release Date: 12/11/2007 5:05 PM



This is mine.
[summer@potoroo ~]$ cat /etc/sysconfig/vncservers | grep ^V
VNCSERVERS="66:root 3:summer"
VNCSERVERARGS[3]="-geometry 1280x1024"
VNCSERVERARGS[66]="-geometry 1280x1024"
[summer@potoroo ~]$

It works fine, I've done quite a bit logged in (from an SL5 system) as
root (using KDE), and I've just verified that logging in as summer(twm)
works.



To try with KDE:
[root@potoroo ~]# cat .vnc/xstartup
#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -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 startkde
twm &
[root@potoroo ~]#


--

Cheers
John

-- spambait
1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-13-2007, 03:26 PM
"Daniel B. Thurman"
 
Default Setting up VNC

John Summerfield wrote:
>This is mine.
>[summer@potoroo ~]$ cat /etc/sysconfig/vncservers | grep ^V
>VNCSERVERS="66:root 3:summer"
>VNCSERVERARGS[3]="-geometry 1280x1024"
>VNCSERVERARGS[66]="-geometry 1280x1024"
>[summer@potoroo ~]$
>
>It works fine, I've done quite a bit logged in (from an SL5 system) as
>root (using KDE), and I've just verified that logging in as
>summer(twm)
>works.
>
>To try with KDE:
>[root@potoroo ~]# cat .vnc/xstartup
>#!/bin/sh
>
># Uncomment the following two lines for normal desktop:
># unset SESSION_MANAGER
># exec /etc/X11/xinit/xinitrc
>
>[ -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 startkde
>twm &
>[root@potoroo ~]#
>

I have, for xstartup:
================================================== ==============
#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -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" &
twm &
================================================== ==============

I have for /etc/sysconfig/vncserver:
================================================== ==============
VNCSERVERS="66:root 3:dant"
VNCSERVERARGS[3]="-geometry 1280x1024"
VNCSERVERARGS[66]="-geometry 1280x1024"
================================================== ==============

My vnc logs show:
================================================== ==============
Xvnc Free Edition 4.1.2
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 10300000, The X.Org Foundation


Thu Dec 13 08:04:47 2007
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5903
vncext: Listening for HTTP connections on port 5803
vncext: created VNC server for screen 0
Could not init font path element unix/:7100, removing from list!
Warning: Cannot convert string "nil2" to type FontStruct
================================================== ==============

1) Why am I getting the unix/:7100 error and what is "nil2" ?
Is this a problem?

2) When I try to connect using vncviewer on my windows box and
use the entry: linux:5903:3, I get the error:
Failed to connect to server: linux:3

3) Is it possible that I am being firewalled blocked or something?

One other thing. Since I had a heckuva time trying to figure out
how to open the vnc ports using iptables, I opted to use the
firestarter package and open the vnc ports there. I hope this
program does not conflict with the iptables firewall. I have used
this program in FC4 and it worked like a charm.

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.17.1/1181 - Release Date: 12/11/2007 5:05 PM


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-13-2007, 09:05 PM
John Summerfield
 
Default Setting up VNC

Daniel B. Thurman wrote:

John Summerfield wrote:

This is mine.
[summer@potoroo ~]$ cat /etc/sysconfig/vncservers | grep ^V
VNCSERVERS="66:root 3:summer"
VNCSERVERARGS[3]="-geometry 1280x1024"
VNCSERVERARGS[66]="-geometry 1280x1024"
[summer@potoroo ~]$

It works fine, I've done quite a bit logged in (from an SL5 system) as
root (using KDE), and I've just verified that logging in as
summer(twm)
works.


To try with KDE:
[root@potoroo ~]# cat .vnc/xstartup
#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -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 startkde
twm &
[root@potoroo ~]#



I have, for xstartup:
================================================== ==============
#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -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" &
twm &
================================================== ==============

I have for /etc/sysconfig/vncserver:
================================================== ==============
VNCSERVERS="66:root 3:dant"
VNCSERVERARGS[3]="-geometry 1280x1024"
VNCSERVERARGS[66]="-geometry 1280x1024"
================================================== ==============

My vnc logs show:
================================================== ==============
Xvnc Free Edition 4.1.2
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 10300000, The X.Org Foundation


Thu Dec 13 08:04:47 2007
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5903
vncext: Listening for HTTP connections on port 5803
vncext: created VNC server for screen 0
Could not init font path element unix/:7100, removing from list!
Warning: Cannot convert string "nil2" to type FontStruct
================================================== ==============

1) Why am I getting the unix/:7100 error and what is "nil2" ?

a) unimportant
b) A warning.

Is this a problem?

Probably not.


2) When I try to connect using vncviewer on my windows box and
use the entry: linux:5903:3, I get the error:
Failed to connect to server: linux:3

3) Is it possible that I am being firewalled blocked or something?


It's probable.



One other thing. Since I had a heckuva time trying to figure out
how to open the vnc ports using iptables, I opted to use the
firestarter package and open the vnc ports there. I hope this


I've never used firestarter, I do use shorewall.


program does not conflict with the iptables firewall. I have used
this program in FC4 and it worked like a charm.


Is there any public internet between client and server? If not, try with
the firewall turned off.


Who are the other users on your LAN?




--

Cheers
John

-- spambait
1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 10:51 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org