Author |
Message |
colinnwn
|
Posted: Thu Feb 01, 2007 10:58 am |
|
Joined: Thu Feb 01, 2007 12:44 am
Posts: 66
Location:
Dallas, TX
|
Hi,
I want to set up my new, marginally working Myth box in the Den next to the TV. To administer it, I figured out how to connect with TightVNC from my WinXP box in my bedroom.
Every time I try to su root and put in my password, it says authentication failed. After reading a lot of forums, it seems you have to permit root in your VNC configuration files. The only place I found it step by step was on a Gentoo (I think it was) site. Apparently these files are in a different place with Debian, and I can't find them.
Can someone point me to a resource on how to do this?
Thanks.
_________________ Trying to install KnoppMyth R5F27, ECS 671T-M, Celeron 430, 1gig RAM, 320gig SATA Seagate, Samsung SATA SH-S203N DVD drive, Onboard video and audio, DVICO Fusion HDTV 5 Lite, Seasonic S12II-330watt PS
|
|
Top |
|
 |
mythedoff
|
Posted: Thu Feb 01, 2007 11:55 am |
|
Joined: Mon Jul 31, 2006 10:41 pm
Posts: 149
|
|
Top |
|
 |
colinnwn
|
Posted: Thu Feb 01, 2007 12:29 pm |
|
Joined: Thu Feb 01, 2007 12:44 am
Posts: 66
Location:
Dallas, TX
|
That is the article I used to get VNC working initially. I don't think it addresses not being able to log into root unless that is the part around the "Workarounds for this:" heading. I didn't understand what the problem and resolution was there. Does trying to log in as root open an additional x connection? If so, perhaps following the "method" suggestions would work for me?
Thanks.
_________________ Trying to install KnoppMyth R5F27, ECS 671T-M, Celeron 430, 1gig RAM, 320gig SATA Seagate, Samsung SATA SH-S203N DVD drive, Onboard video and audio, DVICO Fusion HDTV 5 Lite, Seasonic S12II-330watt PS
|
|
Top |
|
 |
mythedoff
|
Posted: Thu Feb 01, 2007 3:01 pm |
|
Joined: Mon Jul 31, 2006 10:41 pm
Posts: 149
|
Did you look in the log file? Is your client ip allowed?
cat /var/log/x11vnc.log | grep -i allow
allow: 192.168.1.
|
|
Top |
|
 |
colinnwn
|
Posted: Thu Feb 01, 2007 3:55 pm |
|
Joined: Thu Feb 01, 2007 12:44 am
Posts: 66
Location:
Dallas, TX
|
I will try adding it when I get home. But I was under the impression that allowing an IP either allowed the connection or didn't.
I can connect to Myth, I can see the desktop and X-term. I can even issue commands allowed as user mythtv. The only thing I have discovered I can't do so far is to su to root.
And that is probably one of the most important things to be able to do if I am going to disconnect Myth from the monitor and keyboard and have it sitting by the TV.
Thanks.
_________________ Trying to install KnoppMyth R5F27, ECS 671T-M, Celeron 430, 1gig RAM, 320gig SATA Seagate, Samsung SATA SH-S203N DVD drive, Onboard video and audio, DVICO Fusion HDTV 5 Lite, Seasonic S12II-330watt PS
|
|
Top |
|
 |
bruce_s01
|
Posted: Thu Feb 01, 2007 7:17 pm |
|
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location:
UK
|
You can always ssh into your box at the same time that you make your vnc connection. No user connection limit for Linux.
Bruce S.
_________________ Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P 16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD, SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080 Hauppauage Nova-T 500, Nova-T LinHes R8.6.1
|
|
Top |
|
 |
alien
|
Posted: Fri Feb 02, 2007 2:39 am |
|
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location:
Germany
|
I believe the root issue the wiki talks about is that by default, only mythtv can open up windows on an X-session owned by mythtv.
You should still be able to open an xterm and su to root successfully. It is just once you do that, you can't open up a window (ex. mythfrontend) owned by root. This is, in general, a good thing.
Are you getting authentication failed when you try to su in an xterm? That sounds like a different problem. Can you su from a console (i.e. do you have the correct root passwd)? Another possibility is a keyboard mapping problem. Do you have any non-letter chars in the passwd? If so, you might try changing the passwd to something less likely to cause problems (ie. only lowercase letters). Typing the passwd directly in an xterm command line to see the characters displayed might reveal something.
Allen
_________________ ASUS AT3N7A-I (Atom 330) TBS 8922 PCI (DVB-S2)
|
|
Top |
|
 |
colinnwn
|
Posted: Fri Feb 02, 2007 7:12 am |
|
Joined: Thu Feb 01, 2007 12:44 am
Posts: 66
Location:
Dallas, TX
|
Allen,
I think you are getting my problem
Quote: You should still be able to open an xterm and su to root successfully. I can do that on the box, but not through TightVNC. Quote: Are you getting authentication failed when you try to su in an xterm? Yes, when doing it through TightVNC. Quote: Can you su from a console (i.e. do you have the correct root passwd)? Yes, when on the box directly. Quote: Do you have any non-letter chars in the passwd?
It is all numbers right now. I know this is not secure. I haven't done anything in Myth or TightVNC to change keyboard mapping. I don't think this is the problem, but I will try as you say in TightVNC to see what comes up for my password.
Thanks.
_________________ Trying to install KnoppMyth R5F27, ECS 671T-M, Celeron 430, 1gig RAM, 320gig SATA Seagate, Samsung SATA SH-S203N DVD drive, Onboard video and audio, DVICO Fusion HDTV 5 Lite, Seasonic S12II-330watt PS
|
|
Top |
|
 |
colinnwn
|
Posted: Sat Feb 03, 2007 11:26 am |
|
Joined: Thu Feb 01, 2007 12:44 am
Posts: 66
Location:
Dallas, TX
|
I typed my password into a regular prompt through TightVNC and discovered even though the num-lock was on, the keypad was issuing non-numeric characters. Entering my password with the regular number keys allowed me to authenticate as root.
The keypad works fine directly on the Mythbox, it is only mismapped by TightVNC. Does anyone know if there is a way to correct the behavior of the keypad in TightVNC? I tried some of the settings menus in TightVNC and it kept saying "Can't find WinVNC."
Thanks Allen!
_________________ Trying to install KnoppMyth R5F27, ECS 671T-M, Celeron 430, 1gig RAM, 320gig SATA Seagate, Samsung SATA SH-S203N DVD drive, Onboard video and audio, DVICO Fusion HDTV 5 Lite, Seasonic S12II-330watt PS
|
|
Top |
|
 |