Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
 |
11-14-2008, 01:48 PM
|
#1
|
Member
Registered: Dec 2006
Distribution: Slackware 12.1
Posts: 94
Rep:
|
debian etch to lenny dist-upgrade broke X for current user.
Today I did an apt-get dist-upgrade from debian etch to lenny. seems to work great except that my regular user account startx then immediately closes. There are also warnings about could not init font path elements. Using root or any other account I can startx fine. There are no error messages in /var/log/Xorg.0.log. This seems like a permissions issue or something simple, but I do not know what to check. I am used to slackware where if something broke, you knew what it was...
Thanks
|
|
|
11-14-2008, 03:24 PM
|
#2
|
Senior Member
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250
Rep:
|
It's something simple like you need new drivers, or you forgot to install a DM, or xorg didn't install correctly. You shouldn't be able to log into an X session as root. You must have done something wrong there, but since you're such an expert Slackware user, I'm sure you can figure it out.
|
|
|
11-15-2008, 11:50 AM
|
#3
|
Member
Registered: Dec 2006
Distribution: Slackware 12.1
Posts: 94
Original Poster
Rep:
|
Don't mean to be an *** but that reply seems a bit caustic. For the past two years or however long I have come here for help I have never been greeted like that. We try to help each other here, don't we?
Anyway, since when can root not start x? X starts correctly for other users. I have seen similar problems when using gnome (I have broken the current user's gconf or something). I am not using gnome or kde here though, just fluxbox. I am by no means a slackware expert it is just what I have used for the longest time. Maybe I gave the impression that i was using a login manager (xdm, gmd, kdm - by default root can not log in with those) but I am not, I prefer to log in to console then startx when I want to. For me this has a few advantages .. if I break X (which happens a lot because I can never leave stuff alone  )I can still log in to work on stuff without a livecd, etc
I don't really think I did anything wrong. I had a fully functional system and did a dist-upgrade. I know in the world of Ubuntu that normally causes problems (for my brother at least). I thought maybe debian would be better about that. As I was saying everything works great with the new kernel and new packages. Maybe I just have something in one of my regular users hoem directory configuration files that just freaks out the new stuff?? I don't think it is xorg.conf becasue X works fine for other users. This problem seems like it would be really easy to solve, can someone point me in the right direction? I suppose I could just create a new user and use that the copy all my files over and fix permissions but I don't learn much by doing that...
Last edited by pauledwards03; 11-15-2008 at 12:01 PM.
|
|
|
11-15-2008, 12:15 PM
|
#4
|
Senior Member
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250
Rep:
|
Quote:
It's something simple like you need new drivers, or you forgot to install a DM, or xorg didn't install correctly.
|
Strike "or you forgot to install a DM"
Quote:
It's something simple like you need new drivers, or xorg didn't install correctly.
|
Slurring Debian with comments like ... "I am used to slackware where if something broke, you knew what it was." are an open invitation to flames. On the Debian boards, it could get you (figuratively) tarred and feathered.
Debian, by default, generally disables GUI logins by root. Since you did an upgrade rather than a fresh install, it's likely that your xorg.conf file is messed up. Normally, this would not be an issue, but with Lenny under intensive development, strange things come and go right now. When Lenny is released there will be release notes to point out potential problems, as of now there are not, so it makes sense to upgrade carefully.
|
|
|
11-15-2008, 01:34 PM
|
#5
|
Member
Registered: Dec 2006
Distribution: Slackware 12.1
Posts: 94
Original Poster
Rep:
|
I did not mean to say anything bad about debian, in fact debian potato I think was my first introduction to linux. I have always approached distribution upgrades with caution. I do prefer to do clean installs, other than this small X issue, the upgrade went very well. I will post my xorg.conf when I get back to the office on Monday.
This may be relevant: I did not do a regular install of etch, I used the netisnt disc and only installed X and fluxbox (and other stuff like gtk and such). The machine I am using is a bit antiquated by today's standards, so I like using only what I need.
Last edited by pauledwards03; 11-15-2008 at 01:40 PM.
|
|
|
11-17-2008, 06:51 AM
|
#6
|
Member
Registered: Dec 2006
Distribution: Slackware 12.1
Posts: 94
Original Poster
Rep:
|
Hello again, here is my xorg.conf:
The only thing I have modified is adding the composite extension and the modeline to get 1280x768.
Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
Load "dbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-64
VertRefresh 50-70
# 1280x800 @ 75.00 Hz (GTF) hsync: 62.62 kHz; pclk: 107.21 MHz
Modeline "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795
DisplaySize 433 260
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
|
|
|
11-17-2008, 07:59 AM
|
#7
|
Member
Registered: Dec 2006
Distribution: Slackware 12.1
Posts: 94
Original Poster
Rep:
|
This was not an X problem, nor a permissions issue. All it was was the new version of fluxbox used different configuration files. namely, I now have a ~/.fluxbox/startup, whereas before I did not. Previously I created a file called ~/.fluxbox/startup to house my startup commands. With the new version of fluxbox, my conflicting files just freaked it out I guess. The solution was to merge the contents of my old startup file into the new one. Knowing this, I have to applaud Debian on this upgrade (especailly to unstable!). :-D
|
|
|
All times are GMT -5. The time now is 10:56 AM.
|
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
|
|