CentosOS Questions

1. I have created a centos virtual machine with a 100GB drive. When I run out of space - can I simply increase the size of the Drive?

2. I can remote desktop. But once I exit I have to reboot the machine in order to come back in. Otherwise it says "connection refused"
Who is Participating?
farzanjConnect With a Mentor Commented:
Do you mean you want static IP?

You can try:


Or you can follow this document
Starquest321Author Commented:
Regarding 2 - I think the issue is that I get a different address from the dhcp. How can I fixed the network address IP?
Starquest321Author Commented:
regarding 1: I get the error: you need the root access to perform this operation. But I am logged in as root. How can I check?
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

To check what user you are logged in as, issue command:

Gerwin Jansen, EE MVEConnect With a Mentor Topic Advisor Commented:
>> 2. I can remote desktop ...
How are you connecting to your CentOS? Which remote desktop application is what I mean.
Starquest321Author Commented:
Sorry for the late response. I am using the VNC remote viewer to make the successful connection. It seems that I am only able to connect when I am logged on to the machine. But when I am logged out I cannot connect.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.