LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 04-12-2017, 12:43 PM   #1
rustyz82
Member
 
Registered: May 2004
Posts: 69

Rep: Reputation: 15
GNOME Desktop on a Server install - Administrator?


I have a server that I have installed the GNOME Desktop environment on, and use NoMachine to connect to it remotely, but when i go to install software I am prompted for the "Administrator" password which I don't know/have. The server OS was installed with root disabled, and a single user defined using ssh key authentication to connect. I can use the desktop without issue, I just can't install anything or use the GUI to do any administrative actions.

What is this Administrator password its looking for? Do I need to enable the root user and give it a password to be able to use the GUI for admin functions? I can sudo and run any commands but that doesn't help with the GUI.
 
Old 04-12-2017, 01:01 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
maybe it's your user password?


Quote:
Originally Posted by rustyz82 View Post
I have a server that I have installed the GNOME Desktop environment on
moan & grunt. like installing a wardrobe on a motorbike.
 
Old 04-12-2017, 01:14 PM   #3
rustyz82
Member
 
Registered: May 2004
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ondoho View Post
maybe it's your user password?
That could be, but my user doesn't have a password either. Only an SSH Key thats used for authentication when I connect via SSH and NoMachine. Perhaps I need to set a password for my user... kinda undermines the security of only using SSH Key Authentication though.

Quote:
Originally Posted by ondoho View Post
moan & grunt. like installing a wardrobe on a motorbike.
Yeah, pretty much. The whole point of the VM was to be a desktop so I may need to search for a desktop specific image on Azure, or do it myself manually.
 
Old 04-12-2017, 01:35 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by rustyz82 View Post
That could be, but my user doesn't have a password either. Only an SSH Key thats used for authentication when I connect via SSH and NoMachine. Perhaps I need to set a password for my user... kinda undermines the security of only using SSH Key Authentication though.
yeah, do NOT enable password auth for ssh.
anyhow, this some sort of cloud provided virtual server thingy?
ask the providers.
 
Old 04-12-2017, 01:47 PM   #5
rustyz82
Member
 
Registered: May 2004
Posts: 69

Original Poster
Rep: Reputation: 15
Its an Azure Hosted VM yes, the image is a CentOS 7.3 image that's just a standard install. I am asking here because I've seen other people post around the net with the same issue but I have yet to find the solution. I guess I can try a few things and just trash the VM and build a new one if it doesn't work out. If I happen to find the answer i'll post it here.. but in the meantime if anyone else has tried something like this and knows feel free to post.
 
Old 04-12-2017, 02:40 PM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by rustyz82 View Post
Perhaps I need to set a password for my user... kinda undermines the security of only using SSH Key Authentication though.
If you installed GNOME Desktop, you must have the password?
and no it doesn't. Compliments it, IMO.

Last edited by Habitual; 04-12-2017 at 02:42 PM.
 
Old 04-12-2017, 03:17 PM   #7
rustyz82
Member
 
Registered: May 2004
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Habitual View Post
If you installed GNOME Desktop, you must have the password?
and no it doesn't. Compliments it, IMO.
I used sudo to install it, and when you authenticate via SSH key sudo doesnt require a password.

Kinda off topic but If you enable a password for a user, would you then have to use both the password and the key to connect? I havnt used SSH Keys and passwords together before, just one or the other.
 
Old 04-12-2017, 04:38 PM   #8
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by rustyz82 View Post
Kinda off topic but If you enable a password for a user, would you then have to use both the password and the key to connect? I havnt used SSH Keys and passwords together before, just one or the other.
No, this is not accurate.
The ssh-key can have a password also, but that's another story. Additional security (password) can be given to an ssh key upon creation.

Last edited by Habitual; 04-12-2017 at 04:45 PM.
 
Old 04-12-2017, 05:02 PM   #9
rustyz82
Member
 
Registered: May 2004
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Habitual View Post
No, this is not accurate.
The ssh-key can have a password also, but that's another story. Additional security (password) can be given to an ssh key upon creation.
Right, that I have done already. But that doesn't help me when GNOME wants an administrator password in order to install software/perform admin actions etc.
 
Old 04-13-2017, 01:43 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
seems nobody knows precisely which password(s) we're talking about.

rustyz82, please provide more and precise information.

and i still don't see why the providers can't help you with that, if this is a paid-for service.
 
Old 04-13-2017, 06:19 AM   #11
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by rustyz82 View Post
Right, that I have done already. But that doesn't help me when GNOME wants an administrator password in order to install software/perform admin actions etc.
That's your user password, which you don't seem to know because NoMachine does all the thinking?

How do you get into the Gnome Desktop on this remote "server".
Typically, the administrator password is the same password as the first created user when the system is installed. This is how Ubuntu does it. Mint too.
Try your "usual password" you are using to login to this remote machine using NoMachine.

Quote:
Originally Posted by rustyz82 View Post
I can sudo and run any commands
Password used?
 
Old 04-13-2017, 11:19 AM   #12
rustyz82
Member
 
Registered: May 2004
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Habitual View Post
That's your user password, which you don't seem to know because NoMachine does all the thinking?

How do you get into the Gnome Desktop on this remote "server".
Typically, the administrator password is the same password as the first created user when the system is installed. This is how Ubuntu does it. Mint too.
Try your "usual password" you are using to login to this remote machine using NoMachine.

Password used?
I gave my user a password, since all that was setup before was a SSH key, and that password doesn't work. NoMachine starts the X server and connects to it. I have NoMachine installed on both the server and the client.I get the full graphical interface, just can't seem to figure out what password its looking for.

Attached is a screenshot of what I get when it prompts me for the password, this particular screenshot is from when i connected for the first time but its the same kind of prompt for installing software etc.

Update: As I was typing this I thought to try giving the root user a password. This seemed to do the trick. Once the root user had a password I was able to use that to authenticate for these prompts. I still have password authentication blocked at the SSH level so this should be secure enough.

This is my first time trying to use a CentOS Desktop.. and possibly my last.
Attached Thumbnails
Click image for larger version

Name:	sshot-2017-04-13-[1].jpg
Views:	20
Size:	43.0 KB
ID:	24766  
 
Old 04-13-2017, 02:18 PM   #13
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
I can't speak to the OS, but when I'm challenged for Administrative Privileges in Cinnamon (yours looks like same)
I have always used my user's password.

This is a practice VM?
In anticipation of Managing an Azure Server, by putting a Desktop on it?
 
Old 04-13-2017, 03:13 PM   #14
rustyz82
Member
 
Registered: May 2004
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Habitual View Post
I can't speak to the OS, but when I'm challenged for Administrative Privileges in Cinnamon (yours looks like same)
I have always used my user's password.

This is a practice VM?
In anticipation of Managing an Azure Server, by putting a Desktop on it?
Not really practice, but somewhat of an experiment. I am/was going for a desktop environment hosted in the "cloud" that I could connect to from wherever I may be, using NoMachine. So when I am at work, out and about or even at home, I could have a single desktop that I could use for personal surfing, development, or even monitoring. There are plenty out there to purchase but since I have Azure credits to use each month I was trying to set my own up. In my previous linux desktop setups I always had a password for the account I was using but with this Azure deployment I did not. I only had an SSH Key. Perhaps this is where there stands a gap between the server and desktop environments. In the end I had to give root a password and use that password.

Using the CLI I could use sudo to run commands as root but even sudo didn't require a password.
 
Old 04-13-2017, 05:18 PM   #15
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
I'm not sure what you're expecting from this future host, but I found this nugget about managing this remote asset:

"In addition to interacting with services via API, users can manage Azure services using the Web-based Azure Portal, which reached General Availability in December 2015.[15] The portal allows users to browse active resources, modify settings, launch new resources, and view basic monitoring data from active virtual machines and services. More advanced Azure management services are available." [1]

I am from the old school, so forgive me if I express my opinion here.
servers don't come with desktops. That makes them desktops.

The tools and assets used to communicate and/or manage this future host, will be varied and possibly a struggle to get used to.
New tools take time to use effectively.

I manage a few servers on a daily basis, what desktop installed on the remote host, is the last thing I think about.
Why do you believe you need one on yours if Azure provides a Portal?

wrt:
Quote:
Originally Posted by rustyz82 View Post
Perhaps this is where there stands a gap between the server and desktop environments. In the end I had to give root a password and use that password.
A legal or contract checkbox that says "We're not liable after this."?
Hard to tell. maybe deployment doesn't want to violate some "rule". root is typically "disabled" these days, on some OSs.

At Amazon, they give you a "Secure Environment" much the same as you are describing, and what happens after that is "all you".

so, you now have full control over your guest system password?

It does sound like you are getting a "full dose" of Linux SysAdmin.fu

Last edited by Habitual; 04-13-2017 at 05:26 PM.
 
  


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
Gnome desktop harming server performance? Geert86 Linux - Server 4 02-05-2010 03:19 PM
how to install gnome power manager in ubuntu server 9.04 under lxde desktop Ron_Beltran Linux - Laptop and Netbook 2 10-27-2009 08:39 PM
permision using administrator tool in gnome kehkehkeh *BSD 2 09-24-2008 02:45 PM
How to install Dell OpenManage Server Administrator on Slackware ? tclwp Slackware 3 04-22-2008 12:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:29 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
Open Source Consulting | Domain Registration