LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-03-2006, 08:58 PM   #1
jdwilder
Member
 
Registered: Jul 2003
Location: United States
Distribution: Fedora Core 7 and older, Knoppix, Ubuntu
Posts: 121

Rep: Reputation: 15
Fedora 5 remote login


Hello, I need assistance understanding some of the remote X applications, I have been reading stuff that google finds me, and stuff on this forum, but I am just getting more confused.

I have two systems, and I am able to run the command
vncviewer -fullscreen xxx.xxx.xxx.xxx
to connect from one to the other and control the desktop.

That is nice, but what I would like to do is be able to login from the other computer, instead of just taking over whoever is currently logged in. I thought since vnc was just taking over the screen if I logged out of the host machine, when I vnced to it I would get the log in screen, but I don't I just get told that the connection is refused.

I have enabled remote login in the gdm preferences (I am using gnome). And when I look in the section to configure XDMCP I have taken that port and have my firewall allow that port through.

Then under securit I looked at the Configure X Server section and tried to add a server in addition to the standard one, and hoped it would allows another user to connect, but it didn't, so I removed it. (I didn't really understand what I was doing anyway).

So what I was wondering a few things. First, what is XDMCP, I know it is the X display manager, but what does it do, and how do I make it work, and connect to it from a nother machine. (I have tried XDMCP xxx.xxx.xxx.xxx similar to how I use vncviewer, but the system says it doesn't know the command XDMCP)

Second, if I get a remote user login working, can a user log in remotely if that is the same user that is logged in locally, and will that screw things up?

Third, I would like to have the choice between starting a new session with my remote user (while leaving anyone locally logged in still unchanged), or between taking control of the current logged in user. Is this possible? Could I do this by havin two ports listening, one for remote login, and one for remote control of local user?(and how would I do that)

What do I change in the gnome GDM settings GUI (System-Administration-login Screen) to properly configure the X server?

Thank you for your help, and I am sorry for asking some questions that have already been answered but I didn't understand the responses, so I am asking again hoping that people will use complete and detailed explanations.
Thank you!!
 
Old 08-03-2006, 09:39 PM   #2
lazyFoot_theMighty
LQ Newbie
 
Registered: Jul 2006
Location: Canberra Australia
Posts: 28

Rep: Reputation: 16
There is a nice alternative that i found very easy to use. Its call nx. you can get it from http://www.nomachine.com/. You just need to get the nxnode and nxserver packages installed on the server and you can get the nxclient package for the client machine. You can get the client for linux, windows and mac and it will just use ssh so there should be very little config needed.


I hope what i have said does not clash with the forum rules against advertising because it was purely to be helpful.
 
Old 08-04-2006, 03:08 AM   #3
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Why not use a simple tool like ssh for encrypted, remote logins?
Linux is a multi-user environment, so having the same user login multiple times shouldn't be a problem, unless both logins start changing the same files (ie in the user's home directory).

vnc is for remotely controlling a machine (ie look at the screen, input using a remote keyboard & mouse).
However, it doesn't use a separate login, as you've noticed.

Playing with X (display manager, "xhost" command) may be necessary later on, but I'd start off with a plain and simple text login using ssh.
Try adding the -X option to ssh to enable graphical (X) applications later on. If that doesn't work, post back and we'll take a look at the X windows settings then.

So, try this for starters:
Code:
ssh xxx.xxx.xxx.xxx #you can use the hostname instead of the IP address too
ssh user@xxx.xxx.xxx.xxx #add user@ to login using a specific user on the remote (FC5) machine
Post back if it doesn't work.
 
Old 08-04-2006, 06:45 AM   #4
jdwilder
Member
 
Registered: Jul 2003
Location: United States
Distribution: Fedora Core 7 and older, Knoppix, Ubuntu
Posts: 121

Original Poster
Rep: Reputation: 15
Thanks for the info, I have been using SSH in the past (with the -X option) which works well, but I just thought it would be easier if there was a desktop, so that I could run things that I don't know/remember the command line arguments for.
I will look into the program that lasyFoot but I had wanted something that worked through the same ports as ssh or vnc (maybe I can make it use the same), because my router only allows me to forward 10 port (at least as much as I can figure out) and I am already using that many.
Last year at school from Windows I could use Cygwin to get a list of hosts and connect to one, which would bring up the login screen, and I had been hoping to get some of that functionality. I was kind of worried about leaving my machine logged in while I am away, because my room isn't very secure, and so that was a reason why vnc worried me, but I guess if I want to be logged out I will just use SSH.

Thanks for the info.
 
Old 08-04-2006, 06:56 AM   #5
lazyFoot_theMighty
LQ Newbie
 
Registered: Jul 2006
Location: Canberra Australia
Posts: 28

Rep: Reputation: 16
nx uses the same ports as ssh by default, but you can tell it to use whatever ports you like. It also has the option to use ssl if you think its required.
 
Old 08-04-2006, 10:16 AM   #6
Abnoba12
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora Core 2, Fedora Core 6, UNBUNTU
Posts: 22

Rep: Reputation: 15
I am running a fedora core 2 machine and I use x11vnc, itís a type of vnc and it works exactly as your describing you want. Try the site http://www.karlrunge.com/x11vnc/ , this is what helped me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
remote login vineeth789 Programming 2 01-25-2006 05:50 AM
Fedora Core 3: How do I enable remote root login? xunil321 Fedora - Installation 2 09-16-2005 06:43 AM
Remote login help! Braveheart1980 Linux - General 4 08-26-2005 05:04 AM
remote x login instead of local login mandrake-n00b Mandriva 0 04-22-2005 10:19 PM
remote login BRAHmS Linux - Networking 2 06-14-2004 03:51 AM


All times are GMT -5. The time now is 04:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration