LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-20-2012, 05:10 PM   #1
john3588
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 0
Cannot get GUI running on Fedora cloud server. Authenication problem.


New Fedora cloud server. I can ssh in using putty. I have done a yum command on vsftps and it seemed to install ok. I need to be able to get the private key so i can import it and get something running for a gui desktop. I have tried Nx client and server. Both seemed to install ok but will not connect. any ideas how I can get to a gui interface so I can install some simple software from the web. I am a fairly techie person but not with linux.some help would be appreciated
 
Old 08-20-2012, 06:43 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by john3588 View Post
any ideas how I can get to a gui interface so I can install some simple software from the web.
Welcome to LQ. Hope you like it here. While running a graphical Desktop Environment may be a convenience, especially if you're new to Linux and just want to point-and-click your way through installation and configuration, installing a graphical Desktop Environment enlarges your installation with more applications and dependencies than you need and increases resource usage and time spent keeping it safe and maintaining it and later on removing it. Also headless servers manage to run pretty much OK without any DE. I would strongly advice you to 0) get acquainted first with running Linux in general and Linux system administration specifically (see the Fedora web site?) because with that knowledge you will be able to admin your server more confidently, safer and more efficiently and 1) user a local virtualization guest (QEmu, VirtualBox, VMWare, whatever you like) to test things out in. If you snapshot / save state / make backups you won't have to fear fscking it or your production host up.


Quote:
Originally Posted by john3588 View Post
I need to be able to get the private key so i can import it
That said, specific questions are always more efficient. What do you mean "get the private key"?

Last edited by unSpawn; 08-20-2012 at 06:45 PM. Reason: //More *is* more
 
Old 08-21-2012, 10:59 AM   #3
john3588
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your reply. I understand the need for some "learnin". I spent some time administering a unix box years ago but unfortunalely I lost most of those skills. I am a tech support person for a number of accounting systems and suport a number of customers with windows servers and multible workstations. I also do virtual hosting for most of them and do admin work through a whm control panel. I am going to learn to use linux again but it is daunting to start out. I am reviewing my basic commands and will get better in time. The problem right now is that I need a server to host a small licensing server with a fixed IP. I just let my ip go at the office. I touught it would be a good way to get back into linux to host this little program on a unix box. I was hoping it wasn't going to be this big of a learning curve although I should have known better. getting back to my original question, I started out installing nx client and server for desktop access. The client was aksing for a private key located in a folder on the unix box so it could set up encryption. It gave me the location where it was supposed to be. I thought the easiest way to get that file for import into the client would be to to ftp in and drill down. I was using flashfxp to connect. It seemed to connect but then would time out after a bit. I asked my hosting company and they said setup was outside their support without a contract but that I needed an ftp server. I did a yum svftpd and the program seemed to load ok and completed without error but when I tried to stasrt the service the job failed. So I decided to go back to see if I could find this file, somehow figure out ho to download without an ftp client and import the key into the client. All I want is to get to a browser, download the client for this license server and get that running. Then I can continue my learning curve. Any help on how better to accomplish this simple task would be very helpful.
 
Old 08-21-2012, 03:47 PM   #4
john3588
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Original Poster
Rep: Reputation: 0
this is what I am getting

NX> 203 NXSSH running with pid: 6296
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: 209.208.79.199 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.
 
Old 08-22-2012, 08:02 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by john3588 View Post
figure out ho to download without an ftp client and import the key into the client.
The file "client.id_dsa.key" should reside in /etc/nx*/ or /var/lib/nx*/. You can copy it over with say SSH. Which user you can copy it as depends on the access permissions. First try to find the file
Code:
find /etc/nx* /var/lib/nx* -type f -name client.id_dsa.key -ls
or over ssh
Code:
ssh user@hostn.ame "find /etc/nx* /var/lib/nx* -type f -name client.id_dsa.key -ls"
If you get no results but only "Permission denied" then the file is in a directory only root has access rights to. Best SSH into the server as unprivileged user then, use Sudo for the command or su to root and try again. Finally copy the key from the server, let's say for example it's at /etc/NXServer/client.id_dsa.key, with
Code:
scp /etc/NXServer/client.id_dsa.key remote_user@client_machine:/home/remote_user/
Here's a HOWTO. It's for Centos but should work for Fedora as well: http://wiki.centos.org/HowTos/FreeNX and it's got pictures ;-p
 
  


Reply



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
Gui for ubuntu cloud server sbpatil01 Ubuntu 8 03-21-2014 01:13 AM
Gui for ubuntu cloud server sbpatil01 Debian 1 11-27-2010 06:04 AM
Authenication problem sunhui Linux - Networking 0 09-18-2006 08:24 PM
mail server responded - BAD AUTHENICATION macdafoe Linux - Networking 4 09-17-2003 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:03 PM.

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
Open Source Consulting | Domain Registration