Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27th March 2006, 05:18 PM
kvfletch Offline
Registered User
 
Join Date: Mar 2006
Posts: 16
VNC - configure

Hi,
I am trying to configure vnc on fedora 5. I followed a step by step article here but didn't have any luck:
http://www.raoul.shacknet.nu/2005/11...ver-in-fedora/

1st issue - I don't have the files that are supposed to be here:
/home/leopard/.vnc/xstartup

I believe I have stopped the firewall but I am not sure? How can I check? I am using ssh to do this all remotely

I have a user created, set the vnc password, etc.
I am trying to use vnc on my xp machine to connect to the fedora 5 box remotely.
Reply With Quote
  #2  
Old 27th March 2006, 05:28 PM
jhetrick62 Offline
Registered User
 
Join Date: Feb 2005
Location: Buffalo, Ny
Posts: 875
Please follow these two threads. I did twice now and it works like a champ on both FC3 and FC5 although slight modifications to set for FC5 (Maybe it has been updated).
http://www.fedoraforum.org/forum/sho...t=server+setup
http://forums.fedoraforum.org/showth...t=server+setup

Use the first one and the second is for any further references.

Jeff
__________________
Registered Linux User #411071

If at first you don't suceed, read the man page again!
Reply With Quote
  #3  
Old 27th March 2006, 06:33 PM
kvfletch Offline
Registered User
 
Join Date: Mar 2006
Posts: 16
thanks, it is a great post, I am still stuck though.

I am not sure what to do at this part

gedit /etc/xinetd.d/vnc-1024x8
Reply With Quote
  #4  
Old 27th March 2006, 06:40 PM
jhetrick62 Offline
Registered User
 
Join Date: Feb 2005
Location: Buffalo, Ny
Posts: 875
From a terminal, enter the above exactly. You can copy from the tutorial and paste it. That open gedit and a blank file names vnc-1024x8 and locates it in /etc/xinete.d/ directory.

Then copy and paste the text that Firewing gives you into that file. After pasting, save and close gedit and do it again with the next command. You are making config files for the xinetd daemon to use to open your virtual terminal display.

Jeff
__________________
Registered Linux User #411071

If at first you don't suceed, read the man page again!
Reply With Quote
  #5  
Old 27th March 2006, 06:48 PM
kvfletch Offline
Registered User
 
Join Date: Mar 2006
Posts: 16
Hey, thx again - this is what happens when I try the gedit

[root@localhost ~]# gedit /etc/xinetd.d/vnc-1024
cannot open display: (null)
Run 'gedit --help' to see a full list of available command line options.
Reply With Quote
  #6  
Old 27th March 2006, 07:25 PM
jhetrick62 Offline
Registered User
 
Join Date: Feb 2005
Location: Buffalo, Ny
Posts: 875
Can you open gedit manually? It's found under Applications > Accessories > Text Editor.

If so, copy and paste the text and do a "save as" to get it named properly in the directory indicated. You do have a display problem with your x configuration. I have never had to deal with this so post this problem as a separate thread and someone will be able to help you with that.

Jeff
__________________
Registered Linux User #411071

If at first you don't suceed, read the man page again!
Reply With Quote
  #7  
Old 27th March 2006, 07:42 PM
kvfletch Offline
Registered User
 
Join Date: Mar 2006
Posts: 16
I am doing this over ssh - is that the reason for the display issue?
Reply With Quote
  #8  
Old 27th March 2006, 07:53 PM
jhetrick62 Offline
Registered User
 
Join Date: Feb 2005
Location: Buffalo, Ny
Posts: 875
Yes, you can't open a GUI over ssh. You must use an editor like vi then. I thought that you were sitting in front of the machine. You either need to be in front of the machine or be proficieint with a command line, text editor to do this.
Jeff
__________________
Registered Linux User #411071

If at first you don't suceed, read the man page again!
Reply With Quote
  #9  
Old 27th March 2006, 08:30 PM
kvfletch Offline
Registered User
 
Join Date: Mar 2006
Posts: 16
thanks, - i got those files created. still working on it - no luck though.
Reply With Quote
  #10  
Old 27th March 2006, 08:35 PM
kvfletch Offline
Registered User
 
Join Date: Mar 2006
Posts: 16
I actually can connect now but I just see a small vnc window for options - nothing else?
Reply With Quote
  #11  
Old 27th March 2006, 08:40 PM
wdgiles's Avatar
wdgiles Offline
Still Nothing
 
Join Date: Dec 2004
Location: Dallas, Texas
Age: 41
Posts: 684
Now you just need to add the following to your xstartup file:
once you define a window manager and a GUI, it will load a desktop environment instead of just the app inside Xwindows. I prefer Gnome, but others will work. the gkrellm command is supposed to launch the app each time the vnc session starts.
Bill G.

Here's mine as a reference:


#!/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" &
##################Window Managers
#twm &
#gdm &
kdm &

###########################GUI's
#startkde &
#startxfce4
gnome-session
#fluxbox
#enlightenment
gkrellm

Last edited by wdgiles; 27th March 2006 at 08:43 PM.
Reply With Quote
  #12  
Old 27th March 2006, 08:47 PM
kvfletch Offline
Registered User
 
Join Date: Mar 2006
Posts: 16
thanks, = dumbass question
where do I put this - file/folder location?
Reply With Quote
  #13  
Old 27th March 2006, 08:51 PM
wdgiles's Avatar
wdgiles Offline
Still Nothing
 
Join Date: Dec 2004
Location: Dallas, Texas
Age: 41
Posts: 684
Start in your home directory and "cd .vnc"
the xstartup file should be located inside the .vnc directory.
I prefer "nano" to edit the file, it's like VI, just easier somehow.
Since you were able to start vnc, the file shold already be present and you'll just be adding to it.
Enter this command to edit the file: "nano ~/.vnc/xstartup"
Reply With Quote
  #14  
Old 27th March 2006, 08:54 PM
stinerman Offline
Registered User
 
Join Date: Jul 2005
Posts: 8
Quote:
Originally Posted by kvfletch
thanks, = dumbass question
where do I put this - file/folder location?
~/.vnc/xstartup

That is, the file "xstartup" is already there; just uncomment the lines that say "uncomment the following lines for normal desktop" and you'll be ready to go.

EDIT: If the file in question is not there, then you can just copy and paste the one given in this thread to gedit, name it "xstartup", and put it in ~/.vnc/

Last edited by stinerman; 27th March 2006 at 08:56 PM.
Reply With Quote
  #15  
Old 27th March 2006, 09:54 PM
jhetrick62 Offline
Registered User
 
Join Date: Feb 2005
Location: Buffalo, Ny
Posts: 875
Glad it is working. I see why you want it as you are on ssh now. I use it daily so that I don't have to go in the basement to check for updates on my fileserver.

Goodluck,
Jeff
__________________
Registered Linux User #411071

If at first you don't suceed, read the man page again!
Reply With Quote
Reply

Tags
configure, vnc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to configure VPN. WilsonLee Servers & Networking 7 13th January 2009 01:39 AM
Configure USB TV roque69 Hardware & Laptops 3 28th December 2007 07:22 PM
How to configure yum to use a LAN FTP? Vosper Installation and Live Media 3 8th July 2005 10:19 AM
How to configure X? djkoelkast Using Fedora 2 18th March 2005 01:49 PM


Current GMT-time: 01:40 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat