LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-01-2016, 02:32 AM   #1
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Rep: Reputation: Disabled
xinit questions


I'm having a bit of trouble starting xsessions from tty. using lightdm and gdm I can log into gnome-flashback. xfce will not start which is weird cos I was having problems getting gnome-flashback working and a user suggested that I have a "clean config" and start with a new user and that worked. but now gnome-flashback-metacity is the only session that will load

I cannot start xfce or gnome from tty either. a little help?

Arch linux, multilib nvidia with the proprietary drivers

Last edited by scarrz; 02-05-2016 at 10:32 PM.
 
Old 02-01-2016, 06:04 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by scarrz View Post
Me again...

I'm having a bit of trouble starting xsessions from tty. using lightdm and gdm I can log into gnome-flashback. xfce will not start which is weird cos I was having problems getting gnome-flashback working and a user suggested that I have a "clean config" and that worked. but now gnome-flashback-metacity is the only session that will load

I cannot start xfce or gnome from tty either. a little help?

Arch linux, multilib nvidia with the proprietary drivers
why are we not looking at your conf files, That'd help.

Not to put a bone in your soup, but Arch Linux has a great fourm full of info and a Questions area, Just for Arch Only peeps. (even though a lot of their information can be used for Linux in General, not that LQ is chopped liver mind you.)

Last edited by BW-userx; 02-01-2016 at 06:07 AM.
 
Old 02-08-2016, 10:02 AM   #3
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
why are we not looking at your conf files, That'd help.
I suppose. I was told on the IRC channel in #archlinux that xorg.conf is no longer needed. one was generated by nvidia but I renamed it to xorg.conf.temp confirming the "no need" for this file as everything still works and I can log into gnome-flashback. but here is the conf file since you were curious:

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 361.18  (buildmeister@swio-display-x64-rhel04-13)  Sat Jan  9 21:52:11 PST 2016

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
unfortunately properly naming this file does not help at all. I cannot start xfce. (I will note though, that Plasma Desktop starts just not any others) also when I /usr/bin/xfce4-session I get "error: no screens found" fron TTY. I have also got "Terminated" I looked at all the normal logs and no hints :/
 
Old 02-08-2016, 10:12 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by scarrz View Post
I suppose. I was told on the IRC channel in #archlinux that xorg.conf is no longer needed. one was generated by nvidia but I renamed it to xorg.conf.temp confirming the "no need" for this file as everything still works and I can log into gnome-flashback. but here is the conf file since you were curious:

unfortunately properly naming this file does not help at all. I cannot start xfce. (I will note though, that Plasma Desktop starts just not any others) also when I /usr/bin/xfce4-session I get "error: no screens found" fron TTY. I have also got "Terminated" I looked at all the normal logs and no hints :/
what log in manager are you using? some you have to go in and tell it what to start in that file instead.

just google your lightDM - " how to set up (login manager) "

Last edited by BW-userx; 02-08-2016 at 10:17 AM.
 
Old 02-08-2016, 10:34 AM   #5
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Original Poster
Rep: Reputation: Disabled
I looked thru the setup guide for arch and lightdm didnt have any clues either :/ here is my lightdm.conf setup. I made a HOWTO for ppl to install lightdm and the pantheon greeter.

http://www.linuxquestions.org/questi...er-4175558946/
 
Old 02-08-2016, 10:47 AM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by scarrz View Post
I looked thru the setup guide for arch and lightdm didnt have any clues either :/ here is my lightdm.conf setup. I made a HOWTO for ppl to install lightdm and the pantheon greeter.

http://www.linuxquestions.org/questi...er-4175558946/
go back to this page and look where I just posted // in your code I spaced it out and put in red.
 
Old 02-08-2016, 11:48 AM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
2 if you're starting off of that big black screen you can put inside of your .xinitrc
using your fav command line editor (nano)
Code:
exec xfce4-session
then startx

oh heck ensure it is installed too while you're at it, too. ensure you have lightdm, and a greeter too installed. gtk-greeter or such like greeter
Quote:
Default session

Lightdm, like other DMs, stores the last-selected xsession in ~/.dmrc. See Display manager#Session list for more info.

Session configuration


Code:
Many display managers read available sessions from /usr/share
/xsessions/ directory. It contains standard desktop entry files
for each DM/WM.

To add/remove entries to your display manager's session list;
create/remove the .desktop files in /usr/share/xsessions/ as
desired. A typical .desktop file will look something like:

[Desktop Entry]
Encoding=UTF-8
Name=xfce4
Comment=Log in using the Openbox window manager (without a session manager)
Exec=/usr/bin/xfce4-session
TryExec=/usr/bin/xfce4-session
Icon=xfce4.png
Type=XSession
yours that you'd create would be xfce4.desktop
inside of /usr/share/xsessions/
or do a
Code:
sudo find /usr -type f -name xfce*
looking for your desktop file and anything that has to do with xfce4 first before creating your desktop file.

Code:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
 

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi
 
 

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

exec xfce4-session

Last edited by BW-userx; 02-08-2016 at 12:06 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding the xinit of CentOs 6.4 rohitbajpai Red Hat 1 09-18-2013 03:13 PM
Xinit X problem BattousaiX Linux - Software 2 01-31-2012 04:08 PM
X Server Questions w/ xinit/xnest jeffreya Linux - Software 3 03-18-2008 06:28 AM
xinit in solaris 10 crisostomo_enrico Solaris / OpenSolaris 4 03-01-2007 07:37 AM
question about XINIT evaross1 Linux - Software 3 05-12-2004 03:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration