LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2011, 12:48 PM   #1
Chuckles278
LQ Newbie
 
Registered: Apr 2011
Posts: 15

Rep: Reputation: 0
I have logged on to Debian GNU/Linux and it appears to be in text mode...


Can I put into a GUI mode?
 
Old 04-07-2011, 12:51 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Depends if you have X installed.
Most servers have no GUI installed
Try to type
Code:
startx
and see what happens.

Kind regards

Last edited by repo; 04-07-2011 at 01:12 PM.
 
Old 04-07-2011, 12:53 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
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

Last edited by repo; 04-07-2011 at 12:56 PM.
 
Old 04-07-2011, 09:38 PM   #4
Chuckles278
LQ Newbie
 
Registered: Apr 2011
Posts: 15

Original Poster
Rep: Reputation: 0
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?
 
Old 04-07-2011, 10:00 PM   #5
apriebe
LQ Newbie
 
Registered: Dec 2010
Location: Denmark
Distribution: Debian Wheezy
Posts: 1

Rep: Reputation: 0
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.
 
Old 04-07-2011, 10:03 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by apriebe View Post
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.
 
Old 04-07-2011, 10:13 PM   #7
Chuckles278
LQ Newbie
 
Registered: Apr 2011
Posts: 15

Original Poster
Rep: Reputation: 0
Please excuse my illiteracy, but could you please explain how to log in on the root account?
 
Old 04-07-2011, 10:16 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
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.
 
Old 04-07-2011, 10:28 PM   #9
Chuckles278
LQ Newbie
 
Registered: Apr 2011
Posts: 15

Original Poster
Rep: Reputation: 0
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.
 
Old 04-07-2011, 10:33 PM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
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.
 
Old 04-07-2011, 10:48 PM   #11
Chuckles278
LQ Newbie
 
Registered: Apr 2011
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TobiSGD View Post
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!
 
Old 04-07-2011, 11:14 PM   #12
Chuckles278
LQ Newbie
 
Registered: Apr 2011
Posts: 15

Original Poster
Rep: Reputation: 0
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?
 
Old 04-07-2011, 11:16 PM   #13
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
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.
 
Old 05-01-2011, 02:34 AM   #14
Chuckles278
LQ Newbie
 
Registered: Apr 2011
Posts: 15

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


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
Change to boot only text mode no gdm in debian? lifeforce4 Linux - Newbie 1 08-01-2008 10:29 AM
Want to boot up into text mode in Debian JosephS Debian 9 11-07-2007 01:13 PM
LXer: Howto Boot debian in text mode instead of graphical mode (GUI) LXer Syndicated Linux News 0 09-09-2007 08:41 PM
how boot in text-mode on Debian? xcore_on Linux - Newbie 8 04-01-2006 03:15 PM
SFTP only appears to work while someone's logged in to GUI on RH AS 2.1 rar9999 Programming 0 05-27-2004 07:54 PM


All times are GMT -5. The time now is 10:25 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration