• Welcome to BOINC-AUSTRALIA FORUM.

News:

If you have forgotten your password use your email address to reset HERE

Main Menu

Ubuntu Questions. - None are dumb.

Started by peter leman, February 03, 2009, 01:52:04 PM

peter leman

Hi all.

I 'll go first, i'm trying to get vncviewer working under ubuntu 8.04lts i can use ssh between rigs no problems. But

i can't get vnc working no matter what i do, i've looked at the ubuntu fourms and it seems others have had the same type

of problem. I've played around with the firewall setting that didn't make a diff so, anyone tried it and got some advice

i want to do away with my KVM if i can and just connect over the LAN switch.

pete.

yoda

#1
Are you having trouble connecting TO an Ubuntu box FROM a Windows box with VNC Viewer?  Or viewing one Ubuntu (or Windows) box FROM another that's running vncviewer?  Just need to make sure before I answer the wrong question

I use Remote Desktop Viewer at the client end and Remote Desktop at the "server" end.   Works fine as long as the server has been set up to allow connections AND it has been set up for automatic login on startup.

peter leman

Quote from: Webmaster Yoda on February 03, 2009, 02:25:47 PM
Are you having trouble connecting TO an Ubuntu box FROM a Windows box with VNC Viewer?  Or viewing one Ubuntu (or Windows) box FROM another that's running vncviewer?  Just need to make sure before I answer the wrong question

I use Remote Desktop Viewer at the client end and Remote Desktop at the "server" end.   Works fine as long as the server has been set up to allow connections AND it has been set up for automatic login on startup.

Hi W.M.Y.

What windows :shock no two, soon to be three ubuntu 8.04 boxer's. I've set it up under system/preferences/remote desktop and under applications/internet/remote desktop viewer.

And in firestarter to allow vnc & port 5900 on both but nothing works, like i said ssh works fine so i just don't know what's going wrong.

pete.

yoda

OK, I don't use firestarter but it may well be that the issue is there.

You do need to be logged in on the other computer (the ne you're viewing).  If it/they are sitting at the login screen, you will not be able to connect to them via Remote Desktop Viewer (only via SSH, which is what I do with mine)

peter leman

Hi W.M.Y.

This is what i get from vnc viewer message (Connection to host "*.*.*.*:5900" was closed.) numbers removed) when i try to connect to either host.

Two are running on the KVM atm so i can play around with settings.

I've tryed to change setting in firestarter nothing makes a diff, i did see on one forum tread about opening port 20 or 22 can't remember which

but i don't want to open to many do i.

pete.


yoda

As I said, I don't use Firestarter.  But if I did, I would not be too worried about internal traffic.   Linux isn't as vulnerable as Windows :)

Anyway, in your remote desktop settings, you can (under the advanced tab) specify LOCAL traffic only and you can enable encryption as well.  Plus you can assign a password.  That way, only someone on the LOCAL network who knows the password can log in to the desktop

I actually get the same message you quoted when I try to connect to the remote desktop on all except one of my Linux boxes.  The difference between that one and the rest is that I'm logged in to that one and the desktop is therefore open and available.  The others are sitting at their login screen, so vinaigre (the "VNC server") is not answering (after all, there is no desktop to connect to)

As soon as I log in to one of those computers (via KVM), I can log to the remote desktop too.

WikiWill

Hi Pete

SSH works fine, you say, so the basic networking is good.  It's either a VNC or firewall problem.

Have you fully configured VNC on the machine you're connecting to?  I had problems connecting to one system that I hadn't set the VNC auth password on.  Also double check that the VNC config is saved.  I think one way you can test is open the VNC viewer on that same machine and try connecting to localhost.

Also if removing KVM make sure the BIOS is enabled for booting without keyboard. You probably know that but it had me puzzled for a minute...  :)

No you don't want to open any firewall ports you aren't using.  I would argue this is valid on a home network too, but that's your choice and I'm a bit paranoid!  22 is used for incoming SSH.  IF tunnelling VNC over SSH then you need that enabled, but SSH is useful as a backup anyway if VNC dies.  For VNC you should only need 5900 open although if using multiple logical displays then you will also need 5900+N where N is the display number.

WW

peter leman

Hi W.M.Y. & WW.

I did setup all the setting's for VNC and i allowed the i.p. addi & port 5900 threw firestarter, it knows it's for vnc as soon as you put

the port number in, just won't work guess i have to buy that new bigger KVM o'well.

pete.

yoda

Security concerns aside (for a moment), try setting the "server" up without any security, i.e. no password for connection, no encryption, not restricted to local connections. See if it works then.

And as WW said, try it locally (viewing itself) too.

ONYX

Dumb question - every now and then, a program running in Ubuntu will fade ... the screen goes black and white (in that program only) .... and the program cant be used for a while

On the task bar I can go into anyother program, and all is well - except for that one that has sort of 'dimmed'

It will come back to life after a while and will allow to be used again

Can someone help with what the problem is?

Cheers

veebee

@ONYX..I get the same thing occasionally.  I think it is like when a program in , say, Windows, hangs for a while. I never get it for more than a few seconds though.

I would say it is due to "over comitment" of resources,... as my lappy, (dual core AMD @1.6Ghz, only 512 Mb RAM)  does it more than any other computer, and "hangs" for longer.

The other boxes are all q6600's with at least 2Gb RAM, up to 4Gb RAM.


Dingo

#11
Hi all

I am updating my Ubuntu 7.10 Pc's as they have not been updated for months and months.  I have the new linux milkyway apps on a usb but when I put in the usb memory stick what then.   It is command line and I do not know what the command is to copy the files from the  USB memory stick to the projects folder.  I can't see the stick as I don't know where it is ??

Any help would be appreciated.


EDIT:

OK  I found the answer:

Using sudo

mkdir mnt/usb
mount /dev/sdb1 /mnt/usb

[/i]







Have a look at the BOINC@AUSTRALIA

Facebook Page and join and also the Twitter Page.

Proud Founder and member of BOINC@AUSTRALIA
My Luck Prime 2060937 digits.
Have a look at my  Web Cam of Parliament House Ottawa, CANADA

Cruncher Pete

I am using Ubuntu 8.10 and recently deleted all reference to my previous versions of BOINC and installed version 6.4.5 in order to run CUDA devices.  Not all is well however as it seems that the Links to access a workunit's webpage from the unit itself (either from Projects or Tasks) is broken or not set up properly.  As it is more likely to be the later how do I set this feature up.?

Wang Solutions

Quote from: Cruncher Pete on April 06, 2009, 08:21:49 AM
I am using Ubuntu 8.10 and recently deleted all reference to my previous versions of BOINC and installed version 6.4.5 in order to run CUDA devices.  Not all is well however as it seems that the Links to access a workunit's webpage from the unit itself (either from Projects or Tasks) is broken or not set up properly.  As it is more likely to be the later how do I set this feature up.?

I remember this issue cropped up in the old forum. Something to do with your default browser settings from memory? Or perhaps local prefs file?

veebee

hmmm, I just had to change from 6.4.5 to 6.6.20, because the former wasn't seeing my card..!!

It diodn't mention "missing" libcudart.so or anything..  didn't mention a THING !


but now.... GPUgrid says it doesnt have work for my "type of computer".

just thought..maybe it's a prefs thing at the project.. looking now..