DebianThis forum is for the discussion of Debian Linux.
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 have difficulties running Xorg on the recent debian (11.0). When I start X with startx or xinit (this is minimum embedded system); the X window drops after a few seconds. However, if I remove .xsession, X works ok (with default WM). Even, if the .xsession is empty or contain only commands the X drops. All previous debian versions including recent testing versions worked as expected. Only I have trouble with the recent stable version. No evident error was logged in either Xorg.log or .xsession-errors.
Questions:
Is .xsession deprecated?
Or there is possible bug in the recent stable version.
I would appreciate any comment.
I have difficulties running Xorg on the recent debian (11.0). When I start X with startx or xinit (this is minimum embedded system); the X window drops after a few seconds. However, if I remove .xsession, X works ok (with default WM). Even, if the .xsession is empty or contain only commands the X drops. All previous debian versions including recent testing versions worked as expected. Only I have trouble with the recent stable version. No evident error was logged in either Xorg.log or .xsession-errors.
Questions:
Is .xsession deprecated?
Or there is possible bug in the recent stable version.
I would appreciate any comment.
There is always a bug, but this most likely isn't one.
We'd need to see the contents of that file, and the Xorg log showing why exactly it chokes and on what.
BTW, I never start X with xinit, I always use startx.
The good news; it is working now, ie; the startx is working, but xinit is not.
The bed news I'm not sure why?
Here what I've done:
- changed permission for all /dev/tty* (it was complaining about accessing tty console).
- changing .xesssion to .xssesionrc (started working at this point).
- checking if .xsessionrc/(.xsession) is executable (it does not matter).
- going back with all these changes (including removing the permissions); still working OK.
In conclusion, I cannot repeat the original problem. It happened this a first time with this setup. I'll try to examine logs carefully and if I find something, I'll post the warning here.
Thank you for your help. Let me know if you have any suggestion how to investigate this.
The good news; it is working now, ie; the startx is working, but xinit is not.
The bed news I'm not sure why?
Here what I've done:
- changed permission for all /dev/tty* (it was complaining about accessing tty console).
- changing .xesssion to .xssesionrc (started working at this point).
- checking if .xsessionrc/(.xsession) is executable (it does not matter).
- going back with all these changes (including removing the permissions); still working OK.
In conclusion, I cannot repeat the original problem. It happened this a first time with this setup. I'll try to examine logs carefully and if I find something, I'll post the warning here.
Thank you for your help. Let me know if you have any suggestion how to investigate this.
With time, you will learn to troubleshoot & fix problem in a traceable manner.
Thank you for the last valuable and thoughtful comment. This comment remained me how insignificant I am. Following the advise, I have retraced my action from the beginning (including reinstalling Debian). The conclusion is; that I haven't leave enough space in home directory (most likely, embedded). Since, all X's log files are in user space, I could not retrace the error and behavior was different with different setup (very nasty).
The lesson learned: pay attention what you are doing.
Thank you very match for your last important comment.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.