LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 08-07-2005, 11:07 AM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,400

Rep: Reputation: 55
Starting vncserver


Starting vncserver from Service Configuration gui it starts but I have showing Xvnc stopped.
I don't have a firewall enabled because I'am setting behind a network with four other computers. and they don't have their firewalls enabled.
If I do a /sbin/service Xvnc start I get a: Xvnc: unrecognized service.
if I run Remote Desktop Connection it gives me a : No server running at given address,port.
And The vncserver is started at 172.16.1.33:1 /FC4 box, except for Xvnc.
The box I'm tyring to run from has Xandros-3 172.16.1.37 and the box I' m trying to connect to is 172.16.1.33:1 a Fedora4.

Thanks
jim

Last edited by mickeyboa; 08-07-2005 at 11:11 AM.
 
Old 08-07-2005, 12:02 PM   #2
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
Well, without setting a password for VNC it aint going to work, unless you specify a blank password. I reccomend doing this from a terminal first then once you have set the password try again.

Code:
$ vncpasswd
Password:
Verify:
Then when it's done you could do:

Code:
nohup Xvnc :0 -pixelformat rgb565 -geometry 1024x768 -depth 16 &
See if it helps...
 
Old 08-07-2005, 02:14 PM   #3
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,400

Original Poster
Rep: Reputation: 55
Thanks for the info, but after I connect to other host all I get is a gray screen with a big X as a mouse cursor, but how do I commiunicate with remote host.

jim
 
Old 08-08-2005, 03:47 AM   #4
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
Yea that's TWM ;-) ugly hey?

Right, you can do this now...

1) Create a file called ~/.vnc/xstartup and add these lines:

Code:
#!/bin/sh

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
2) Make it executable:

Code:
chmod 777 ~/.vnc/xstartup
3) Start and test the vnc server:

Code:
vncserver -geometry 1024x768 -depth 24
That's it, if you want this to happen on reboot you could do this:

-create a script in your home directory called "vnc.sh":

Code:
#!/bin/sh

vncserver -geometry 1024x768 -depth 24
-make it executable

Code:
chmod +x vnc.sh
-add these lines to /etc/rc.local

Code:
su - your-username "./vnc.sh" &
Hope that helps, cheers.

Last edited by equinox; 08-08-2005 at 04:04 AM.
 
  


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
Starting vncserver at boot using rc.local promethious Linux - General 3 10-14-2005 08:57 AM
Trouble starting vncserver maximyus Linux - Networking 3 04-02-2005 01:49 PM
vncserver problems starting Xris718 Linux - General 2 10-09-2004 12:53 AM
Starting VNCserver on Mandrake 10.0 archange Linux - Newbie 1 10-01-2004 09:14 PM
Problem starting vncserver bunghole Linux - Networking 2 10-29-2001 04:53 AM


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