Comments (5)
Apparently when you use startx/xinit from a tty the X session does not get your authentication unless you give it the vt argument for the exact same tty you're on (ttyx- > -- vtx):
http://blog.falconindy.com/articles/back-to-basics-with-x-and-systemd.html
from cdm.
Thanks for looking into this @Calrama. I'm having the same issue running CDM on Arch. Were you able to solve this? If so, can you explain how/where you passed the vt argument since xinit/startx isn't being called explicitly?
from cdm.
Sadly no and as far as I can tell there's no easy solution for this, because when using systemd there's just no apparent way to carry over the authentication from a tty login at say ttyX (which cdm uses) over to a newly started X session on ttyY - unless X = Y, of course. All of this is based on information from 5 months ago, though, maybe something has changed since then and now there is some way in a new systemd version, but if so, I know nothing about it, as I made a tactical retreat back to slim.
from cdm.
After reviewing this and browsing my .cdmrc
again I noticed the following promises to do exactly what you described:
# Where should the first X tty be spawned?
# special value `keep' causes to run X in current tty.
xtty='7'
After changing that line to xtty='keep'
, my authentication issues were solved. Turns out this was already known on the Arch forum.
from cdm.
Well, yeah, but that way you stay on the same tty instead of returning to the login prompt and the x session starting on tty(7+). What this does is allowing you to start the x session automatically on any (same) tty you login from. That's not what I wanted, but if it is for you, that's good.
from cdm.
Related Issues (20)
- X session not registered in systemd's logind HOT 3
- Include border2_color and menubox_border2_color to /usr/share/cdm/themes/cdm
- Default sessions from /usr/share/xsessions instead of /etc/X11/Sessions HOT 1
- Add Zenity to the mix
- Idea: make ttys configurable and multiple X11 sessions possible
- CDM and .ecyptfs
- dialog: command not found HOT 5
- CDM fails to start X in latest Archlinux HOT 9
- cdm doesn't launch. HOT 1
- Consolekit HOT 1
- cdm disrespects the XDG Base Directory Specification HOT 1
- Session logged in from cdm not active in utmp
- Release/tag HOT 1
- how to install it? HOT 3
- Domain has expired HOT 2
- Doesn't let me bootup to a DE and i can't bypass it HOT 1
- Accidentally restarted early, now I cannot log in at all. HOT 2
- Disable Cursor Blinking
- Proposal to merge modifications in CasperVector/cdm HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdm.