LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-26-2018, 11:38 PM   #1
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,075

Rep: Reputation: 149Reputation: 149
Question start second X session?


How do I start a second X session? (specifically, Enlightenment from the PPA?) Most my life I've used classic *BSD and Slackware, the only strictly Unix-like Linux, and it's easy on those.

I read that since Ubuntu 16.04 you can't start a second X session, but that's not true, right?

Don't tell me it is, because that would be Windows-like, not Unix-like.

I only temporarily need Kubuntu for AMDGPU-PRO until other OSes support that, but I'd like to be able to explore Enlightenment window manager...
 
Old 11-27-2018, 01:37 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,041

Rep: Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348
how did you [try to] start at all? What's happened?
 
Old 11-27-2018, 02:02 AM   #3
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,075

Original Poster
Rep: Reputation: 149Reputation: 149
First (not in X) 'xinit /etc/X11/xinit/xinitrc.enlightenment -- /usr/bin/X :1' (X server refuses.)
Next, 'xinit /etc/X11/xinit/xinitrc.enlightenment -- /usr/bin/X :1 vt2' (permanently crashes first X session.)

Code:
#!/bin/sh
# /etc/X11/xinit/xinitrc.enlightenment
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps
[ -f $sysresources ] && xrdb -merge $sysresources
[ -f $sysmodmap ] && xmodmap $sysmodmap
[ -f $userresources ] && xrdb -merge $userresources
[ -f $usermodmap ] && xmodmap $usermodmap

# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
  exec ck-launch-session enlightenment_start
else
  exec enlightenment_start
fi
After that, also, 'startx -- :1' (X server lost.)

Last edited by dchmelik; 11-28-2018 at 01:35 AM.
 
Old 11-27-2018, 02:04 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,041

Rep: Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348
do you have enough resources to run two X servers?
 
Old 11-27-2018, 02:34 AM   #5
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,075

Original Poster
Rep: Reputation: 149Reputation: 149
Quote:
Originally Posted by pan64 View Post
do you have enough resources to run two X servers?
yes (implied in my first post.)
 
Old 11-27-2018, 02:50 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,041

Rep: Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348
not, not implied. And you gave no any information, so I can only suggest you to check the logs. For me it works
 
1 members found this post helpful.
Old 11-27-2018, 04:04 AM   #7
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,075

Original Poster
Rep: Reputation: 149Reputation: 149
Quote:
Originally Posted by pan64 View Post
not, not implied. And you gave no any information, so I can only suggest you to check the logs. For me it works
I define what I mean; you don't. I've run two X sessions on the same PC with other GNU/Linux distributions (what I meant by saying it was easy.)

I gave you the information you requested.

You didn't tell me how you got it to work.
 
1 members found this post helpful.
Old 11-27-2018, 07:26 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,041

Rep: Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348
Wat do you think? You need to give enough information to be able to help you. I have no idea about your system, I have no idea about your knowledge and also I have no idea what have you tried, what did you expect and what's happened. I do not really understand implied answers.

So again if you gave no real information I will not give you real answer. http://www.catb.org/esr/faqs/smart-q...html#beprecise
I can't tell you how can you fix your issue because at this moment I have no idea what should be fixed....

And finally, it works for me. I fixed it in line 54.
 
Old 11-27-2018, 09:20 PM   #9
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,075

Original Poster
Rep: Reputation: 149Reputation: 149
Quote:
Originally Posted by pan64 View Post
Wat do you think? You need to give enough information to be able to help you. I have no idea about your system, I have no idea about your knowledge and also I have no idea what have you tried, what did you expect and what's happened [...]
That's not true.

Quote:
And finally, it works for me. I fixed it in line 54.
You're the only being vague in this thread. Reread what you linked.

Last edited by dchmelik; 11-27-2018 at 09:45 PM.
 
Old 11-28-2018, 01:07 AM   #10
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,041

Rep: Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348
Remember, I do not want to solve it at all. It is not my problem. But Probably I can give you some hints if you explain exactly what did you try.
Your last post contains no additional information.
 
Old 11-28-2018, 01:21 AM   #11
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,075

Original Poster
Rep: Reputation: 149Reputation: 149
Quote:
Originally Posted by pan64 View Post
Remember, I do not want to solve it at all. It is not my problem. But Probably I can give you some hints if you explain exactly what did you try.
Your last post contains no additional information.
I did that four posts ago and gave other information before you asked, that you keep asking about... the fact that it's easy--personal experience--such as I've done it on this PC with another GNU/Linux OS distribution, so the PC has the resources. It's not like you need the specifications or need to know how long I've studied.

None of your posts contain any information.

Since I already stated a lot, I have nothing more to say... just waiting for someone who's actually helpful to reply.

Last edited by dchmelik; 12-09-2018 at 11:29 PM.
 
Old 12-24-2018, 05:58 AM   #12
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,075

Original Poster
Rep: Reputation: 149Reputation: 149
Quote:
Originally Posted by pan64 View Post
Remember, I do not want to solve it at all. It is not my problem. [...]
I don't think that's in the spirit of this site.
 
Old 05-10-2020, 09:41 AM   #13
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,075

Original Poster
Rep: Reputation: 149Reputation: 149
forget *ubuntu

Forget *ubuntu (i.e., I've uninstalled, no longer seeking answer.)

Last edited by dchmelik; 05-16-2020 at 08:21 PM.
 
Old 05-11-2020, 01:48 AM   #14
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by dchmelik View Post
Forget *ubuntu.
There's no information in this.
Do not post if you have nothing to add; it's against LQ rules.
Also necrobumping is heavily frowned upon.
Reported.
 
Old 05-16-2020, 08:09 PM   #15
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,075

Original Poster
Rep: Reputation: 149Reputation: 149
Quote:
Originally Posted by ondoho View Post
There's no information in this.
Do not post if you have nothing to add; it's against LQ rules.Reported.
Also necrobumping is heavily frowned upon.
What you maybe didn't see is the question was mine originally, but many *ubuntu people have nothing to add. This is still an open question (not 'necrobumping'--if you say so, where's the newer thread with the solution? I would've been interested until minutes before indicating I was no longer interested) but I'm not following this now, partly because no one had anything to add in the entire thread (so have uninstalled that OS distribution (distro) I only needed for display drivers I'm not currently using and that better distros have now.)

Does that mean I should mark it solved, or would that trick people into looking for a nonexistent helpful answer? (my solution: backup, 'rm -rf /' as root, switch to something strictly Unix[-like.])

Of course, if it was reliable to turn off booting to X/etc. in *ubuntu (apparently it isn't... sometimes only in that case you get a pure console shell prompt but it's frozen) my original solution works. I'd seen some people thanked me because I'd detailed that solution (which the first person replying didn't believe was detailed enough, but it is.)

People, try to listen more to what people describe when they ask: if someone said they've already run two X sessions on their PC, don't say you think they probably suddenly don't have the hardware able to do that, so then the thread stops and gets lost after many zero-reply threads with the person asking waiting for years (what happened here.)

Last edited by dchmelik; 05-16-2020 at 08:47 PM.
 
  


Reply



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
Session key renegotiation if session lasts longer than configured (e.g. an hour) then session keys needs to be renegotiated. dakshinya Linux - Newbie 1 02-04-2016 04:15 PM
Mkisofs: second session vs higher level session. stf92 Linux - Software 6 11-26-2010 02:58 AM
Start vino-session at session start Jzarecta Linux - Software 3 04-12-2010 10:51 AM
LXer: Second Lucid Lynx alpha said to offer 15-second start-ups LXer Syndicated Linux News 0 01-23-2010 07:30 AM
Why does Redhat 8.0 access hard drive second by second? Cyclops Linux - Distributions 5 11-20-2002 07:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:47 PM.

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