LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-31-2003, 04:30 AM   #1
AdamPengelly
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Rep: Reputation: 15
Extreme Newbie Gui questions


Hi,

I've just installed RH9 as a server. It boots fine and leaves me at the login command line. I can log in as root, add a user, then login as that new user. That's about as far as I've got.

How on earth do I get a GUI running (Gnome/KDE)?

How do I get web browsing?

How do I download and install new programs?

Is any of this possible in server mode, or will I have to reinstall in Workstation mode to get my feet wet?
 
Old 10-31-2003, 04:39 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Try 'startx'.
Not sure what you mean. You mean you want to surf or you want others to access your box? Just fire up mozilla or whatever for the first. Lynx or links may be on your system for console surfing.
Go to a website, download the rpm or source. 'man rpm' for how to install an rpm. './configure; make; make install' for source.
Not sure how a server is fundamentally different from a workstation in most senses. You can strip a server to nothing, but usually it's just a question of emphasis on capabilities and you can do most of what you can do in one in the other.
That was the fast answer - maybe somebody else will come along with the good answer.
 
Old 10-31-2003, 04:42 AM   #3
nibbler
Member
 
Registered: Oct 2003
Location: Croatia
Distribution: Fedora 4
Posts: 46

Rep: Reputation: 15
for running GUI, try "startx".
( to automaticaly enter GUI, you must change your INIT level to 5, somewhere in the /etc/rc.d/, not sure how )

to get web browser, you must first get connected, you probably have already installed web browsers like mozilla.

when installing programs, you can download source code, and than compile it, which will result in faster program, but is more complicated, or you can download programs in form of .rpm packets ( try man rpm or something ), and than enter "rpm -iv program_name_and_version.rpm" )

This is ( most probably ) possible in server mode, but with your knowledge ( and i'm not far away ), you shuld've chosen the workstation or something like this.

That's all from me, you can expect more help from others.
 
Old 10-31-2003, 04:56 AM   #4
AdamPengelly
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
Cheers for that boys, but I'm gonna need basicer (not a word, I know) help than that,

I'm sitting at my ">" promt, do I just type startx? cos If I do, I tried it last night and it didn't work.

How in gods name to I change my INIT level to 5?

Sorry about this, I'm astonished this is hitting me so hard, I'm usually quite good with this type of stuff, but never used UNIX before.
 
Old 10-31-2003, 06:08 AM   #5
_KDF
Member
 
Registered: Oct 2003
Distribution: FC4/5 & RHEL4
Posts: 133

Rep: Reputation: 15
startx didnt work ? did you install xfree86 ? the xwindows environment ? KDE/GNOME etc. ?

login as root and type

updatedb

locate startx



what does it come up with .. should be something like

/usr/X11R6/bin/startx
/usr/X11R6/man/man1/startx.1x.bz2

you want the /usr/X11R6/bin/startx

either way let us know what it comes back with (ps. updatedb could take a couple mins if you havent done it for a while)


Last edited by _KDF; 10-31-2003 at 06:10 AM.
 
Old 10-31-2003, 06:28 AM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Hm. I suppose it's possible an RH server doesn't come with a GUI. What do you mean 'didn't work'? Did X start to load and crash out? Did you get a 'file not found'? Something else?

To change your runlevel - well, I don't know what RH has or where it is. In Slack I'd do 'joe /etc/inittab' and change the 'default' line. RH is bound to have 'vi' or something symlinked to it but that could be a pain if you're not familiar with it. If nothing else, 'vi /etc/inittab' then hit 'i', quickly and carefully edit the line, and gently hit 'esc' and ':wq' *g* But don't do that until you have a working X to begin with.

You may have to do 'updatedb -u' or something - it's supposed to Just Work, but seems not to initially, sometimes.

And don't worry about it - I expect Linux to be perpetually confusing and it is a different ballgame, but the shock wears off pretty quickly. *g*
 
Old 10-31-2003, 06:31 AM   #7
AdamPengelly
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks for your help Gents, I'm gonna try all this tonight when I get home.

I really appreciate the help, and I intend not to give up on Linux, windows does suck!
 
Old 10-31-2003, 06:37 AM   #8
edawad
LQ Newbie
 
Registered: Oct 2003
Location: UCSD
Distribution: Debian
Posts: 29

Rep: Reputation: 15
Hi,

I am having similar problems. When I type startx, i get

/usr/X11R6/lib/X11/xinit/xserverrc: /usr/bin/X11/X: No such file or directory

/usr/X11R6/lib/X11/xinit/xserverrc: exec: /usr/bin/X11/X: cannot execute: No such file or directory
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.

I'm using Debian 3.0. In tasksel I selected the desktop environment, and I saw gnome and kde being installed (there was no option to install X windows like I've seen in the guides). What am I missing?

Thanks,

Edward
 
Old 10-31-2003, 04:24 PM   #9
nibbler
Member
 
Registered: Oct 2003
Location: Croatia
Distribution: Fedora 4
Posts: 46

Rep: Reputation: 15
Quote:
Originally posted by AdamPengelly
Thanks for your help Gents, I'm gonna try all this tonight when I get home.

I really appreciate the help, and I intend not to give up on Linux, windows does suck!
You should probably try new installation, this time workstation, because when a newbie ( like myself ) tries to install X, or do something bit more complicated, it usually doesn't end up got ( again, from my experience )
 
Old 10-31-2003, 04:55 PM   #10
DurantDL
Member
 
Registered: Oct 2003
Location: Virginia, USA
Posts: 31

Rep: Reputation: 15
Quote:
Originally posted by edawad

/usr/X11R6/lib/X11/xinit/xserverrc: /usr/bin/X11/X: No such file or directory
/usr/X11R6/lib/X11/xinit/xserverrc: exec: /usr/bin/X11/X: cannot execute: No such file or directory
File "/usr/bin/X11/X" is normally linked to the true X server for your system.
Perhaps you have a non-supported video card, else you need to configure X.
 
Old 10-31-2003, 05:18 PM   #11
Abstruse
LQ Newbie
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 10

Rep: Reputation: 0
if I remember correctly there is no gui installed when you use the preconfigured server installation so yea re-install as workstation and get something like linux for dummies or somethin just so you can get the basics down. i did that back in january and have been just fine since steadily learning as I go
 
Old 11-03-2003, 05:42 AM   #12
AdamPengelly
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
Your help has been greatly appreciated.

I reinstalled as workstation, and had no problems getting everything working just fine. I have the Gnome thing up and running, and have immediately found it better than Windows.

I am trying to install a player for MPEGS, and have found a program, and downloaded it. It's in a TAR file, which then uncompresses to show loads of files in a folder. I have no idea how to install this, but am sure I'll figure it out, and tips would be handy though.

Thanks for all your help so far.
 
Old 11-03-2003, 05:50 AM   #13
bones996
Member
 
Registered: Sep 2003
Location: Pennsylvania
Distribution: Debian Squeeze
Posts: 106

Rep: Reputation: 15
Alot of tar files are actually source files & con be installed by the following commands:
./configure
make
make install
as root of course

If you are just starting to learn linux though, & I know alot of others may disagree, your best bet to install a new program may be to download the rpm version (if available) & then install that.
 
Old 11-03-2003, 06:21 AM   #14
AdamPengelly
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
Makes sense to me, I did look at all the files, and there were no .rpm files. I kinda like jumping in at the deep end though, so if you could give me a little more instruction, That would be great.

/username/mplayer.tar is the kinda thing I got. so I log in as root, then what? do I do this in Gnome, or command line?

Sorry about this, but I value you peoples knowledge more than a books...
 
Old 11-03-2003, 08:55 AM   #15
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
First you need to untar the file.

Code:
tar -xfv <filename>
Note, Linux is case sensitive. It MUST match exactly.

That will make a new directory with the same name without the .tar on the end. type in

Code:
cd <name of directory>
Then do what bones996 said. Each of those are a seperate command. A couple of those may take a while to run depending on the size of the file.

Basics here.

<filename> .tar.gz

Always start from the end. You will need to unzip, uncompress, the file first.

gunzip <filename>

Then you can untar the file.

tar -xfv <filename>

Each one of those removes the last bit. Gunzip removes the gz and tar removes the .tar. The tar command creates a directory with the same name less the .tar that contains the original file(s).

Gunzip compresses a file to make it smaller. Tar will take a set of files, can be a few or hundreds, and packages them into one big file.

That should muddy up the water a bit.

Later

 
  


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
Newbie questions about FreeBSD and a gui jimmmac *BSD 5 08-07-2004 07:13 PM
extreme newbie question Whitemagician Linux - Newbie 7 08-22-2003 03:04 PM
Extreme Newbie ? Netrack Linux - General 18 01-07-2003 05:40 AM
Extreme Newbie. DocStrangelove Linux - Newbie 5 11-05-2002 09:43 PM
Extreme Newbie Question reaper Linux - Networking 8 08-23-2001 10:53 PM


All times are GMT -5. The time now is 08:32 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