Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-19-2003, 05:10 PM
|
#1
|
LQ Newbie
Registered: Jan 2003
Posts: 6
Rep:
|
How do I start Xwindows from console?
I just recently installed Mandrake... but a friend helping me set it up (who turned out to know less than me) disabled Mandrake from automatically loading XWINDOWS. When I turn on my computer, it goes straight to the LOGIN prompt, but once I log in, it leaves me at a console prompt. I know where the option for automatically loading XWINDOWS is in Mandrake if I can only get back into the GUI. Anybody know what I should do? 
|
|
|
01-19-2003, 05:14 PM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
startx
login and then type
startx
Cool
|
|
|
01-19-2003, 08:32 PM
|
#3
|
Member
Registered: Jul 2002
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391
Rep:
|
You may also need to create a ".xinitrc" file that has the window manager you wish to run in it. i.e. "gnome-session" or "startkde".
|
|
|
01-19-2003, 08:41 PM
|
#4
|
LQ Newbie
Registered: Jan 2003
Posts: 6
Original Poster
Rep:
|
.XINITRC
And how do I create that file??
.xinitrc?
|
|
|
01-19-2003, 08:46 PM
|
#5
|
Member
Registered: Jul 2002
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391
Rep:
|
at the console, type "
Then type "i" to get into insert mode, then type in the word "gnome-session". Next hit the escape button, then type to capital Z's (i.e. <Shift>+Z+Z). This should save the file and drop you out to the console again. If not, hit escape, then type ":wq", then hit enter.
next you would run the startx as Master LQ stated.
or for a one liner that would do it all, just use the following.
Code:
echo "gnome-session" > .xinitrc
startx
Last edited by jdc2048; 01-19-2003 at 08:48 PM.
|
|
|
01-19-2003, 08:50 PM
|
#6
|
Member
Registered: Jul 2002
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391
Rep:
|
Someone correct me if I am wrong, it is "gnome-session" isn't it? I use RedHat here.
|
|
|
01-19-2003, 10:51 PM
|
#7
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Nah, it's "fluxbox"  Just kidding of course  Yes, I do believe you are correct withe the gnome-session
Cool
|
|
|
All times are GMT -5. The time now is 03:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|