You are not logged in.

#1 2007-06-22 02:39:07

nilsHaus
Member
Registered: 2007-06-22
Posts: 69

Getting a GUI

EDIT2:Now Arch is installed, and I'm faced with a command prompt. Can someone help me with setting up a GUI? I'm trying to find Xwindow, but don't really know how to look.
Can someone clue me in as to how to use pacman?

Last edited by nilsHaus (2007-06-24 02:50:07)

Offline

#2 2007-06-22 17:49:16

mac57
Member
From: St. Somewhere
Registered: 2006-01-06
Posts: 302
Website

Re: Getting a GUI

You should never need the CD in the drive to boot unless you are running on really old hardware and your Arch partition is out of reach of your BIOS. Otherwise, you should be able to discard your original install CD once you have completed the installation. If you can't boot from your hard drive alone, post back and we can work through what is wrong.


Cast off the Microsoft shackles Jan 2005

Offline

#3 2007-06-22 22:46:42

nilsHaus
Member
Registered: 2007-06-22
Posts: 69

Re: Getting a GUI

Well, its actually working now. [b]Now I'm gonna need help with the bash shell, and getting X/any sort of GUI running.

As a sidenote, when it was booting, it tried but failed to mount dev/sda3 (are those sata drives? This comp doesn't have a SATA drive); saying it was like 6% non-contiguous. Then it mounted dev/sda1 and I think it worked...Let me know if you need to know any details of the computer to figure this one out. Because I was trying to query pacman and it keeps telling me I'm in the wrong locale. I'm thinking I have no idea where these packages are located? I thought they were on a hard drive but maybe they're still on the CD?

Thanks for the speedy reply, you guys live up to your reputations smile

Offline

#4 2007-06-22 22:51:25

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Getting a GUI

The CD is useful if you need to rescue your system when it doesn't work.

Offline

#5 2007-06-24 02:50:27

nilsHaus
Member
Registered: 2007-06-22
Posts: 69

Re: Getting a GUI

Right now I need help on setting up Xwindow, and basically everything graphical.

Offline

#6 2007-06-24 02:54:37

Pudge
Arch Linux f@h Team Member
Registered: 2006-01-23
Posts: 300

Re: Getting a GUI

Try this newbie's guide to installing Arch Linux, perhaps it will help

http://home.comcast.net/~pudges-place/a … page1.html

The section on installing Xorg and Gnome starts on page 8

Hope it helps.

Pudge

Last edited by Pudge (2007-06-24 03:02:59)

Offline

#7 2007-06-24 03:44:50

nilsHaus
Member
Registered: 2007-06-22
Posts: 69

Re: Getting a GUI

Oh wow this is perfect. Thanks a lot this is exactly what i needed.

Offline

#8 2007-06-24 03:55:29

Pudge
Arch Linux f@h Team Member
Registered: 2006-01-23
Posts: 300

Re: Getting a GUI

You're welcome nilsHaus.

If after using it you have any suggestions on how to make it better, let me know.

Pudge

Offline

#9 2007-06-27 20:58:22

nilsHaus
Member
Registered: 2007-06-22
Posts: 69

Re: Getting a GUI

I have only one problem, I can't find the file ".xinitrc" that they ask for on this page.

Offline

#10 2007-06-27 21:19:33

Login_Here
Member
Registered: 2007-06-27
Posts: 24

Re: Getting a GUI

Simply create a new .xinitrc in your home directory by typing "nano ~/.xinitrc" and then add the lines

#!/bin/sh

exec gnome-session

to it, then save the file and continue following the guide.

Last edited by Login_Here (2007-06-27 21:20:18)

Offline

#11 2007-06-28 01:00:27

nilsHaus
Member
Registered: 2007-06-22
Posts: 69

Re: Getting a GUI

Okay, thanks.

Offline

#12 2007-06-28 01:08:41

nilsHaus
Member
Registered: 2007-06-22
Posts: 69

Re: Getting a GUI

One more thing, how do I shut off the computer? hahaha stupid question...But everytime it starts up again it says /dev/sda1-3 were not cleanly unmounted and sometimes it requires a reboot...so I"m guessing I'm harming something...

Offline

#13 2007-06-28 03:19:46

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 283
Website

Re: Getting a GUI

You could run as root:

poweroff

or, if you are using Gnome, then just go to System->Shutdown I think.

Last edited by tom5760 (2007-06-28 03:21:06)

Offline

#14 2007-06-28 09:06:44

Preacher
Member
From: UK
Registered: 2006-09-26
Posts: 46

Re: Getting a GUI

Or you could do this as root

shutdown -P now

To be a preacher requires two apparently contradictory qualities: confidence and humility.

Offline

#15 2007-06-28 17:21:19

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Getting a GUI

You can also do

init 0 (thats a zer0)

or

halt -p

To shut down. smile

Offline

#16 2007-06-28 18:19:35

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Getting a GUI

Pudge wrote:

Try this newbie's guide to installing Arch Linux, perhaps it will help

http://home.comcast.net/~pudges-place/a … page1.html

The section on installing Xorg and Gnome starts on page 8

Hope it helps.

Pudge

BTW, who wrote this excellent guide?! I wish there were such a guide when I first started using 0.7, it would have saved me much time....though Arch has a way of 'forcing' you to learn. wink
The only issue I see with the guide is that it seems to skip over sound module tweaking, and I would also recommend adding the user to the 'disk' group in addition to the video, audio, storage, optical, floppy groups. cool

Last edited by Misfit138 (2007-06-28 18:21:43)

Offline

#17 2007-06-28 20:10:07

Obi-Lan
Member
From: Finland
Registered: 2007-05-23
Posts: 179

Re: Getting a GUI

or shutdown -h now

Theres group called power, users in that group can shutdown. (or did I miss something?)

Offline

#18 2007-06-29 01:48:04

Pudge
Arch Linux f@h Team Member
Registered: 2006-01-23
Posts: 300

Re: Getting a GUI

Misfit138 wrote:
Pudge wrote:

Try this newbie's guide to installing Arch Linux, perhaps it will help

http://home.comcast.net/~pudges-place/a … page1.html

The section on installing Xorg and Gnome starts on page 8

Hope it helps.

Pudge

BTW, who wrote this excellent guide?! I wish there were such a guide when I first started using 0.7, it would have saved me much time....though Arch has a way of 'forcing' you to learn. wink
The only issue I see with the guide is that it seems to skip over sound module tweaking, and I would also recommend adding the user to the 'disk' group in addition to the video, audio, storage, optical, floppy groups. cool

I wrote the guide, and I am flattered you called it excellent.  Thanks for your feedback about the sound module and the user's groups.  When I get some time, I will definitely see about incorporating your suggestions.

I also wrote a guide on installing ssh and sshfs in Arch for networking Linux computers on a home LAN here

http://home.comcast.net/~pudges-place/s … page1.html

Pudge

Offline

#19 2007-06-29 12:53:00

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: Getting a GUI

Pudge, I hope you're contributing to the wiki as well. It would have been great if I could have found it when I was installing Arch for the first time. If you don't want to copy it in the wiki, at list there should be a link to it somewhere in the Beginner's Guide.

Thanks for your work smile


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#20 2007-06-29 18:52:45

nilsHaus
Member
Registered: 2007-06-22
Posts: 69

Re: Getting a GUI

I must've missed something, because I have no idea how to set groups...
Although I did start halfway through the guide...Guess when I get Arch running to my liking I'll have to reinstall it to learn everything harharharhar.

Oh, and I changed everything but that one file, and gnome starts on its own anyways...Although my ethernet card is getting a failed startup...

Last edited by nilsHaus (2007-06-29 18:57:00)

Offline

#21 2007-06-29 19:57:12

Phrodo_00
Member
From: Seattle, WA
Registered: 2006-04-09
Posts: 342
Website

Re: Getting a GUI

tom5760 wrote:

or, if you are using Gnome, then just go to System->Shutdown I think.

iirc, that doesn't appear if you're not using a display manager.

Offline

#22 2007-06-29 23:12:04

nilsHaus
Member
Registered: 2007-06-22
Posts: 69

Re: Getting a GUI

So much for stability...I was trying to get a picture as a background for a gnome-panel when it crashed on me...Whatever, I'm gonna try XFCE anyways, its probably better suited to this machine anyways...

And if you guys aren't tired of me yet (holy crap you guys are so much more helpful than any other forum I've been to...), I'm pretty sure I locked myself out of the cdrom group. I think I'll just make a new user, but honestly, I never got any option to add myself to group. It was more like

# useradd <username>

and that was it. Are there options I should of put in? I don't remember getting anything as comprehensive as what was described on Pudge's tut.

Last edited by nilsHaus (2007-06-29 23:27:19)

Offline

#23 2007-06-30 00:05:51

Login_Here
Member
Registered: 2007-06-27
Posts: 24

Re: Getting a GUI

I'd recommend running useradd something like this:

# useradd -m -G <groups separated by a comma (group1,group2,group3,...)> <username>

The -m option will create that user's home directory (/home/<username> by default), and add that users to the groups you've listed in the -G option.

You can always just run the usermod command instead of creating a new user

# usermod -a -G <groups> <username>

The -a option means that it will append the groups listed in the -G (same as above, separate the groups with a comma) option to the user's current groups.

By the way, if you want information on a command, you can almost always type "<command> --help" (or at least some variation of it like -help, for example) to get a summary of at least the most important options for that specific command, to get a more thorough explanation of all the options (and usually a complete list of them too) you can type "man <command>", you'll also find a list of related man-pages at the bottom of most man-pages. You'll find usermod listed at the bottom of the useradd man-page, for example.

Last edited by Login_Here (2007-06-30 00:06:36)

Offline

#24 2007-06-30 04:03:20

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Getting a GUI

Hmm, I would recommend

# adduser

Instead of useradd. adduser will walk you through the whole thing. wink

Offline

#25 2007-07-04 14:02:50

Preacher
Member
From: UK
Registered: 2006-09-26
Posts: 46

Re: Getting a GUI

After creating the user, you could always run this command as root to allow you to add groups to the user

 gpasswd -a [username] [group]

Best of luck


To be a preacher requires two apparently contradictory qualities: confidence and humility.

Offline

Board footer

Powered by FluxBB