startx is a front-end script to run xinit used to manually start an X display server.
Questions tagged [startx]
38 questions
20
votes
4 answers
startx: command not found
I am total newbie to Raspbian world and my problem is that I can't start the GUI because when I write:
> startx
I get back:
bash-: startx command not found;
using sudo returns the same error. I installed xterm, but still nothing. I started with…
V.Ruby
- 209
- 1
- 2
- 3
12
votes
2 answers
startx command not working
I got a raspberry pi 2 B that came with a pre-loaded 8GB micro sd card. When I set it up, turn it on, and get to the part where I need to type in the "startx" command and press enter it does not work. This is what happens:
How can I fix this?
user38753
- 137
- 1
- 1
- 3
7
votes
2 answers
How to start GUI with startx command (not found)
I am trying to start the desktop with Raspbian Stretch, but I'm not able to run startx.
I install: RASPBIAN STRETCH WITH DESKTOP
from
https://www.raspberrypi.org/downloads/raspbian/
and then:
sudo raspi-config
I2C: enable, SSH:…
palo
- 71
- 1
- 1
- 2
5
votes
1 answer
lxsession/LXDE/autostart is not running my script?
My custom script to start midori in fullscreen browser is not loading when the pi boots. I want it to run when the desktop loads.
I call the script from /etc/xdg/lxsession/LXDE/autostart
by using the code
@sh /home/pi/startMidori
startMidori is the…
mattz330
- 63
- 1
- 3
3
votes
0 answers
Disable Screensaver of XServer on Raspbian Jessie Lite
I setup a Raspberry Pi 2 with Raspbian Jessie Lite in read only mode. To run a Qt application I installed the packages "xserver-xorg" and "xinit". I am starting the application automatically after boot from /etc/rc.local with following command: sudo…
KorisNaff
- 31
- 1
3
votes
1 answer
run startx not as root
Scenario:
So I want to run startx. The problem is, it won't let me write to tty0
Fatal server error: (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
so I tried to run sudo startx, which works, but it logs me in as root!
How can I…
peter
- 31
- 1
- 4
3
votes
1 answer
Set X background as soon as poosible
I am currently working on a small rpi3 kiosk. I managed to set up a boot splashcreen with fbi started by an initscript. However I can not make a smooth transition between the splashscreen and the openbox background (image loaded into the root window…
atevm
- 469
- 7
- 15
3
votes
2 answers
Could not write pid to lock file
I was working on my Pi when suddenly it stuck. I attempted to restart but upon entering startx I got the error "Could not write pid to lock file in /tmp/xtX0-lock'
I've looked around and many people advised running the df -h Command. I have done…
Grace
- 103
- 1
- 2
- 7
2
votes
0 answers
Failing using startx to launch different desktops
I am trying to use startx to launch different desktops according to an argument using case...esac
This is my .xinitrc
mate(){
(sleep 5 && conky) &
mate-session
}
case $1 in
d2) i3;;
*) mate;;
esac
When I use startx launches by…
potato
- 177
- 1
- 11
2
votes
1 answer
Pi3 startx fails
I'm trying to start the gui on raspbian jessie on a pi 3, using the startx command. I get back an error like this:
Fatal server error:
Could not create lock file in /tmp/.tX0-lock
and
xinit: giving up
xinit: unable to connect to X server:…
anvoice
- 141
- 1
- 4
2
votes
0 answers
Failing to startx with chromium
I am trying to launch a single application - chromium without the rest of the desktop. I am trying this command (in terminal mode):
$ startx chromium-browser --
It proceeds to start the X server, but then simply exits back to the command line. I…
Scott
- 121
- 4
2
votes
1 answer
GUI won't start automatically Raspbian Pixel
I have a triple boot Raspberry, and after an update of Raspbian, the gui won't start, when boot option in raspi-config is on Desktop I get Splashscreen of Raspbian Pixel and after this I get a black screen with terminal cursor, but I can't tape any…
Solidus
- 33
- 1
- 2
- 8
2
votes
0 answers
running x on read-only raspbian
I am trying to run xserver on a read-only raspbian. I get the following errors.
root@ClientX:/var/log# startx
xauth: error in locking authority file /root/.Xauthority
xauth: error in locking authority file /root/.Xauthority
(EE)
Fatal server…
aristosv
- 21
- 2
2
votes
2 answers
Typed in startx and now I can't log in
I've never had to enter a password into the Pi before. It would just boot to the desktop
However, I was following some instructions which told my to type in startx. I typed it in and it went into a login screen. I tried typing in pi for username…
Eric B
- 73
- 2
- 6
2
votes
0 answers
Auto starting apps in LXDE doesn't work
I'm trying to build a "kiosk" app for my Raspberry Pi 2 which has an Adafruit PiTFT connected to it (using their image, which is just the standard Debian Jessie, but with framebuffer stuff added to work with the PiTFT). But no matter what I do, I…
Grayda
- 121
- 2