![]() |
|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
||||
![]() Quote:
Basic configuration of VNC server is the same on any Unix-like system. Now the deeper problems are: 1. Proper PF rules which will enable you to get to your OpenBSD box? 2. DNS issues. Do you have static or Dynamic IP? Are you doing NAT or not? Without knowing the topology of your network I can not help you with 1 and 2. Cheers, OKO |
|
||||
![]()
Step-by-step for mfaridi:
Last edited by jggimi; 17th November 2008 at 08:00 PM. |
|
||||
![]() Quote:
Code:
Edit ~/.vnc/xstartup. Have it start gnome-session, rather than running the default fvwm window manager |
|
||||
![]()
It's a shell script, mfaridi. Look at your the script, and compare it to the default xinitrc: /usr/X11/xinit/xinitrc. Then, look at your ~/.xinitrc or ~/.xsession script, and compare.
[spoon-feed] To have it start gnome, it should look something like: Code:
#!/bin/sh /usr/local/bin/gnome-session Code:
#!/bin/sh /usr/local/bin/startxfce4 |
|
||||
![]() Quote:
![]() then you can put something like Code:
exec vncserver You could probable run it as a local daemon by editing rc.local. TightVNC uses C, C++, and Java. You can imagine how secure is Java code. On another hand you can enhance security by SSH tunneling and using SSL. It kind of defeats purposes because you could as well run remote X clients on your local X server with ssh -Y ![]() For client side if you must use VNC I strongly recommend you to use SSVNC. http://www.karlrunge.com/x11vnc/ssvnc.html The only claim to fame of VNC is portability but even that is very questionable. There are many more far more suitable protocols for desktop virtualization like Ericom Blaze, OpenNX, Citrix, RDP... What do you actually want to accomplish? |
|
|||
![]()
I find that I have no problems ever when I have an .xinitrc file that launches my window manager in my home directory. I can start X by "xinit" or "startx" and it will produce the same result, which is starting Fluxbox.
I don't know if you need to go through all that trouble. I didn't look it up, it's just a suggestion for you to try real quick when you get frustrated or you've exhausted other options. Quick and painless is usually the way to go. I might try putting VNC on this OpenBSD box and see what happens myself later today. |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to connect Free VPN with OpenBSD | mfaridi | OpenBSD General | 19 | 9th February 2009 12:52 PM |
connect to openbsd box (ssh) | milo974 | Other BSD and UNIX/UNIX-like | 4 | 3rd January 2009 02:44 AM |
FTP-Proxy cannot connect | plexter | OpenBSD Packages and Ports | 6 | 11th October 2008 05:59 PM |
wpa_supplicant won't connect to AP | adamk | FreeBSD General | 4 | 24th September 2008 08:09 AM |