Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: VNC questions (newbie)

  1. #11
    Junior Member
    Join Date
    Nov 2006
    Posts
    84
    OK. I made some progress.

    Tried the hub idea and was able to connect, no problem. Of course by default VNC displays just a terminal screen so I poked around on the web to find out how to edit .vnc\xstartup

    After diving into vi for the first time (and floundering) I decided just to edit it directly using text editor. After a few attempts, I was able to create a VNC session to my FC6 box from my XP laptop.

    The culprit? Client-based firewalls on both the XP box (Microsoft's OneCare firewall/spyware/antivirus offering) and FC6. Once I turned off both firewalls, I was connecting like a champ.

    Now two more questions. I cannot seem to connecting using hostname. How and where do I set hostname in Linux? And what ports exactly do I need to open up? Just 5901 will suffice or are there other ports?

    Thanks,
    JJJ

  2. #12
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630
    If you are trying to connect to linux by hostname on XP, go to C:\windows(WINNT)\system32\drivers\etc and add the ip and hostname of Linux box to the file called "hosts".

    The easy way to get a display for VNC is to make a symbolic link in /home/username/.vnc to /etc/X11/xinit/xinitrc called xstartup

    Code:
    cd .vnc
    ln -s /etc/X11/xinit/xinitrc xstartup
    For ports to open, as many as you have users that need displays. so for three users you want 5901, 5902, 5903.

  3. #13
    Junior Member
    Join Date
    Nov 2006
    Posts
    84
    I have DHCP on my router. While I could reserve an IP address for my Linux box and update the hosts file on my XP laptop what if I didn't want to? Total noob inquiry. Just curious though.

Similar Threads

  1. Newbie questions about dual-booting FC6 and XP
    By JoeyJoeJoe in forum Redhat / Fedora
    Replies: 6
    Last Post: 11-09-2006, 04:17 PM
  2. Newbie Questions...
    By Dreak in forum Linux - General Topics
    Replies: 5
    Last Post: 08-12-2003, 06:02 PM
  3. CPU Questions
    By stryder144 in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 06-27-2003, 08:31 PM
  4. Newbie Questions
    By rooster in forum Windows - General Topics
    Replies: 19
    Last Post: 08-28-2002, 03:08 AM
  5. 2 questions
    By linuxrookie in forum Linux - General Topics
    Replies: 7
    Last Post: 05-11-2002, 03:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •