LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-10-2004, 11:13 AM   #1
markehb
LQ Newbie
 
Registered: Mar 2004
Distribution: mandrake 9.0
Posts: 29

Rep: Reputation: 15
vnc server


Running on mandrake 9, installed tight VNC server.

Now everywhere I go I read there should be config files in ~/.vnc/ for vncserver but its empty. Am I missing something?

All i've done is install the program and tried to run it (which fails). Xvnc I can get to open a grey window but thats pretty much it and everywhere I've looked to try and fix it says "run vncserver as this loads a basic config that works, the config files are in ~/.vnc", but they're not.

Any ideas anyone?
 
Old 05-10-2004, 11:14 AM   #2
BlandoCal
Member
 
Registered: Sep 2003
Location: Ames, IA
Distribution: Fedora Core 3
Posts: 92

Rep: Reputation: 15
What happens when you type

vncserver

from the command prompt?
 
Old 05-10-2004, 11:26 AM   #3
markehb
LQ Newbie
 
Registered: Mar 2004
Distribution: mandrake 9.0
Posts: 29

Original Poster
Rep: Reputation: 15
comes up:

Starting VNC server: [ ok ]

then when I run

vncserver status
shows:

Xvnc is stopped
 
Old 05-10-2004, 12:03 PM   #4
BlandoCal
Member
 
Registered: Sep 2003
Location: Ames, IA
Distribution: Fedora Core 3
Posts: 92

Rep: Reputation: 15
Have you tried connecting to it (even though it appears to not being running?)?

vncviewer

then try 127.0.0.1:1 for you address

I just set up vnc on my computer last week, I'm running Fedora Core 1, and I installed vncserver (Xvnc) when I installed Fedora. To start the server all I do is type 'vncserver' as the user I want, then it tells me what 'display' ( :1 or :2, etc) its started on, and I believe the first time I ran vncserver as a user it asks for a password, then every 'display' I created as that user has the same password. You could also try running command 'netstat -a' and look for ports 5800, 5801, 5802, or etc. or ports 5900, 5901, 5902, or etc. VNC should run on ports 580x and 590x by default, and for each 'display' you create (:1 or :2) it will be 5801 , 5901, and 5802, 5902 respectively.

Hope that helps, I've only messed with mandrake for about a week, but never tooled around with VNC on it, good luck.
 
Old 05-10-2004, 12:08 PM   #5
markehb
LQ Newbie
 
Registered: Mar 2004
Distribution: mandrake 9.0
Posts: 29

Original Poster
Rep: Reputation: 15
vncviewer gets:
Error: Can't open display:

And no sign of the port at all. I'm sure Xvnc isn't running.

Linux as easy as ever
 
Old 05-11-2004, 04:04 AM   #6
markehb
LQ Newbie
 
Registered: Mar 2004
Distribution: mandrake 9.0
Posts: 29

Original Poster
Rep: Reputation: 15
anyone?
 
Old 05-11-2004, 06:54 AM   #7
GraemeK
Member
 
Registered: Aug 2003
Location: Essex, UK
Distribution: Windoze 2000, Fedora Core 3
Posts: 325

Rep: Reputation: 30
i've got it to work...

cant remember now what i did!

um...extract all the files then read the readme's! there was quite a few commands you need to run before it'll work. Then i found if i connected to the machine i'd get a exterm window and not KDE. So i had to mod another file...

um... oh and then it creates a complete new session! not viewing the current users session! so it was usless to me as it is/was. i havent bothered to look into it since

G
 
Old 05-11-2004, 10:55 AM   #8
markehb
LQ Newbie
 
Registered: Mar 2004
Distribution: mandrake 9.0
Posts: 29

Original Poster
Rep: Reputation: 15
do you have anything in ~/.vnc/ at all?
 
Old 05-16-2004, 01:32 PM   #9
draceteam
LQ Newbie
 
Registered: May 2004
Location: texas
Distribution: suse 9.1
Posts: 7

Rep: Reputation: 0
question

once you start vncserver

try running nmap on your public IP and see if the port is open
 
  


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
VNC server Swift&Smart Linux - Software 0 07-01-2004 12:52 AM
VNC Server linuxguru Linux - General 5 09-21-2003 10:02 AM
VNC server Kocil Mandriva 2 08-22-2003 08:25 AM
VNC on a server RedHat123 Linux - Security 1 09-30-2002 11:41 AM
VNC server niamor Linux - Networking 1 09-23-2002 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:07 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