SuSE and Xnvc
Hello all,
I'm having trouble with the Xnvc program on my SuSE machine. I run Xvnc and it starts the vnc no problem. When the remote machine connects via its vnc viewer, I can see the Connect message on my machine, but it will not open up the xterm on the remote machine like it is supposed to. Here is my xstartup file inside my .vnc directory: Code:
#!/bin/sh Tnx. L8rz |
Quote:
Or is that not the problem? You think you're getting a connection, but no Window?? My understanding is that vnc is a kind of X server, so you don't actually start a proper X session. I had a lot of trouble with my vnc until I changed my ~/.vnc/xstartup to only: Code:
/usr/kde/3.5/bin/startkde Code:
exec startkde Of course, if it's not kde you want, you'd have to change this to whatever you need to start whatever GUI you want. All other settings are in /etc/vnc.conf I use vnc through ssh from work (behind firewall) - works very well, you can create a tunnel through any firewall, if it lets ssh through, you can pass everything else through. Hope this helps. |
Thanks for the reply.
I say remote, but it's only a machine on the same local network. No firewalls, nothing really to deal with except the local HUB. It's a pretty simple network as far as I can tell. (not my network... I'm forced to work in an environment where you get little to no info :( ) I'm going to give it a try as soon as I can free up the machines again. Should be fairly soon. I'll report back with my next findings. Thx again. L8rz |
Ok, well this is what's new:
Cannot find any /etc/vnc.conf file. So I changed the xstartup file to the following: Code:
#!/bin/sh Upon starting Xvnc :1 on my machine I get the following in the terminal window: Code:
16/06/2006 23:22:10 Xvnc version XF4VNC-4.4.0.0 After this, my machines' terminal window displays: Code:
16/06/2006 23:25:10 So at this point, I'm assuming that the remote machine is connected, just not showing the aterm, if the aterm is actually being executed when connecting. I also get a message when disconnecting on the XP machine, as well as if I simply stop the vnc server on my machine. So, again, this leads me to believe that there is atleast some connection happening wether or not it's a good/correct one I still don't know. I'm still trying a few other things to see if I can get it going. Doing a massive Google too, but coming up short so far. Tnx for the help thus far. ;) |
Hmmmm, your output is very different to mine:
Code:
New 'MAX:1 (bernie)' desktop is MAX:1 Code:
Xvnc version 4.0 - built Feb 26 2006 16:11:53 Woah - are you running a vncserver with that command? Or a viewer? wait a bit, going to look at some docs |
Ok, so your suse installation is different to my gentoo one. Gentoo seems to have sweetened the whole shebang up, unless you've missed something.
To start a server, I use vncserver, not Xvnc, however see this (this is just after I started a new vnc display with vncserver): Code:
$ ps -ef | grep vnc Read this: http://www.realvnc.com/products/free/4.0/man/Xvnc.html especially the last line in the Description section Do you have vncserver? Can you get a package with that name? The other thing you could look at is the XP end. Which viewer are you using and why is it a different protocol version to your server? |
Actually, I originally tried with the vncserver command. I started using the Xvnc command just to see if it would help.
But yes, my vncserver does start Xvnc like you stated. I went back to using the vncserver command and it still gives the same results. I've gone thru the Xvnc page, the vncserver page, the TightVnc page, and the RealVnc page as well. They all pretty much say the same thing. Trying some new options at the moment. I'll post back with results. EDIT: I grep'd the system after starting vncserver and got the following: Code:
friq@eMach:~> vncserver |
Still a no-Go. I wonder if I need to specify screen resolution, size, and all of that mess. I'd figured that it would just default to a setting that should be adequate to both machines.
Should I maybe try a different version of the vncserver on the Host machine? Or perhaps it has something to do with my xstartup file. I've been looking for examples of this file, but not finding much info other than alot of repeated (i.e. copy/pasted) texts on web pages. |
I would try a different viewer - I use TightVNC on XP machines.
In fact that's what I'm about to do on a new Kubuntu install, because the Kubuntu vncviewer is giving me grief. But I already know my server is working. You said you didn't have a /etc/vnc.conf See if there's any useful information in mine: Code:
# /etc/vnc.conf written by Marcus Brinkmann. This file is in the Public Domain. |
All times are GMT -5. The time now is 12:08 AM. |