Solved

remote login to Linux

Posted on 2010-08-23
11
1,437 Views
Last Modified: 2013-12-15
How can I remote login to SuSeLinux box from my Woindows XP. I tried vnc but does not work.

What software do I need to install on SusELinux Server and what S?W do I need to install on Windows XP client
0
Comment
Question by:learningunix
  • 7
  • 4
11 Comments
 

Author Comment

by:learningunix
Comment Utility
I heard about NX
http://www.nomachine.com/download.php

which one do I need to install on Linux box ??

I believe I need "NX Client for Windows" on windows box.
0
 
LVL 35

Expert Comment

by:torimar
Comment Utility
The usual way of logging in to a remote server is simply SSH via Putty: http://www.chiark.greenend.org.uk/~sgtatham/putty/ and WinSCP: http://winscp.net/eng/index.php

NX is used if you want a remote desktop connection - which makes things a lot more complicated than simply administering on the command line.

You will then need to install the NX server on the host server (which will emulate a desktop environment which servers usually don't have), and the NX Client on the machine that you use for establishing a connection.
NX Server: http://www.nomachine.com/select-package.php?os=linux&id=1
0
 

Author Comment

by:learningunix
Comment Utility
well actually I am trying to remote desktop to linux.

I installed the NX Server in Linux under  /use/NX and installed it correctly.

When I try to connect to linux from my Windows Box, the NX client on windows fails" not sure what this means

NX> 203 NXSSH running with pid: 5704
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: <linux IP address> on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
/usr/bin/xauth:  creating new authority file /usr/NX/home/nx/.Xauthority
nxserver: error while loading shared libraries: /usr/NX/lib/perl/IO.so: cannot open shared object file: No such file or directory
NX> 280 Exiting on signal: 15
0
 

Author Comment

by:learningunix
Comment Utility
i installed the NX Node also on Linux as per
http://www.nomachine.com/download-package.php?Prod_Id=1980

but this it failed with

NX> 203 NXSSH running with pid: 704
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: <linux IP address> on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 595 ERROR: Detected an inconsistency in the NX server configuration.
NX> 595 ERROR: The exception id is: D0616E0F. To get detailed information about
NX> 595 ERROR: the error, search for the string: D0616E0F in the system log file
NX> 595 ERROR: (usually '/var/log/messages').
NX> 280 Exiting on signal: 15
0
 

Author Comment

by:learningunix
Comment Utility
I looke at the log file and it seems like
/usr/NX/bin/nxssh is not present.

Where do I get this from?
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

Author Comment

by:learningunix
Comment Utility
looks like I am getting closer. I instaled the NX client also on Linux.
this time it failed saying  "Use root cannot be used as an NX user"

not sure why?
0
 
LVL 35

Expert Comment

by:torimar
Comment Utility
Try installing the NX client on the server as well.
In essence, follow the instructions as given here, under "Setup remote desktop through NX": http://www.benmccann.com/dev-blog/opensuse-111-installation-and-setup/
0
 
LVL 35

Expert Comment

by:torimar
Comment Utility
Sorry, was cross-posting with you.
0
 

Author Comment

by:learningunix
Comment Utility
thanks torimar.
i am almost there, its just i am not able to login as root.
0
 
LVL 35

Accepted Solution

by:
torimar earned 250 total points
Comment Utility
If you wish to login as root via NX, you need to enable this in the server.cfg:
http://www.askwan.com/500_ERROR_User_root_cannot_be_used_as_an_NX_user/

You could also login as normal user and use "sudo" for commands or "su -" for root access.
0
 

Author Comment

by:learningunix
Comment Utility
wowww. finally I did it.
now I can have sound sleep :)

thaks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now