Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

remote login to Linux

Posted on 2010-08-23
11
Medium Priority
?
1,522 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
ID: 33505317
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
ID: 33505472
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
ID: 33505505
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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 

Author Comment

by:learningunix
ID: 33505636
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
ID: 33505687
I looke at the log file and it seems like
/usr/NX/bin/nxssh is not present.

Where do I get this from?
0
 

Author Comment

by:learningunix
ID: 33505734
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
ID: 33505753
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
ID: 33505758
Sorry, was cross-posting with you.
0
 

Author Comment

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

Accepted Solution

by:
torimar earned 1000 total points
ID: 33505788
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
ID: 33505845
wowww. finally I did it.
now I can have sound sleep :)

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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…
Suggested Courses

824 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