LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 10-11-2001, 08:50 PM   #1
Disarray0019
LQ Newbie
 
Registered: Jul 2001
Location: Denver
Distribution: Suse 7.1, RH 6.2
Posts: 8

Rep: Reputation: 0
Xfree86


I am running RH 7.1 (x86). After the install, when I logged in my display was distorted all to hell. I updated to Xfree86 4.1 and the display is now fine. Even though I try to log in with a KDE or Gnome session, all I get is a black screen with a terminal console. I have to enter either "startkde" or "gnome-session" to actually get it up. My question is, what file do I need to edit to get it to enter the KDE of Gnome session when I log in? Thanks for any help.
 
Old 10-11-2001, 09:15 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
are you implying to start out in the graphical login instead of the terminal.. that would be in your inittab file, your going to want to change your runlevel to 5.
or were you saying that when booting into graphical login, it only blacks out then going back to the terminal prompt?
 
Old 10-12-2001, 11:44 AM   #3
Disarray0019
LQ Newbie
 
Registered: Jul 2001
Location: Denver
Distribution: Suse 7.1, RH 6.2
Posts: 8

Original Poster
Rep: Reputation: 0
inittab

I'm pretty sure my inittab file is set up right, but I could be wrong as I am still new to Linux/Unix. When my machine boots up, it comes to a graphical login interface. I give my login and password, then choose either KDE, Gnome, failsafe or default login. No matter which I choose (KDE or Gnome) I get a black and white pattern screen with an xconsole box, a terminal window, and an xsm: Default box that has four buttons (client list, check point, session log, and shutdown). In the terminal, I can type "startkde" or "session-gnome" and it will bring up that desktop, but I don't know why it's making me do that. Why isn't it just starting by itself? Any help would be greatly apriciated.
 
Old 12-06-2001, 08:53 PM   #4
Toro
LQ Newbie
 
Registered: Dec 2001
Posts: 9

Rep: Reputation: 0
Re: inittab

When my machine boots up, it comes to a graphical login interface. I give my login and password, then choose either KDE, Gnome, failsafe or default login. No matter which I choose (KDE or Gnome) I get a black and white pattern screen with an xconsole box, a terminal window, and an xsm: Default box that has four buttons (client list, check point, session log, and shutdown). In the terminal, I can type "startkde" or "session-gnome" and it will bring up that desktop, but I don't know why it's making me do that. Why isn't it just starting by itself? Any help would be greatly apriciated.

Hi! im newbie and Im having the same problem too. could someone help us, please?
 
Old 12-06-2001, 09:10 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
well just for kicks try this after boot...


Ctrl_Alt_F2

then login to console as root...

#init 3

then do...

Ctrl_d

then login as a normal user...

$switchdesk kde

$startx


also do...

$cat ~/.Xclients

$cat ~/.Xclients-default

see what they say in them
should be something like this

[david@Microdot david]$ cat ~/.Xclients
#!/bin/bash

# Created by Red Hat Desktop Switcher

if [ -e "$HOME/.Xclients-$HOSTNAME$DISPLAY" ]; then
exec $HOME/.Xclients-$HOSTNAME$DISPLAY
else
exec $HOME/.Xclients-default
fi
[david@Microdot david]$ cat ~/.Xclients-default
# Created by Red Hat Desktop Switcher
exec startkde

try this...

echo $HOME
echo $HOSTNAME
echo $DISPLAY


Did you change some stuff around in /etc/passwd

Last edited by DavidPhillips; 12-06-2001 at 09:23 PM.
 
Old 12-07-2001, 07:31 PM   #6
Toro
LQ Newbie
 
Registered: Dec 2001
Posts: 9

Rep: Reputation: 0
Unhappy well it doesn´t work

i just did it, but i doesn't change nothing.
a other detail: when i start gnome-session the system show a message like "the window manager is not compatible with gnome and the mouse-clicks will not work properly", what can i do? the xsm window get me mad!! when i close it all the system reboot i just want my old gnome back...

 
Old 12-10-2001, 05:04 AM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
another window manager is loading,

if you go to the configuration in gnome for the window manager you can change it to sawfish
 
Old 09-24-2003, 01:38 PM   #8
sylk
LQ Newbie
 
Registered: Sep 2003
Posts: 10

Rep: Reputation: 0
work-a-round

well.... I'm a newbie but I found a work-a-round. This will actually be my forst "help another" type post.

This unhelpful, not working yet XSM (X Session Manager) appears to be before its' time. I can't get any apps to successfully save their sessions with it. I didn't ask for it... it just appeared after an XFre86 install and some kernel and glibc upgrades.

XSM jumps in after the GUI login and over-rides your GUI login desktop selection. XSM first looks for .xsmstartup files in home directories and if none are found (which is my case) it goes to the system.xsm file to get the load menu.

Just vi the /etc/X11/xsm/system.xsm file with the startup apps (in command line format) that you want. I commented out (# before the line) the options that were there already and simply put startkde or gnome-session to get the KDE or Gnome desktop to start.

Now.... I'm trying to figure out how to remove XSM and have the GUI login screen select my desktop.

Hope this helps,

Sylk
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Undefined Screen " XFree86" reference by serverLayout "XFree86 Configured" comox *BSD 7 01-17-2005 05:47 PM
"extension "XFree86-DRI" missing on display" upgrading XFree86 to 4.3.0 on Sarge Moloko Debian 5 03-31-2004 05:06 PM
Help configuring XFree86 on YDL 2.3 (black screen & failed XFree86 -configure) EnVoy Linux - General 1 11-24-2003 04:32 PM
XFree86 4.3 on woody, can't run XFree86 -Config mtr Debian 6 08-15-2003 12:50 PM
Will ATI Radeon 8500 XFree86 4.2 driver work with Xfree86 4.3? Stevetgn Linux - Hardware 1 06-24-2003 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:17 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
Open Source Consulting | Domain Registration