Hi. openSUSE 11.0 I'm trying to open a vncserver: 05/07/2008 06:49:25 See http://www.tightvnc.com/ for information on TightVNC 05/07/2008 06:49:25 See http://xf4vnc.sf.net for xf4vnc-specific information 05/07/2008 06:49:25 Desktop name 'X' (erikja:1) 05/07/2008 06:49:25 Protocol versions supported: 3.7, 3.3 05/07/2008 06:49:25 RGB format 8 8 8 05/07/2008 06:49:25 Listening for VNC connections on TCP port 5901 05/07/2008 06:49:25 Listening for HTTP connections on TCP port 5801 05/07/2008 06:49:25 URL http://erikja:5801 Could not init font path element /usr/share/fonts/local, removing from list! Could not init font path element /usr/share/fonts/uni, removing from list! Could not init font path element /usr/share/fonts/CID, removing from list! xrdb: No such file or directory xrdb: can't open file '/root/.Xresources' Should I open port 5901 and 5801 on my router ?. Why can the init font not be done ?. What is xrdb, and how to get it available ? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 2008-07-05 at 06:57 +0200, Erik Jakobsen wrote:
05/07/2008 06:49:25 Listening for VNC connections on TCP port 5901 05/07/2008 06:49:25 Listening for HTTP connections on TCP port 5801 05/07/2008 06:49:25 URL http://erikja:5801 Could not init font path element /usr/share/fonts/local, removing from list! Could not init font path element /usr/share/fonts/uni, removing from list! Could not init font path element /usr/share/fonts/CID, removing from list! xrdb: No such file or directory xrdb: can't open file '/root/.Xresources'
Should I open port 5901 and 5801 on my router ?.
Yes, if you want unencrypted information sent (at least 5901 and assuming the router is on the server side). If you are sending across an open network, you might want to use a secure shell tunnel. To do this, use a command like the following (from the client): $ /usr/bin/ssh -L 5901:localhost:5901 loginName@server.computer.address.dk In practice, the secure server tunnel is often easier because it uses port 22, which is not likely to be blocked anywhere. Then you should be able to run: $ /usr/bin/vncviewer localhost:1 on the client, and log in through VNC (assuming you ran /usr/bin/vncserver on the server first).
Why can the init font not be done ?.
Ignore this messages. It is X looking for fonts in standard locations. In your case you do not have any fonts there because you do not need them.
What is xrdb, and how to get it available?
I think you are running vncserver as root, which is why you have this message. If you are the only person using VNC, it is safer to run it as a non-root user, and might get rid of this message. I use vncserver as a user and close it down after I close the connection. I have everything in a single python script, though I think its possible to handle the secure shell tunnel using the via option in vncviewer. -- JDL -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
John D Lamb wrote:
On Sat, 2008-07-05 at 06:57 +0200, Erik Jakobsen wrote:
05/07/2008 06:49:25 Listening for VNC connections on TCP port 5901 05/07/2008 06:49:25 Listening for HTTP connections on TCP port 5801 05/07/2008 06:49:25 URL http://erikja:5801 Could not init font path element /usr/share/fonts/local, removing from list! Could not init font path element /usr/share/fonts/uni, removing from list! Could not init font path element /usr/share/fonts/CID, removing from list! xrdb: No such file or directory xrdb: can't open file '/root/.Xresources'
Should I open port 5901 and 5801 on my router ?.
Yes, if you want unencrypted information sent (at least 5901 and assuming the router is on the server side). If you are sending across an open network, you might want to use a secure shell tunnel. To do this, use a command like the following (from the client):
$ /usr/bin/ssh -L 5901:localhost:5901 loginName@server.computer.address.dk
In practice, the secure server tunnel is often easier because it uses port 22, which is not likely to be blocked anywhere. Then you should be able to run:
$ /usr/bin/vncviewer localhost:1
on the client, and log in through VNC (assuming you ran /usr/bin/vncserver on the server first).
Why can the init font not be done ?.
Ignore this messages. It is X looking for fonts in standard locations. In your case you do not have any fonts there because you do not need them.
What is xrdb, and how to get it available?
I think you are running vncserver as root, which is why you have this message. If you are the only person using VNC, it is safer to run it as a non-root user, and might get rid of this message. I use vncserver as a user and close it down after I close the connection. I have everything in a single python script, though I think its possible to handle the secure shell tunnel using the via option in vncviewer.
Many thanks John. I'll try it out. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Erik Jakobsen wrote:
Many thanks John. I'll try it out.
I tried it out using ip:5901 on the Windows computer. But I didn't get the whole Linux screen?. Yes you did. Now you need to configure the desktop you want to come up. That is the default X desktop with a terminal that will get you started runniing
On Sat, Jul 5, 2008 at 08:35, Erik Jakobsen <erik_ja@mail.tele.dk> wrote: programs. How you go about setting up the desktop will be left as an exercise. -- Rita Rudner - "When I eventually met Mr. Right I had no idea that his first name was Always." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 2008-07-05 at 09:35 +0200, Erik Jakobsen wrote:
Erik Jakobsen wrote:
Many thanks John. I'll try it out. I tried it out using ip:5901 on the Windows computer. But I didn't get the whole Linux screen?.
Try this. Log in to the server. Edit the file ~/.vnc/xsetup and set the desktop you want. My file currently looks like this: ---------------------------------- #!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey #xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & kde & ---------------------------------- The desktop is set to kde in the last line. I have commented out a default xterm because I do not need it. You can also try other options on the server and viewer. I use $ usr/bin/vncviewer -FullScreen localhost:1 to get the viewer to start full screen. I use (on the server) $ /usr/bin/vncserver -geometry 1680x1050 :1 to get the server to work at the resolution of the client computer. mvh -- JDL -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Erik Jakobsen
-
John D Lamb
-
ne...