Solved

remote login to Linux

Posted on 2010-08-23
11
1,445 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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 250 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

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 …
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

805 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