Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems with ssh and vnc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
zang42
n00b
n00b


Joined: 29 Jan 2004
Posts: 8

PostPosted: Thu Jan 29, 2004 3:23 pm    Post subject: problems with ssh and vnc Reply with quote

i have two computers and both are running gentoo. on my primary computer, everything works just fine, ssh and vnc. when i ssh into my other computer, it does connect, but i can't do "top" or practically anything other than "ls". i can start a vncserver on that computer, but all i get when i use vncviewer or tightvnc is a blank screen with a cursor... can't right click or anything. i was just wondering if anybody knew what the problem might be. thanks.
Back to top
View user's profile Send private message
meowsqueak
Veteran
Veteran


Joined: 26 Aug 2003
Posts: 1549
Location: New Zealand

PostPosted: Thu Jan 29, 2004 8:29 pm    Post subject: Reply with quote

When you say you can't do 'top', what precisely do you mean? Does it give an error message? Does it drop the connection? In what way do these programs, other than 'ls', not work?
Back to top
View user's profile Send private message
zang42
n00b
n00b


Joined: 29 Jan 2004
Posts: 8

PostPosted: Thu Jan 29, 2004 11:48 pm    Post subject: Reply with quote

it just hangs... nothing happens, doesn't bring me back to my command prompt or anything
Back to top
View user's profile Send private message
fleed
l33t
l33t


Joined: 28 Aug 2002
Posts: 756
Location: London

PostPosted: Fri Jan 30, 2004 10:24 am    Post subject: Reply with quote

Is the blank VNC screen related to not having a window manager, maybe?

Could it be you're sshing into a chroot jail which is very limited? Unless you haven't setup your machine, you should know if that's the case. Also, if you use the machine directly do you have access to top? Could it be you just need to install it (dunno if it is part of a basic package, is sys-apps/procps included in a basic install?) Can you cd to / and check the contents?
Back to top
View user's profile Send private message
zang42
n00b
n00b


Joined: 29 Jan 2004
Posts: 8

PostPosted: Fri Jan 30, 2004 3:03 pm    Post subject: Reply with quote

i have kde set up as the display manager, and yes, top does work directly on the computer... everything works fine directly on it.
Back to top
View user's profile Send private message
krusty_ar
Guru
Guru


Joined: 03 Oct 2002
Posts: 560
Location: Rosario, Argentina

PostPosted: Fri Jan 30, 2004 3:07 pm    Post subject: Reply with quote

I think ssh tryes to use the same user in one box and the other (can be overwiten in the comman line), so maybe the user that you are in the client box, doesn't exists or doesn't have a shell in the server box
_________________
I am Beta, don't expect correct behaviour from me.
Take part of the adopt an unaswered post initiative
Back to top
View user's profile Send private message
zang42
n00b
n00b


Joined: 29 Jan 2004
Posts: 8

PostPosted: Fri Jan 30, 2004 5:33 pm    Post subject: Reply with quote

the thing is, it didn't work right away when i set up my secondary computer... then after a few weeks, it worked for a few days, everything was functional, ssh and vnc. now it doesn't work again... and i didn't change a thing, it's really weird
Back to top
View user's profile Send private message
SkizoidMan
n00b
n00b


Joined: 30 Apr 2003
Posts: 50

PostPosted: Sat Jan 31, 2004 12:28 pm    Post subject: environment variables Reply with quote

Check your path settings first of all; connect via ssh and, if you use bash, type "export".

If your PATH is missing the /usr/bin, /usr/local/bin and /usr/X11/bin directories, add them in your local initialization file (.bashrc, .profile or whatever you use):

export PATH=/usr/X11/bin:/usr/bin:$PATH:/usr/local/bin

this should fix your problems.

SkizoidMan
Back to top
View user's profile Send private message
zang42
n00b
n00b


Joined: 29 Jan 2004
Posts: 8

PostPosted: Sat Jan 31, 2004 5:10 pm    Post subject: Reply with quote

didn't work
Back to top
View user's profile Send private message
Lillstrumpa
n00b
n00b


Joined: 10 Dec 2003
Posts: 29
Location: Örebro, Sweden

PostPosted: Mon Feb 09, 2004 5:35 pm    Post subject: Reply with quote

I had the same problem but I solved it by using another networkcard.
The cheap Realtekcard I was using gave me this error but when changing it to a d-linkcard the problem was gone.
Back to top
View user's profile Send private message
zang42
n00b
n00b


Joined: 29 Jan 2004
Posts: 8

PostPosted: Mon Feb 09, 2004 9:50 pm    Post subject: Reply with quote

it's working now... has been for a few days actually. my roommate switched the router that the comp was on to a hub. that must've been the problem. thanks for everybody's help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum