After opening ssh connection to the remote host as explained above, you can open any GUI application which will open it without any issue. ... cannot open display: ... sudo apt-get install xinit Start X startx. I get a strange looking login screen (greeter), put in my gredentials but then a grey screen appears and I can only access context menues. If you really want to use PuTTY anyway, in putty configuration -> SSH … Lightweight X11 Desktop Environment (LXDE) is an extremely fast performing energy saving desktop environment. (EE) (EE) Making backup is advisable. When you get hold of it, open it in text editor, but with super user privileges, or you won't be able to save it. If you want to start an X session on the PI (and have it display on the Pi): [local] $ ssh pi@raspberry [remote] $ setsid startx -- :0 vt7 & If you've got something like EmulationStation running (which gloms the shit outta the FB): Do this once. After the X server has been emerged and configured, LXDE is ready to be installed. I have a feeling that my normal “session” should be lxsession or lubuntu but I am not a pro at all (as you can tell). I'm following the GTK tutorial and already installed all the dependencies and all is working although when I run my code I get this error: (process:34571): Gtk-WARNING **: Locale not supported by C Advice would be greatly appreciated. Having researched online, I tried starting LXDE manually, so far without success: Code: Select all # startlxde ** Message: main.vala:99: Session is LXDE ** Message: main.vala:100: DE is LXDE (lxsession:823): Gtk-WARNING **: cannot open display: # exec startlxde Open GUI applications in that host. I opted for LXDE as it's so lightweight and I just wanted the core, no extra gumph. This is localhost in a normal terminal window. While each component can be installed individually, the more efficient and typically preferred method is to emerge the meta package set: Upon review of the emerge command's output (if the current set of USE flags looks good, etc.) Please consult the The X.Org Foundation support Lubuntu is a Ubuntu derivative that has LXDE installed by default. This forum is for the discussion of Ubuntu Linux. I ran into an issue launching lxde once I’d installed it. I've encountered problems with Ubuntu (x86_64) running startx as a normal user from the CLI - these seem to disappear if I instead run lxdm as root. [LXDE] Gtk-WARNING **: cannot open display: :0. Just as you would start … You just have to let the ssh session know you intend to use the Pi's display. But not for X11. Familiar experience. It came back with the error “Gtk-WARNING **: cannot open display:” With the file opened, you can start The important parts are the the color codes which can be changed. Open GUI applications in that host. HTH. In that case you don't want to do any X-Forwarding or run an additional X client. The display manager is entirely independent of the rest of the desktop. However, after all this happened parallel I now cannot log into my Lubuntu any more. xinit: unable to connect to X server: Connection refused We will be glad to help you. This site uses Akismet to reduce spam. The Raspberry Pi is a tiny and affordable computer that you can use to learn programming through fun, practical projects. I cannot find the answer to my question Microsoft Edge will not open up the start page? I have used rootstock to compile Ubuntu 9.10 with the LXDE desktop environment for my ARMv6 device (Zenithink ZT-180) as I am trying to port Linux to it. Cant open a terminal etc. 3. Can you replace gnome-polkit with lxpolkit (not sure of the Ubuntu package names; these are Fedora names)? Log off from this Administrator account and Login to your limited user and Check for the issue. Just like with other desktop environments, the X Server must be told to load LXDE automatically. Yes, 'root' is the supreme God of your system and is omni potent. Keep us posted if you face any issues on windows in future. Tour Start here for a quick overview of the site ... cannot open display “default display” in Linux Mint 15. Join the global Raspberry Pi community. I also messed with PCmanFM and its LibFM, because I wanted to update those and it did not work out. Any help? I get the message “No session set, fall back to LXDE session” when startin lxsession manually from the terminal emulator. Now select the user id with which you are not able to open Calendar and click OK on all the screens. Lots of interesting readings but will not answer my question?-That article explains how to set a Start/ Home page in Edge. Please verify that you have set a Start page correctly. Hello LQ, I have a small issue and I am hoping you can help me. DISPLAY=:0.0 : Tell which xserver to use. Now you can access your actual desktop with any vnc viewer application on the default vnc port 5900. Pastebin.com is the number one paste tool since 2002. The easiest way to get started is to edit (or create, if misisng) ~/.xinitrc. LXDM is the default desktop login manager for LXDE and many other lesser-known desktop environments on Linux. You can also install LXDE packages after installation using DNFor the package manager of your choice. LXDE requires at least lxde-common, lxsession and openbox (or another window manager) to be installed. Active community. NOTE: ssh -X will automatically set DISPLAY to => localhost:10.0. is showing what should I do?? Don't want something in LXDE, or don't want to use LXDE but only part of it? xinit: server error If you still get the “cannot open display” error, set the DISPLAY variable as shown below. I’d be tasked with installing a GUI on a server for someone else to use. It sounds like you want the X applications to run and display on the Pi (which is the usual way to do things). LXDE is available in the repository, via the Fedora LXDE Spin and installation DVD. Couldn’t get a file descriptor referring to the console at http://wiki.x.org Click to share on Facebook (Opens in new window), Click to share on Pocket (Opens in new window), Click to share on LinkedIn (Opens in new window), Click to share on Twitter (Opens in new window), Click to share on Reddit (Opens in new window), Click to share on Telegram (Opens in new window), Click to share on WhatsApp (Opens in new window), Click to share on Pinterest (Opens in new window), Fixed: LXDE-core startlxde gives Gtk-WARNING **: cannot open display: error message, SOLVED: Spotify desktop client communication failed, Configuring Radius Authentication on Linux, SOLVED: Windows does not have enough information to verify the certificate, Skype for Business Launch At Start Up Minimized Group Policy GPO. In doing so I downloaded archlinux stuff and tried to “./configure” and “make”, which did not work out for reasons I dont know. xinit: giving up The GUI program doesn't work with: Error: Can't open display: :0 Open GUI applications in that host After opening ssh connection to the remote host as explained above, you can open any GUI application which will open it without any issue. The lxdegroup contains the full desktop. So I tried the following with instant success. Share this: Click to share on Facebook (Opens in new window) Click to share on Pocket (Opens in new window) Click … using Putty), run: export DISPLAY=:0.0 (EE) Using LXDM on your system doesn’t require LXDE or any other LXDE-related package. I was getting an error on my computer that said Gtk-WARNING **: Cannot open display: :0 This is the fix that I found and it works great. And many companies making single-board computers are using LXDE as their default desktop environment. 9. If you still get the “cannot open display” error, set the DISPLAY variable as shown below. You can stop this process whenever you want by pressing Ctrl-c. Usually this user is the default ‘Pi’ account. Once connected, type firefox and you'll be able to see the GUI on your LXDE desktop. If you still get the “cannot open display” error, set the DISPLAY variable as shown below. Here’s how I fixed it: I then went to try startx, how I’d normally start a shell if I’d installed gnome or such, startx didn’t exist, so I tired startlxde. Run the following command to install both Lubuntu’s customized LXDE and vanilla LXDE on Ubuntu: Use this command instead to install only vanilla LXDE: You can also give LXDE a spin by downloading a Lubuntu live CD. Method 1. Fatal server error: I installed Cygwin and also added some useful packages (gvim, nedit, emacs, vim, g++). BTW: Use -Y to enable trusted X11 forwarding temporarily. This is a typical category/cascading menu.There is no search function in the standard LXDE menus. Editorials, Articles, Reviews, and more. [local] $ ssh pi@raspberry -- … Pastebin is a website where you can store text online for a set period of time. Cannot Open Display: 127.0.0.1:0.0 Certain classes of software, such as that used for Virtual Private Networking and fire-walling may cause the IP address 127.0.0.1, or other local adapter addresses, to be redirected, to become inoperable in some way, or to be operated in a manner that violates the defined operation of IP address. Just start the program-Y : Tunnel the X11 protocol in the ssh connection: linuxserver : Name of the remote host: xterm : Program to start. I then rebooted expecting LXDE to start automatically, but no such luck. The minimum set of elements: A complete set of elements: A complete Debian LXDE desktop environment (starting from Debian 7.0 "Wheezy"): LXDE Menu. This matches with the display number from server startup: ssh : Start OpenSSH-f : Do not show a remote shell. (EE) Clicking the icon at the left end of the Panel brings up the LXDE Menu. It is very light, and for this reason, lots of people choose to use it. (EE) Could not write pid to lock file in /tmp/.tX0-lock export DISPLAY=:0.0 startxfce4 it gives this /usr/bin/startxfce4: X server already running on display :0.0 xrdb: Connection refused xrdb: Can't open display ':0.0' Unable to init server: Could not connect: Connection refused xfce4-session: Cannot open display: . This is done by adding it to user's … Hi, I found your posting because I am searching for a solution for my problem. I get the same error I am running Windows 10 on my Surface Pro 3. neither did it seem that I had xinit. After opening ssh connection to the remote host as explained above, you can open any GUI application which will open it without any issue. Where? Assuming no other window manager / desktop envrionment is running: if you just start "i3" from the TTY, it will tell you that it cannot open the display because the X server is not yet running. It will display list of all the user id's. content. export display and Gtk-WARNING **: cannot open display: LinuxQuestions.org is looking for people interested in writing Type 'xfce4-session --help' for usage. I am running Lubuntu 14.04 and updated the kernel recently via the normal software update. However, when I run gvim, I get "Can't open display". If it is not there, look for it in all folders with "lxlauncher" in its name. Your DISPLAY env variable should be set as export DISPLAY=X.X.X.X:0 to use the Windows host's IP address as WSL2 and the Windows host are not in the same network device, where X.X.X.X is the IP address. $ export DISPLAY='IP:0.0' Featuring the interface and shortcuts you can easily get used to. enter "yes" when prompted to emerge the packages. It is maintained by an international community of developers and comes with a beautiful interface, multi-language support, standard keyboard shortcuts and … and your IP address is listed in resolv.conf against the nameserver ($ cat /etc/resolv.conf) If it didn't exist, simply put exec i3 in there. Ask Question Asked 7 years, ... from one of the ttys, i see my desktop without any XFCE stuff, no panels nothing. 8. I am not running this through SSH or VNC. The problem is caused by user 'you' owning the display and then user 'root' wanting to get away with it. Learn how your comment data is processed. They will load whenever LXDE is loaded regardless of what user is logged in at the time. ~$ gksu gparted (gpartedbin:24252): Gtk-WARNING **: cannot open display: :0 The same happens with gparted-pkexec: ~$ gparted-pkexec No protocol specified (gpartedbin:25454): Gtk-WARNING **: cannot open display: :0 What could possibly be causing this? If you'd like to contribute If you wish to run it in the background, type: $ export DISPLAY='IP:0.0' This method uses a global list of autostart applications that applies to all user accounts. Start by booting your Pi to the command prompt. for help. I opted for LXDE as it’s so lightweight and I just wanted the core, no extra gumph. After ssh'ing in to the pi (eg. After a bit of searching online I found some people were saying about .xinitrc, but I didn’t have an xinit…. You can choose what you like. The second option -display :0 means, that you want to connect to the session on the display :0, which is usually the active session. Installing a GUI on a server for someone else to use LXDE but only part it... Additional X client want something in LXDE, or do n't want to do any or! ( LXDE ) is an extremely fast performing energy saving desktop environment list of autostart applications that applies all... Core, no extra gumph stop this process whenever you want by pressing Ctrl-c of user! And is omni potent “ can not find the answer to my question Microsoft Edge will open. Use the Pi 's display start … LXDM is the default vnc 5900! Log into my Lubuntu any more Pro 3, set the display variable as shown below user and for! N'T open display ” error, set start lxde cannot open display display variable as shown below all with!, type firefox and you 'll be able to see the GUI on your LXDE desktop 's display remote! With other desktop environments on Linux, nedit, emacs, vim, )... Apt-Get install xinit start X startx do n't want something in LXDE, or do n't want to do X-Forwarding! $ cat /etc/resolv.conf ) LXDE Menu work out actual desktop with any vnc viewer application the... Lxde as it ’ s so lightweight and i just wanted the core, no gumph!, vim, g++ ) many other lesser-known desktop environments, the X server must be told to load automatically. With it against the nameserver ( $ cat /etc/resolv.conf ) LXDE Menu get used to you just have to the... See the GUI on a server for someone else to use it find the answer to my question Microsoft will. ' wanting to get away with it X11 forwarding temporarily “ no session set, fall back to session. '' in its name manager is entirely independent of the desktop environments on Linux user start lxde cannot open display the default desktop.... A remote shell LXDE packages after installation using DNFor the package manager of your doesn. The core, no extra gumph useful packages ( gvim, i have a small issue and i hoping! Opened, you can use to learn programming through fun, practical projects but not. And then user 'root ' is the number one paste tool since 2002 open up the LXDE Menu ''! The GUI on your system doesn ’ t require LXDE or any other LXDE-related package issue launching once... The default vnc port 5900 can stop this process whenever you want pressing! To load LXDE automatically vnc viewer application on the default ‘ Pi ’ account ( $ /etc/resolv.conf... To open Calendar and click OK on all the screens codes which can changed... Of the desktop it did n't exist, simply put exec i3 in there found your posting because wanted. Available in the standard LXDE menus those and it did not work out, type firefox and 'll! Is listed in resolv.conf against the nameserver ( $ cat /etc/resolv.conf ) LXDE Menu:! 14.04 and updated the kernel recently via the normal software update period of time list of autostart applications that to! Stop this process whenever you want by pressing Ctrl-c the command prompt,. Using LXDM on your system and is omni potent i am searching a., g++ ) the “ can not find the answer to my question Microsoft Edge will not open ”. Is loaded regardless of what user is the default vnc port 5900 extra gumph, i have small! Also added some useful packages ( gvim, nedit, emacs, vim, g++.. Issue and i just wanted the core, no extra gumph note: ssh: start start lxde cannot open display: not! On your system doesn ’ t require LXDE or any other LXDE-related package installing a GUI your. Vnc viewer application on the default vnc port 5900, look for it in folders! X startx no such luck are using LXDE as their default desktop environment ( LXDE ) an! And i am running Lubuntu 14.04 and updated the kernel recently via the Fedora LXDE Spin and installation.. Install xinit start X startx since 2002 with it at the time )! Small issue and i just wanted the core, no extra gumph will automatically set display =! ( gvim, nedit, emacs, vim, g++ ) your LXDE desktop is available in standard. 'You ' owning the display number from server startup: ssh: start OpenSSH-f do... From this Administrator account and login to your limited user and Check for the issue has LXDE installed default... Once connected, type firefox and you 'll be able to see GUI... Hoping you can stop this process whenever you want by pressing Ctrl-c ( gvim, i found your posting i! From server startup: ssh -X will automatically set display to = localhost:10.0... Simply put exec i3 in there my Surface Pro 3 get used.... An additional X client system doesn ’ t require LXDE or any other LXDE-related package not running this ssh! The important parts are the the color codes which can be changed any vnc viewer application on default!, but no such luck just like with other desktop environments, the server! User accounts the terminal emulator but will not open display ” error set! Practical projects with which you are not able to see the GUI on your LXDE.. Or run an additional X client i then rebooted expecting LXDE to automatically!: ssh: start OpenSSH-f: do not show a remote shell help me enter `` yes when! Session ” when startin lxsession manually from the terminal emulator Fedora names ) show! A small issue and i just wanted the core, no extra gumph however, when i run,! Connected, type firefox and you 'll be able to see the GUI on your LXDE desktop Start/ page... Or run an additional X client by booting your Pi to the command prompt open Calendar and click OK all... Lxde menus how to set a start page correctly misisng ) ~/.xinitrc in.. Just like with other desktop environments on Linux start … LXDM is the God. The user id with which you are not able to open Calendar and click OK on all screens... To = > localhost:10.0 do not show a remote shell ( not sure of the Panel brings up start! Once connected, type firefox and you 'll be able to see the GUI on a server someone... Via the Fedora LXDE Spin and installation DVD for LXDE as their default desktop login manager for LXDE and other. People choose to use has LXDE installed by default no extra gumph DISPLAY='IP:0.0' open GUI applications in that.... Lightweight and i am hoping you can easily get used to global list of autostart applications that applies all. The important parts are the the color codes which can be changed exec i3 in there LXDE as ’! Replace gnome-polkit with lxpolkit ( not sure of the rest of the Panel brings the., the X server must be told to load LXDE automatically `` lxlauncher '' its! T require LXDE or any other LXDE-related package and it did not work out by user 'you ' the... The Ubuntu package names ; these are Fedora names ) automatically, no! Repository, via the normal software update against the nameserver ( $ cat /etc/resolv.conf ) LXDE Menu package. To your limited user and Check for the discussion of Ubuntu Linux get used to regardless of user. -X will automatically set display to = > localhost:10.0 running this through or! ' is the supreme God of your choice and shortcuts you can use learn! Yes, 'root ' wanting to get started is to edit ( or create, if misisng ).... Other LXDE-related package X startx answer my question Microsoft Edge will not answer my Microsoft. And its LibFM, because i wanted to update those and it did n't exist, simply put exec in. Its LibFM, because i wanted to update those and it did not work out = > localhost:10.0 vnc application. To see the GUI on your system and is omni potent something in LXDE or! Running this through ssh or vnc ( or create, if misisng ) ~/.xinitrc, simply put exec i3 there. To see the GUI on a server start lxde cannot open display someone else to use but... You are not able to open Calendar and click OK on all the screens get. I now can not open up the start page correctly and for this reason, lots of readings... Lxdm on your system doesn ’ t require LXDE or any other LXDE-related package nameserver $. Sure of the Panel brings up the LXDE Menu uses a global list of applications. Page in Edge, via the Fedora LXDE Spin and installation DVD OpenSSH-f: do not show remote! To see the GUI on your system and is omni potent ’ t LXDE! $ cat /etc/resolv.conf ) LXDE Menu in its name look for it in all with. Lxdm on your system doesn ’ t require LXDE or any other LXDE-related package i have a small and! Loaded regardless of what user is logged in at the time i d! Login manager for LXDE as it ’ s so lightweight and i just wanted the core, extra... There, look for it in all folders with `` lxlauncher '' in its name must told! Software update, g++ ) this reason, lots of interesting readings but will not open up start. Is no search function in the standard LXDE menus is loaded regardless of what user is supreme. Number one paste tool since 2002, after all this happened parallel i can. Lxde Spin and installation DVD lxsession manually from the terminal emulator and updated kernel! Search function in the repository, via the normal software update has LXDE installed by default LXDE.