LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I have logged on to Debian GNU/Linux and it appears to be in text mode... (https://www.linuxquestions.org/questions/linux-newbie-8/i-have-logged-on-to-debian-gnu-linux-and-it-appears-to-be-in-text-mode-873611/)

Chuckles278 04-07-2011 11:48 AM

I have logged on to Debian GNU/Linux and it appears to be in text mode...
 
Can I put into a GUI mode?

repo 04-07-2011 11:51 AM

Depends if you have X installed.
Most servers have no GUI installed
Try to type
Code:

startx
and see what happens.

Kind regards

repo 04-07-2011 11:53 AM

To install X, you need a connection with the internet.
At the prompt type
Code:

apt-get update
apt-get upgrade
apt-get install xserver-xorg-core xorg
apt-get install gnome
apt-get install gdm
gdm

Kind regards

Chuckles278 04-07-2011 08:38 PM

Thanks for the info repo! "startx" doesn't work...I assume that''s because I need to install x... On the list of commands...when I type "apt-get update" and hit enter I get:

E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory

What does this mean and how can I (being point and click oriented) put Linux in a state that I can more easily explore?

apriebe 04-07-2011 09:00 PM

Normally you need to be the 'root' user to use apt. This can be done by logging in on the root account and running the command, or by issuing the 'su' command, which will prompt you for your root password. From this point on, any command you type will be performed as the 'root' user.

The normal thing to do is use a command called 'sudo', which gives you root privileges for a window period of time, but you can look into that more once you've got things up and running.

TobiSGD 04-07-2011 09:03 PM

Quote:

Originally Posted by apriebe (Post 4317585)
The normal thing to do is use a command called 'sudo', which gives you root privileges for a window period of time, but you can look into that more once you've got things up and running.

OFFTOPIC: Sudo is not configured by default on Debian, and in my opinion it is in no way the "normal" thing to do.

Chuckles278 04-07-2011 09:13 PM

Please excuse my illiteracy, but could you please explain how to log in on the root account?

TobiSGD 04-07-2011 09:16 PM

Just type
Code:

su -
on the command-line. You will be asked for the root-password, after you have typed it in and confirmed with the Enter-key you are logged in as root.
Alternatively you can logout ant type root instead of your username at the login-screen. You also have to give the root-password here.

Chuckles278 04-07-2011 09:28 PM

Can you tell me the easiest way to explore the server contents without altering anything? I am a point and click, gui using, linux newbie, that has inherited a poweredge with Linux in text mode. I do not know how to navigate the system, but am interested to see what my father spent a lot of his time working on (this server)...I have login info but no root password. Thank you in advance.

TobiSGD 04-07-2011 09:33 PM

The easiest way for you is to download a live-CD of Ubuntu, burn it to a CD and boot from that. This way you will get a graphical environment that can be used to explore the system.

Chuckles278 04-07-2011 09:48 PM

Quote:

Originally Posted by TobiSGD (Post 4317605)
The easiest way for you is to download a live-CD of Ubuntu, burn it to a CD and boot from that. This way you will get a graphical environment that can be used to explore the system.

Thank you! I got the download started...I appreciate you help!

Chuckles278 04-07-2011 10:14 PM

Is there a reboot command that can be entered into the command line or is pressing the power button to turn it off the way to reboot it?

TobiSGD 04-07-2011 10:16 PM

Normally only the root user can reboot the machine. If it is configured right, it should shutdown when you press the power-button. Just give it a try.

Chuckles278 05-01-2011 01:34 AM

I have Ubuntu running and have explored the contents of the server but now it appears that I need to change the permissions so that I can view the contents of the folders that are locked. Pretty much clueless on this. Please help.


All times are GMT -5. The time now is 05:17 PM.