xinit is a Unix command that starts the X Window Server.
Questions tagged [xinit]
73 questions
100
votes
2 answers
Difference between .xinitrc, .xsession and .xsessionrc
I found three configuration files.
.xinitrc
.xsession
.xsessionrc
I know that the first one is for using startx and the second and third are used when using a display manager. But what is the difference between the last two?
lockdoc
- 1,141
- 2
- 8
- 8
24
votes
2 answers
What desktop environment does startx run, and how can I change it?
From many docs, I read that startx is starting LXDE in Raspbian OS. I am a little bit confused.
Will always startx run LXDE GUI?
Also I have seen example with using startlxde command. How is that command different and why startx and startlxde are…
CuriousGuy
- 635
- 2
- 7
- 15
8
votes
4 answers
Start X Server on Login with Systemd
I know that this is not the normal way people use X. Most setup instructions tell you to put something like startx in your shell's profile. However I want to have systemd manage things.
Ideally I would have something like systemctl --user enable…
Nathan Lilienthal
- 181
- 1
- 1
- 3
6
votes
3 answers
How to manually run/init/start a Xorg server on a different VT/TTY?
I want to start an Xorg server (which should only feature a minimal xterm terminal emulator from a newly created "pristine" tty). I have thought this to be as simple as issuing a xinit or maybe a startx however both have failed me. Therefore the…
fraleone
- 737
- 2
- 9
- 21
5
votes
0 answers
evince is slow to open
Ever since I updated debian, evince has been slow to startup - it takes about half a minute. Once it is open, it works fine, its just slow to open. It never used to take that long - it just used to take a couple of seconds. How can I get it going…
mulllhausen
- 2,648
- 9
- 36
- 42
5
votes
2 answers
Arch Linux: Running VirtualBox (VM) without a window manager
In Arch Linux, I would like to run VirtualBox without a window manager.
As a root I can easily do:
xinit /usr/bin/VirtualBox -- :0 vt1
As a non-root user I get a blank screen. If I open another terminal, kill VirtualBox and read…
antonio
- 1,381
- 3
- 16
- 37
5
votes
1 answer
`xinit /usr/bin/firefox` vs `xinit firefox`
xinit /usr/bin/firefox seems to do what's expected: to run firefox without a window manager.
xinit firefox seems to do similar, but with a small xterm running behind.
Can someone explain me what's happening here?
user219627
5
votes
2 answers
xterm not using .Xresources
I've one .xinitrc with the following lines:
#!/usr/bin/env bash
xrdb -merge ~/.Xresources &
xset r rate 200 30 &
xterm & #fixme: xterm is not reading loaded .Xresources
exec /etc/alternatives/x-window-manager
Why the xterm is not using the settings…
gzinho
- 295
- 2
- 8
5
votes
0 answers
Start application using xinit on different tty
I'm using Fedora 21, trying the following:
On tty1 is running KDE, just as normal. But to speed up my games/avoid them changing something like gamma, I want to run them on a differnt tty, starting a new X server. Some time ago, I was able to do this…
marius_linux
- 151
- 2
4
votes
0 answers
Set up display orientation and resolution on an embedded Linux
we have an embedded PC with an Linux OS which seems to be an Debian/Ubuntu derivate with RT-Preempt patch.
At this pc we attached a display (7" 1024x600 170 DPI) via DVI. We are need to run the output in portrait and only basic X11 (not a complete…
Alex44
- 177
- 1
- 1
- 8
4
votes
1 answer
Start new process group in .xinitrc
I have a statusbar (lemonbar) to which I pipe the output of a couple of scripts (time, battery, volume, etc.). These scripts, and the statusbar itself, are all started in a single bash script statusbar. When the statusbar process is killed, it…
Koen
- 43
- 4
3
votes
1 answer
XDM stuck on login prompt
I've recently attempted experimentation with Arch Linux, and have managed to get an install with basic utilities, a network manager, etc going. I plan to use the Openbox window manager, with (at least, for now) the XDM display manager. Here's what I…
10GeV
- 141
- 1
- 4
3
votes
0 answers
How rotate Xorg on demand with xinit?
I can physically swing around my monitor one right angle. On the console I can control orientation with the rotate_all "button" in /sys/devices/.../fbcon/. But xorg is not impressesed by that. Now I want to tell Xorg to start normally or…
user359065
3
votes
1 answer
Configure XFCE startup commands in NixOS
In NixOS, services.xserver.desktopManager.xfce.extraSessionCommands describes "Shell commands executed just before XFCE is started.". What about for shell commands right after XFCE is started?
That is, I want to persist in my configuration.nix file…
Matthew Piziak
- 362
- 1
- 3
- 17
3
votes
2 answers
Should suspended application in the background (by ctrl+z) still run or should it stop running?
I run Firefox with command xinit /path/to/firefox/binary and it opens a display with Firefox running on it.
Then I push Ctrl +Alt+F1 to go back to console and then I push Ctrl+z to suspend the Firefox into the background.
Then, I push Ctrl+Alt+F7 to…
Megidd
- 1,519
- 3
- 32
- 44