Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upKali 2 HVM - GUI broken #2761
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Can you be more specific? In what way is the GUI broken? |
andrewdavidwong
added
the
C: other
label
Apr 19, 2017
andrewdavidwong
added this to the Release 3.2 updates milestone
Apr 19, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Simon-Davies
Apr 19, 2017
See a picture of the gui here: https://s24.postimg.org/vra4obket/IMG_0491.jpg
The gui is cut to the bottom of the window and non functional
Simon-Davies
commented
Apr 19, 2017
|
See a picture of the gui here: https://s24.postimg.org/vra4obket/IMG_0491.jpg The gui is cut to the bottom of the window and non functional |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Duplicate of #1981. |
andrewdavidwong
closed this
Apr 19, 2017
andrewdavidwong
added
the
duplicate
label
Apr 19, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Apr 20, 2017
Member
Reopening this issue to track the problem @Simon-Davies and others have reported with Kali HVMs.
While the problem was previously being tracked in #1981, it turns out that several users prefer to use a Kali template rather than a Kali HVM in order to avoid this very problem.
|
Reopening this issue to track the problem @Simon-Davies and others have reported with Kali HVMs. While the problem was previously being tracked in #1981, it turns out that several users prefer to use a Kali template rather than a Kali HVM in order to avoid this very problem. |
andrewdavidwong
reopened this
Apr 20, 2017
andrewdavidwong
added
bug
help wanted
and removed
duplicate
labels
Apr 20, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Jeeppler
Apr 20, 2017
@Simon-Davies could you please specify which version you used? I guess you used Kali 2016.2 ISO. The best would be to add a hash sum of your ISO in your initial bug report. This way it would be easier to reproduce your issue. Because if I have the hash sum of the ISO I can download the exact same ISO.
Furthermore, did you install Kali or do you just use the Live CD?
Jeeppler
commented
Apr 20, 2017
|
@Simon-Davies could you please specify which version you used? I guess you used Kali 2016.2 ISO. The best would be to add a hash sum of your ISO in your initial bug report. This way it would be easier to reproduce your issue. Because if I have the hash sum of the ISO I can download the exact same ISO. Furthermore, did you install Kali or do you just use the Live CD? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Simon-Davies
Apr 21, 2017
I used the latest Kali 2016.2 ISO downloaded as a torrent 2 days ago. I can get a hash sum if it's required.
I installed Kali into the Kali HVM I created.
You get past the login screen fine but as soon as you are in the OS you get the GUI issues where it's cut to the bottom of the screen.
Simon-Davies
commented
Apr 21, 2017
•
|
I used the latest Kali 2016.2 ISO downloaded as a torrent 2 days ago. I can get a hash sum if it's required. I installed Kali into the Kali HVM I created. You get past the login screen fine but as soon as you are in the OS you get the GUI issues where it's cut to the bottom of the screen. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Chilinot
Apr 21, 2017
This is a known and solved issue. There should be a working Kali template in the repos IIRC.
If that is not an option, take a look at the issue and subissues/threads linked by @andrewdavidwong.
EDIT:
The solution: #1981 (comment)
Chilinot
commented
Apr 21, 2017
•
|
This is a known and solved issue. There should be a working Kali template in the repos IIRC. If that is not an option, take a look at the issue and subissues/threads linked by @andrewdavidwong. EDIT: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Simon-Davies
Apr 21, 2017
I created a working Kali template upgrading Debian 8 to Debian 9 Stretch and installing Katoolin to create a customised Kali build.
This does not fix the fact that you can't run Kali in a HVM though.
Simon-Davies
commented
Apr 21, 2017
|
I created a working Kali template upgrading Debian 8 to Debian 9 Stretch and installing Katoolin to create a customised Kali build. This does not fix the fact that you can't run Kali in a HVM though. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Chilinot
Apr 21, 2017
My bad, it didn't occur to me when I wrote my previous post that you would not be able to apply the solution when using a HVM.
Chilinot
commented
Apr 21, 2017
|
My bad, it didn't occur to me when I wrote my previous post that you would not be able to apply the solution when using a HVM. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Simon-Davies
Apr 21, 2017
If you can't bring up the Terminal on the HVM how can you edit Xorg settings?
You are forced to use a Kali AppVM template instead.
Having a working template is better than having no Kali though :)
Simon-Davies
commented
Apr 21, 2017
|
If you can't bring up the Terminal on the HVM how can you edit Xorg settings? You are forced to use a Kali AppVM template instead. Having a working template is better than having no Kali though :) |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Simon-Davies
Apr 21, 2017
Possible Fix: Could Qubes not detected that Kali has been installed in the HVM and when it is booting do the Xorg settings edit automatically for us?
Simon-Davies
commented
Apr 21, 2017
•
|
Possible Fix: Could Qubes not detected that Kali has been installed in the HVM and when it is booting do the Xorg settings edit automatically for us? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Chilinot
Apr 21, 2017
I don't have a kali hvm at the moment so I cant test it myself. But are you able to access a virtual console by pressing Ctrl+Alt+F1 ?
Chilinot
commented
Apr 21, 2017
|
I don't have a kali hvm at the moment so I cant test it myself. But are you able to access a virtual console by pressing Ctrl+Alt+F1 ? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Simon-Davies
commented
Apr 21, 2017
|
I'll give this a shot now :) Thanks Chilinot :) |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Simon-Davies
Apr 21, 2017
Unfortunately Ctrl Alt F1 doesn't work.
Off topic: For the Windows HVM documentation if the user removes the Xfce keyboard shortcuts they can press Ctrl Alt Del to login to Windows and then disable the Ctrl Alt Del logon option.
The documentation says to use Ctrl Alt Home but on my Dell laptop this didn't work.
Simon-Davies
commented
Apr 21, 2017
•
|
Unfortunately Ctrl Alt F1 doesn't work. Off topic: For the Windows HVM documentation if the user removes the Xfce keyboard shortcuts they can press Ctrl Alt Del to login to Windows and then disable the Ctrl Alt Del logon option. The documentation says to use Ctrl Alt Home but on my Dell laptop this didn't work. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
vikasbswami
commented
May 2, 2017
•
|
Any updates about this issue?? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Jeeppler
Jun 10, 2017
I was able to reproduce the issue with the latest Kali 2017.1:
$ sha256sum kali-linux-2017.1-amd64.iso
49b1c5769b909220060dc4c0e11ae09d97a270a80d259e05773101df62e11e9d kali-linux-2017.1-amd64.iso
Furthermore, I was able to fix the issue by enabling automatic login in in the Gdm3 configuration file after the installation of Kali.
Fix
Using the KaliLinux LiveCD is the easiest method to be able to enable automatic login, because the HVM cannot be access by using a xl or virsh console.
The following is assumed:
- during the installation the username
userwas selected - the name of the Kali Linux HVM is
kali-vm - the Kali Linux
.isofile is in theDownloaddirectory of thepersonalVM
Enable automatic login in Gdm3 configuration file:
-
After installation, start
kali-vmin Dom0 terminal with:dom0: qvm-start kali-vm --cdrom personal:/home/user/Downloads/kali-linux-<version>-amd64.isofor example:
dom0: qvm-start kali-vm --cdrom personal:/home/user/Downloads/kali-linux-2017.1-amd64.iso -
Select in boot menu
LiveCD -
Mount the root partition of the
kali-vminstallation inkali-vmkali-vm: sudo mount /dev/mapper/kali--vg-root /mnt/ -
Enable automatic login by uncommenting the following lines in
/mnt/etc/gdm3/daemon.conf[daemon] # Enable automatic login # AutomaticLoginEnable = true # AutomaticLogin = userlike this
[daemon] # Enable automatic login AutomaticLoginEnable = true AutomaticLogin = user -
Save the file and shutdown
kali-vm -
Start
kali-vmwithout the Kali Linux CD attached:qvm-start kali-vm
Jeeppler
commented
Jun 10, 2017
|
I was able to reproduce the issue with the latest Kali 2017.1:
Furthermore, I was able to fix the issue by enabling automatic login in in the Gdm3 configuration file after the installation of Kali. FixUsing the KaliLinux LiveCD is the easiest method to be able to enable automatic login, because the HVM cannot be access by using a The following is assumed:
Enable automatic login in Gdm3 configuration file:
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
z4ppy
Jun 18, 2017
Thanks you !!
You can also do it without livecd :
In dom0 : qvm-block -A vm_name dom0:/var/lib/qubes/appvms/kalivm/root.img
In vm_name : sudo mount -t ext4 /dev/xvdi1 /mnt/removable/
Enable automatic login as you did, in /mnt/removable/etc/gdm3/daemon.conf
z4ppy
commented
Jun 18, 2017
|
Thanks you !! You can also do it without livecd : |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Jeeppler
commented
Jul 4, 2017
|
@andrewdavidwong I think we can close this issue. |
Simon-Davies commentedApr 19, 2017
Affected: Qubes OS version R3.2
GUI broken when creating a Kali 2 HVM with the latest Kali 2 iso