realvnc viewer works in browser but not w/ Viewer
I am trying to use vnc server on my yellowdog linux ps3.
I started vncserver on the linux ps3 box disabled the firewall, (I have a hardware firewall) then tried to remote to it with the vncviewer from an XP pc and the viewer acts like it is connecting then the connection dialog goes away but in my task manager it shows the vnc software still running. However if I try to remote the the ps3 through the browser via realvnc it works fine. I have tried 2 different pc's to remote from and I get the same exact problem. Any ideas? Thanks |
Have you set which display to use on the linux box? i.e. 5901, 5902 etc
|
Quote:
and i works when i do it from vncviewer it just closes |
Quote:
|
Ok that worked thanks, however it is not exactly what I was expecting.
I was thinking that when I remoted to the box that the viewer on my would look as if I was logged in directly to the computer. 768 Instead I get a low resolution and I don't see the menu just the Terminal and a colored background. I set the vncserver like this vncserver -geometry 1024x768 -depth 32 :1 If i type in firefox that works I can browse the web and it looks pretty good, I guess My real question is how can I get the Linux menu to display in my viewer? The only menu I can get is one that had options Like TWM ShowIconMGr Iconify etc. How can I display the Linux Menu to look the same way it does when I log in directly to the pc? |
Quote:
Hopefully this post will help others with vnc viewer problems On VNC Server machine with vnc-server installed: 1)Type vncserver -geometry 800x600 (or whatever resolution you prefer) 2) There will be a session number displayed .This will create a .vnc directory in your home directory. (/home/yourself/.vnc) 3) Type cd /home/yourself/.vnc (or type .vnc in your filemanagers address bar) 4)Type ls -alc (You should see a script called xstartup) <- you don't need to do this if you use your filemanager. 5)Type vi xstartup or use whatever text editor you prefer <-if you used your filemanager, just click the file and open it with a text editor e.g. kwrite. ** This is where we will setup your vnc session to use your window manager of choice ** Find the section where it says twm & and replace it with your choice. e.g. startkde & (used for the KDE window manager) exec gnome-session & (used for the Gnome window manager) startxfce4 & (used for the XFCE4 window manager) 6)Now type vncserver -kill:x (x=session or display number) This stops the VNC Server so that the xstartup script we just edited can be re-read when we restart the server. 7)Type vncserver (to start the session back up) 8)Type ps ax | grep vnc (check if your session is up and running) |
that did it GREAT thank you!
|
All times are GMT -5. The time now is 08:36 AM. |