Author Topic: Why does RH7.2 default to Gnome?  (Read 800 times)

Bateluer

  • Member
  • **
  • Posts: 66
  • Kudos: 0
Why does RH7.2 default to Gnome?
« on: 7 March 2002, 05:40 »
How come it only lets me log into Gnome, it asks for a login name and a password, then goes straight to Gnome.

I am almost positive I installed KDE, I can see the other KDE apps in the programs menu.

Bateluer

  • Member
  • **
  • Posts: 66
  • Kudos: 0
Why does RH7.2 default to Gnome?
« Reply #1 on: 7 March 2002, 05:57 »
Never mind, I figured it out. Darn RH 7.2 changing where the option is located . . .

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
Why does RH7.2 default to Gnome?
« Reply #2 on: 7 March 2002, 16:12 »
if you figured it out you won't care, but the actual reason it defaults to GNOME, i believe is because KDE was not entirely open source once upon a time, and GNOME was, so a lot of people preferred GNOME due to it being in keeping with the open source ethic.

They are both open source now though, so the choice is one of preference rather than politics...

PS, how is Red Hat 7.2? are you new to it? how are you finding it?
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

Ozymandias

  • Member
  • **
  • Posts: 20
  • Kudos: 0
Why does RH7.2 default to Gnome?
« Reply #3 on: 7 March 2002, 18:36 »
I am new to Red hat 7.2 and was wondering if you knew any good "tweeks" (programs that enhance or options) that might allow me to communicate with my fat32 partition.. Im not sure if its even possible?  :confused:

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
Why does RH7.2 default to Gnome?
« Reply #4 on: 7 March 2002, 19:43 »
yes, it's possible, i just did it last week!

being a newbie myself i am not sure if i remember how to do it right.
i will try to outline it here though, and i will go home tonight and look at what i did (all changes written down      ;)     ) and edit this post to say the proper method at some point tomorrow.

the key is to edit your /etc/fstab file. You will need to log in as root, if you are not logged in as root, open up a terminal and type:

su

you will then be prompted to type in your root password, which you should do.
now, to open the /etc/fstab file, type:

pico /etc/fstab

which will open up the fstab file in pico, a text editor.
here's an example of an /etc/fstab file:

/dev/hdb5/            ext2     defaults       1 1
/dev/hdb2/home        ext2     defaults       1 2
/dev/hdc/mnt/cdrom   iso9660  noauto,ro,user 0 0
/dev/hda1/mnt/dos/c   msdos    defaults       0 0
/dev/hdb1/mnt/dos/d   msdos    defaults       0 0
/dev/fd0/mnt/floppy  ext2     noauto,user    0 0
/dev/hdb4none         ignore   defaults       0 0 none     /proc        proc     defaults
/dev/hdb3none         swap     sw

i got it from this site here. Go and look at it, it might answer all yr questions.
anyway the key lines here are:

/dev/hdc/mnt/cdrom   iso9660  noauto,ro,user 0 0
/dev/hda1/mnt/dos/c   msdos    defaults       0 0
/dev/hdb1/mnt/dos/d   msdos    defaults       0 0

the first line tells yr system how to mount the cdrom, the second and third tell the system to mount the windows partitions.
This guy has mounted an msdos partition on the 1st partition of his 1st hard drive, and one on the 1st partition of his 2nd hard drive. You can tell by the names "hda1" and "hdb1" that stands for Hard Drive "A" or "B", partition number "1" (where the numbering of partitions starts at 1) got it?
You can now manipulate your own /etc/fstab file to include a line for each fat32 partition you need to include.

Now, the next bit is where it says "defaults". This is the bit where you assign which users have how much permission to view or change the contents of that branch of the file tree (read partition). There are a number of switches you can put in here instead of "defaults" and i think they can be found by typing:

man mount

in a shell. Here's what it'll say, so you could click this link instead...Better open a new shell up since you still have pico running in yr first one.
You will probably want to change the "defaults" to some other combination of permissions, i have "user" and a couple of other things in here. This allows any user to read and write to that partition. Obviously this is not okay unless you are certain nobody unscrupulous is going to be logging into your linux system.
Leave those numbers at the end alone too...
Once you have finished editing your fstab file, press "CTRL" and "X" to exit pico, then "Y" to save the changes you just made and "Y" to write the new file to /etc/fstab.

Now, as i said, this is all just from memory of what i did the other day. I will check it out and amend this post accordingly tomorrow. Now that you know you have to edit your fstab file, do a search for "/etc/fstab" on the web and see what you come up with. I don't recommend actually editing yr /etc/fstab file until you are sure of what you are doing.
In the meantime, if somebody wants to spot a glaring error in this post, and post their greivances, please do, again, i will amend the original post accordingly so as not to mislead people trying to follow my twisting instructions!

[ March 07, 2002: Message edited by: Calum ]

visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

mr6re9

  • Newbie
  • *
  • Posts: 18
  • Kudos: 0
    • http://www.execulink.com/~mr6re9/
Why does RH7.2 default to Gnome?
« Reply #5 on: 7 March 2002, 19:49 »
create a folder in /mnt i.e /mnt/gates
edit /etc/fstab by adding the line:

/dev/hda1 /mnt/gates vfat exec,dev,suid,rw,conv=auto,uid=500,gid=500,umask=022 1 1
where hda1 is my win partition, yours may be different.
reboot

Of course you may wish to change the options like noexec,ro or defaults for ease. I use wine, so it mounts vfat a little more precariuosly. Never messes up linux but did rename some win files once.

farmer6re9

mr6re9

  • Newbie
  • *
  • Posts: 18
  • Kudos: 0
    • http://www.execulink.com/~mr6re9/
Why does RH7.2 default to Gnome?
« Reply #6 on: 7 March 2002, 19:56 »
I almost forgot.....Be VERY, VERY Careful about line wrap in this file. It is not easy to recover from an error since this controls mounting of all filesystems. One time using pico, my / line got wrapped and I could not restore or even recover.

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
Why does RH7.2 default to Gnome?
« Reply #7 on: 8 March 2002, 00:12 »
it seems what i was saying above is correct.
here is my fstab file:

LABEL=/    /         ext2    defaults       1 1
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/fd0   /mnt/floppy auto   noauto,user,rw 0 0
/dev/hda5  /mnt/win    vfat    nosuid,user,rw 0 0
none       /proc       proc    defaults       0 0
none       /dev/pts   devpts  gid=5,mode=620  0 0
/dev/hda3  swap       swap    defaults        0 0

I have got a windows installation on the C: drive, i chose not to mount it in Linux. The next two partitions are hda2 and hda3 and they show up on this table, they are the ext2 linux native partition and the swap partition. I have got the D :( win) partition mounted on here (it's hda5 because it's a logical partition within a physical partition, to make it a secondary partition in windows) and as you can see, the settings for the cdrom, the floppy, and the win partition allow any user to access it...
good luck!
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

dbl221

  • Member
  • **
  • Posts: 253
  • Kudos: 0
Why does RH7.2 default to Gnome?
« Reply #8 on: 8 March 2002, 01:51 »
I have noticed that Mandrake will automatically detect my vfat (fat32) data drive during install and mount it to /mnt/windows.

SuSe and RedHat were both unable to do this..........not that its a big chore to edit /etc/fstab but it is nice to have it done during install.
dbl221***Comp-Sys walking wounded

lost

  • Member
  • **
  • Posts: 48
  • Kudos: 0
    • http://www.23.org/
Why does RH7.2 default to Gnome?
« Reply #9 on: 8 March 2002, 04:21 »
quote:
Originally posted by dbl221:
I have noticed that Mandrake will automatically detect my vfat (fat32) data drive during install and mount it to /mnt/windows.

SuSe and RedHat were both unable to do this..........not that its a big chore to edit /etc/fstab but it is nice to have it done during install.



Mandrake was just nice enough to probe for fat drives.  Fuck fat anyways.  Pull your data off and format with xfs or ext3 at least dammit.  No more slow shitty filesystems.
If ignorance is bliss, why aren't there more happy people?

[email protected]


voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Why does RH7.2 default to Gnome?
« Reply #10 on: 8 March 2002, 08:47 »
quote:
Originally posted by dbl221:
I have noticed that Mandrake will automatically detect my vfat (fat32) data drive during install and mount it to /mnt/windows.

SuSe and RedHat were both unable to do this..........not that its a big chore to edit /etc/fstab but it is nice to have it done during install.



I set up dual boot systems all the time with RedHat and have never had a problem setting up the vfat partition at install time. Of course I *never* select a predefined setup so it's possible that it will not do this for you on one of these.  I always do a "custom" or "upgrade" install because I don't care for the default partition layouts and package selection and Gnome default desktop.  A custom install only usually takes about a minute or two longer.
Someone please remove this account. Thanks...

LunchboX

  • Member
  • **
  • Posts: 21
  • Kudos: 0
Why does RH7.2 default to Gnome?
« Reply #11 on: 8 March 2002, 21:20 »
I'm not sure, I'm still a little Linux newbie, but I did this using Webmin in a few steps =] If you have webmin it's somewhere in the options.. As I understand it, you can see and edit your windows partion from Linux, but can't see or edit Linux partions from Windows.
Where did my signature go?

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Why does RH7.2 default to Gnome?
« Reply #12 on: 8 March 2002, 10:10 »
You are correct.  I load webmin on all my servers (and turn on SSL) for my partners although I very rarely use it.  I'm a command line wierdo..
Someone please remove this account. Thanks...

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
Why does RH7.2 default to Gnome?
« Reply #13 on: 8 March 2002, 13:12 »
ha ha!

no windows can't read any file system other than FAT or FAT32, unless it's NT, in which case it can read NTFS as well.
Windows doesn't even know that you have linux installed, that's how dumb it is...
VoidMain printed a list of all the filesystems that Linux can routinely access in another post somewhere, something like 50 or 60 different ones...
of course some, are more stable than others, which is why lost's comments are quite apt as well.
Hey, not only that, but now you have linux installed and you have mounted your win partition... you can seek out all those index.dat files that the r1ddler talks about in his/her article re: hidden files, and use linux to delete them! it's much nicer to do it with linux than dos.
using dos again by comparison to linux is like putting your blindfold back on!

[ March 08, 2002: Message edited by: Calum ]

[ March 08, 2002: Message edited by: Calum ]

visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism