Skip to main content
Topic: No Desktop environment (Read 2704 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: No Desktop environment

Reply #15
I feel displaymanager earlier was sddm and later changed to sddm as per the advice given in previous post.

Re: No Desktop environment

Reply #16
can you run:
Code: [Select]
pacman -S sddm

and put this into /etc/conf.d/xdm
Code: [Select]
# We always try and start X on a static VT. The various DMs normally default
# to using VT7. If you wish to use the xdm init script, then you should ensure
# that the VT checked is the same VT your DM wants to use. We do this check to
# ensure that you haven't accidentally configured something to run on the VT
# in your /etc/inittab file so that you don't get a dead keyboard.
CHECKVT=7

# What display manager do you use ?  [ xdm | gdm | kdm | gpe | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
DISPLAYMANAGER="sddm"

you either dont have program which you set as DISPLAYMANAGER installed or you made an error/typo while writing it.

Re: No Desktop environment

Reply #17
it reinstalled and changed display manager to sddm. however no use at all

Re: No Desktop environment

Reply #18
is there any other error message?
Because the log you provided said that it cant find executable specified in  DISPLAYMANAGER variable in /etc/conf.d/xdm
can you provide file /etc/conf.d/xdm ?

Re: No Desktop environment

Reply #19
Sounds a lot like you have not installed the actual sddm package.

Re: No Desktop environment

Reply #20
Now got below output while running rc-service  --verbose xdm restart

xdm.Executing: /usr/lib/openrc/sh/openrc-run-sh /usr/lib/ openrc-run.sh /etc/initd/xdm.stop
stopping xdm....
Will stop usr/bin/xdm
start-stop-demeon : no matching process found
xdm.xdm.Executing: /usr/lib/openrc/sh/openrc-run-sh /usr/lib/ openrc-run.sh /etc/initd/xdm.start
Seting up sddm
Detaching to start usr/bin/sddm

Re: No Desktop environment

Reply #21
# We always try and start X on a static VT. The various DMs normally default
# to using VT7. If you wish to use the xdm init script, then you should ensure
# that the VT checked is the same VT your DM wants to use. We do this check to
# ensure that you haven't accidentally configured something to run on the VT
# in your /etc/inittab file so that you don't get a dead keyboard.
CHECKVT=7

# What display manager do you use ?  [ xdm | gdm | sddm | gpe | entrance | lightdm | lxdm ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
DISPLAYMANAGER="sddm"

Re: No Desktop environment

Reply #22
so it is trying to start sddm but fails for some reason?
Can you check sddm logs ? they are probably somewhere in /var/log/sddm something.

Re: No Desktop environment

Reply #23
Code: [Select]
Jul 31 11:10:51 ramesh connman-vpnd[2250]: D-Bus disconnect
Jul 31 13:40:41 ramesh pulseaudio[2790]: [pulseaudio] core-util.c: Failed to create secure directory (/run/user/1000/pulse): No such file or directory
Jul 31 13:40:42 ramesh /etc/init.d/xdm[4858]: start-stop-daemon: no matching processes found
Jul 31 13:40:43 ramesh connman-vpnd[2289]: D-Bus disconnect
Jul 31 13:43:05 ramesh kernel: usb 1-1: device not accepting address 4, error -71
Jul 31 14:23:21 ramesh login[2683]: pam_tally2(login:auth): pam_get_uid; no such user
Jul 31 14:38:58 ramesh login[2736]: pam_tally2(login:auth): pam_get_uid; no such user
Jul 31 15:17:41 ramesh login[2798]: pam_tally2(login:auth): pam_get_uid; no such user
Jul 31 15:17:53 ramesh /etc/init.d/xdm[3351]: start-stop-daemon: no matching processes found
Jul 31 15:17:54 ramesh connman-vpnd[2289]: D-Bus disconnect
Jul 31 17:05:50 ramesh kernel: usb 1-1: device descriptor read/64, error -71
Jul 31 17:05:52 ramesh /etc/init.d/xdm[3150]: start-stop-daemon: no matching processes found
Jul 31 17:05:53 ramesh connman-vpnd[2299]: D-Bus disconnect
Jul 31 18:16:37 ramesh /etc/init.d/xdm[2716]: xdm: superuser access required
Jul 31 18:54:38 ramesh connmand[2233]: Removing default gateway route failed (No such device)
Jul 31 18:54:38 ramesh connmand[2233]: Deleting host route failed (No such device)
Jul 31 18:54:38 ramesh connmand[2233]: Removing default gateway route failed (No such device)
Jul 31 18:55:06 ramesh connmand[2233]: Removing default gateway route failed (No such device)
Jul 31 18:55:06 ramesh connmand[2233]: Deleting host route failed (No such device)
Jul 31 18:55:06 ramesh connmand[2233]: Removing default gateway route failed (No such device)
Jul 31 18:55:07 ramesh kernel: usb 1-1: device not accepting address 6, error -71
Jul 31 18:57:58 ramesh login[2776]: pam_tally2(login:auth): pam_get_uid; no such user
Jul 31 18:57:59 ramesh connmand[2233]: Removing default gateway route failed (No such device)
Jul 31 18:57:59 ramesh connmand[2233]: Deleting host route failed (No such device)
Jul 31 18:57:59 ramesh connmand[2233]: Removing default gateway route failed (No such device)
Jul 31 18:58:23 ramesh connmand[2233]: Removing default gateway route failed (No such device)
Jul 31 18:58:23 ramesh connmand[2233]: Deleting host route failed (No such device)
Jul 31 18:58:23 ramesh connmand[2233]: Removing default gateway route failed (No such device)
Jul 31 18:58:28 ramesh login[2776]: pam_tally2(login:auth): pam_get_uid; user?
Jul 31 18:59:33 ramesh login[2800]: pam_tally2(login:auth): pam_get_uid; no such user
Jul 31 19:00:06 ramesh login[2800]: pam_tally2(login:auth): pam_get_uid; user?
Jul 31 19:00:15 ramesh agetty[2804]: tty1: invalid character 0x3 in login name
Jul 31 19:00:28 ramesh login[2805]: pam_tally2(login:auth): pam_get_uid; no such user
Jul 31 19:00:43 ramesh login[2805]: pam_tally2(login:auth): pam_get_uid; user?
Jul 31 19:01:12 ramesh login[2809]: pam_tally2(login:auth): pam_get_uid; no such user
Jul 31 19:01:16 ramesh login[2809]: pam_tally2(login:auth): pam_get_uid; user?
Jul 31 19:04:03 ramesh agetty[2819]: tty1: invalid character 0x1b in login name
Jul 31 19:05:10 ramesh connmand[2233]: Removing default gateway route failed (No such device)
Jul 31 19:05:10 ramesh connmand[2233]: Deleting host route failed (No such device)
Jul 31 19:05:10 ramesh connmand[2233]: Removing default gateway route failed (No such device)
Jul 31 19:22:56 ramesh /etc/init.d/xdm[2970]: xdm: superuser access required
Jul 31 19:24:11 ramesh connmand[2233]: Removing default gateway route failed (No such device)
Jul 31 19:24:11 ramesh connmand[2233]: Deleting host route failed (No such device)
Jul 31 19:24:11 ramesh connmand[2233]: Removing default gateway route failed (No such device)
Jul 31 19:25:57 ramesh connmand[2233]: Removing default gateway route failed (No such device)
Jul 31 19:25:57 ramesh connmand[2233]: Deleting host route failed (No such device)
Jul 31 19:25:57 ramesh connmand[2233]: Removing default gateway route failed (No such device)
Jul 31 19:26:02 ramesh /etc/init.d/xdm[3631]: start-stop-daemon: no matching processes found
Jul 31 19:26:03 ramesh connman-vpnd[2299]: D-Bus disconnect
Aug  1 13:24:54 ramesh connman-vpnd[2366]: Can't load /usr/lib/connman/plugins-vpn/wireguard.so: /usr/lib/connman/plugins-vpn/wireguard.so: undefined symbol: __vpn_ipconfig_foreach
Aug  1 13:36:17 ramesh /etc/init.d/xdm[3600]: start-stop-daemon: no matching processes found
Aug  1 13:36:17 ramesh connman-vpnd[2366]: D-Bus disconnect
Aug  1 13:37:02 ramesh connman-vpnd[2419]: Can't load /usr/lib/connman/plugins-vpn/wireguard.so: /usr/lib/connman/plugins-vpn/wireguard.so: undefined symbol: __vpn_ipconfig_foreach
Aug  1 13:41:19 ramesh /etc/init.d/xdm[3472]: start-stop-daemon: no matching processes found
Aug  1 13:42:54 ramesh /etc/init.d/xdm[3162]: start-stop-daemon: no matching processes found
Aug  1 13:42:55 ramesh connman-vpnd[2328]: D-Bus disconnect
Aug  1 13:42:55 ramesh login[2691]: pam_elogind(login:session): Failed to release session: Connection reset by peer
Aug  1 18:57:11 ramesh connman-vpnd[2375]: Can't load /usr/lib/connman/plugins-vpn/wireguard.so: /usr/lib/connman/plugins-vpn/wireguard.so: undefined symbol: __vpn_ipconfig_foreach
Aug  1 18:57:28 ramesh login[2667]: pam_tally2(login:auth): pam_get_uid; no such user
Aug  1 19:07:21 ramesh /etc/init.d/xdm[3173]: start-stop-daemon: no matching processes found
Aug  1 19:07:22 ramesh connman-vpnd[2375]: D-Bus disconnect
Aug  1 20:48:15 ramesh /etc/init.d/xdm[2731]: xdm: superuser access required
Aug  1 20:54:36 ramesh /etc/init.d/xdm[3147]: start-stop-daemon: no matching processes found
Aug  1 20:54:37 ramesh connman-vpnd[2325]: D-Bus disconnect
Aug  1 20:54:37 ramesh login[2682]: pam_elogind(login:session): Failed to release session: Connection reset by peer
Aug  1 20:55:58 ramesh /etc/init.d/xdm[3232]: start-stop-daemon: no matching processes found
Aug  1 20:55:58 ramesh connman-vpnd[2337]: D-Bus disconnect
Aug  1 22:44:40 ramesh /etc/init.d/xdm[3278]: start-stop-daemon: no matching processes found
Aug  1 22:44:41 ramesh connman-vpnd[2329]: D-Bus disconnect
Aug  2 09:24:49 ramesh agetty[2669]: tty1: invalid character 0x3 in login name
Aug  2 09:24:57 ramesh /etc/init.d/xdm[3103]: start-stop-daemon: no matching processes found
Aug  2 09:24:57 ramesh connman-vpnd[2336]: D-Bus disconnect
Aug  2 09:25:37 ramesh /etc/init.d/xdm[2375]: start-stop-daemon: /usr/bin/xdm does not exist
Aug  2 09:25:37 ramesh /etc/init.d/xdm[2376]: ERROR: could not start the Display Manager
Aug  2 09:25:38 ramesh connman-vpnd[2408]: Can't load /usr/lib/connman/plugins-vpn/wireguard.so: /usr/lib/connman/plugins-vpn/wireguard.so: undefined symbol: __vpn_ipconfig_foreach
Aug  2 09:29:17 ramesh /etc/init.d/xdm[3185]: start-stop-daemon: no matching processes found
Aug  2 09:29:18 ramesh connman-vpnd[2408]: D-Bus disconnect
Aug  2 09:30:08 ramesh /etc/init.d/xdm[3115]: start-stop-daemon: no matching processes found
Aug  2 09:30:09 ramesh connman-vpnd[2327]: D-Bus disconnect
Aug  2 09:35:22 ramesh /etc/init.d/xdm[2785]: xdm: superuser access required
Aug  2 09:35:34 ramesh /etc/init.d/xdm[2812]: start-stop-daemon: no matching processes found
Aug  2 09:35:34 ramesh /etc/init.d/xdm[2858]: start-stop-daemon: /usr/bin/xdm does not exist
Aug  2 09:35:34 ramesh /etc/init.d/xdm[2859]: ERROR: could not start the Display Manager
Aug  2 09:36:05 ramesh /etc/init.d/xdm[2898]: start-stop-daemon: no matching processes found
Aug  2 09:36:06 ramesh /etc/init.d/xdm[2942]: start-stop-daemon: /usr/bin/xdm does not exist
Aug  2 09:36:06 ramesh /etc/init.d/xdm[2943]: ERROR: could not start the Display Manager
Aug  2 09:36:06 ramesh /etc/init.d/xdm[2965]: xdm: unknown function `-'
Aug  2 09:36:26 ramesh /etc/init.d/xdm[2994]: start-stop-daemon: no matching processes found
Aug  2 09:36:26 ramesh /etc/init.d/xdm[3038]: start-stop-daemon: /usr/bin/xdm does not exist
Aug  2 09:36:26 ramesh /etc/init.d/xdm[3039]: ERROR: could not start the Display Manager
Aug  2 09:36:26 ramesh /etc/init.d/xdm[3061]: xdm: unknown function `-'
Aug  2 09:36:47 ramesh /etc/init.d/xdm[3089]: start-stop-daemon: no matching processes found
Aug  2 09:36:47 ramesh /etc/init.d/xdm[3133]: start-stop-daemon: /usr/bin/xdm does not exist
Aug  2 09:36:47 ramesh /etc/init.d/xdm[3134]: ERROR: could not start the Display Manager
Aug  2 09:36:57 ramesh /etc/init.d/xdm[3145]: xdm: superuser access required
Aug  2 09:37:41 ramesh /etc/init.d/xdm[3181]: start-stop-daemon: no matching processes found
Aug  2 09:37:41 ramesh /etc/init.d/xdm[3225]: start-stop-daemon: /usr/bin/xdm does not exist
Aug  2 09:37:41 ramesh /etc/init.d/xdm[3226]: ERROR: could not start the Display Manager
Aug  2 09:37:41 ramesh /etc/init.d/xdm[3248]: xdm: unknown function `-'
Aug  2 09:45:38 ramesh /etc/init.d/xdm[3835]: start-stop-daemon: no matching processes found
Aug  2 10:22:22 ramesh connman-vpnd[2465]: Can't load /usr/lib/connman/plugins-vpn/wireguard.so: /usr/lib/connman/plugins-vpn/wireguard.so: undefined symbol: __vpn_ipconfig_foreach
Aug  2 10:23:15 ramesh agetty[2618]: tty1: invalid character 0x1b in login name
Aug  2 10:24:40 ramesh connmand[2237]: Failed to find URL:http://ipv6.connman.net/online/status.html
Aug  2 10:26:16 ramesh agetty[2688]: tty4: invalid character 0x1b in login name
Aug  2 10:31:33 ramesh /etc/init.d/xdm[3379]: start-stop-daemon: no matching processes found
Aug  2 13:06:59 ramesh connmand[2243]: Failed to find URL:http://ipv6.connman.net/online/status.html
Aug  2 13:08:14 ramesh /etc/init.d/xdm[3212]: start-stop-daemon: no matching processes found
Aug  2 13:08:15 ramesh connman-vpnd[2331]: D-Bus disconnect
Aug  2 13:08:56 ramesh connman-vpnd[2453]: Can't load /usr/lib/connman/plugins-vpn/wireguard.so: /usr/lib/connman/plugins-vpn/wireguard.so: undefined symbol: __vpn_ipconfig_foreach
Aug  2 14:44:49 ramesh /etc/init.d/xdm[2775]: start-stop-daemon: no matching processes found
Aug  2 14:47:48 ramesh /etc/init.d/xdm[2857]: start-stop-daemon: no matching processes found
Aug  2 14:53:32 ramesh /etc/init.d/xdm[3316]: start-stop-daemon: no matching processes found
Aug  2 14:53:33 ramesh connman-vpnd[2453]: D-Bus disconnect
Aug  2 14:53:33 ramesh login[2679]: pam_elogind(login:session): Failed to release session: Connection reset by peer

error file from /var/log. Not sddm error just error file.

Re: No Desktop environment

Reply #24
Please use the code tags for log output.

I already asked, do you have the sddm package installed?

Re: No Desktop environment

Reply #25
Code: [Select]
Jul 31 14:23:21 ramesh login[2683]: pam_tally2(login:auth): pam_get_uid; no such user
Jul 31 19:00:15 ramesh agetty[2804]: tty1: invalid character 0x3 in login name
Jul 31 19:04:03 ramesh agetty[2819]: tty1: invalid character 0x1b in login name

Could be the user name - a lot of non latin fonts use wide characters made up of 2 bytes, which would not make sense intepreted as ASCII single byte characters, unless Ramachandran has intentionally created a username with escape and control characters for security reasons  ;D
Try another username with ASCII characters. Or possibly it is something else to do with the user, like groups / permissions, or the login name doesn't exist.

Re: No Desktop environment

Reply #26
Installed sddm.

Regarding Post No.25: I have not  intentionally created any username either in  forum or in my artixlinux installation. 

 

Re: No Desktop environment

Reply #27
You probably need to check this has been completed successfully then, and a user created:
https://wiki.artixlinux.org/Main/Installation#Add_user.28s.29
And if that isn't it, sddm has an autologin feature which needs to match an existing username if you were using it:
https://wiki.archlinux.org/index.php/SDDM#Autologin
From the log entries, you already have the hostname set as ramesh, that's the name of your computer, you need a user account to log into.
Also check user permissions are correct in /etc/group
https://wiki.artixlinux.org/Main/Configuration