Re: [arch-general] graphical display management

2014-03-27 Thread Guus Snijders
Op 27 mrt. 2014 18:21 schreef "message"  het
volgende:
>
> On 2014-03-25 15:59, arch-general-requ...@archlinux.org wrote:
>>
>> --
>>
>> Message: 2
>> Date: Tue, 25 Mar 2014 00:15:27 +0100
>> From: Guus Snijders 
>>
>> Subject: Re: [arch-general] graphical display management
>>
>>
>> Ok. Could you try resetting the password for user a?
>> You could do this (as root) with:
>> passwd a
>>
>> And then try again to login to a tty.
>>
>
> This was successful thanks, but the dvorak keyboard layout is not
recognised at the graphical sign-in prompt. The layout is recognised when a
command terminal is opened within the graphical user session.

That is possible, The console and X use different configuration methods. A
quick search showed that for the console you should edit /etc/vconsole to
include:
KEYMAP="dvorak"

Since this file is read by systemd, it's probably best to reboot and then
try again.

>> Just to be sure: you do realise that the password shown in /etc/shadow
>> is the encrypted password and not the literal string to type in?
>> (no offence).
>>
>
> Using 'less' to access the file, the password is visible as literal text.

Ok, i guess that's possible. Quite rare, though.

mvg, Guus


Re: [arch-general] graphical display management

2014-03-27 Thread message

On 2014-03-25 15:59, arch-general-requ...@archlinux.org wrote:

--

Message: 2
Date: Tue, 25 Mar 2014 00:15:27 +0100
From: Guus Snijders 
Subject: Re: [arch-general] graphical display management


Ok. Could you try resetting the password for user a?
You could do this (as root) with:
passwd a

And then try again to login to a tty.



This was successful thanks, but the dvorak keyboard layout is not 
recognised at the graphical sign-in prompt. The layout is recognised 
when a command terminal is opened within the graphical user session.



Just to be sure: you do realise that the password shown in /etc/shadow
is the encrypted password and not the literal string to type in?
(no offence).



Using 'less' to access the file, the password is visible as literal 
text.




Re: [arch-general] graphical display management

2014-03-27 Thread Paul Gideon Dann
On Thursday 27 Mar 2014 16:45:35 message wrote:
> On 2014-03-25 15:59, arch-general-requ...@archlinux.org wrote:
> > 
--
> > 
> > Message: 1
> > Date: Mon, 24 Mar 2014 22:49:06 +0100
> > From: Jakub Klinkovsk? 
> > Subject: Re: [arch-general] graphical display management
> > 
> >> Interestingly, 'su a' results in the cursor 'pwd' to be the root home
> >> directory and not '/home/a'.
> > 
> > This is the expected behaviour. Just run the command 'cd', without
> > arguments it
> > will get you into the home directory, which should be '/home/a'. Or run
> > 'su -l a'.
> 
> I would have expected the home directory for 'root' _not_ to be
> accessible to other users.

By "root home directory", do you mean "/" or "/root"? You are correct that 
"/root" should only 
be accessible by root. If the "pwd" command returns "/root" and "whoami" 
command does not 
return "root", then there's something wrong with your directory permissions.

Paul


Re: [arch-general] graphical display management

2014-03-27 Thread message

On 2014-03-25 15:59, arch-general-requ...@archlinux.org wrote:

--

Message: 1
Date: Mon, 24 Mar 2014 22:49:06 +0100
From: Jakub Klinkovsk? 
Subject: Re: [arch-general] graphical display management



Interestingly, 'su a' results in the cursor 'pwd' to be the root home
directory and not '/home/a'.



This is the expected behaviour. Just run the command 'cd', without 
arguments it

will get you into the home directory, which should be '/home/a'. Or run
'su -l a'.



I would have expected the home directory for 'root' _not_ to be 
accessible to other users.


Re: [arch-general] graphical display management

2014-03-24 Thread Simon Hanna
2014-03-25 0:15 GMT+01:00 Guus Snijders :

> 2014-03-24 22:08 GMT+01:00 message :
> > On 2014-03-23 18:13, arch-general-requ...@archlinux.org wrote:
> >>
> >> --
> >>
> >> Message: 5
> >> Date: Thu, 20 Mar 2014 19:06:12 -0400
> >> From: Mark Lee 
> >>
> >> Subject: Re: [arch-general] graphical display management
> >>
> >> On 03/20/2014 06:50 PM, Guus Snijders wrote:
> >>>
> >>> Op 20 mrt. 2014 18:36 schreef "message"  het
> >>> volgende:
> >>>>
> >>>>
> >>> [ gdm ]
> >>>>
> >>>>
> >>>> After power-on, the computer
> >>>> starts with a sign-in prompt.
> >>>> Normal user does not work.
> >>>> Signed in as root [...]
> >>>
> >>>
> >>> Ok, now we're getting somewhere.
> >>> When the logon as user "does not work", do you get an error message?
> >>>
> >
> > error: 'login incorrect'.
> >
> > As root, enter the command 'su a' and not prompted for a password. 'less
> > /etc/shadow' shows the password for the user.
>
>
> Ok. Could you try resetting the password for user a?
> You could do this (as root) with:
> passwd a
>
> And then try again to login to a tty.
>
> Just to be sure: you do realise that the password shown in /etc/shadow
> is the encrypted password and not the literal string to type in?
> (no offence).
>
> mvg,
> Guus
>
since your home folder is from another installation, be sure to chown the
directory. If the user ids differ, you won't be able to access it


Re: [arch-general] graphical display management

2014-03-24 Thread Guus Snijders
2014-03-24 22:08 GMT+01:00 message :
> On 2014-03-23 18:13, arch-general-requ...@archlinux.org wrote:
>>
>> --
>>
>> Message: 5
>> Date: Thu, 20 Mar 2014 19:06:12 -0400
>> From: Mark Lee 
>>
>> Subject: Re: [arch-general] graphical display management
>>
>> On 03/20/2014 06:50 PM, Guus Snijders wrote:
>>>
>>> Op 20 mrt. 2014 18:36 schreef "message"  het
>>> volgende:
>>>>
>>>>
>>> [ gdm ]
>>>>
>>>>
>>>> After power-on, the computer
>>>> starts with a sign-in prompt.
>>>> Normal user does not work.
>>>> Signed in as root [...]
>>>
>>>
>>> Ok, now we're getting somewhere.
>>> When the logon as user "does not work", do you get an error message?
>>>
>
> error: 'login incorrect'.
>
> As root, enter the command 'su a' and not prompted for a password. 'less
> /etc/shadow' shows the password for the user.


Ok. Could you try resetting the password for user a?
You could do this (as root) with:
passwd a

And then try again to login to a tty.

Just to be sure: you do realise that the password shown in /etc/shadow
is the encrypted password and not the literal string to type in?
(no offence).

mvg,
Guus


Re: [arch-general] graphical display management

2014-03-24 Thread Jakub Klinkovský
On 24.03.14 at 21:08, message wrote:
> On 2014-03-23 18:13, arch-general-requ...@archlinux.org wrote:
> >--
> >
> >Message: 5
> >Date: Thu, 20 Mar 2014 19:06:12 -0400
> >From: Mark Lee 
> >Subject: Re: [arch-general] graphical display management
> >
> >On 03/20/2014 06:50 PM, Guus Snijders wrote:
> >>Op 20 mrt. 2014 18:36 schreef "message"  het
> >>volgende:
> >>>
> >>[ gdm ]
> >>>
> >>>After power-on, the computer
> >>>starts with a sign-in prompt.
> >>>Normal user does not work.
> >>>Signed in as root [...]
> >>
> >>Ok, now we're getting somewhere.
> >>When the logon as user "does not work", do you get an error message?
> >>
> 
> error: 'login incorrect'.
> 
> As root, enter the command 'su a' and not prompted for a password. 'less
> /etc/shadow' shows the password for the user.
> 
> Interestingly, 'su a' results in the cursor 'pwd' to be the root home
> directory and not '/home/a'.
> 

This is the expected behaviour. Just run the command 'cd', without arguments it
will get you into the home directory, which should be '/home/a'. Or run
'su -l a'.

> >
> >Do you have the correct graphics drivers installed (xf86-video-*)? At
> >least xf86-video-vesa should work. See
> ><https://wiki.archlinux.org/index.php/Xorg#Driver_installation>
> >
> 
> Yes, according to the successful initiation of an x session when signed in
> as root and the driver installation test instructions.


pgpKrFbik9G_Z.pgp
Description: PGP signature


Re: [arch-general] graphical display management

2014-03-24 Thread message

On 2014-03-23 18:13, arch-general-requ...@archlinux.org wrote:

--

Message: 5
Date: Thu, 20 Mar 2014 19:06:12 -0400
From: Mark Lee 
Subject: Re: [arch-general] graphical display management

On 03/20/2014 06:50 PM, Guus Snijders wrote:

Op 20 mrt. 2014 18:36 schreef "message"  het
volgende:



[ gdm ]


After power-on, the computer
starts with a sign-in prompt.
Normal user does not work.
Signed in as root [...]


Ok, now we're getting somewhere.
When the logon as user "does not work", do you get an error message?



error: 'login incorrect'.

As root, enter the command 'su a' and not prompted for a password. 'less 
/etc/shadow' shows the password for the user.


Interestingly, 'su a' results in the cursor 'pwd' to be the root home 
directory and not '/home/a'.




Do you have the correct graphics drivers installed (xf86-video-*)? At
least xf86-video-vesa should work. See
<https://wiki.archlinux.org/index.php/Xorg#Driver_installation>



Yes, according to the successful initiation of an x session when signed 
in as root and the driver installation test instructions.


Re: [arch-general] graphical display management

2014-03-20 Thread Mark Lee

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 03/20/2014 06:50 PM, Guus Snijders wrote:
> Op 20 mrt. 2014 18:36 schreef "message"  het
> volgende:
>>
> [ gdm ]
>>
>> After power-on, the computer
>> starts with a sign-in prompt.
>> Normal user does not work.
>> Signed in as root [...]
>
> Ok, now we're getting somewhere.
> When the logon as user "does not work", do you get an error message?
>
> mvg, Guus
Salutations,

Do you have the correct graphics drivers installed (xf86-video-*)? At
least xf86-video-vesa should work. See


In addition, '# systemctl enable gdm'  links to
/etc/system/display-manager.service. If you read the file you'll find
it's /usr/lib/systemd/system/gdm.service. When enabled it should skip
the tty prompt and go straight to the gdm login manager (grey
background, usually lists the users in the system).

Regards,
Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iF4EAREIAAYFAlMrdGQACgkQZ/Z80n6+J/bAcwEAlgHFCr/Q0ghTyxbEWCVSU8uD
rwJXF2kyTZn851kA/3ORNmeiDR2m+NEsKBQMqW3DJwqWEEjc82BRazf4JPhc
=b1EG
-END PGP SIGNATURE-



Re: [arch-general] graphical display management

2014-03-20 Thread Guus Snijders
Op 20 mrt. 2014 18:36 schreef "message"  het
volgende:
>
[ gdm ]
>
> After power-on, the computer
> starts with a sign-in prompt.
> Normal user does not work.
> Signed in as root [...]

Ok, now we're getting somewhere.
When the logon as user "does not work", do you get an error message?

mvg, Guus


Re: [arch-general] graphical display management

2014-03-20 Thread message

On 2014-03-20 00:41, arch-general-requ...@archlinux.org wrote:


--

Message: 8
Date: Wed, 19 Mar 2014 21:20:28 +0100
From: "Armin K." 
Subject: Re: [arch-general] graphical display management

On 03/19/2014 09:17 PM, message wrote:

Readers,

According to the command 'pacman -Q -e | less', gdm is shown as
installed. The command 'startx' doesn't start gdm, but instead the 
same

graphical manager that starts following the test procedure.

How to start gdm?



gdm is a daemon, not something that's started with startx.


After power-on, the computer starts with a sign-in prompt. Normal user 
does not work. Signed in as root and the computer never starts with a 
graphical interface, always the command terminal.




systemctl start gdm, as root.

systemctl enable gdm will enable it to always start at boot.


From to the wiki web page, the command 'ls -l 
/etc/systemd/system/default.target' revealed:


displaymanagerservice gettytargetwants/ multiusertargetwants/

There is no 'defaulttarget'

--
digest-mode subscriber; please cc to maintain message thread


Re: [arch-general] graphical display management

2014-03-19 Thread Doug Newgard

> Date: Wed, 19 Mar 2014 20:17:53 +
> From: let...@openmailbox.org
> To: arch-general@archlinux.org
> Subject: [arch-general] graphical display management
>
> Readers,
>
> According to the command 'pacman -Q -e | less', gdm is shown as
> installed. The command 'startx' doesn't start gdm, but instead the same
> graphical manager that starts following the test procedure.
>
> How to start gdm?
>

https://wiki.archlinux.org/index.php/Display_manager
https://wiki.archlinux.org/index.php/GDM
  

Re: [arch-general] graphical display management

2014-03-19 Thread Armin K.
On 03/19/2014 09:17 PM, message wrote:
> Readers,
> 
> According to the command 'pacman -Q -e | less', gdm is shown as
> installed. The command 'startx' doesn't start gdm, but instead the same
> graphical manager that starts following the test procedure.
> 
> How to start gdm?
> 

gdm is a daemon, not something that's started with startx.

systemctl start gdm, as root.

systemctl enable gdm will enable it to always start at boot.

-- 
Note: My last name is not Krejzi.