|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
There is probably no VNC server running on your FreeBSD box. You have the viewer, but not the server. I would look at ports/net/x11vnc for your FreeBSD box.
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident! |
|
||||
You have to start the vncserver before you can connect, otherwise there is nothing to connect to !
Without configuring some thing to handle such issues (probably inetd on Linux/BSD/Unix systems), there is no way for any computer to know what service you want started on receiving a request at port XYZ from host ZYX -- it's common sense. So without doing some thing like that you'll need to have the service running before connecting. I don't see any rc scripts in the ports pkg-plist files so you probably will need to create them in /usr/local/etc/rc.d or add an entry to /etc/rc.local if you want to start the service (and leave it running) when ever the machine starts. rc.local is a shell script, the rc.d system is a system of shell scripts -> read the rc man page for details. I used VNC on a headless machine ~two years ago and it worked fine. If you don't want to use TWM on login, you probably want to edit (or create) the ~/.vnc/xstartup shell script for the user on the VNC Server machine to handle launching the environment you want. I used to use KDE via VNC since at the time I required my only monitor for gaming, meaning it was attached to a Windows machine ;-). Personally I find SSH better then VNC or running an X Server whether the client is a Microsoft or Unix based system but to each their own. VNC + TWM however does work better over the network then say, VNC + Windows NT or VNC+KDE which are heavier on performance then TWM.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
||||
Quote:
Code:
/usr/local/etc/rc.d/ |
|
|||
I have a small howto on my website on connecting trough vnc+ssh
Have a look it might help you http://www.violetlan.net/bsd/27/Tigh...Freebsdoverssh Have fun Reinhold |
|
||||
Quote:
your guide help many and I can connect to FreeBSD box from Windows , but I have new problem right now I use XFCE4 for desktop but when I connect with vncviewer , I see another Desktop like Xterm , but it is not Gnome , KDE and Fluxbox. |
|
||||
You can edit your startup script to invoke any window manager you like. It usually resides in ~/.vnc/xstartup.
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mounting FreeBSD Data on Windows | tuck | Other OS | 11 | 13th February 2009 10:19 AM |
FreeBSD server, Windows clients, daily backups | Weaseal | FreeBSD General | 4 | 25th December 2008 05:50 PM |
Resume: FreeBSD to Windows | bsdsys_x86 | FreeBSD General | 23 | 19th November 2008 02:11 AM |
I can't make FreeBSD floppy/boot image disks under Windows with fdimage | Turquoise88 | FreeBSD Installation and Upgrading | 4 | 12th November 2008 08:39 PM |
rsync freebsd server/windows client | Weaseal | FreeBSD General | 0 | 27th August 2008 12:29 AM |