Questions tagged [startx]

118 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
39
votes
3 answers

How to start a second X session?

I tried to do it with the command startx 1. It seemed to flicker to a different screen momentarily, but then exited. Got the following error: /usr/bin/xterm: No absolute path found for shell: :1 Any ideas?
Brian Peterson
  • 619
  • 1
  • 7
  • 12
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
11
votes
1 answer

startx cannot open /dev/fb0: Permission denied

When I try to start my WM using startx, I am unable to because the permission of something called /dev/fb0 are restricted. From home/user/.local/share/xorg/Xorg.0.log: [ 198.569] (--) controlling tty is VT number 1, auto-enabling KeepTty [ …
Anonymous Entity
  • 345
  • 2
  • 4
  • 7
10
votes
2 answers

Cannot open virtual console 7 (Permission Denied) when trying to start X on Gentoo

When I try to start X with i3 by typing startx /usr/bin/i3 I get the following error message: (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied) Launching startx as root or after chowning /dev/tty7 solves it (expect for input…
xuwenbuwer
  • 285
  • 1
  • 3
  • 10
10
votes
1 answer

X Forwarding with indirect rendering fails with newer clients

Posting this question for a colleague after quite a bit of research. He wants to connects to an old Centos 4 server via ssh -X (or -Y) and run some X application there. It used to run fine for years, but recent updates (on both Centos 7 and Ubuntu)…
dargaud
  • 557
  • 1
  • 4
  • 18
10
votes
2 answers

What is the difference between starting x and starting the display manager?

What is the difference between running startx and starting your display manager with sudo service (display_manager) start? Two different events happen, so I am curious as to know the difference behind-the-scenes.
Rohan
  • 3,491
  • 9
  • 28
  • 45
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
8
votes
1 answer

Is startx deprecated?

startx says: -------------------------------------------------------------------------------------------- xinit failed. /usr/bin/Xorg is not setuid, maybe that's the reason? If so either use a display manager (strongly recommended) or adjust…
user2394284
  • 352
  • 1
  • 4
  • 10
8
votes
1 answer

Login to user's session with chroot

I have an USB thumb stick with the following partition scheme: sdb sdb1 -> root partition '/' sdb2 -> /home partition If I boot from a live CD, or just from my current Ubuntu OS located on my computer's hardware, I am able to chroot this…
kaligne
  • 856
  • 3
  • 10
  • 28
6
votes
1 answer

How to make CentOS 7 load startx on startup?

I am having issues where my centos 7 machine with KDE does not load the gui at startup. It gets stuck on some white letters and I have to press CTRL+ALT+F2 to load another terminal session and then run startx to properly load the gui. Is there some…
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
4
votes
1 answer

/usr/bin/startx : has anyone ever fullfilled the urgency ? How?

I, as I can believe anyone around, have been firing /usr/bin/startx for decades experiencing nothing but 100% satisfaction for the job it serves. If it works… don't fix it ! The author of the script is however explicit : Site administrators are…
MC68020
  • 6,281
  • 2
  • 13
  • 44
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
3 answers

Can't run `startx` from inside screen session

I'm running Slackware GNU/Linux 14.2, which doesn't start an X server by default. On a whim, I tried running startx inside a screen session and got the warning /usr/libexec/Xorg.wrap: Only console users are allowed to run the X server xinit: giving…
Greg Nisbet
  • 2,996
  • 2
  • 25
  • 42
1
2 3 4 5 6 7 8