.xinitrc doesn't work, .xsessionrc does! (was ... Re: startx vs. xdm)
- From: Chris Bannister <cbannister@xxxxxxxxxxxxxxx>
- Date: Sun, 29 Jul 2012 18:50:31 +1200
On Sat, Jul 28, 2012 at 10:52:58AM -0600, Javier Vasquez wrote:
On Sat, Jul 28, 2012 at 9:52 AM, Chris Bannister
I use startx, and only have an .xsessionrc file. I know it is read
because of the xterm settings.
Resources, whether for xterm, urxvt, or similar, usually are not
configured into .xinitrc, neither .xsession (I never used
.xsessionrc). Instead they are specified in .Xresources and
.Xdefaults. However it might be you "xrdb" them from .xsessionrc,
though .Xdefaults the old days was supposed to beloaded automatically
without being loaded through xrdb.
Now, to make both startx and xdm (and other DMs using .xsession) what
is required is to have .xinitrc with execute permissions (.xsession
requires them for for several DMs if I recall correctly since it gets
executed), and then create a link from .xinitrc to .xsession.
If I don't call it .xsessionrc, startx doesn't work, it just dumps me
back to the tty with:
X.Org X Server 1.12.1.902 (1.12.2 RC 2)
Release Date: 2012-05-19
[snip other]
xinit: connection to X server lost
The screen doesn't even flicker.
I am using fvwm, no DM at all.
I have tried, .xinitrc, .xsession, with and without execute permission,
all give above message¹: "xinit: connection to X server lost"
I don't have either an ".Xdefaults" or a ".Xresources" file.
.xsessionrc works whether it is executable or not
¹ I also get that message when I quit fvwm. The point is, X doesn't even
start in this case.
--
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the
oppressing." --- Malcolm X
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: 20120729065031.GC1884@tal">http://lists.debian.org/20120729065031.GC1884@tal
- Follow-Ups:
- Re: .xinitrc doesn't work, .xsessionrc does! (was ... Re: startx vs. xdm)
- From: Javier Vasquez
- Re: .xinitrc doesn't work, .xsessionrc does! (was ... Re: startx vs. xdm)
- References:
- startx vs. xdm
- From: peasthope
- Re: startx vs. xdm
- From: John L. Cunningham
- Re: startx vs. xdm
- From: Chris Bannister
- Re: startx vs. xdm
- From: Javier Vasquez
- startx vs. xdm
- Prev by Date: Re: Debian 8 to be called "Jessie"
- Next by Date: Re: internet probably broken
- Previous by thread: Re: startx vs. xdm
- Next by thread: Re: .xinitrc doesn't work, .xsessionrc does! (was ... Re: startx vs. xdm)
- Index(es):
Relevant Pages
|