|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
VNC not viewing correctly
Hi everyone
I have two freebsd servers in my home and I have a small trouble with VNC. First of all, I have one running on KDE and another running of Gnome. I have looked up a lot of tutorials online and it seems that I have done the "right" thing. For my KDE Desktop, I have modified my xstartup to be: Code:
#!/bin/sh [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #REMOVE TO RETURN TO DEFAULT #twm & #ADDED TO ALLOW KDE exec startkde #vncserver and when I connect to this computer, using #vncviewer x.x.x.x:1, I am only seeing a NEW kde environment. I thought VNC is supposed to bring you the CURRENT view. By current, I am referring to your current desktop so whatever files or folders you have opened during the vnc access should show up on the vnc viewer rather than a brand new fresh kde desktop. How do I modify my settings to allow this to happen? Note that I am using ktorrent and ktorrent doesn't allow multiple instances, so that I whenever I start up ktorrent under my current vnc sessions, it doesn't work. Second this is my gnome xstartup: Code:
#!/bin/sh [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #UNCOMMENT TO RETURN TO DEFAULTS #twm & #ADDED for Gnome laptop gnome-session [disappearedng@home ~/.vnc]$ vncserver I get the following error xauth: (argv):1: bad "add" command line xauth: (argv):1: bad "add" command line Note that when i vncviewer my gnome desktop i CANNOT see anything. It's just a blank screen. Why? |
|
|||
Thx for the tip.
It still doesn't give me access to the current Desktop. *I know this because when I log in with vnc, ktorrent complains about the port 4771 already in use and it has a bunch of errors and i know for sure that it does not support multiple instances. My gnome vnc is still blank. Any ideas? |
|
||||
You'll need to install the X11VNC port. Then you can ssh to system where you have a running X session, run x11vnc from within the SSH session, and then connect via VNC to the system.
You can also configure x11vnc to be your X server, so that it is always running. Just be sure to enable a strong password on it if you do. (This is what we do with our diskless clients in all the schools, so we can connect to their station for troubleshooting helpdesk calls.) |
|
|||
thx that solved the problem!
x11vnc indeed is what I wanted!!! Why doesn't there exist a place where different ports will be explained to newbie users for this purpose? |
|
||||
Try the following:
Code:
# cd /usr/ports # make readme It's not the simple synopsis you may be looking for, but it can be quite helpful when just starting out with the ports tree. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
startx not starting correctly - XOrg 7.4_2 | Mantazz | FreeBSD Ports and Packages | 1 | 8th July 2009 04:17 PM |
FBSD 7.2 installation not seeing partition table correctly | Mantazz | FreeBSD Installation and Upgrading | 0 | 2nd July 2009 11:36 AM |
Viewing DVD's, pictures, and ps/pdf without X | JMJ_coder | Other BSD and UNIX/UNIX-like | 6 | 17th June 2008 02:43 PM |
No 30 second wait for viewing new posts | anomie | Feedback and Suggestions | 6 | 15th May 2008 01:48 PM |
KDE (X-Server) in FreeBSD 7.0 doesn't work correctly | louie | FreeBSD General | 6 | 7th May 2008 11:53 PM |