Search Results for 'startx'

Forum Forums Search Search Results for 'startx'

Viewing 15 results - 106 through 120 (of 310 total)
  • Author
    Search Results
  • #62175

    In reply to: Openbox users group

    Member
    stevesr0

      [UPDATE: I believe the mechanism involves the file /etc/X11/Xsession.d/50×11-common_determine-startup, which references a user’s .xsession file. Since I don’t have a .xsession file, I believe openbox-session is used as a .xsession file. I found this info at https://unix.stackexchange.com/questions/594213/xsession-and-startx-in-debian. Still interested in any comments, as I like to understand when things work in spite of not being built right <g>. (Also, this info might be helpful to people whose xsession DOESN’T work.) stevesr0]

      To all respondents, I APOLOGIZE…for not being clear.

      Openbox works GREAT!! — BUT it SHOULDN’T!!

      because

      I don’t have the “exec” calls in xinit or xinitrc. Nothing, NADA!

      So, I am “complaining” WHY it WORKS when it SHOULDN’T!!

      I type startx from a command line and BOOM – in one second, my (black) Openbox GUI is launched. I right click and I have a box listing a terminal, a browser, a file manager, a text editor.

      Super terrific!!

      So, as one might ask about a flying carpet – How come it is working??

      Appreciate any enlightenment; thanks in advance.

      stevesr0

      P.S. in response to skidoo – I just looked at man startx and man xinit – I don’t have entries where it says I should. I also just checked man X, but that didn’t have specific configuration data.

      • This reply was modified 1 year, 10 months ago by stevesr0.
      #62149

      In reply to: Openbox users group

      Anonymous

        So my question is how does startx use openbox-session to launch openbox?

        man startx
        ^---> SEE ALSO section also steers you read to "man xinit" "man X"...

        https://wiki.debian.org/Xinitrc
        https://wiki.debian.org/xinit
        https://wiki.debian.org/Xsession

        .

        http://forum.mxlinux.org/search.php?keywords=xinitrc
        good stuff, informative, especially the topic titled
        “Can’t login to MX linux, possible Xsessions issue after typing ‘startx’ into terminal [SOLVED]”

        #62141

        In reply to: Openbox users group

        Moderator
        christophe

          @ stevesr0
          Unless/Until someone who uses openbox has something “exact” – look at this:

          https://bbs.archlinux.org/viewtopic.php?id=114602

          (When you type startx, .xinitrc is run automatically.) It’s saying to start openbox-session from .xinitrc, then that script starts the “startup” programs.

          Here, there is a sample .xinitrc file:

          https://wiki.debian.org/Xinitrc

          My understanding is to change the exec line in the .xinitrc to exec openbox-session then letting the openbox-session script take you to the desktop.

          Again: if someone who actually uses openbox replies, then follow that. Othrwise, give this a go. πŸ˜‰

          • This reply was modified 1 year, 10 months ago by christophe. Reason: code box

          confirmed antiX frugaler, since 2019

          #62138

          In reply to: Openbox users group

          Member
          stevesr0

            I have a NON problem with Openbox. I installed it from the repositories and it works. I boot to a command line and then use startx to launch my GUI.

            My reason for posting is that the “exec openbox” that supposedly is needed to make it work doesn’t exist in the xinit or .xinitrc files. All the documentation I have read about launching Openbox point to the need for an entry in xinit or .xinitrc.

            I do have an openbox-session file that does have an exec line in it. However, I don’t understand what launches it. When I use htop without launching X, it is not listed.

            So my question is how does startx use openbox-session to launch openbox? htop shows dbus as involved with openbox-session, but I am unclear how openbox-session is automagically recognized as a program that should be launched when startx is invoked.

            I am aware that this reflects my great ignorance of how things get launched – that is fine if I can gain some enlightenment <g>.

            In my “defense”, I have spent the past hour searching for an explanation. If there is some “tag” that identifies openbox-session as a file that should be launched by dbus when startx is invoked, then that would enable me to search in a more focussed fashion.

            Thanks in advance.

            stevesr0

            #61048
            Anonymous

              1) In the instructions.
              Item 2 could not be completed.
              screen: ibb.co/m8xBsb6

              2) in the live usb menu, I selected item 1, then added the parameters: xorg=amdgpu amdgpu.cik_support=1 amdgpu.si_support=1 radeon.si_support=0 radeon.cik_support=0.

              Then the download started and the screen says “antiX 14.4 (Grub Yorum)”

              I went to the console and entered: sudo startx

              result on the screen: ibb.co/Rg2gzWy

              #61013
              Anonymous

                I recorded version 19.4 on a flash drive and started the computer, then the download stopped at the line ” start X”,

                then I restarted the system with the splash=v parameter, the result was the same: the boot stopped at the “start X” line, then ( after a couple of minutes ) the yellow dots and the “start X” line disappeared.

                I write in the terminal:
                sudo startx

                then

                inxi -Gxxx
                the terminal writes: ibb.co/VwdmsvN

                #60962
                Anonymous

                  it turned out to run:
                  sudo startx

                  I write in the terminal:
                  sudo modprobe radeon

                  terminal:
                  modprobe: ERROR: could not insert ‘radeon’: invalid argument

                  added lines
                  # start radeon driver
                  radeon

                  the problem remained

                  #60956
                  Member
                  Xecure

                    Device: AMD Pitcairn XT [Radeon HD 7870 GHz Edition] driver: N/A
                    If you load the radeon driver
                    sudo modprobe radeon
                    See if Control+Alt+F6 or F7
                    starts slim. If it doesn’t, do from Terminal
                    sudo slim
                    or
                    sudo startx

                    If it finally boots add the radeon module to file the /etc/modules

                    # start radeon driver
                    radeon

                    So that the radeon module loads at boot time.

                    It is strange it isn’t starting automatically. Does anyone have an idea why?

                    • This reply was modified 1 year, 11 months ago by Xecure.

                    antiX Live system enthusiast.
                    General Live Boot Parameters for antiX.

                    Member
                    stevesr0

                      (UPDATE: after rebooting and carefully messing with various files (/etc/network/interfaces, /etc/resolv.conf [thru /etc/resolvconf/resolv.conf.d/base)and figuring out how to paste my network passphrase into the ceni/wpa_supplicant screen), the SMCWUSB-N3 wifi adapter did connect to my network and I have internet access via wifi on the “afflicted” system. Parenthetically, I realize that rt3070.bin is distinct from the driver rt2800usb.

                      My remaining issue with this system is to determine if the internal card (combo wifi/bluetooth) is broken. When I have time, I will try other linux distros, since neither of the recent antix ones I tried have worked with the internal card.

                      I remain open to suggestions for how I might check the integrity of the hardware. When I have stepped away for awhile, I will search online for hardware tests that I might attempt.)

                      Hi,

                      Previous posting earlier this morning hasn’t shown up, so I am reposting.

                      Trying to follow Xecure’s suggestions, I have used two USB sticks – one with a full Antix 17 and one with a full Antix 19, my two other laptops (a Lenovo Yoga 11e and an Opowered LP-1 [gaming laptop from Walmart])
                      as “controls” to assure that the distros and the sticks were OK.

                      On the Lenovo, both sticks worked fine including wifi.

                      On the Opowered laptop, the 19.4 distro boots to a command line instead of the GUI. I tried “startx”, but received a “server refused connection” error. Just not sure how to follow that up.
                      The 17.4 distro booted to X directly. The touchpad didn’t work, but a USB mouse did. It connected to the internet after I edited /etc/resolvconf/resolv.conf.d/base (which was empty) and added a nameserver.

                      My sense at this time is that the internal wireless is broken and I need to try an external dongle that has linux support. I am having trouble getting this laptop to recognize the one I have which uses the Ralink 2800 driver (rt3070.bin). Maybe only because I haven’t installed it properly (used apt and installed the miscellaneous firmware nonfree package).

                      I need to work on other stuff for a while and will post again after I get some time to explore further.

                      stevesr0

                      • This reply was modified 1 year, 11 months ago by stevesr0.
                      #57144
                      Member
                      seaken64

                        I finished setting up my antiX-19.3 64-bit install on my “new” old computer. It is working fine. See the thread here:

                        https://www.antixforum.com/forums/topic/my-antix-fu-is-not-strong/

                        I am now trying to do a snapshot and verify it by booting from the Live USB. I used the Snapshot and LiveUSB programs to create the LiveUSB backup of my system. But it won’t boot to a GUI.

                        In short, I changed the Xorg version to 1.19 and installed the nvidia-legacy-304xx-driver package. So this is not a pure antiX-19.3 setup anymore. I am wondering if this might be the reason that the LiveUSB won’t boot to a GUI desktop.

                        When I look at the inxi the graphics show the nvidia driver is loaded, then Xorg 1.19 has no driver. So, Xorg is not starting. I tried also both Safevideo and Failsafe options off the boot menu. All initial boots for all three of these choices places me at the console prompt. Slim crashes if I try startx.

                        I can use the console and look around the file system. All my files are there where they are supposed to be. But I can’t get a GUI yet.

                        Can I accept this as a “backup” of my system? I could install using the console and then fix the graphics and GUI after install?

                        seaken64

                        #56921
                        Member
                        stephenbbb

                          Hola muchachos,
                          I cannot setup the wifi because it does not see any devices. I still copied the missing Xorg script and the xorg modules, but when I ran startx this time it could not find some fonts in a .so file. so I got tired of these manual copying and decided to re-install. I have a separate /home partition exactly in order to be able to deal with such occasions. the only headache is setting up emacs and R with all their packages and redoing the customizations I had.
                          will not do “apt upgrade” in antix ever again.
                          Thanks for everybody’s ideas.
                          Christ is risen and so is my antix πŸ™‚

                          #56583
                          Member
                          stephenbbb

                            after logging in to the terminal I try startx and get

                            
                            /etc/X11/xinit/xserverrc: 3 exec /usr/bin/X: not found
                            xinit: giving up
                            xinit: unable to connect to X server: Connection refused
                            

                            also the output you asked about:

                            
                            System:    Host: acer-c50 Kernel: 4.9.235-antix.1-amd64-smp x86_64 bits: 64 compiler: gcc v: 8.3.0 Console: tty 1
                                       Distro: antiX-19.3_x64-full Manolis Glezos 15 October 2020 base: Debian GNU/Linux 10 (buster)
                            Machine:   Type: Laptop Mobo: Acer model: Aspire 5250 v: V1.01 serial: <filter> BIOS: Acer v: 1.01 date: 04/21/2011
                            CPU:       Topology: Dual Core model: AMD C-50 bits: 64 type: MCP arch: Bobcat L2 cache: 512 KiB
                                       flags: lm nx pae sse sse2 sse3 sse4a ssse3 svm bogomips: 3989
                                       Speed: 800 MHz min/max: 800/1000 MHz Core speeds (MHz): 1: 800 2: 800
                            Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Wrestler [Radeon HD 6250] vendor: Acer Incorporated ALI driver: N/A
                                       bus ID: 00:01.0
                                       Display: server: N/A driver: ati,radeon unloaded: fbdev,modesetting,vesa tty: 128x48
                                       Message: Advanced graphics data unavailable in console. Try -G --display
                            Audio:     Device-1: Advanced Micro Devices [AMD/ATI] SBx00 Azalia vendor: Acer Incorporated ALI driver: N/A bus ID: 00:14.2
                            Network:   Device-1: Qualcomm Atheros AR8152 v2.0 Fast Ethernet vendor: Acer Incorporated ALI driver: atl1c v: 1.0.1.1-NAPI
                                       port: 2000 bus ID: 06:00.0
                                       IF: eth0 state: down mac: <filter>
                                       Device-2: Qualcomm Atheros AR9285 Wireless Network Adapter vendor: Lite-On driver: N/A port: 2000 bus ID: 07:00.0
                            Drives:    Local Storage: total: 225.41 GiB used: 21.36 GiB (9.5%)
                                       ID-1: /dev/sda vendor: Dogfish model: SSD 240GB size: 223.57 GiB
                                       ID-2: /dev/sdb model: Multi-Card size: 1.84 GiB
                            Partition: ID-1: / size: 57.49 GiB used: 6.03 GiB (10.5%) fs: ext4 dev: /dev/sda4
                                       ID-2: /home size: 107.17 GiB used: 15.33 GiB (14.3%) fs: ext4 dev: /dev/sda3
                                       ID-3: swap-1 size: 3.91 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2
                            Sensors:   Message: No sensors data was found. Is sensors configured?
                            Repos:     Active apt repos in: /etc/apt/sources.list.d/antix.list
                                       1: deb http://mirrors.rit.edu/mxlinux/mx-packages/antix/buster/ buster main nonfree nosystemd
                                       Active apt repos in: /etc/apt/sources.list.d/buster-backports.list
                                       1: deb http://deb.debian.org/debian buster-backports main contrib non-free
                                       Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
                                       1: deb http://ftp.ca.debian.org/debian/ buster-updates main contrib non-free
                                       Active apt repos in: /etc/apt/sources.list.d/debian.list
                                       1: deb http://ftp.ca.debian.org/debian/ buster main contrib non-free
                                       2: deb http://security.debian.org/ buster/updates main contrib non-free
                                       No active apt repos in: /etc/apt/sources.list.d/onion.list
                                       No active apt repos in: /etc/apt/sources.list.d/opera-stable.list
                                       No active apt repos in: /etc/apt/sources.list.d/various.list
                            Info:      Processes: 130 Uptime: 4m Memory: 3.60 GiB used: 71.5 MiB (1.9%) Init: SysVinit runlevel: 5 Compilers: gcc: 8.3.0
                                       Shell: bash v: 5.0.3 inxi: 3.0.36 
                            

                            how do I setup my wifi from the terminal? or can I just copy some folders from the antix live usb?
                            cheers

                            • This reply was modified 2 years, 1 month ago by stephenbbb.
                            #55541
                            Member
                            ex_Koo

                              I tried to get it work also with 21a the file names seems to be different from void as they with antiX.

                              cp -R /etc/sv/agetty-tty1 /etc/sv/agetty-autologin-tty1 (antiX users getty-tty not agetty..) even tried after saving getty-tty1 then renaming agetty-autologin-tty1 to getty-tty1 (No worky)

                              rm /var/service/agetty-tty1 <<< same here antiX has no var/service file. So I made one /var/service
                              ln -s /etc/sv/agetty-autologin-tty1 /var/service <<< even after making a symlink ln -s /etc/sv/getty-autologin-tty1 /var/service (No worky)

                              But I did have one Win got rid of slim and now login with tty. πŸ™‚
                              Then adding below to my .profile auto start X works. πŸ™‚

                               # autologin on tty1
                               if [ -z "$DISPLAY" ] && [ "$(fgconsole)" -eq 1 ]; then
                               exec startx
                               fi

                              I have no intention of ever using auto login. Just wanted to play.

                              #55480
                              Member
                              ex_Koo

                                Control Panel > Maintenance > User Manager > Options > Modify User Account > YOU > Change Autologin Settings > Log in Automatically.

                                Open Control Panel from console = antixcc.sh

                                Also if you make a .bash_profile file and add below it will Automatically startx after logging in.

                                #
                                # ~/.bash_profile
                                #
                                
                                [[ -f ~/.bashrc ]] && . ~/.bashrc
                                
                                [[ $(fgconsole 2>/dev/null) == 1 ]] && exec startx -- vt1
                                • This reply was modified 2 years, 2 months ago by ex_Koo.
                                #55474
                                Moderator
                                christophe

                                  I’ve been playing with antiX sid runit. I installed X, but I use startx (xinit) to launch it, so no slim display/login manager. Anyways, I’d like to automatically login. With sysvinit, I’d change /etc/inittab a certin way, but it isn’t working with runit. Web search gives me nothing.
                                  So, how do I login automatically with runit (from console)?

                                  confirmed antiX frugaler, since 2019

                                Viewing 15 results - 106 through 120 (of 310 total)