|
|
#1 |
|
Registered User
Join Date: Sep 2004
Posts: 35
|
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? |
|
|
|
|
|
#2 |
|
Da House Nerd
Join Date: Dec 1969
Location: One CPU Lane
Posts: 3,512
|
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 |
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Sep 2004
Posts: 35
|
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. |
|
|
|
|
|
#4 |
|
Da House Nerd
Join Date: Dec 1969
Location: One CPU Lane
Posts: 3,512
|
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 |
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Sep 2004
Posts: 35
|
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... |
|
|
|
|
|
#6 |
|
Da House Nerd
Join Date: Dec 1969
Location: One CPU Lane
Posts: 3,512
|
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 |
|
|
|
|