Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT application window not shown when started directly with xinit as non-root user

QT application window not shown when started directly with xinit as non-root user

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 362 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    qt_slackware
    wrote on last edited by
    #1

    For example:

    xinit /usr/bin/VirtualBox  -- :0 vt1
    xinit /usr/bin/kdevelop  -- :0 vt1
    

    In both cases the main window does not show up and screen stays blank. Only the initial window, for example "One or more disk image files are not currently accessible. As a result, you will not be able to operate virtual machines that use these files until they become accessible later." shows up. This however makes the main window show up:

    sudo xinit /usr/bin/VirtualBox  -- :0 vt1
    sudo xinit /usr/bin/kdevelop  -- :0 vt1
    

    If xterm is started instead one also needs to use sudo for the main windows to show up.

    I'm using Slackware Linux but the same behavior was reported on Arch here: https://unix.stackexchange.com/questions/410233/arch-linux-running-virtualbox-without-a-window-manager.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved