LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-16-2012, 07:23 AM   #1
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
Question GDM to terminal to GDM again


hi,

my desktop boots into gdm which is fine. but if i type <ctrl>-<alt>-F1 it doesnt work, i have to press F5. OK thats fine at least i get a shell. however if i want to revert back to X again by <ctrl>-<alt>-F7, it doesnt work.

EDIT - I tried all the function key's by the way

In fact the only way i seem to be able to go back to X is by /etc/init.d/gdm restart.

What config file should i be looking at to fix this?

Last edited by Frustin; 03-16-2012 at 07:24 AM.
 
Old 03-17-2012, 08:52 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
At a terminal or terminal window, ps aux | grep tty should show you on which tty X is running. On my current Fedora Rawhide system, X is running on tty2. <Alt>-F2 and <Ctl>-<Alt>-F2 both take me back to my X session.
 
Old 03-18-2012, 05:22 AM   #3
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Try just alt+F7 to go back to X.

Regards
 
Old 03-18-2012, 08:35 AM   #4
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Fedora doesn't seem to run X on tty7 by default any more.
 
Old 03-18-2012, 09:43 AM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I was under the impression that Fedora was now running X on tty1 so to get back to it you'd hit <Ctrl>+<Shift>+<F1> and that's also why. othing happens when you do that from X.
On my Debian system I can end up with X on tty7, 8 or 9 because Ive been messing around, did you try anything higher than 7 (assuming 1 isn't where X is)?
 
Old 03-18-2012, 09:48 AM   #6
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Original Poster
Rep: Reputation: 30
I'll have a look at the tty X is running on but I pretty much tried all the f keys.
 
Old 03-19-2012, 05:07 AM   #7
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Original Poster
Rep: Reputation: 30
this is the output of ps -aux | grep X

serverA:~# ps aux | grep X
root 3832 1.0 8.3 68084 43168 tty7 SLs+ 09:07 0:36 /usr/X11R6/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7

so the tty is 7, which i knew anyway so i _should_ be able to ctrl-alt-F7 to get back to it from a terminal, but i cant.

Last edited by Frustin; 03-19-2012 at 05:08 AM.
 
Old 03-19-2012, 08:16 AM   #8
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
FWIW, here's my result:
Code:
~$ ps aux | grep X
root       738 15.9  1.2 153960 45976 tty2     Ss+  04:59  29:45 /usr/bin/X -auth /var/run/slim/slim.auth
a          783  0.0  0.0  95192  1364 ?        Sl   05:00   0:00 /usr/bin/lxsession -s LXDE -e LXDE
a          921  0.0  0.0  68660   776 ?        Ss   05:00   0:00 /usr/bin/ssh-agent /etc/X11/xinit/Xclients
a          932  0.4  0.3 299560 14576 ?        S    05:00   0:53 lxpanel --profile LXDE
a          933  0.1  0.2 454420 10772 ?        S    05:00   0:18 pcmanfm --desktop --profile LXDE
a         4422  0.0  0.0 109392   920 pts/0    S+   08:05   0:00 grep --color=auto X
Could it be a keyboard mapping problem, rahter than an X problem?
 
Old 03-19-2012, 01:48 PM   #9
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Original Poster
Rep: Reputation: 30
I thought that was a eurika moment there about the keyboard because i remembered that in my OLD /etc/X11/xorg.conf file i had it set to spanish (the systems i am using are spanish) keyboard. Alas, it's set to US default.

Very annoying this problem because everything i test e.g. starting up and X application, has to be done remotely using export DISPLAY.
 
  


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
[SOLVED] Arch Install with GNOME, system defaults to GDM, GDM no mouse or keyboard lupusarcanus Linux - Newbie 8 01-30-2011 04:30 PM
Problems with GDM (GDM user does not exist error) utkarshrawat Linux - Software 1 09-25-2007 08:39 AM
GDM doesn't work: Authdir /usr/var/gdm does not exist jimhap Linux - Newbie 11 06-08-2007 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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