LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-17-2004, 04:51 PM   #16
nemozny
LQ Newbie
 
Registered: Sep 2004
Distribution: debian sid
Posts: 6

Rep: Reputation: 0

Quote:
Originally posted by Demonbane
I'll show you something nifty, this does not require KDE to work either.

Grab the Linux binary release of vnc from
http://www.realvnc.com/download-free.html

extract and copy vnc.so to /usr/X11R6/lib/modules/extensions/

create a vnc passwd file using vncpasswd

open up your X config file (/etc/X11/XF86config(-4) or xorg.conf)
Under Section "Module" add
Load "vnc"

Under Section "Screen" add
Option "passwordFile" "/root/.vnc/passwd"
(change the path to wherever your password file is)
if you don't want password authentication for whatever reason add this line instead:
Option "securityTypes" "none"

restart X, now you can directly control the X session using vnc
I got it workin thanx to you Demonbane! Previously VNC said "connection refused port 10021" or something and now im connected from home through CiscoVPN to college network and through VNC to my debian desktop, EXACTLY the same as it is supposed to be. Id like to only add to you post, that i had to allow in /etc/gdm/gdm.conf in [Security] AllowRemoteRoot=true to GDM let me in (KDM,XDM, whateverDM). But im lamer and im using usually root account.
Thanx two times!
 
  


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
xwindows in ssh session ravneetsoin Linux - Software 2 08-12-2004 05:59 PM
Xwindows starts automatically at start up How can I stop that? Wolfy Linux - Newbie 8 06-29-2004 06:51 AM
how do you bypass xwindows before it starts AmdMhz Linux - Software 4 02-07-2004 08:04 PM
Start programs when Xwindows starts? ksun Linux - Newbie 3 10-13-2003 05:40 PM
Everything freezes when XWindows starts shaun_bakker Linux - General 4 02-17-2003 12:59 PM


All times are GMT -5. The time now is 04:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration