Linux - SoftwareThis 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.
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.
I'm running debian (AMD64 dist), and I recently upgraded via aptitude to KDE 4.3.4. After the upgrade I found that I could no longer start X (using startx from my user account). I am, however, able to launch kdm from a root command line and log in as a user to X this way (graphically).
I want to run startx as a user and I cannot figure out where the hangup is. I've looked in my Xorg.0.log files comparing .old to current and nothing stands out. After I launch 'startx' the screen goes black and the computer waits. I can hit ctrl-alt-f2 and bring back the text-mode terminal screen; it's at a point where it looks like X is working. From there, I can control-c it and get back to the command prompt.
I'm thinking this is a software configuration thing but I don't know enough about how all the systems tie together to figure out where the problem is. If you know, please help.
$ cat /etc/X11/xinit/xinitrc
#!/bin/bash
# /etc/X11/xinit/xinitrc
#
# global xinitrc file, used by all X sessions started by xinit (startx)
# invoke global X session script
. /etc/X11/Xsession
$
$
$ cat /etc/X11/xinit/xserverrc
#!/bin/sh
exec /usr/bin/X -nolisten tcp "$@"
$
Looks fine, but you should perhaps check out this Guide on Startx.
Regards,
Alunduil
P.S. If that doesn't solve the problem post back and we'll continue the search.
Thanks Alunduil, you nailed it!
I did a "echo startkde > ~/.xinitrc" and then startx worked, I got into KDE. When I remove the file it breaks again. Do you know where the default window manager information is stored? That's, apparently, what is messed up.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.