Networking :: VNC hostname



I run vncviewer on a Windows-PC and want to connect to the vncserver on my DSL-stick. (if i use ip-address it allways works, but i want to use the hostname of the machine) I changed the hostname of my DSL-pc to "Patrick" (boot-options DSL 1.5) but vnc can't find it (it can however find BOX). What's the deal?

Just curious :-)


PS: i am now able to remotely take over a MS-box and from a MS-box remotely take over the DSL-box :-)

You will be unable to use the hostname as your address unless your local network's DNS server knows of this name.  If you have a home network, you probably don't even have a DNS server.

Anyways, an alternative is to set up your DSL computer with a static IP address and then manually add the hostname to your  local Windows computer.

For Windows 2000/XP, the host file is located at:

C:\WINDOWS\system32\drivers\etc\hosts

or

C:\WINNT\system32\drivers\etc\hosts

Edit it with notepad or wordpad and add it to the list.  For example, you might have mydslcomputer located at 192.168.1.4 so you add

192.168.1.4           mydslcomputer

to the bottom of the file and then save it.

1. how did you change the name of your linux box? i'm running dsl 1.5 and no matter what i try it seems to keep the name box.

2. i also remember seeing someplace to reduce the number of workspaces but now i can't find it again.

3. i'm interested in how dsl 2.0rc compares to 1.5. is it worth taking the time to upgrade? any glaring bugs?

thanks,
samsocal

cbagger01,
If it's a DNS problem, why is Patrick able to find the machine when he uses BOX.  I was thinking the same thing you were but why can he find BOX?

samsocal,
When you boot dsl there are parms you can include. One of them is host=xxxxxxx.  If you boot with DSL host=dsl4me then that's what your machine will be called. Search the forum for host= to get a better explanation.

Also.... once you're booted you can reduce workspaces from the menu. Right-click the desktop....Desktop....Workspaces....RemoveLast. You should be able to change the number of workspaces in one of the config files so it's that way all the time. I'll let one of the smarter guys answer that one.

Good luck

To keep the changes permanent, go to /home/dsl/.fluxbox/init and change

session.screen0.workspaces:   4
to
session.screen0.workspaces:   1          (if you want 1 workspace)

This file should be backed up by default.

I haven't used 2.0 yet. I am waiting for others to work through the upgrade problems.  

Good Luck,

Next Page...
original here.