Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2011 02:02:53 +0100
From:      Samuel Magnusson <samuel.magnusson5@bredband.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: X server and xinit works excellent....almost.
Message-ID:  <4EBB22BD.8090001@bredband.net>
In-Reply-To: <20111109191958.84ebbdc7.freebsd@edvax.de>
References:  <4EB88225.9020702@bredband.net> <alpine.BSF.2.00.1111080806260.70888@wonkity.com> <20111108205600.7a8e0205.freebsd@edvax.de> <alpine.BSF.2.00.1111081321010.72738@wonkity.com> <alpine.BSF.2.00.1111081331150.72921@wonkity.com> <20111108215114.24d336e6.freebsd@edvax.de> <4EBA5EBD.7020501@bredband.net> <4EBA6FE0.5040308@bredband.net> <20111109191958.84ebbdc7.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Polytropon wrote 2011-11-09 19:19:
> On Wed, 09 Nov 2011 13:19:44 +0100, Samuel Magnusson wrote:
>> This works for me:
>> X :0 -terminate
>> Ctrl-Alt-F1
>> xterm -display :0
>> Ctrl-Alt-F9
>> exit xterm.. which brings me back to the first console.
>>
>> But this doesn't work:
>> X :0 -terminate vt4
>> Ctrl-Alt-F1 (doesn't respond)
>> Ctrl-Alt-Backspace (doesn't respond)
> Do you have ``Option "DontVTSwitch" "false"'' in xorg.conf?
>
No I haven't, so I tried it now for completeness sake. But there was no 
difference. It shouldn't be needed, and VTSwitching works just fine as 
long as I don't try to choose a virtual terminal to start it in. I tried 
putting the option there and it is no difference, the computer hangs on 
the display, and when viewing sockstat -4  from the remote login I could 
see an awful  lot of dbus and hal activity.

Since those 'fellas' were the cause of so many of my woes I disenabled 
them :) , rebooted and tried again. At first no difference except that 
when I killed the server I was no longer stuck with the black screen and 
visually returned to tty0. I was not given back the console though and 
the login was still hanged.

>> Any clue why? Is my command "X :0 vt4" wrong or not supposed to work?
> What is the correct notation for the terminal device to start
> it on? Maybe ttyv4 (as in /etc/ttys)?
>
Nope. Even if I no longer trust the Xorg man page to 100%, it clearly 
states vtXX as the notation to use for the option. And when viewing the 
log it clearly says that it start up the server in vt4 and it doesn't 
protest but goes on a good while before it stops. Interesting is that it 
stops without any error message. It is right after reading the 
keyboardsettings from xorg.conf, the first informational line after that:

(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)

Then the file ends.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EBB22BD.8090001>