 |
 |
 |
 |
| 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. |

27th March 2006, 05:18 PM
|
|
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.
|

27th March 2006, 05:28 PM
|
|
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!
|

27th March 2006, 06:33 PM
|
|
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
|

27th March 2006, 06:40 PM
|
|
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!
|

27th March 2006, 06:48 PM
|
|
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.
|

27th March 2006, 07:25 PM
|
|
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!
|

27th March 2006, 07:42 PM
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 16

|
|
|
I am doing this over ssh - is that the reason for the display issue?
|

27th March 2006, 07:53 PM
|
|
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!
|

27th March 2006, 08:30 PM
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 16

|
|
|
thanks, - i got those files created. still working on it - no luck though.
|

27th March 2006, 08:35 PM
|
|
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?
|

27th March 2006, 08:40 PM
|
 |
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.
|

27th March 2006, 08:47 PM
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 16

|
|
|
thanks, = dumbass question
where do I put this - file/folder location?
|

27th March 2006, 08:51 PM
|
 |
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"
|

27th March 2006, 08:54 PM
|
|
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.
|

27th March 2006, 09:54 PM
|
|
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!
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 01:40 (Tuesday, 21-05-2013)
|
|
 |
 |
 |
 |
|
|