Go Back   PC Tech Talk > PC Tech > Operating Systems and Software > Linux
User Name
Password
Home Register FAQ Members List Calendar Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
Old 09-25-2004, 05:16 AM   #1
section31
Registered User
 
Join Date: Sep 2004
Posts: 35
section31 is on a distinguished road
fedora 2 - vnc experience needed

Hi, i just installed fedora for the first time. So be gentle i'm a n00b.

So i got fedora 2 running on an old box of mine that I have networked with my primary pc. The first thing I need to do is get a vnc server up and running so i can take control of it from my primary pc that way I don't have to be switching monitors. I started off by looking at the services that were running and saw that vnc server didn't want to start...so i just got lucky and typed "vncserver" on the command line and then it created an account and started the server. My questions are,

1. Why does it create it on port 1, and increments for each additional vnc server started. How do I change this?
2. When i tested it out from a remote client i noticed it was different than the windows vnc servers i've used before, it only allows for a terminal and thats it. I don't quite understand why its doing that, since if i wanted just the cmd line i would just use ssh. Could someone clarify this for me?
section31 is offline   Reply With Quote
Old 09-25-2004, 07:51 AM   #2
greffov
Da House Nerd
 
greffov's Avatar
 
Join Date: Dec 1969
Location: One CPU Lane
Posts: 3,512
greffov will become famous soon enough
1. it starts with port 1, if you want that different, you have to hack some files. I'd say don't bother about it. It increments for each additional server, since you cannot have multiple servers on one and the same port.

2. Did you install X on the Fedora box? VNC is not like Terminal Services, you just 'break in' on an existing session. If that session is not X-bound, you'll get no fancy graphics Indeed, SSH is much faster in that case.


What is it that you want to do with the linux box? Most of the time a headless (X-less) install is more than enough, since you just instruct the box what to do and use it's services from another workstation. Or is it that you want to try out one of the various display managers? I don't think VNC makes you happy in that case...



Linux virusscanner detected a virus:
Windows 95 ... delete [Y/n] y
~
~

:wq
greffov is offline   Reply With Quote
Old 09-25-2004, 03:44 PM   #3
section31
Registered User
 
Join Date: Sep 2004
Posts: 35
section31 is on a distinguished road
1. hm...ok i would like to find that file where i can change the the default port.

2. Yep.. the X.org's X window System is installed. In fact after i was unsuccessful with the default vnc server..i tried installing tightvnc, the one I use for my windows desktops, and the rpm needs the xfree86 window system. I guess I need to recompile the source to get it to work, but I don't know how to do that sort of thing yet. .

Well, this is all just for experimentation. I know I want to run some services on the box for fun..like an apache server with mysql and php. But, I need to get familiar with the gui also, since I may use some other cool apps there.
section31 is offline   Reply With Quote
Old 09-25-2004, 03:58 PM   #4
greffov
Da House Nerd
 
greffov's Avatar
 
Join Date: Dec 1969
Location: One CPU Lane
Posts: 3,512
greffov will become famous soon enough
if you install the rpm, you don't have to recompile anything. (recompiling is for Gentoo users)

the vnc server thing makes a file in your homedir. This file is editable I think you can find the port number in it as well. Otherwise you are probably able to override it using a command line switch.

Maybe cygwin on your PC is simpler to run an X-server on windows, so you can do ssh -CX to your server and start graphical applications on your server like that?

Webmin is very nice to control your server (apache, samba, etc) via a webpage, very nice for windows savvy users. http://www.webmin.com/



Linux virusscanner detected a virus:
Windows 95 ... delete [Y/n] y
~
~

:wq
greffov is offline   Reply With Quote
Old 09-25-2004, 04:48 PM   #5
section31
Registered User
 
Join Date: Sep 2004
Posts: 35
section31 is on a distinguished road
You can compile anything for any os. What i was trying to say was the only rpm package available for tightvnc was for fedora 1 and was compiled to use the xfree86 window system. I said I probably needed to get the source and recompile it to get it to work and I don't know how to do that.

How stupid of me...I had skimmed the manpage didn't see anything...I checked again and I found out how to start in on a diff port...just put a space and : portnumber... k, we got that figured out.

Now to get back to the root of the problem...this is what i get when I connect to the vnc server via my pc...

I can launch x window apps now..but through the cmd prompt..I get no desktop environment..I guess thats just the way the default vncserver is right? I need to find a vnc server that i will give me full desktop environment and all...either that or i'll have to buy a kvm switch which i've been seriously thinking about.


I've used webmin before thanks for the tip...
section31 is offline   Reply With Quote
Old 09-26-2004, 03:41 AM   #6
greffov
Da House Nerd
 
greffov's Avatar
 
Join Date: Dec 1969
Location: One CPU Lane
Posts: 3,512
greffov will become famous soon enough
I guess you meant this image http://img10.paintedover.com/uploads/10/vnc1.png

Uhm, ok, you got it running, cool... Now I see your problem.

Now I am no window manager/X expert, since I hardly use it. It looks as if you start the default Xfree/Xorg window manager, which is not the one that you expect. I can't imagine fedora putting that one as default, the installation at my work uses the Gnome Display Manager by default (GDM). Check if /etc/init.d/gdm status tells you that GDM is running. Maybe you want KDM, then you can do the same. Basically I think it is possible to do a kdeinit for instance so you get all the surrounding panels and stuff.



Linux virusscanner detected a virus:
Windows 95 ... delete [Y/n] y
~
~

:wq
greffov is offline   Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT -4. The time now is 05:06 PM.
Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0


eInvesting - Lost Discussion - Club-tC - Xtreme Tuning

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59