Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-12-2017, 09:21 PM   #1
LQ Newbie
Registered: Jun 2013
Posts: 10

Rep: Reputation: Disabled
Xen VM Login Access Reset or Alternate Method

Iím new to managing Xen servers and currently have a container thatís experiencing issues with network connection. The VM (from what I can tell) is starting up normally but doesnít seem to have any network connectivity. Iíve attempted to access the VM by using ďxm console vmNameĒ and get a login prompt. Iíve tried a few logins that were provided to me but so far none work. Is there any way to reset the login to get into the VM? Or is there an alternate method of getting into it (from the server) in a similar manner to how Virtuozzo uses ďvzctl enter CTIDĒ? Any help is greatly appreciated.
Old 02-12-2017, 11:00 PM   #2
Registered: Oct 2009
Location: Colorado, USA
Distribution: CentOS, Debian, FreeBSD
Posts: 134

Rep: Reputation: 12
Is this Citrix XenServer where you have access to XenCenter? If so, that's where I would start to troubleshoot the network connectivity issue.

In regards to resetting a password, I've had this happen to me before with a CentOS 6 VM. This is from memory, so I apologize for leaving out details, but here's what I did:

1. Shut down the VM.
2. Boot the VM, but interrupt the GRUB countdown and boot into runlevel 1. This should boot you into a root shell without prompting you for a password.
3. Type `passwd` and type a new password.
4. Reboot the machine normally, and try to log in using your new root password.

Here is a thread from the Citrix forums on this topic:

The thread instructs to shut down the VM and mount its virtual hard disk to modify /etc/shadow, but I don't remember having to do that. Again, this was a long time ago and my memory could be wrong.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
access alternate port on LAN mk27 Linux - Networking 2 04-09-2011 11:47 AM
When power is reset Linux server sits at login prompt, want this to login automatical jenniekingsland Linux - Newbie 1 09-07-2010 07:29 AM
Method for sending messages through alternate routes to same destination, help! I_love_Megatron Linux - Networking 4 01-12-2010 09:56 AM
'connection reset by peer' on xen migration harsshal Linux - Software 0 04-13-2009 12:53 PM
alternate methods of parallel port access bobbens Programming 9 10-25-2005 08:47 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration