Re: virtual consoles on freebsd-7.0-release

2008-11-04 Thread Yuri Pankov
On Tue, Nov 04, 2008 at 05:45:12AM -0600, Steven Susbauer wrote:
 joeb wrote:
  When I am in xorg/xfce and do Ctrl+Alt+Fx it does in fact open the  
 selected
 virtual console.
 But I can not find any way to return to the xorg/xfce desktop running 
 in the
 virtual console I left from.
  Alt+Fx does take me to the virtual console where x11/xfce is suppose 
 to be,
 but puts me in command line mode.
 The command ps ax shows xorg/xfce is still running.

 How do I get back to the xorg/xfce desktop running in the virtual console I
 left from?

 You should be able to get back into Xorg with Alt F7 or F8. Does this
 not work?

  Steve

X usually runs on ttyv8, so it should be Alt+F9.


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: virtual consoles on freebsd-7.0-release

2008-11-04 Thread Polytropon
On Tue, 4 Nov 2008 21:45:12 +0800, joeb [EMAIL PROTECTED] wrote:
   I logon from F2 as root and then startx.

As root? No good idea. You should run from a !root user account.

 I believe F9 only works if you use the xorg logon session control.

No, it works when you startx from after a normal login, too.
I do know that, it's my setting at the moment. :-)

So if you would create a normal user account and add these files:

1. ~/.xsession

#!/bin/csh
source ~/.cshrc
exec ~/.xinitrc

2. ~/.xinitc

#!/bin/sh
exec xfwm

Give them +x permissions. The first file allows you to inherit your
settings from the C shell (~/.cshrc) into your X session when started
from XDM or another display manager.

After login, you can use the

% startx

command to run your XFCE session.

But in fact, running as root can't be the reason why console
switching doesn't seem to work correctly, I believe...





-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: virtual consoles on freebsd-7.0-release

2008-11-04 Thread Polytropon
On Tue, 04 Nov 2008 04:17:35 +0300, The Ghost [EMAIL PROTECTED] wrote:
 Hello,
 
 
 I migrated to freensd-7.0-release and noticed that I can't switch
 to the virtual consoles by pressing Alt+Fx once I've started X !
 I guess the key combination has changed in the nre version of
 Xorg implemented in FreeBSD 7.0, so I took a look at the online
 handbook, but I haven't found anything about the new way to switch
 to the virtual consoles... Could anyone please point me at what do I miss?..

Well, this hasn't something to do with FreeBSD 7. From my own
experience, virtual console switching has always been the same
since 4.0 with XFree86.

When you're inside X, you need to add the Control key to the
key combination, e. g. Ctrl-Alt-PF1. So you leave X (on its
VT, usually PF9, see /etc/ttys) and get to the 1st virtual
console. As long as you're in text mode, you can switch
around with Alt+PF1 ... Alt+PF9 as you mentioned correctly.

The functions of Alt+PF1 ... Alt+PF12 inside X depends on the
window manager / desktop environment you're running, it can,
for example, be used to switch virtual desktops.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: virtual consoles on freebsd-7.0-release

2008-11-04 Thread joeb
I logon from F2 as root and then startx.
I believe F9 only works if you use the xorg logon session control.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Yuri Pankov
Sent: Tuesday, November 04, 2008 7:49 PM
To: Steven Susbauer
Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: Re: virtual consoles on freebsd-7.0-release

On Tue, Nov 04, 2008 at 05:45:12AM -0600, Steven Susbauer wrote:
 joeb wrote:
  When I am in xorg/xfce and do Ctrl+Alt+Fx it does in fact open the
 selected
 virtual console.
 But I can not find any way to return to the xorg/xfce desktop running
 in the
 virtual console I left from.
  Alt+Fx does take me to the virtual console where x11/xfce is suppose
 to be,
 but puts me in command line mode.
 The command ps ax shows xorg/xfce is still running.

 How do I get back to the xorg/xfce desktop running in the virtual console
I
 left from?

 You should be able to get back into Xorg with Alt F7 or F8. Does this
 not work?

  Steve

X usually runs on ttyv8, so it should be Alt+F9.


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: virtual consoles on freebsd-7.0-release

2008-11-04 Thread Polytropon
On Tue, 4 Nov 2008 15:45:28 +0800, joeb [EMAIL PROTECTED] wrote:
 How do I get back to the xorg/xfce desktop running in the virtual console I
 left from?

You could try to press the Pause / SysRq key as many times as needed
until you're on your X screen again.

Have a look into /etc/ttys where the correct terminal should be
specified, e. g. 

ttyv8   /usr/local/bin/xdm -nodaemon  xterm   off secure
   ^^
So X will be on ttyv8 which is number 9 (Alt+PF9).

May I ask how you initiate your X (XFCE) session? This could give
a hint why console switching doesn't work as intended.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: virtual consoles on freebsd-7.0-release

2008-11-04 Thread Steven Susbauer

joeb wrote:
	When I am in xorg/xfce and do Ctrl+Alt+Fx it does in fact open the 
selected

virtual console.
But I can not find any way to return to the xorg/xfce desktop running in 
the

virtual console I left from.
 Alt+Fx does take me to the virtual console where x11/xfce is suppose to 
be,

but puts me in command line mode.
The command ps ax shows xorg/xfce is still running.

How do I get back to the xorg/xfce desktop running in the virtual console I
left from?


You should be able to get back into Xorg with Alt F7 or F8. Does this
not work?

 Steve


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


virtual consoles on freebsd-7.0-release

2008-11-03 Thread The Ghost
Hello,


I migrated to freensd-7.0-release and noticed that I can't switch to the 
virtual consoles by pressing Alt+Fx once I've started X ! I guess the key 
combination has changed in the nre version of Xorg implemented in FreeBSD 7.0, 
so I took a look at the online handbook, but I haven't found anything about the 
new way to switch to the virtual consoles... Could anyone please point me at 
what do I miss?..



   The Ghost [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: virtual consoles on freebsd-7.0-release

2008-11-03 Thread Steven Susbauer

The Ghost wrote:

Hello,


I migrated to freensd-7.0-release and noticed that I can't switch to the 
virtual consoles by pressing Alt+Fx once I've started X ! I guess the key 
combination has changed in the nre version of Xorg implemented in FreeBSD 
7.0, so I took a look at the online handbook, but I haven't found anything 
about the new way to switch to the virtual consoles... Could anyone please 
point me at what do I miss?..




   The Ghost [EMAIL PROTECTED]


Have you tried Ctrl+Alt+Fx? Alt alone has never gone to a virtual
console from X for me, on any system.

  -Steve


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: virtual consoles on freebsd-7.0-release

2008-11-03 Thread joeb
When I am in xorg/xfce and do Ctrl+Alt+Fx it does in fact open the 
selected
virtual console.
But I can not find any way to return to the xorg/xfce desktop running in the
virtual console I left from.
 Alt+Fx does take me to the virtual console where x11/xfce is suppose to be,
but puts me in command line mode.
The command ps ax shows xorg/xfce is still running.

How do I get back to the xorg/xfce desktop running in the virtual console I
left from?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Steven Susbauer
Sent: Tuesday, November 04, 2008 1:21 PM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: virtual consoles on freebsd-7.0-release

The Ghost wrote:
Hello,


I migrated to freensd-7.0-release and noticed that I can't switch to the
virtual consoles by pressing Alt+Fx once I've started X ! I guess the key
combination has changed in the nre version of Xorg implemented in FreeBSD
7.0, so I took a look at the online handbook, but I haven't found anything
about the new way to switch to the virtual consoles... Could anyone please
point me at what do I miss?..



The Ghost [EMAIL PROTECTED]

Have you tried Ctrl+Alt+Fx? Alt alone has never gone to a virtual
console from X for me, on any system.

   -Steve


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]