PDA

View Full Version : Ubuntu Seedbox Help!



Colypso
04-01-2008, 08:13 PM
I have followed the guide for setting up a Ubuntu Seedbox. Everything goes smoothly till I try to connect using vcn viewer. If anyone would like to help I would greatly appreciate it.

Thanks

will17
04-01-2008, 09:03 PM
Hey, post the log so someone can see whats happening:

$ cat ~/.vnc/your.hostname:1.log

What happens when you try to use it?

Colypso
04-01-2008, 09:34 PM
$ cat: /home/colypso/.vnc/your.hostname:1.log: No such file or directory

will17
04-01-2008, 09:37 PM
hmmm...

Stupid question maybe... but did you change the your.hostname bit?

Try logging in with VNC first then when it fails have a look for the file.

Did you follow Naq's guide?

Colypso
04-01-2008, 09:55 PM
Didn't change the hostname.
I did follow Naqs guide and the troubleshooting about the hostname.

will17
04-01-2008, 10:20 PM
Sorry, did you put your hostname in the command?

$ cat: /home/colypso/.vnc/your.hostname:1.log: No such file or directory

Colypso
04-01-2008, 10:35 PM
cat: .vnc/myhostname:1: No such file or directory

fixed that part now i get this message

Fatal server error:
could not open default font 'fixed'

will17
04-01-2008, 10:49 PM
ah well. What happens when you try to use VNC?

Colypso
04-01-2008, 10:53 PM
failed to connect to server

Fatal server error:
could not open default font 'fixed'

will17
04-01-2008, 11:02 PM
ok. I'd run through that section of the guide again. try installing it again and running through all the setup. Make sure you've started the VNC server
( $ vncserver :1 ). If you've setup firstarter make sure all the ports that you need are open. If you ran through the securing section make sure all your settings were right there.

If all else fails make a post in the guide page, NaQ checks there often and he might have the answer.



EDIT: Check this thread out:

http://filesharingtalk.com/vb3/f-bittorrent-43/t-seedbox-help-287972#post2754831 (http://filesharingtalk.com/vb3/t-seedbox-help-287972#post2754831)

could be related.

Colypso
04-02-2008, 12:13 AM
still no luck

Fatal server error:
could not open default font 'fixed'

will17
04-02-2008, 12:58 AM
When your logging in do you use your hostname or ip? Also edit out your hostname from before so no one can see it.

Colypso
04-02-2008, 02:03 AM
ip

Unstable1
04-03-2008, 08:57 PM
setting up vnc on ubuntu or debian requires a bit of fiddling im afraid.

heres roughly what you need to do:

1) make sure X is installed
2) make sure a window manager is installed like gnome for instance
3) edit the /etc/vnc.conf file to insert the line $vncStartup="/etc/gdm/Xsession"; (for gnome)
4) edit inetd.conf to start a vnc session using inet or alternatively install xinetd and then make a config file to handle vnc.
5) configure vncpassword
6) configure or write a small script to enable vnc to run through an ssh tunnel so all your vnc traffic including password is encrypted.


if you need more details, let me know.

what i've outlined will get it all working, ive configured vnc on debian and ubuntu so i know the procedure pretty well.

naq
04-04-2008, 11:51 AM
Sorry for not replying sooner as I'm busy atm. I know the error you are having, it's because the vncserver package doesn't pull in all the necessary dependencies from Xorg. I had tested this part I had in Section 3 under Debian, and I am assuming it'd be the same for Ubuntu:

# apt-get install xfonts-base xfonts-75dpi xfonts-100dpi

So make sure you do this part, and if it still doesn't work, you might as well just install the whole Xorg package:

# apt-get install xorg

I won't be around until late next week. So I hope you can figure it out by then.

EDIT: make sure you restart the vncserver after installing the font packages:

$ vncserver -kill :1
$ vncserver :1

Unstable1
04-04-2008, 12:45 PM
when my seedbox provider built my debian seedbox, they did a minimal install meaning there was no X system at all, or window manager.

so the first things i had to do were:

apt-get install xorg
apt-get install gdm

you need both X and a window manager - gdm is the gnome window manager.