LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-29-2005, 07:39 PM   #1
jeffxor
LQ Newbie
 
Registered: Jan 2004
Location: Sydney, Austalia
Posts: 15

Rep: Reputation: 0
Tightvnc XF86Config Native X Display


Have configured Tightvnc to work correctly using displays other than :0.

Followed the instructions on the vnc website for native X display.

Edit XF86Config load vnc.so and add passwordfile option
AQlso copied vnc.so to the correct location.

It appears the vnc module is getting loaded on startup as the vncserver responds when trying to connect to it using vncviewer. The problem is when it prompts for the password I can seem to get authenticated. It is the same password file that I was using for the vncservers started on display :! which was fine.

I am using Mandrake 10.1 and tightvnc was installed using packages. I am sure the problem exists in my config file displayed below. Could someone post a working config file or point me in the direction of somemore info that would be cool.

Thanks for the help

XF86Config File
=========================================================================

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
Load "vnc"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us_intl"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
HorizSync 30-72
VertRefresh 50-120

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "NVidia"
BoardName "NVIDIA GeForce FX (generic)"
Driver "nv"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1152 864
EndSubsection

Subsection "Display"
Depth 15
Virtual 1152 864
EndSubsection

Subsection "Display"
Depth 16
Virtual 1152 864
EndSubsection

Subsection "Display"
Depth 24
Virtual 1152 864
EndSubsection
Option "passwordfile" "/root/.vnc/passwd"
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
 
Old 02-05-2005, 03:40 AM   #2
jeffxor
LQ Newbie
 
Registered: Jan 2004
Location: Sydney, Austalia
Posts: 15

Original Poster
Rep: Reputation: 0
Well I guess no one has any idea so I will post my answer when I get one.
 
Old 02-05-2005, 03:38 PM   #3
Cupacabra
LQ Newbie
 
Registered: Sep 2004
Posts: 5

Rep: Reputation: 0
check out this site, should have you up and running in minutes
http://xf4vnc.sourceforge.net/
 
  


Reply



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
XF86Config / startx / display resolution and screen area pbhj Slackware 9 01-06-2005 07:17 PM
Vnc native X server (":0" X display) on Mandrake 10.1 sunny.shah Mandriva 0 12-13-2004 03:07 PM
VNC native display (:0) on FC2 tawalker Fedora 1 06-10-2004 04:00 PM
xf86config woes -- display won't change dpp777 Linux - Hardware 2 05-25-2004 04:38 PM
xf86config breaks my display mrdensity Linux - General 11 11-16-2003 02:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:20 PM.

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
Open Source Consulting | Domain Registration