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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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?
To check what user you are logged in as, issue command:

10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Do you mean you want static IP?

You can try:


Or you can follow this document

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Gerwin Jansen, EE MVETopic 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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.