LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 03-27-2012, 11:16 AM   #16
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043

Ok, next issue. Sigh.

I want to have xhost +localhost set. AFAIK this doesn't survive a logout/login cycle, so I added this line to ~/.xsession.
xhost +localhost
According to this site: http://pangea.stanford.edu/computing...entication.php adding xhost to .xsession seems to be a normal thing to do.

In /etc/X11/Xsession.options, allow-user-xsession is set.
When I logout and login, I am kept in the login loop. That is, after I enter my password, I am taken back again to the login screen.

This is the (full) contents of .xsession-errors:
Xsession: X session started for jlinkels at Tue Mar 27 16:04:54 GMT 2012
localhost being added to access control list


The .xsession file is executable as per the Xsession.options man page. To be sure, I chmod-ded the .xsession to 0700 and changed ownership to jlinkels:jlinkels. Which is me when I log in. To no avail.

Is this a bug, or is there some undocumented feature such as I have to stick my tongue into my left ear while logging in?

jlinkels

Last edited by jlinkels; 03-27-2012 at 11:44 AM.
 
Old 03-27-2012, 11:58 AM   #17
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Found that as well.

WHEN you have an ~/.xsession file, the last line should be startkde. Sure. Quite logical. Well documented as well.

jlinkels
 
Old 03-27-2012, 01:16 PM   #18
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,913

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
Quote:
Originally Posted by jlinkels View Post
Found that as well.

WHEN you have an ~/.xsession file, the last line should be startkde. Sure. Quite logical. Well documented as well.

jlinkels
not really. This should start the x session manager, that can be startkde, or you can start gnome, or any other software.
The session related files will depend on the session manager software, so hard to say what should be installed.
 
Old 03-27-2012, 01:44 PM   #19
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Quote:
Originally Posted by pan64 View Post
The session related files will depend on the session manager software, so hard to say what should be installed.
And therefor the X documentation suffices telling that additional command can be put in ~/.xsession? Period?
Really, if the documentation would have stated: "the last line in the .xsession file must start your window manager, e.g. gnome" I would have been able to figure out that I should substitute that for startkde.

jlinkels
 
Old 03-28-2012, 04:43 AM   #20
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Quote:
Originally Posted by jlinkels View Post
...
OT1: Love to see that configuration in the post you are referring to...
Well i didn't get that fbdev working yet, can't find any how to be able to set it up.

Regards
 
Old 03-28-2012, 08:20 AM   #21
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
And thanks to all for the assistance.

jlinkels
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't connect to xserver? joutlancpa Slackware 4 09-08-2011 10:05 AM
Cannot connect to Xserver Srikanth VM Slackware 3 10-03-2009 08:33 AM
can't connect to Xserver in Ubuntu hari78 Linux - Software 2 07-28-2009 10:55 PM
java can't connect to Xserver alaios Linux - Software 5 01-10-2006 12:29 AM
fluxbox Error: couldn't connect to xserver Furlinastis Slackware 4 09-22-2005 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:02 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