all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Ctrl-Alt-F1,F2,F3 ... can not start a console.
@ 2017-09-18 23:18 Feng Shu
  2017-09-19  1:20 ` Chris Marusich
  2017-09-19  9:58 ` Ludovic Courtès
  0 siblings, 2 replies; 9+ messages in thread
From: Feng Shu @ 2017-09-18 23:18 UTC (permalink / raw)
  To: guix-devel; +Cc: Feng Shu


Yestaday, I reinstall my guixsd, and install xfce4 as my desktop.
A problem faced is that: When I press Ctrl-Alt-F1, F2, F3 ...
I can not start a tty, instead of start a slim login picture?

Any suggestion? thanks!


my config:

----------
(use-modules (gnu) (gnu system nss))
(use-modules (gnu system locale))
(use-service-modules desktop)
(use-package-modules certs gnome)

(operating-system
  (host-name "tumashu")
  (timezone "Asia/Shanghai")
  (locale "zh_CN.UTF-8")
  (locale-definitions
   (cons* (locale-definition
           (name "zh_CN.GB2312")
           (source "zh_CN"))
          (locale-definition
           (name "zh_CN.GBK")
           (source "zh_CN"))
          (locale-definition
           (name "zh_CN.GB18030")
           (source "zh_CN"))
          (locale-definition
           (name "zh_TW.BIG5")
           (source "zh_TW"))
          (locale-definition
           (name "zh_TW.UTF-8")
           (source "zh_TW"))
          %default-locale-definitions))

  ;; Assuming /dev/sdX is the target hard disk
  (bootloader (grub-configuration (target "/dev/sda")))

  (file-systems
   (cons* (file-system
            (device "/dev/sda7")
            (title 'device)
            (mount-point "/")
            (type "ext4"))
          (file-system
            (device "/dev/sda5")
            (title 'device)
            (mount-point "/home")
            (type "ext4"))
          (file-system
            (device "/dev/sda6")
            (title 'device)
            (mount-point "/mnt/backup1")
            (type "ext4"))
          (file-system
            (device "/dev/sda1")
            (title 'device)
            (mount-point "/mnt/backup2")
            (type "ext4"))
          %base-file-systems))

  (swap-devices '("/dev/sda8"))

  (users (cons (user-account
                (name "feng")
                (comment "Feng Shu")
                (group "users")
                (supplementary-groups
                 '("wheel" "netdev" "audio" "video"))
                (home-directory "/home/feng"))
               %base-user-accounts))

  ;; This is where we specify system-wide packages.
  (packages
   (append (map specification->package
                '("gvfs" "nss-certs"
                  "wpa-supplicant" "network-manager-applet"
                  "gtk-xfce-engine" "adwaita-icon-theme"
                  "gnome-icon-theme" "gnome-themes-standard"
                  "hicolor-icon-theme"
                  "font-wqy-microhei"))
           %base-packages))

  ;; Add GNOME and/or Xfce---we can choose at the log-in
  ;; screen with F1.  Use the "desktop" services, which
  ;; include the X11 log-in service, networking with Wicd,
  ;; and more.
  (services (cons* (xfce-desktop-service)
                   %desktop-services))

  ;; Allow resolution of '.local' host names with mDNS.
  (name-service-switch %mdns-host-lookup-nss))





-- 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Ctrl-Alt-F1,F2,F3 ... can not start a console.
  2017-09-18 23:18 Ctrl-Alt-F1,F2,F3 ... can not start a console Feng Shu
@ 2017-09-19  1:20 ` Chris Marusich
  2017-09-19  1:26   ` tumashu
  2017-09-19  9:58 ` Ludovic Courtès
  1 sibling, 1 reply; 9+ messages in thread
From: Chris Marusich @ 2017-09-19  1:20 UTC (permalink / raw)
  To: Feng Shu; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 791 bytes --]

"Feng Shu" <tumashu@163.com> writes:

> Yestaday, I reinstall my guixsd, and install xfce4 as my desktop.
> A problem faced is that: When I press Ctrl-Alt-F1, F2, F3 ...
> I can not start a tty, instead of start a slim login picture?
>
> Any suggestion? thanks!

Just the other day, I discovered that in GNOME, I could not switch to a
virtual terminal by pressing Ctrl-Alt-F2.  Instead, the screen would
simply appear to freeze until I pressed Ctrl-Alt-F7 again.

In my case, this problem only occurs when I've connected an external
monitor to my laptop.  When I unplug the external monitor, I am able to
successfully switch to a virtual terminal by pressing Ctrl-Alt-F2.  If
you are using an external monitor, then perhaps you should try
unplugging it first?

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re:Re: Ctrl-Alt-F1,F2,F3 ... can not start a console.
  2017-09-19  1:20 ` Chris Marusich
@ 2017-09-19  1:26   ` tumashu
  0 siblings, 0 replies; 9+ messages in thread
From: tumashu @ 2017-09-19  1:26 UTC (permalink / raw)
  To: Chris Marusich; +Cc: guix

[-- Attachment #1: Type: text/plain, Size: 876 bytes --]

I use hp laptop :-(




At 2017-09-19 09:20:01, "Chris Marusich" <cmmarusich@gmail.com> wrote:
>"Feng Shu" <tumashu@163.com> writes: > >> Yestaday, I reinstall my guixsd, and install xfce4 as my desktop. >> A problem faced is that: When I press Ctrl-Alt-F1, F2, F3 ... >> I can not start a tty, instead of start a slim login picture? >> >> Any suggestion? thanks! > >Just the other day, I discovered that in GNOME, I could not switch to a >virtual terminal by pressing Ctrl-Alt-F2. Instead, the screen would >simply appear to freeze until I pressed Ctrl-Alt-F7 again. > >In my case, this problem only occurs when I've connected an external >monitor to my laptop. When I unplug the external monitor, I am able to >successfully switch to a virtual terminal by pressing Ctrl-Alt-F2. If >you are using an external monitor, then perhaps you should try >unplugging it first? >






[-- Attachment #2: Type: text/html, Size: 1207 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Ctrl-Alt-F1,F2,F3 ... can not start a console.
  2017-09-18 23:18 Ctrl-Alt-F1,F2,F3 ... can not start a console Feng Shu
  2017-09-19  1:20 ` Chris Marusich
@ 2017-09-19  9:58 ` Ludovic Courtès
  2017-09-19 10:38   ` Feng Shu
  2017-09-19 23:10   ` Feng Shu
  1 sibling, 2 replies; 9+ messages in thread
From: Ludovic Courtès @ 2017-09-19  9:58 UTC (permalink / raw)
  To: Feng Shu; +Cc: guix-devel

Hi,

"Feng Shu" <tumashu@163.com> skribis:

> Yestaday, I reinstall my guixsd, and install xfce4 as my desktop.
> A problem faced is that: When I press Ctrl-Alt-F1, F2, F3 ...
> I can not start a tty, instead of start a slim login picture?

Can you reproduce the problem in a VM created by ‘guix system vm’?
(Note that in QEMU you need to do ctrl-1 to go to the QEMU console, then
“sendkey ctrl-alt-f1”, and then ctrl-2 to switch back to the VM screen.)

If not, could it be that the problem has to do with the graphics driver
being used?

Ludo’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Ctrl-Alt-F1,F2,F3 ... can not start a console.
  2017-09-19  9:58 ` Ludovic Courtès
@ 2017-09-19 10:38   ` Feng Shu
  2017-09-19 23:10   ` Feng Shu
  1 sibling, 0 replies; 9+ messages in thread
From: Feng Shu @ 2017-09-19 10:38 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel, Feng Shu

ludo@gnu.org (Ludovic Courtès) writes:

> Hi,
>
> "Feng Shu" <tumashu@163.com> skribis:
>
>> Yestaday, I reinstall my guixsd, and install xfce4 as my desktop.
>> A problem faced is that: When I press Ctrl-Alt-F1, F2, F3 ...
>> I can not start a tty, instead of start a slim login picture?
>
> Can you reproduce the problem in a VM created by ‘guix system vm’?
> (Note that in QEMU you need to do ctrl-1 to go to the QEMU console, then
> “sendkey ctrl-alt-f1”, and then ctrl-2 to switch back to the VM screen.)
>
> If not, could it be that the problem has to do with the graphics driver
> being used?
>
> Ludo’.

I run command: dmesg, and find error:

is it possible the reason?

--------
[   24.692649] udevd[197]: RUN{builtin}: 'uaccess' unknown /gnu/store/34c1zxa84ljss1iwpc14sh1irjsb2naa-udev-rules/lib/udev/rules.d/73-seat-late.rules:15
[   27.708339] udevd[197]: RUN{builtin}: 'uaccess' unknown /gnu/store/34c1zxa84ljss1iwpc14sh1irjsb2naa-udev-rules/lib/udev/rules.d/73-seat-late.rules:15
[   30.724264] udevd[197]: RUN{builtin}: 'uaccess' unknown /gnu/store/34c1zxa84ljss1iwpc14sh1irjsb2naa-udev-rules/lib/udev/rules.d/73-seat-late.rules:15
[   32.460383] usbcore: registered new interface driver usbmouse
[   87.253329] udevd[197]: RUN{builtin}: 'uaccess' unknown /gnu/store/34c1zxa84ljss1iwpc14sh1irjsb2naa-udev-rules/lib/udev/rules.d/73-seat-late.rules:15
--------


-- 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Ctrl-Alt-F1,F2,F3 ... can not start a console.
  2017-09-19  9:58 ` Ludovic Courtès
  2017-09-19 10:38   ` Feng Shu
@ 2017-09-19 23:10   ` Feng Shu
  2017-09-21 16:42     ` Feng Shu
  1 sibling, 1 reply; 9+ messages in thread
From: Feng Shu @ 2017-09-19 23:10 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel, Feng Shu

ludo@gnu.org (Ludovic Courtès) writes:

> Hi,
>
> "Feng Shu" <tumashu@163.com> skribis:
>
>> Yestaday, I reinstall my guixsd, and install xfce4 as my desktop.
>> A problem faced is that: When I press Ctrl-Alt-F1, F2, F3 ...
>> I can not start a tty, instead of start a slim login picture?
>
> Can you reproduce the problem in a VM created by ‘guix system vm’?
> (Note that in QEMU you need to do ctrl-1 to go to the QEMU console, then
> “sendkey ctrl-alt-f1”, and then ctrl-2 to switch back to the VM screen.)
>
> If not, could it be that the problem has to do with the graphics driver
> being used?

qemu vm works well, may be it is graphics driver problem as you said, I
will wait to update driver, thanks for the help!

>
> Ludo’.

-- 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Ctrl-Alt-F1,F2,F3 ... can not start a console.
  2017-09-19 23:10   ` Feng Shu
@ 2017-09-21 16:42     ` Feng Shu
  2017-09-21 20:06       ` Marius Bakke
  0 siblings, 1 reply; 9+ messages in thread
From: Feng Shu @ 2017-09-21 16:42 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel, Feng Shu

"Feng Shu" <tumashu@163.com> writes:

> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Hi,
>>
>> "Feng Shu" <tumashu@163.com> skribis:
>>
>>> Yestaday, I reinstall my guixsd, and install xfce4 as my desktop.
>>> A problem faced is that: When I press Ctrl-Alt-F1, F2, F3 ...
>>> I can not start a tty, instead of start a slim login picture?
>>
>> Can you reproduce the problem in a VM created by ‘guix system vm’?
>> (Note that in QEMU you need to do ctrl-1 to go to the QEMU console, then
>> “sendkey ctrl-alt-f1”, and then ctrl-2 to switch back to the VM screen.)
>>
>> If not, could it be that the problem has to do with the graphics driver
>> being used?
>
> qemu vm works well, may be it is graphics driver problem as you said, I
> will wait to update driver, thanks for the help!
>
>>

When I revert "gnu: xf86-video-ati: Update to 7.10.0." , it works well.

84023d2fa4a47e3ac0248d304324161c041858aa


>> Ludo’.

-- 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Ctrl-Alt-F1,F2,F3 ... can not start a console.
  2017-09-21 16:42     ` Feng Shu
@ 2017-09-21 20:06       ` Marius Bakke
  2017-09-23  0:12         ` Feng Shu
  0 siblings, 1 reply; 9+ messages in thread
From: Marius Bakke @ 2017-09-21 20:06 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel, Feng Shu

[-- Attachment #1: Type: text/plain, Size: 1790 bytes --]

Feng Shu <tumashu@163.com> writes:

> "Feng Shu" <tumashu@163.com> writes:
>
>> ludo@gnu.org (Ludovic Courtès) writes:
>>
>>> Hi,
>>>
>>> "Feng Shu" <tumashu@163.com> skribis:
>>>
>>>> Yestaday, I reinstall my guixsd, and install xfce4 as my desktop.
>>>> A problem faced is that: When I press Ctrl-Alt-F1, F2, F3 ...
>>>> I can not start a tty, instead of start a slim login picture?
>>>
>>> Can you reproduce the problem in a VM created by ‘guix system vm’?
>>> (Note that in QEMU you need to do ctrl-1 to go to the QEMU console, then
>>> “sendkey ctrl-alt-f1”, and then ctrl-2 to switch back to the VM screen.)
>>>
>>> If not, could it be that the problem has to do with the graphics driver
>>> being used?
>>
>> qemu vm works well, may be it is graphics driver problem as you said, I
>> will wait to update driver, thanks for the help!
>>
>>>
>
> When I revert "gnu: xf86-video-ati: Update to 7.10.0." , it works well.
>
> 84023d2fa4a47e3ac0248d304324161c041858aa

Uff.  I suspect it's related to this snippet from the ChangeLog[0]:

* The driver now takes measures to prevent other DRM master processes
  (potentially from other local users) from accessing buffers created by
  this driver while switched away to a different VT. Other DRM master
  processes should only be able to access a single buffer anymore, which
  contains only all-black pixels.

Are you willing to report this bug upstream?  See here for information:

https://freedesktop.org/wiki/Software/xorg/

We should probably revert this on 'master' meanwhile.  Unfortunately I
don't have ATI hardware to test with, so it would be good if someone
else could try to reproduce this problem.

[0] https://lists.x.org/archives/xorg-announce/2017-September/002806.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Ctrl-Alt-F1,F2,F3 ... can not start a console.
  2017-09-21 20:06       ` Marius Bakke
@ 2017-09-23  0:12         ` Feng Shu
  0 siblings, 0 replies; 9+ messages in thread
From: Feng Shu @ 2017-09-23  0:12 UTC (permalink / raw)
  To: Marius Bakke; +Cc: guix-devel, Feng Shu

Marius Bakke <mbakke@fastmail.com> writes:

> Feng Shu <tumashu@163.com> writes:
>
>> "Feng Shu" <tumashu@163.com> writes:
>>
>>> ludo@gnu.org (Ludovic Courtès) writes:
>>>
>>>> Hi,
>>>>
>>>> "Feng Shu" <tumashu@163.com> skribis:
>>>>
>>>>> Yestaday, I reinstall my guixsd, and install xfce4 as my desktop.
>>>>> A problem faced is that: When I press Ctrl-Alt-F1, F2, F3 ...
>>>>> I can not start a tty, instead of start a slim login picture?
>>>>
>>>> Can you reproduce the problem in a VM created by ‘guix system vm’?
>>>> (Note that in QEMU you need to do ctrl-1 to go to the QEMU console, then
>>>> “sendkey ctrl-alt-f1”, and then ctrl-2 to switch back to the VM screen.)
>>>>
>>>> If not, could it be that the problem has to do with the graphics driver
>>>> being used?
>>>
>>> qemu vm works well, may be it is graphics driver problem as you said, I
>>> will wait to update driver, thanks for the help!
>>>
>>>>
>>
>> When I revert "gnu: xf86-video-ati: Update to 7.10.0." , it works well.
>>
>> 84023d2fa4a47e3ac0248d304324161c041858aa
>
> Uff.  I suspect it's related to this snippet from the ChangeLog[0]:
>
> * The driver now takes measures to prevent other DRM master processes
>   (potentially from other local users) from accessing buffers created by
>   this driver while switched away to a different VT. Other DRM master
>   processes should only be able to access a single buffer anymore, which
>   contains only all-black pixels.
>
> Are you willing to report this bug upstream?  See here for information:
>
> https://freedesktop.org/wiki/Software/xorg/

I don't fimilar xorg, and my English is poor, but I send a report....

https://bugs.freedesktop.org/show_bug.cgi?id=102948

>
> We should probably revert this on 'master' meanwhile.  Unfortunately I
> don't have ATI hardware to test with, so it would be good if someone
> else could try to reproduce this problem.

Good idea....

>
> [0] https://lists.x.org/archives/xorg-announce/2017-September/002806.html
>

-- 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-09-23  0:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-18 23:18 Ctrl-Alt-F1,F2,F3 ... can not start a console Feng Shu
2017-09-19  1:20 ` Chris Marusich
2017-09-19  1:26   ` tumashu
2017-09-19  9:58 ` Ludovic Courtès
2017-09-19 10:38   ` Feng Shu
2017-09-19 23:10   ` Feng Shu
2017-09-21 16:42     ` Feng Shu
2017-09-21 20:06       ` Marius Bakke
2017-09-23  0:12         ` Feng Shu

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.