VNC problems after running Magic

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
drift3r
Newbie
Posts: 9
Joined: Wed Feb 04, 2004 5:09 pm

VNC problems after running Magic

Post 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.
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post 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
If you keep an open mind, will your brain fall out?
drift3r
Newbie
Posts: 9
Joined: Wed Feb 04, 2004 5:09 pm

Post 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...
padawan
Novice
Posts: 22
Joined: Sun Jan 25, 2004 10:36 pm

Post by padawan »

drift3r
Newbie
Posts: 9
Joined: Wed Feb 04, 2004 5:09 pm

Post 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...
padawan
Novice
Posts: 22
Joined: Sun Jan 25, 2004 10:36 pm

Post 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)
drift3r
Newbie
Posts: 9
Joined: Wed Feb 04, 2004 5:09 pm

Post 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.
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

run "magic fix displaytools1 && magic" that should fix it.
If you keep an open mind, will your brain fall out?
drift3r
Newbie
Posts: 9
Joined: Wed Feb 04, 2004 5:09 pm

Post by drift3r »

aha! Thanks nobspangle, worked a treat!

Thankyou all for your help!!
Post Reply