Questions tagged [startx]

startx is a front-end script to run xinit used to manually start an X display server.

Filter by
Sorted by
Tagged with
18
votes
4answers
47k views

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. ...
12
votes
2answers
80k views

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. ...
3
votes
1answer
2k views

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 ...
3
votes
0answers
451 views

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 ...
3
votes
1answer
266 views

Creating a new user and starting a graphical session causes black desktop

I am using a Raspberry Pi 2 Model B running the latest version of Raspbian Wheezy (Raspbian Wheezy 2015-05-05). I created a new user separate from the default user "pi" and I am unable to create the ...
2
votes
1answer
21k views

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: ...
2
votes
1answer
4k views

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 ...
2
votes
1answer
4k views

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 ...
2
votes
2answers
2k views

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 ...
2
votes
0answers
45 views

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 ...
2
votes
0answers
734 views

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, ...
2
votes
0answers
521 views

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 ...
2
votes
2answers
4k views

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 ...
2
votes
0answers
265 views

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 ...
1
vote
1answer
4k views

startx — -layout HDMI -layout TFT # at the same time?

This verbiage implies, if you want a desktop on both heads of a Pi(2) with a PiTFT hat, you just startx each desktop: startx -- -layout TFT & startx -- -layout HDMI & Various combinations of ...
1
vote
0answers
27 views

create user that has very limited permissions that can launch startx

Could someone help me with a procedure to create a user that would have the least amount of permissions, no sudo access. That would be able to launch startx from a command line boot on raspbian-...
1
vote
1answer
1k views

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 ...
1
vote
0answers
444 views

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, ...
1
vote
0answers
51 views

startx stops working when I modify /home/pi/.profile

I added the following lines to /home/pi/.profile clear cd / cd /home/pi/circulation_of_circuits/ ./launcher.sh In case it matters, launcher.sh contains this: #!/bin/sh cd / cd home/pi/...
1
vote
0answers
233 views

Incorrect Pygame touch events from Raspi Display without startx

I have a Clock / Weather / MPD client PyGame application that runs on a Raspi3 with an official Raspi Touchscreen. The app works fine when executed under startx. When started from the command line, ...
1
vote
2answers
1k views

How to make startx open new X Session in tty7?

Before, when I launched x from the tty1 console, it would start the x session in tty7, allowing me to terminate it easily from tty1. Now (I do not know what changed it), startx from tty1 will open X ...
1
vote
2answers
564 views

Start GUI while running a terminal aplication

I have a python application that logs data from connected sensors. Most of the time it just sits there logging data. If power is lost and regained, I want it to start this application automatically so ...
0
votes
1answer
152 views

/etc/profile executing 2 times

I have written a script to run automatically after login. For that I have put it in /etc/profile as: /home/pi/myscript.sh & However, it is executed twice instead of one. Any ideas why? VNC and ...
0
votes
4answers
3k views

Start X Not Working

RaspberryPi2 with official RP 7" screen. Formatted 16GB MicroSD using SDFormatterv4.zip = success Installed Raspian Jesse using NOOBS v1_7_0.zip = success Powered on & Appears to be a clean boot ...
0
votes
1answer
4k views

Booting to LXDE instead of Raspbian desktop

I'm very new to using a raspberry pi. Recently I purchased one (a raspberry pi 3) and I was playing around with it. All of the sudden when I turn it on, it takes me to LXDE login screen instead of the ...
0
votes
0answers
20 views

GUI Login Fails for all accounts [duplicate]

I'm relatively new to both raspberry pi and unix. In spite of that, I'm teaching intro to programming classes at a school using raspberry pi's. These pi's are NOT connected to the internet. Each ...
0
votes
2answers
217 views

raspberry pi zero w calls startx unknown command

I have a rasperry pi zero w with raspbian stretch installed on a 4gb micro sd card. when I log in it goes to the pi@rasperrypi~$ command prompt. When I type in startx it says "unknown command". Is ...
0
votes
1answer
791 views

Permission issues seem to be preventing use of startx - why? How can I fix?

Been working with RPi3, fresh installed this Jessie OS and had no problems for ages, until earlier today. Current situation: When booting pi, the messages aren't the same as before, but ends with the ...
0
votes
1answer
1k views

Why is the command startx not working on my Raspberry Pi 3 Model B?

I have just flashed Raspbian to my 8 GB hard drive, but when I boot up the Raspberry Pi and log in, it says: bash: startx: command not found Is there a problem with the boot files?
0
votes
2answers
1k views

Raspberry pi 2 with new raspbian can't startx

I have a brand new distribution of raspbian running on my raspberry pi, When I do startx it loads a bit. Then I see the wastebasket, but the menus just flicker on and off. I checked my user pi for ...
-1
votes
1answer
70 views

I couldn't use apt to update, upgrade and install on raspberry wheezy

I'm using raspberry pi and wheezy software. When I update I'm getting an error message like: Get:1 http://archive.raspbian.org wheezy InRelease [12.5 kB] Get:2 http://archive.raspberrypi.org wheezy ...
-1
votes
1answer
624 views

How can i fix startx on my RPI3?

The day before yesterday I opened too many tabs in the browser, and hung my RPI. I turned it on again with the power turned on. But he was involved not as usual. Instead of having to download the ...
-1
votes
3answers
264 views

runing command on startup

I need to execute this command on the RASPBERRY PI bootup cd RPi_Cam_Web_Interface && ./install.sh and also follows dual ENTER keys with 5 seconds interval for each.