LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-11-2006, 10:58 AM   #1
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Rep: Reputation: 31
starting new session / login screen from terminal


Is there a way to start new session / bring up the login screen from the terminal? What could I type into the terminal to bring that screen up?
 
Old 01-11-2006, 11:18 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
If I understand your question, you should issue Ctrl+Alt+F2 through F6, and F7 after you finished with that VT to return to where you started. But that is while you are in X to get a term, so not sure if I answered you or not.
 
Old 01-11-2006, 02:27 PM   #3
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Chinaman
If I understand your question, you should issue Ctrl+Alt+F2 through F6, and F7 after you finished with that VT to return to where you started. But that is while you are in X to get a term, so not sure if I answered you or not.
Kind of sort of. What I'm trying to do is make a button in fluxbox that'll go to the graphical login screen so I can start a new session, and to make this button I'll need to know how to start that graphical login screen through the terminal.
 
Old 01-11-2006, 02:34 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
So you want to be in Fluxbox, and from there to start another X session?

Sometimes I'm just slow, mate. I issued Ctrl+Alt+F2 and then logged in as
another user, and then issued "startx" but it wouldn't let me. This error:
Code:
Welcome to Linux 2.6.15 (tty2)

silas login: bruce
Password:
Linux 2.6.15.
Last login: Mon Jan  9 21:44:22 -0600 2006 on tty1.
No mail.
bruce@silas:~$ startx

Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


Please consult the The X.Org Foundation support
         at http://wiki.X.Org
 for help.


^X
xinit:  unexpected signal 2.
However, I'm still wet behind the ears, and someone like
Tinkster or Alien Bob who are smarter Slackers might see this.

Perhaps you can open a X server on another display?
 
Old 01-11-2006, 02:39 PM   #5
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
it would be something like
startx -- :1

It's a 1, because startx is short for: startx -- :0
 
Old 01-11-2006, 02:59 PM   #6
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Chinaman
So you want to be in Fluxbox, and from there to start another X session?

Sometimes I'm just slow, mate.
It's okay. I didn't explain it right. I didn't even know what xdm was until a minute ago.

I want to make a menu entry that starts XDM so I can start a new session using a graphical interface and not in the ctrl-alt-f3 text screen.
 
Old 01-11-2006, 03:02 PM   #7
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by bosewicht
it would be something like
startx -- :1

It's a 1, because startx is short for: startx -- :0
Doing that brought this error:
Quote:
auth: creating new authority file /home/me/.serverauth.3076

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
 
Old 01-11-2006, 03:07 PM   #8
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
the error is for the first X session 0. so you type ctrl+f# and you are at a new screen. Then you login and type startx -- :1 and it throws that error?
 
Old 01-11-2006, 03:24 PM   #9
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by bosewicht
the error is for the first X session 0. so you type ctrl+f# and you are at a new screen. Then you login and type startx -- :1 and it throws that error?
I just tried startx -- :1 in Kanotix and it worked just fine. It logged into KDE perfectily. And when I finally got it to work in Kubuntu, all I got was an X mouse icon and a gray background. But that's okay. Is there a way to start xdm from the terminal while logged in? I'm trying to make a 'start new session' menu button in fluxbox. I want to make a button that when clicked, it'll take you to xdm (the graphical login screen).
 
Old 01-11-2006, 04:29 PM   #10
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
I know it's possible, but not really sure with xdm. I would search thru here and maybe google around. maybe add something like
7:23:respawn:/usr/bin/X11/xdm
to /etc/inittab
and removing the xdm script symlink from your
default runlevel directory.

Again I'm not too sure, but something like this should work

Last edited by bosewicht; 01-11-2006 at 04:32 PM.
 
Old 10-10-2019, 11:43 PM   #11
ksyrx
LQ Newbie
 
Registered: Oct 2019
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by bosewicht View Post
I know it's possible, but not really sure with xdm. I would search thru here and maybe google around. maybe add something like
7:23:respawn:/usr/bin/X11/xdm
to /etc/inittab
and removing the xdm script symlink from your
default runlevel directory.

Again I'm not too sure, but something like this should work
Yes, xdm behavior some strange for me, when i'm create new session with startx -- :1...
In short, linux is hang on tight.
 
  


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
GUI screen not starting up to login vr76413 Linux - Laptop and Netbook 1 12-27-2005 12:01 PM
screen login not appear in terminal baremacho Fedora 3 06-28-2005 01:49 AM
Session menu in xdm login screen? Bowman Slackware 7 12-09-2004 07:58 PM
need to add 'gnome-session' to kdm login screen in KDE 3.2.2 kastorff Linux - Software 0 04-30-2004 01:22 PM
how do I copy my screen from a terminal session? rdaves@earthlink.net Linux - Newbie 1 05-31-2001 12:59 PM

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

All times are GMT -5. The time now is 06:56 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