Page 1 of 1

VNC problems after running Magic

Posted: Wed Feb 04, 2004 5:19 pm
by drift3r
Hello,

Sorry to sound a newbie here - I recently updated Gentoox with MAGIC which successfully went through the 16 or so updates. During the update i noticed VNC was updated to a different program but missed any info it displayed, and now I'm unable to connect to VNC again.

I've had a search for the answer on these forums but most VNC releated questions seem to cover other problems, so thought I'd post a message and ask for help.

Many thanks

Paul.

Posted: Wed Feb 04, 2004 6:07 pm
by nobspangle
if you connect through a web browser you need to use
http://xbox_ip:5800

If you use a vnc viewer program you need to use
xbox_ip:0 or just plain xbox_ip

the default password is gentoox

Posted: Wed Feb 04, 2004 6:41 pm
by drift3r
Thanks for your quick response.

Unfortunately that doesn't work, both through the vnc client and using IE browser. The error message on the client says 'Failed to connect to server'.

What is the command to start vnc? It could be the service isn't running...

Posted: Wed Feb 04, 2004 7:01 pm
by padawan

Posted: Wed Feb 04, 2004 7:20 pm
by drift3r
Thanks Padawan, that did the job. I set it running again by typing:

vncserver :0 -name xbox -depth 16 -geometry 1024x768

The only problem is I have to keep restarting the server each time Linux is loaded - is there a command to make it load on start-up?

Sorry for the newb questions...

Posted: Wed Feb 04, 2004 8:03 pm
by padawan
From what I have figured out, you have to write an entry in /ect/services and then create the corresponding config file in /etc/xinetd.d

Links: http://www.openbrick.org/en/Members/tn/ ... 0and%20VNC

http://forums.gentoo.org/viewtopic.php? ... c+services

Might be totally wrong though :oops:


::edit::

also saw that there is a "rc-update" utility. maybe that will help you ? (http://www.gentoo.org/doc/en/rc-scripts.xml at the bottom)

Posted: Thu Feb 05, 2004 8:00 pm
by drift3r
oo blimey, I can tell I'm a Linux newbie - spent the last 3 hours trying to get this working.

Bascially tried the Gentoo tutorial link but I couldn't get it to work because TightVnc was removed during the Magic update and I can't reinstall. I still followed the tutorial but nothing came out of it.

The trouble is the VNC servers mentioned in the links don't exist. Take this for example:

Code: Select all

service vnc-1024x768x16 
{ 
          protocol = tcp 
          socket_type = stream 
          wait = no 
          user = nobody 
          server = /usr/bin/Xvnc 
          server_args = -inetd -query localhost -once -geometry 1024x768 -depth 16 
}
The Server mentioned in the Gentoo tutorial (/usr/bin/Xvnc) and OpenBrick tutorial (/usr/X11R6/bin/Xvnc) don't exist.

The file 'vncserver' does exist in these directories though, so I tried substituting this under the server option, but had no luck.

Also tried rc-adding vncserver which didn't work either.

Does anyone know what type of VNC program was added during Magic? I read that VNC is actually built-in to XFree now - but in that case how can I make it start on boot?

Many thanks for your help...

Paul.

Posted: Thu Feb 05, 2004 10:17 pm
by nobspangle
run "magic fix displaytools1 && magic" that should fix it.

Posted: Fri Feb 06, 2004 6:22 pm
by drift3r
aha! Thanks nobspangle, worked a treat!

Thankyou all for your help!!