LinuxQuestions.org
Register a domain and help support LQ
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 12-16-2008, 01:27 PM   #16
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Question about command usage.


As root are you typing *nano /etc/conf.d/xdm* (without the asterisks)?

can replace nano with your favorite editor.
 
Old 12-16-2008, 01:29 PM   #17
phlenix
LQ Newbie
 
Registered: Dec 2008
Posts: 21

Original Poster
Rep: Reputation: 15
when i try to open it.
 
Old 12-16-2008, 01:30 PM   #18
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
yes.

What is the command you are typing?
 
Old 12-16-2008, 01:32 PM   #19
phlenix
LQ Newbie
 
Registered: Dec 2008
Posts: 21

Original Poster
Rep: Reputation: 15
now it worked! But it says DISPLAYMANAGER="gdm"
what should i change now??
 
Old 12-16-2008, 01:33 PM   #20
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
So, when you boot up and the graphical login manager comes into, can't you see somewhere where you can choose the type of sessions? I think you have been using gdm all along...
 
Old 12-16-2008, 01:36 PM   #21
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Thats correct then.

Do you have .xinitrc in the home folder?
 
Old 12-16-2008, 01:36 PM   #22
phlenix
LQ Newbie
 
Registered: Dec 2008
Posts: 21

Original Poster
Rep: Reputation: 15
whoami:
root
the other one:
-rw-r--r-- 1 root root 716 Dec 15 20:39 /etc/conf.d/xdm
 
Old 12-16-2008, 01:37 PM   #23
phlenix
LQ Newbie
 
Registered: Dec 2008
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Hern_28 View Post
Do you have .xinitrc in the home folder?
i dunno how can i check?
 
Old 12-16-2008, 01:39 PM   #24
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
These commands will help.

*cd ~/* Changes to root directory
*ls -a* Lists all files including hidden

or

Quicker way would be *nano ~/.xinitrc*

it should say 'exec gnome-session' if not type it and save.

Last edited by Hern_28; 12-16-2008 at 01:43 PM. Reason: quicker way
 
Old 12-16-2008, 01:43 PM   #25
phlenix
LQ Newbie
 
Registered: Dec 2008
Posts: 21

Original Poster
Rep: Reputation: 15
it says:
. bin dev home lost+found opt proc sbin tmp var
.. boot etc lib mnt portage-2008.tar.bz2 root sys usr


but no .xinitrc
 
Old 12-16-2008, 01:45 PM   #26
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
ok.

Type *nano ~/.xinitrc* as root user.

add 'exec gnome-session' if its not already there and then try a reboot.

you have to include '~/' with 'cd' for 'cd ~/ and there is a space between 'cd' and '~/'. This takes you to your /home/(Whatever your username is) directory. You might want to create a file here for your user as well.

Last edited by Hern_28; 12-16-2008 at 01:49 PM. Reason: command line.
 
Old 12-16-2008, 01:51 PM   #27
phlenix
LQ Newbie
 
Registered: Dec 2008
Posts: 21

Original Poster
Rep: Reputation: 15
i did that then i rebooted dint work so i openend the file again and it was empty. do i have to save it or so? i just entered what you said and then pressed the off button.
 
Old 12-16-2008, 01:55 PM   #28
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Create a .xinitrc for your user.

in the terminal. logged in as your user (not root this time). type *nano ~/.xinitrc* and add 'exec gnome-session'(without quotes) and save again. Have to do this with each user.
 
Old 12-16-2008, 01:57 PM   #29
phlenix
LQ Newbie
 
Registered: Dec 2008
Posts: 21

Original Poster
Rep: Reputation: 15
how do i save?
lol sry im such a noob
 
Old 12-16-2008, 02:03 PM   #30
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Simple.

While holding the '<Ctrl>' press 'o' and then hit enter to save.
 
  


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
xp/gentoo dual boot , gentoo on usb external hard drive gentoo2006 Linux - Laptop and Netbook 2 09-16-2007 12:55 PM
Gentoo live cd will not mount /dev/hdc on HP Omnibook xe3 (Gentoo 2006.0.0) tommygoober Linux - Software 3 03-16-2007 07:51 AM
How do I start installing stage 3 of gentoo from universal gentoo 2005-1? kazuya1977 Linux - General 1 11-11-2005 11:30 AM
pkg-config error with emerge -aD gnome-python on Gentoo 2.6.9-gentoo-r6 ghrellin Linux - Software 2 12-22-2004 07:37 PM
Dual boot w/ Gentoo/xp pro vs. gentoo-invalid partition table bobbear Linux - Software 3 02-10-2004 05:28 PM


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